RTC not wake-up from deep-sleep

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
urchc_1533771
Level 5
Level 5
5 likes given First like received First like given

I want to use RTC to wake-up from sleep but after system go to sleep mode interrupt of RTC not triggered. I saw examples where WDT triggered each second but it not good decision because power consumption. I need system sleep to long time (days). 

   

How to make it work ? 

0 Likes
5 Replies
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

The RTC will not wake up the PSoC in Sleep mode  That is why the use the WDT it will wake the unit up.

   

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

RTC is pure software, so it cannot wake you up from sleep mode. 18hrs is the maximum WDT interval, but I always would suggest to keep it shorter (1s) and after some internal work go back to (deep) sleep again. The time the system is powered is comparably slow. So the averaged impact on power consumption is only a bit.

   

 

   

Bob

0 Likes
urchc_1533771
Level 5
Level 5
5 likes given First like received First like given

Looks like all "Low Power" is bullshit because using WDT not give economy because each sec tick and very not comfortable as RTC.

   

RTC I can`t use because can`t wake-up. And BTW  I can`t put BLE to sleep mode because "In process of entering in BLESS Deep Sleep Mode,  BLE Stack puts CPU in Sleep Mode to save power "

   

WTF !

0 Likes
Anonymous
Not applicable


BLE stack will put CPU into sleep before entering BLESS deepsleep, you are right. But, BLESS will wake up CPU in the next connection interval.  If you want to advertise some data and then put the system into sleep for a longer time (and doesn't want any frequent wakeup due to BLESS) you may stop BLE using CyBLE_Stop() after advertising the data. You can now put the system in sleep for days. 

0 Likes
urchc_1533771
Level 5
Level 5
5 likes given First like received First like given

Yes, I can stop BLESS but not CPU 

0 Likes