<?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>Is there a cycle clock counter in the NRF51822?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/707/is-there-a-cycle-clock-counter-in-the-nrf51822</link><description>I would like to profile some code execution time (moving between floating point and fixed point arithmetic). On the last Cortex-M3 I used, we had the DWT_CYCCNT register at 0xE0001004 that incremented at the CPU clock. It was perfect for this. 
 Is there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Oct 2013 13:20:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/707/is-there-a-cycle-clock-counter-in-the-nrf51822" /><item><title>RE: Is there a cycle clock counter in the NRF51822?</title><link>https://devzone.nordicsemi.com/thread/3591?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 13:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94a50dea-d216-4435-95a4-b5ccdde9ac58</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;There is unfortunately no direct cycle counter in the nRF51822, so this is something you&amp;#39;ll have to implement yourself, either with one of the 16 MHz timers, or by doing GPIO toggling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a cycle clock counter in the NRF51822?</title><link>https://devzone.nordicsemi.com/thread/3590?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2013 15:29:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bd0a29a-6b3c-4327-a2b8-2e4c18ad966a</guid><dc:creator>Dan Danknick</dc:creator><description>&lt;p&gt;Yes I am running the SoftDevice and my code runs at 100Hz through the app_timer() scheduler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a cycle clock counter in the NRF51822?</title><link>https://devzone.nordicsemi.com/thread/3589?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2013 01:27:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9511e03e-979d-4bf4-9c10-d3e5fc76c9d8</guid><dc:creator>suktan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think we can use on-chip hardware timer/RTC instead. Do you use SoftDevice during profiling?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>