Page 1 of 1

Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

Posted: Wed Aug 22, 2018 3:51 am
by PaulShaw
hi.
I want set GPIO21 to low in deep sleep,it's not a RTC-GPIO.
So I want to use Pad Hold,but I don't find REG_DG_PAD_FORCE_UNHOLD in "esp32_technical_reference_manual_cn V3.4".
Where is it?How to use it?

Thanks in advance for your help!

Re: Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

Posted: Wed Aug 22, 2018 4:41 am
by WiFive
RTC_CNTL_DG_PAD_FORCE_HOLD

Re: Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

Posted: Wed Aug 22, 2018 4:55 am
by PaulShaw
I set it to 0,GPIO21 hold it's level,and RTC GPIOs were also holded.
So I can't wakeup ESP32 from deep-sleep.

Re: Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

Posted: Fri Aug 24, 2018 7:28 am
by PaulShaw
Solved it!
It's in RTCIO_DIG_PAD_HOLD_REG,but it's only set to hold 0.