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

how to wake up from sleep mode

hi.....

i am using nrf52832 ........

i want to wake up my device from sleep mode ... i have used the command for sleep mode sd_app_evt_wait() ...... i dono  what command to give for waking up device from sleep mode 

thanks in advance

suggest me an answer

Parents Reply
  • Hi,

    Please elaborate. What threshold point? How will you know that it has been hit? If it requires reading the temperature sensor, then clearly the nRF cannot sleep until the temperature reaches the threshold, as the nRF has no way of knowing. Without full information it seems to me that you need to wake up regularly to read the temperature sensor, and then do some task if the temperature has crossed your threshold. If that is the case you could for instance use the timer library to wake up regularly to measure the temperature.

Children
Related