Re: ESP 32 SPI DMA Questions
Posted: Thu Aug 10, 2017 4:59 pm
ILI9341 can work at 80Mhz SPI speeds.
I've made it using ESP8266 running @160Mhz and SPI @80Mhz. But you need to use short wires (10cm will work) or else high frequency signal requirements will come into play.
@80Mhz SPI you'll get around 60fps which is very fast
I've tried to replicate this on ESP32 but although I've managed to get SPI to run @80Mhz (or so I think...haven't checked on oscilloscope yet) the fillscreen rate will only go up to 45fps.
At gitter's EPS32 channel I was told that due to the dual core nature of the ESP32 some system tasks need to be done and that takes some of the performance away.
But I think that it pays off by having enough RAM to store an entire frame (or even 2) allowing to change the frame "offline" and then send it as a whole to the display.
I've made it using ESP8266 running @160Mhz and SPI @80Mhz. But you need to use short wires (10cm will work) or else high frequency signal requirements will come into play.
@80Mhz SPI you'll get around 60fps which is very fast
I've tried to replicate this on ESP32 but although I've managed to get SPI to run @80Mhz (or so I think...haven't checked on oscilloscope yet) the fillscreen rate will only go up to 45fps.
At gitter's EPS32 channel I was told that due to the dual core nature of the ESP32 some system tasks need to be done and that takes some of the performance away.
But I think that it pays off by having enough RAM to store an entire frame (or even 2) allowing to change the frame "offline" and then send it as a whole to the display.