Without knowing why you want to use HSPI instead of VSPI I can't help you.
Do you really need to use HSPI, or could you use VSPI on different pins?
It is also easier to answer if you provide complete information in the post text, e.g. link to the processor board, to the e-paper panel used, and to the connection board. I only download code as an additional information source, if the main information has been provided in the post.
Make the links clickable, using the insert a link command symbol.
It is also more interesting for any reader of your post, and you get a better chance for a good answer.