I failed to get @tuupola’s version of this driver to work with HW SPI on the standard esp32 port. After a little investigation I discovered that hw spi crashes due to the driver generating a zero length data block spi write - this is not a problem for the sw version.
I have put a version on github that avoids this problem and in addition handles multiple fonts as generated by @pythoncoder’s font-to-py script. To speed up font display, the driver writes multiple characters in one spi transfer up to a maximum CHUNK size. It is still very slow compared to @loboris’s work and the M5Stack micropython driver, however, it should work on any esp32/ili9341 combination.
The github repository is:
https://github.com/jeffmer/micropython-ili9341

- mstack.jpeg (45.47 KiB) Viewed 18145 times