ESP32-PICO-MINI-2 and SPI

pelusolorenzo
Posts: 3
Joined: Tue Dec 14, 2021 4:52 pm

ESP32-PICO-MINI-2 and SPI

Postby pelusolorenzo » Tue Dec 14, 2021 5:46 pm

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.

pelusolorenzo
Posts: 3
Joined: Tue Dec 14, 2021 4:52 pm

Re: ESP32-PICO-MINI-2 and SPI

Postby pelusolorenzo » Wed Dec 15, 2021 7:45 am

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.
domanda.png
From Technical Reference Document ESP32
domanda.png (23.28 KiB) Viewed 3697 times
Thanks a lot for suggestions.

BR
Lorenzo.

ESP_Sprite
Posts: 9043
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-PICO-MINI-2 and SPI

Postby ESP_Sprite » Thu Dec 16, 2021 2:13 am

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.

pelusolorenzo
Posts: 3
Joined: Tue Dec 14, 2021 4:52 pm

Re: ESP32-PICO-MINI-2 and SPI

Postby pelusolorenzo » Fri Jan 28, 2022 8:03 am

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.

ESP_Sprite
Posts: 9043
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-PICO-MINI-2 and SPI

Postby ESP_Sprite » Sat Jan 29, 2022 2:52 am

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.

trnexus01234
Posts: 1
Joined: Sun Oct 09, 2022 7:09 pm

Re: ESP32-PICO-MINI-2 and SPI

Postby trnexus01234 » Sun Oct 09, 2022 7:21 pm

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.

Who is online

Users browsing this forum: ngobduong and 139 guests