I use esp-wroom-32 module (so flash is build in). I need sd card interface and two more independent SPI interfaces.
I see SPICLK - SCK/CLK, HSPICLK - IO14, VSPICLK - IO18. Where is last, fourth one clk pin?
What about its speed? Which is best for TFT Display connection?
Where is fourth SPI
Re: Where is fourth SPI
HS2 is SDIO interface. HSPI & VSPI are only 2 free SPI, other 2 used for external flash/ram operations.
Re: Where is fourth SPI
You can have multiple devices connected to each od HSPI and VSPI, just configure different pins for CS.
I've tested ILI9341 TFT Displays and it does not matter on which SPI bus it is connected or on which pins. It works without problems at clock speed up to 40 MHz.
I've tested ILI9341 TFT Displays and it does not matter on which SPI bus it is connected or on which pins. It works without problems at clock speed up to 40 MHz.
Re: Where is fourth SPI
I'm connecting a ILI9341 to VSPI using the assigned pins.
How can I get it to work at 80Mhz?
I'm using arduino core and I'm only getting 40Mhz but from what I read it can go up to 80Mhz if not using GPIO-matrix-routed pins which I'm not.
How can I get it to work at 80Mhz?
I'm using arduino core and I'm only getting 40Mhz but from what I read it can go up to 80Mhz if not using GPIO-matrix-routed pins which I'm not.
Re: Where is fourth SPI
Arduino uses a different SPI driver to IDF.
I suggest opening a request on the Arduino-ESP32 github repo: https://github.com/espressif/arduino-esp32/issues
I suggest opening a request on the Arduino-ESP32 github repo: https://github.com/espressif/arduino-esp32/issues
Re: Where is fourth SPI
Oh, ok.
Thanks, I'll do that.
I might give it a shot on tracing that myself too.
This code might give a clue on what might be the problem : https://github.com/espressif/esp32-nese ... /spi_lcd.c
It can set the speed to 80Mhz apparently.
Thanks, I'll do that.
I might give it a shot on tracing that myself too.
This code might give a clue on what might be the problem : https://github.com/espressif/esp32-nese ... /spi_lcd.c
It can set the speed to 80Mhz apparently.
Who is online
Users browsing this forum: Baidu [Spider] and 125 guests