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.
ESP32 SPI High Speed Modes
-
- Matrix Staff
- Posts: 1924
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
ESP32 SPI High Speed Modes
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 997
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 190 times
- Been thanked: 217 times
Re: ESP32 SPI High Speed Modes
Hi Ben
I let my display run with 30 Mega. Soon I test it's faster possible.
regards
Stefan
I let my display run with 30 Mega. Soon I test it's faster possible.
regards
Stefan
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: ESP32 SPI High Speed Modes
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
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
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
Br Jorgen
Perform a test with Highspeed SPI Ili9341 3.2". Really speeded up, but 80 Mhz I don´t know, but it is faster

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

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

Br Jorgen
- Attachments
-
- StandardIli9341Firs.fcfx
- (28.65 KiB) Downloaded 995 times
-
- Posts: 774
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 669 times
- Been thanked: 173 times
Re: ESP32 SPI High Speed Modes
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
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
- Attachments
-
- StandardIli9488Firs.fcfx
- (29.74 KiB) Downloaded 876 times
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: ESP32 SPI High Speed Modes
Hi Jorgen,
If you use the FlipX or FlipY property then hopefully this will remove the text mirroring issue for you.
If you use the FlipX or FlipY property then hopefully this will remove the text mirroring issue for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel