GPIO2 on esp32 wroom32D

Hi Guys,
where is the GPIO2 located on this board ?
somewhere they say its pin 25 , but i wanna test example which uses both GPIO2 and GPIO25 .
so where do i connect GPIO2 be cause i can’t see it in the pinout diagram :

Thank you

Looking at the board schematic GPIO2 is not connected. I would suggest modifying the example to use a different GPIO that is available.

What do you want to use GPIO2 for? It’s a special purpose pin, so you have to be a bit careful with it.

On some boards it is used for the internal LED.

I actually swiftly checked regarding its functions, and it has these listed:
GPIO2, ADC2_CH2, RTC_GPIO12, TOUCH2, HSPIWP, HS2_DATA0, SD_DATA0

The most important thing is that it, together with MTDI, GPIO0, MTDO, and GPIO5, is one of the five strapping pins. That means it is one of those pins that determines the boot mode, voltage, and much more.

You’d have to check yourself, but I think you also can’t have it pulled high during certain common operations on startup.

Also checked this [ESP32-wroom-32D] datasheet for the strapping pins table:
image

Also, I believe it is needed for Wi-Fi, might be a version dependent thing though, so not certain.

1 Like