Good evening.
In the past I have produced a device using the ESP32-WROOM-32, as a master, connected to the VSPI to an external flash (MMC) and an audio codec via HSPI.
With the new ESP32-PICO-MINI I cannot understand how to map the VSPI and HSPI of the WROOM to the PICO-MINI. Not only are some PINs missing (Eg IO23) but it seems that signals such as CLK and MISO (or MOSI) are also missing for the VSPI.
Could you help me with a suggestion?
Thank you.
ESP32-PICO-MINI-2 and SPI
-
- Posts: 3
- Joined: Tue Dec 14, 2021 4:52 pm
Re: ESP32-PICO-MINI-2 and SPI
Some details are shown in attached image.
For the VSPI interface, it seems that signals VSPID and VSPICLK are missing in ESP32-PICO-MINI-2.
Thanks a lot for suggestions.
BR
Lorenzo.
For the VSPI interface, it seems that signals VSPID and VSPICLK are missing in ESP32-PICO-MINI-2.
Thanks a lot for suggestions.
BR
Lorenzo.
-
- Posts: 9043
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-PICO-MINI-2 and SPI
Note that you're not required to use the dedicated VSPI/HSPI pins; you can re-route the SPI signals to any (compatible and otherwise unused) GPIO. The dedicated pins only have advantage if you need to run the peripheral at the highest speed in certain modes.
-
- Posts: 3
- Joined: Tue Dec 14, 2021 4:52 pm
Re: ESP32-PICO-MINI-2 and SPI
Thanks a lot.
Actually, I need to run the peripheral at the highest speed. Could you tell me, plese, which are the dedicated pins to use?
BR,
L.
Actually, I need to run the peripheral at the highest speed. Could you tell me, plese, which are the dedicated pins to use?
BR,
L.
-
- Posts: 9043
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-PICO-MINI-2 and SPI
You're right in that pin 18 and 23 are not on the ESP32-PICO-MINI-2. That means that you can't use the dedicated pins for this peripheral. Suggest you use HSPI for anything that requires 80MHz-ish speeds.
-
- Posts: 1
- Joined: Sun Oct 09, 2022 7:09 pm
Re: ESP32-PICO-MINI-2 and SPI
i need to connect an external QSPI flash ic to the VSPI interface. I can't use HSPI because I need the JTAG. Since the pico mini doesn't have VSPICLK and VSPID, I assume I can use any other free GPIO? What is the maximum safe speed for the clock since it will have to route through the muxer?
In our prod. design we can use the HSPI but for development, the JTAG is a must.
Thanks,
Travis
TTS Inc.
In our prod. design we can use the HSPI but for development, the JTAG is a must.
Thanks,
Travis
TTS Inc.
Who is online
Users browsing this forum: ngobduong and 139 guests