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
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
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.