Executing code during advertising

Hello, I am using the 52805 in a product and have achieved low power successfully.

I have a final requirement that I am trying to solve and want to know if there is an event generated when the device is advertising, so that I can execute a timer function and count down to a system shutdown.  The goal is not to use the APP TIMER and RTC to save power.

The advertising rate can be adjusted via the app to save power, down to 3uA.  The time intervals I use are 1,2,4,8 seconds, this value could be used to count time, granted with errors, but not enough to matter, and the BLE time random interval should average out to zero over long time periods.  When the counter runs to zero, execute power down, a power reset is then required to restart.

If this is not available as an EVENT, perhaps is could be created, seems like a very useful way to keep sloppy time?

Parents
  • Hello,

    I have a final requirement that I am trying to solve and want to know if there is an event generated when the device is advertising

    You can use the Radio Notifications to know when radio activity is upcoming / finished radio event, and then use this to start your countdown.

    and the BLE time random interval should average out to zero over long time periods

    Are you here referring to the 0 - 10 ms added delay before each advertising?
    If so, this will not average out to zero over time. If not, please elaborate on which random interval you are referring to here.

    Best regards,
    Karl

Reply
  • Hello,

    I have a final requirement that I am trying to solve and want to know if there is an event generated when the device is advertising

    You can use the Radio Notifications to know when radio activity is upcoming / finished radio event, and then use this to start your countdown.

    and the BLE time random interval should average out to zero over long time periods

    Are you here referring to the 0 - 10 ms added delay before each advertising?
    If so, this will not average out to zero over time. If not, please elaborate on which random interval you are referring to here.

    Best regards,
    Karl

Children
No Data
Related