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

nrf51 not waking to advertise (Bluetooth)

I'm looking for help figuring out why my nrf51422 isn't waking up to advertise, I'm missing a detail but I don't know what it is.  It works great, until sd_power_system_off() is called, and then there is no more advertising.  

My project will run on a single button cell but it needs to always advertise so that it automatically connects to its partner device when that device comes into range.  Right now if I skip the call to sd_power_system_off() everything works great, except that it draws 2mA which will kill my button cell quickly.  If I call sd_power_system_off() it never seems to wake to advertise and the devices never connect.  Is there something specific that I need to do to enable periodic wakeup to advertise? 

Parents Reply
  • Thanks, I played with the advertisement interval a little but didn't see much difference in current.  I'm probably missing something.  In the end I re-worked all of the logic and basically only advertise when triggered by an external sensor, which works for this case.  Without advertising my idle current is now 12uA, and still about 0.5mA when advertising.  At some point I would like to figure out the advertising current, but for now I'm rarely advertising so it's good for now. :) 

Children
No Data
Related