Page 1 of 1

GPIO34-39 pullup workaround?

Posted: Mon Sep 21, 2020 4:38 pm
by Panometric
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.

Re: GPIO34-39 pullup workaround?

Posted: Mon Sep 21, 2020 4:54 pm
by mikemoy
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.)

Re: GPIO34-39 pullup workaround?

Posted: Mon Sep 21, 2020 5:35 pm
by Panometric
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);

Re: GPIO34-39 pullup workaround?

Posted: Mon Sep 21, 2020 8:22 pm
by WiFive
No workaround for 34-39