<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Logging the CPU activity in softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2695/logging-the-cpu-activity-in-softdevice</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Jun 2014 12:43:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2695/logging-the-cpu-activity-in-softdevice" /><item><title>RE: Logging the CPU activity in softdevice</title><link>https://devzone.nordicsemi.com/thread/10549?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2014 12:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee16f78d-e96f-4d1f-abc1-0b3144a235fb</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;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 &amp;lt; 10 ohm series resistor on VCC_NRF). The only task to do in main is to go to sleep.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>