Issue of PWM pin as EXT wakeup

temp4eb
Posts: 35
Joined: Tue Jun 06, 2017 8:59 am

Issue of PWM pin as EXT wakeup

Postby temp4eb » Fri Oct 13, 2017 1:28 pm

I took GPIO4 as both of the PWM output and EXT signal to wake up the chip from deepsleep mode.After first time boot from reset,the PWM output works well and the chip goes into deepsleep.After the board waken up from deepsleep by GPIO4 or other gpios, the PWM would have no output.The issue could be fixed by disable the GPIO4 as the EXT trigger signal.Someone know how to fix the issue?Since I NEED the same pin have both of the functions.Thanx!

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Issue of PWM pin as EXT wakeup

Postby ESP_igrr » Fri Oct 13, 2017 2:08 pm

Please have a look at a "warning" in this section of the docs:
http://esp-idf.readthedocs.io/en/latest ... akeup-ext1

Who is online

Users browsing this forum: Bing [Bot] and 72 guests