ESP32-S3-WROOM-1-N8R8 GPIO20 internal pull up issue

Murali1167
Posts: 2
Joined: Thu Jun 16, 2022 1:27 pm

ESP32-S3-WROOM-1-N8R8 GPIO20 internal pull up issue

Postby Murali1167 » Thu Jun 16, 2022 1:37 pm

Hi
I'm using ESP32-S3-WROOM-1-N8R8 module for my application.

I used GPIO20 as a GPIO input for switch application. I have used external pull up for digital high or low. But In that pin ,there is an inbuilt internal pullup. but it isn't mentioned in datasheet. Kindly suggest how to change that pin to Hi-Z state.

Thanks and regards,
Murali C

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

Re: ESP32-S3-WROOM-1-N8R8 GPIO20 internal pull up issue

Postby ESP_Sprite » Fri Jun 17, 2022 1:39 am

That's an USB pin by default. You can change it to a GPIO by using e.g. gpio_reset_pin or gpio_configure.

mikkeldamsgaard
Posts: 5
Joined: Mon May 16, 2022 8:07 am

Re: ESP32-S3-WROOM-1-N8R8 GPIO20 internal pull up issue

Postby mikkeldamsgaard » Wed Oct 12, 2022 11:02 am

We have tried to reset and configure pin 20, the results are

If we reset and configure as input with no pullup and no pulldown, the pin generated 3.3v
If we reset and configure as input with no pullup and pulldown, the pin generates 3.15v
If we reset and configure as input with pullup and no pulldown, the pin generates 3.3v
If we reset and configure as output and set it to 0, the pin generates 0.04v
If we reset and configure as output and set it to 1, the pin generates 3.3v

Running on idf v4.4

grep -i jtag sdkconfig
# CONFIG_APPTRACE_DEST_JTAG is not set
# CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG is not set
# CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG is not set

Who is online

Users browsing this forum: ESP_Sprite and 154 guests