Hi guys.
tell me information about how Timer2 works in PM1 or PM2. (СС254).
I am using built-in RC source 32kHz and main 32Mhz. Sleep timer is working properly. but Timer2 doesn't count in PM. In the instructions I see: "The Sleep Timer is also used to maintain timing in Timer 2 when entering power mode PM1 or PM2." what does it mean?
I start timer2 and loop into PM1. I see that while the program is in PM1, timer2 has not changed.
I am not using BLE stack. I am using proprietary protocol for RF but not in this part of the program.
maybe you need to do something additionally?
I am looking for an opportunity to reduce energy consumption. for this i need to use PM1 or PM2.
the cycle of my program is about 2-3 seconds at this time, external interrupts are randomly thrown out of the PM. but I need to know the time of these events.
is there any idea how to count the time regardless of PM or Active. something like an RTC?