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

Logging the CPU activity in softdevice

FormerMember
FormerMember

Hi all, Can I log the processor activity when using a softdevice with nrf51822? What I mean is can I get an event or timer count when the processor wakes up and goes to sleep? Thanks and regards, Prithvi

Parents
  • No, there is no such feature in the softdevice. If you want to evaluate the activity, I would recommend measuring the current consumption using an oscilloscope (hook up a < 10 ohm series resistor on VCC_NRF). The only task to do in main is to go to sleep.

    If you want to evaluate how much CPU is being used by the softdevice while in a connection, you can toggle a GPIO (with no sleep-function) in main and look at the toggling over time.

Reply
  • No, there is no such feature in the softdevice. If you want to evaluate the activity, I would recommend measuring the current consumption using an oscilloscope (hook up a < 10 ohm series resistor on VCC_NRF). The only task to do in main is to go to sleep.

    If you want to evaluate how much CPU is being used by the softdevice while in a connection, you can toggle a GPIO (with no sleep-function) in main and look at the toggling over time.

Children
No Data
Related