<?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>How to measure CPU load on nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72919/how-to-measure-cpu-load-on-nrf52840</link><description>How does one measure CPU load in a 52840 application where softdevice is used? I would imagine this is a pretty standard thing that people would want to do and I would be very surprised if there is no module already available from Nordic that supports</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Mar 2021 16:07:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72919/how-to-measure-cpu-load-on-nrf52840" /><item><title>RE: How to measure CPU load on nrf52840</title><link>https://devzone.nordicsemi.com/thread/300496?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 16:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2064e9cd-3428-4774-b239-e5f608593688</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;the power control peripheral has two events that may be useful - SLEEPENTER and SLEEPEXIT. You can feed them to START and STOP tasks of a hardware timer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure CPU load on nrf52840</title><link>https://devzone.nordicsemi.com/thread/300490?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 15:47:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4277e01-861c-4f1f-bc00-ea6127d87128</guid><dc:creator>OwainIncus</dc:creator><description>&lt;p&gt;It looks as if this is related to&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/67569/pwr-mgmt-debug-pin"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/67569/pwr-mgmt-debug-pin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So a pin can be driven when CPU goes in and out of sleep. Wouldn&amp;#39;t it be great if this could actually start/stop timers in HW without CPU intervention to let us calculate CPU load?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>