Hi,
I want to keep complete system into deep sleep mode, including ULP, only RTC timer and RTC memory will be powered on. Once RTC timer reaches its expected timer value I want ULP processor to wake up and do some calcualtions. Is it possible to do so?
If yes Is there any guide to do that?
Is it possible to wake up ULP from RTC timer?
Re: Is it possible to wake up ULP from RTC timer?
This looks like, ULP is still on. I want ULP to be switched on once I reach that timer value. is it doing that? I might not understood that, correct me
Re: Is it possible to wake up ULP from RTC timer?
The ULP co-processor puts itself into sleep mode by executing the HALT instruction. This also triggers the ULP
timer to start counting RTC_SLOW_CLK ticks which, by default, originate from an internal 150 kHz RC oscillator.
Once the timer expires, the ULP co-processor is powered up and runs a program with the program counter (PC)
which is stored in register SENS_PC_INIT.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Is it possible to wake up ULP from RTC timer?
Yes, this is intended / designed behavior of the ULP timer waking up the ULP coprocessor. You can also check more detailed description including flow diagrams in TRM, chapter 28.5 ULP Program Execution.san27deep wrote:Once RTC timer reaches its expected timer value I want ULP processor to wake up and do some calcualtions. Is it possible to do so?
Re: Is it possible to wake up ULP from RTC timer?
Thanks a lot it is working fine. One more query.
I tried to hold ULP in active state using "wait no_of_cycle" instruction. It is working as expected but one concern is it is consuming lot of power. in active ULP state when using wait it took almost 1.5mA. which sould be according to datasheet 200uA. Is there any specific reason to this?
I tried to hold ULP in active state using "wait no_of_cycle" instruction. It is working as expected but one concern is it is consuming lot of power. in active ULP state when using wait it took almost 1.5mA. which sould be according to datasheet 200uA. Is there any specific reason to this?
Who is online
Users browsing this forum: MicroController and 181 guests