This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Wakeup and Sleep modes internal interrupt

Hello Guys,

I'm working in a project and I wanna turn off the radio "ble" and go to sleep, deep sleep to save the power, the current consumption while it's connected is 0.4mA which is too much, the point is that I want it to wake up without any external interrupt, I mean I wanna have a timer and each timeout, it wakes up and start advertising for a while, my problem is that I don't know how to turn off the radio completely and make it wake up consequently based on a timer.

Regards, Mohamed Osama

Parents
  • Hello Mohamed,

    All the Q&S you read on this topic here on the forum are correct: there are only SLEEP and POWER OFF modes on nRF5x chips. The first one is used basically all the time (see power_manage() function typically called in main function inside infinite loop). Second one means that you basically shut-down the system and next time it is woken up (power power reset or NFC field in case of nRF52 or by GPIO interrupt) it will start like during normal power on reset event. However it is not possible to run any RTC or WATCHDOG or TIMER inside nRF5x during SYSTEM OFF, read more about it in Reference Manual (e.g. in chapter 12.1.5).

    Cheers Jan

Reply
  • Hello Mohamed,

    All the Q&S you read on this topic here on the forum are correct: there are only SLEEP and POWER OFF modes on nRF5x chips. The first one is used basically all the time (see power_manage() function typically called in main function inside infinite loop). Second one means that you basically shut-down the system and next time it is woken up (power power reset or NFC field in case of nRF52 or by GPIO interrupt) it will start like during normal power on reset event. However it is not possible to run any RTC or WATCHDOG or TIMER inside nRF5x during SYSTEM OFF, read more about it in Reference Manual (e.g. in chapter 12.1.5).

    Cheers Jan

Children
Related