Page 1 of 1

ESP32 SPI High Speed Modes

Posted: Fri Mar 24, 2023 3:33 pm
by BenR
Hello,

Playing with the ESP32 it seems the SPI channels 1 and 2 top out at 32MHz and won't work if you try to go any faster.

However if you use the dedicated high speed pins listed below then the device does let you go much faster.

Channel 1 - HSPI
MOSI = 13
MISO = 12
CLK = 14

Channel 2 - VSPI
MOSI = 23
MISO = 19
CLK = 18

Using these I have a SPI based graphical display running at 80MHz with no problems. I probably need to do more testing to ensure it is actually reaching these speeds.

Just thought I would share the information.

Re: ESP32 SPI High Speed Modes

Posted: Fri Mar 24, 2023 4:24 pm
by stefan.erni
Hi Ben


I let my display run with 30 Mega. Soon I test it's faster possible.


regards

Stefan
Snag_1fd8cf2.png
Snag_1fd8cf2.png (111.29 KiB) Viewed 7627 times

Re: ESP32 SPI High Speed Modes

Posted: Fri Mar 24, 2023 4:34 pm
by jgu1
Wow Ben, look forvard to test it in this weekend, Thank’s for info :D

Jorgen

Re: ESP32 SPI High Speed Modes

Posted: Sun Mar 26, 2023 10:37 am
by jgu1
Hi Ben!

Perform a test with Highspeed SPI Ili9341 3.2". Really speeded up, but 80 Mhz I don´t know, but it is faster :D

I made a test where I change bacground color and use large text and use clear. I try to change the Frequency from 30 to 80Mhz much faster :D

https://www.youtube.com/shorts/zSFJx3gwns8

I have not test the Ili9488 display yet, but suppose this is the same with Highspeed?

Disadvantage. Now I need to have reconfigured the pin connections on all my projects with Ili display ,and made a new basic setup for the display. I will survive :lol:

Br Jorgen

Re: ESP32 SPI High Speed Modes

Posted: Mon Mar 27, 2023 7:44 pm
by jgu1
Hi Ben!
FC10
I made a test with the highspeed SPI config on the ILI9488 and the prescaler is max. 60 Mhz I suppose it´s because the size, but clearly noticeable.

But now the entire display/text is mirrored? It work in the other configuration.
Is it possible to fix this without it going beyond and effect my old projects where I use random legs, pls?

Br jorgen

Re: ESP32 SPI High Speed Modes

Posted: Tue Mar 28, 2023 9:55 am
by BenR
Hi Jorgen,

If you use the FlipX or FlipY property then hopefully this will remove the text mirroring issue for you.

Re: ESP32 SPI High Speed Modes

Posted: Tue Mar 28, 2023 6:41 pm
by jgu1
Of course Ben, thanks a lot.

Jorgen

Re: ESP32 SPI High Speed Modes

Posted: Wed Apr 10, 2024 3:20 pm
by MJU20
Thanks for sharing!