Input-only pins?

bridger6649
Posts: 5
Joined: Thu Feb 03, 2022 3:23 am

Input-only pins?

Postby bridger6649 » Tue Feb 08, 2022 5:00 am

Many ESP32 related sites refer to GPIO pins 34-39 as "input-only", for example:

https://randomnerdtutorials.com/esp32-p ... nce-gpios/
GPIOs 34 to 39 are GPIs – input only pins. These pins don’t have internal
pull-up or pull-down resistors. They can’t be used as outputs, so use these
pins only as inputs:

GPIO 34
GPIO 35
GPIO 36
GPIO 39


However, the current datasheet for the ESP32-S2-WROVER indicates that those pins can be used as either input or output.

(Source: esp32-s2_datasheet_en.pdf)

Is this correct? Was there a restriction in earlier generations of the ESP32 chip?

I need to use those pins for output so hopefully the datasheet is correct!

Thanks!

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

Re: Input-only pins?

Postby ESP_Sprite » Tue Feb 08, 2022 6:54 am

Yes. The original ESP32 has these restrictions, the -S2 and later chips generally do not.

Who is online

Users browsing this forum: No registered users and 179 guests