Page 1 of 1

can we use pulse counting module(PCNT) with deep sleep?

Posted: Tue Aug 18, 2020 1:57 pm
by dovov97815
can we use pulse counting module(PCNT) with deep sleep?

Re: can we use pulse counting module(PCNT) with deep sleep?

Posted: Tue Aug 18, 2020 6:52 pm
by ESP_igrr
Hi dovov97815,
PCNT like all other APB peripherals are powered down in deep sleep. If the frequency of the input signal is low enough, you may be able to do pulse counting using the ULP coprocessor. There is an example of this approach here: https://github.com/espressif/esp-idf/tr ... system/ulp