GPIO34-39 pullup workaround?

Panometric
Posts: 14
Joined: Sat Sep 07, 2019 8:09 am

GPIO34-39 pullup workaround?

Postby Panometric » Mon Sep 21, 2020 4:38 pm

I have a PCB where I need pullups on GPIO34-39, because I was not aware the software ones do not work. The documentation is very misleading, they should not be called GPIO at all, but I digress..

However, I also see this post that suggests you can workaround by using the RTC subsystem, but I was not able to get it to work using the Arduino framework. viewtopic.php?t=439

Is it possible to workaround at all with software, or am I forced to turn the board?

Thanks.

mikemoy
Posts: 599
Joined: Fri Jan 12, 2018 9:10 pm

Re: GPIO34-39 pullup workaround?

Postby mikemoy » Mon Sep 21, 2020 4:54 pm

Did you read that whole post you linked? They said they made a fix for it.
ESP_Sprite wrote:
Wed Nov 16, 2016 2:26 am
Fixed here: https://github.com/espressif/esp-idf/co ... 1f0b413ac4 (That commit already is in master, by the way, if you update esp-idf you should get the fixed code.)

Panometric
Posts: 14
Joined: Sat Sep 07, 2019 8:09 am

Re: GPIO34-39 pullup workaround?

Postby Panometric » Mon Sep 21, 2020 5:35 pm

As I mentioned, it does not appear to work. Either I am misunderstanding this change, or it is not used when using the Arduino framework.

I also tried using:
  1. rtc_gpio_set_direction(myport , RTC_GPIO_MODE_INPUT_ONLY);
  2. rtc_gpio_pullup_en(myport);

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: GPIO34-39 pullup workaround?

Postby WiFive » Mon Sep 21, 2020 8:22 pm

No workaround for 34-39

Who is online

Users browsing this forum: No registered users and 110 guests