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

Can the radio be disabled in an ANT application?

My design goal is to conserve as much battery power as possible on a device that typically gathers data 30 to 40 minutes per day. To that end, our thought was to make the radio beacon for 10 minutes (and allow an ANT-FS connection) when the unit is power cycled, beacon for 10 minutes at the beginning of the data gathering cycle, and for 10 minutes at the end of the cycle. There does not appear to be a method to disable and re-enable the radio without disabling the softdevice (which may affect active timers) or without putting the CPU to sleep. Is there a specific softdevice call to disable the radio?

Note: there was a reply (thank you) before I edited my question to state that my application is an ANT client, not BLE.

  • There's nothing wrong in enabling the radio for just the ten minutes before and after you data collection and then for the rest of the day spend time in power down/sleep mode. In order to save as much power you have to disable the BLE link and softdevice and also put the MCU to sleep. This isn't a problem as you can store bonding information and quickly re-establish the link when you wake up and do the 10 minutes and then go back to sleep. You can disable the softdevice and then use the RTC to wake you up at a later point in time. With the prescaler on the RTC you can have the chip in power down for very long periods of time.

    EDIT: Since you're using ANT you can close all the channels that you have opened. This will disable the radio. But you could also just disable the entire softdevice and put the chip into power down mode for as long as needed.

Related