Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

PaulShaw
Posts: 13
Joined: Tue Apr 24, 2018 8:54 am

Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

Postby PaulShaw » Wed Aug 22, 2018 3:51 am

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!
Attachments
TIM图片20180822114930.png
TIM图片20180822114930.png (85.56 KiB) Viewed 5640 times

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

Re: Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

Postby WiFive » Wed Aug 22, 2018 4:41 am

RTC_CNTL_DG_PAD_FORCE_HOLD

PaulShaw
Posts: 13
Joined: Tue Apr 24, 2018 8:54 am

Re: Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

Postby PaulShaw » Wed Aug 22, 2018 4:55 am

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.

PaulShaw
Posts: 13
Joined: Tue Apr 24, 2018 8:54 am

Re: Pad Hold ---- REG_DG_PAD_FORCE_UNHOLD

Postby PaulShaw » Fri Aug 24, 2018 7:28 am

Solved it!
It's in RTCIO_DIG_PAD_HOLD_REG,but it's only set to hold 0.

Who is online

Users browsing this forum: No registered users and 113 guests