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

Sleep mode with SoftDevice + DFU + RTC

Hi, I'm on last step of developing, but I have this critical trouble.
For the project, I started from ble_app_buttonless_dfu sample of SDK15.3. I added some peripheral (one timer, two I2C, two UART) for my custom HW and a GATT database.
My custom application works fine, and even BLE and DFU are working.
Now I need to put in sleep mode the system, awake it every 10 minutes, sample and send data, sleep for 10 minutes, awake and so on. (the device is battery powered).
I try to use the sd_app_evt_wait(), but the function exit immediatly. I tried many way (disabling softdevice, disabling IRQ ...), but I'm not be able to reach my goal (see image below)
Where I wrong? Can you help me asap?
Many many thanks
Abele -Italy

Parents Reply
  • abe said:
    Please note that when goes in System OFF the board current drop to few uA

     That's good to know. It indicates that the measurement setup is correct and that there isn't any external circuitry that draws the extra current. 

    Have you verified that sd_app_evt_wait() actually returns NRF_SUCCESS?  Assume you have the Softdevice enabled since you're doing advertising, but note that most of the sd_ APIs, sd_app_evt_wait included, will only work when it is enabled.

Children
Related