LCD SPI & I2S - Serial & Parallel - Speed vs Ressources
Posted: Tue Apr 25, 2017 6:15 pm
Hi Everyone,
I'm looking for the most efficient solution to interface an TFT screen to the ESP32.
SPI Pro > Working fine @ 80MHz > Full screen update 320 x 240 ( 153600 Bytes ) in 16.80ms and only a few GPIO Used
SPI Cons > DMA transfert limited to ~ 4Kb ... CPU busy to transfert block by block in a loop ... defit the purpose of DMA
What about I2S 8 bit parallel output with DMA ? 8 bit x 80 Mhz with DMA allowing a full frame transfert at once should provide some nice improvement. Unfortunatly I do not find enough documentation on this setup ... is this possible ?
I saw an example using a camera with I2S 8 bit parallel input + DMA and there is an I2S "lcd mode" bit to play with ... can I work from this example reverting input / ouput ?
I'm looking for the most efficient solution to interface an TFT screen to the ESP32.
SPI Pro > Working fine @ 80MHz > Full screen update 320 x 240 ( 153600 Bytes ) in 16.80ms and only a few GPIO Used
SPI Cons > DMA transfert limited to ~ 4Kb ... CPU busy to transfert block by block in a loop ... defit the purpose of DMA
What about I2S 8 bit parallel output with DMA ? 8 bit x 80 Mhz with DMA allowing a full frame transfert at once should provide some nice improvement. Unfortunatly I do not find enough documentation on this setup ... is this possible ?
I saw an example using a camera with I2S 8 bit parallel input + DMA and there is an I2S "lcd mode" bit to play with ... can I work from this example reverting input / ouput ?