Connecting SD-CARD and JTAG to the ESP32-U4WDH chip using the HS1 pins

f.contin@seneca.it
Posts: 1
Joined: Tue Feb 08, 2022 8:22 am

Connecting SD-CARD and JTAG to the ESP32-U4WDH chip using the HS1 pins

Postby f.contin@seneca.it » Wed Feb 09, 2022 3:55 pm

We have been testing the ESP32 DEV KIT with the ESP32 WROOM and we are amazed by this chip and all the tools/SDK.
Now we are developing our new board that will use the ESP32-U4WDH (4Mb of embedded flash) and needs a SD-CARD for data logging with possibly the JTAG debug.

In the ESP32 Series Datasheet Version 3.8 we found a note:
• The pin-pin mapping between ESP32-U4WDH and the embedded flash is as follows: GPIO16 = CS#, GPIO17 = IO1/DO, SD_CMD = IO3/HOLD#, SD_CLK = CLK, SD_DATA_0
= IO2/WP#, SD_DATA_1 = IO0/DI. The pins used for embedded flash are not recommended for other uses.

This means that the flash SPI pins are connected internally through the IO_MUX and it's not allowed to configure the IO_MUX for the HS1 Peripheral (SPI2 or HSPI with 4 data bits interface) setting MCU_SEL to "function 3"?

Thanks!

ESP_LJH
Posts: 387
Joined: Tue May 18, 2021 9:21 am

Re: Connecting SD-CARD and JTAG to the ESP32-U4WDH chip using the HS1 pins

Postby ESP_LJH » Thu Feb 10, 2022 3:18 am

Yes, those pins could not be used to connect SD card, you could only use HS2: MTDI MTDO MTCK MTMS GPIO2 GPIO4.

Who is online

Users browsing this forum: No registered users and 129 guests