can we use pulse counting module(PCNT) with deep sleep?
-
- Posts: 22
- Joined: Mon Aug 17, 2020 10:24 am
can we use pulse counting module(PCNT) with deep sleep?
can we use pulse counting module(PCNT) with deep sleep?
Re: can we use pulse counting module(PCNT) with deep sleep?
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
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
Who is online
Users browsing this forum: No registered users and 96 guests