<?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>nrf52dk systick calibration value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21011/nrf52dk-systick-calibration-value</link><description>Hi,
I have configured systick for 1msec value with Ticks=64000. When I read the systick calibration register value, the value is 0xc0000000. This indicates the Tenms register value is zero. 
 The description says SoC vendor has to provide this value</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Apr 2017 06:29:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21011/nrf52dk-systick-calibration-value" /><item><title>RE: nrf52dk systick calibration value</title><link>https://devzone.nordicsemi.com/thread/82104?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 06:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bace27d-ac05-48ad-a81b-7de4fc270c1b</guid><dc:creator>shreeharsha</dc:creator><description>&lt;p&gt;Hi  John DeWitt ,&lt;/p&gt;
&lt;p&gt;This is how am configuring RTS as counter in RIOT OS.
1.RTT_DEV-&amp;gt;EVENTS_TICK = 1;
2.RTT_DEV-&amp;gt;EVTENSET = 1;
3.RTT_DEV-&amp;gt;TASKS_CLEAR = 1;
4. rtt_init();,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52dk systick calibration value</title><link>https://devzone.nordicsemi.com/thread/82103?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 14:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdf58995-0126-4251-ae1b-82d6ebd49754</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Well, I&amp;#39;m not an expert on the Systick feature of the nRF52 as we use the RTC peripherals because they run while sleeping. I imagine if you don&amp;#39;t need to save power by sleeping, using systick as a counter would be possible. That said the RTC is a real time counter and is really built for that job is there a reason you would prefer the Systick (we don&amp;#39;t have any view of your application or requirements). How are you configuring the RTC where it is missing ticks?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52dk systick calibration value</title><link>https://devzone.nordicsemi.com/thread/82105?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 06:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca602242-c130-46dc-8aa4-2c1f42a20379</guid><dc:creator>shreeharsha</dc:creator><description>&lt;p&gt;Hi John DeWitt,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I still have couple of questions.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;So is it not possible to use systick  as counter on nordic nrf52dk.&lt;/li&gt;
&lt;li&gt;Can I disable sd_app_evt_wait() and use systick.&lt;/li&gt;
&lt;li&gt;I tired configuring RTC as counter but missing about 30-40 ticks for 5 sec.
How to get accurate count value using RTC. Am running on RIOT OS.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Looking forward for your  valuable reply.&lt;/p&gt;
&lt;p&gt;Regards,
Shreeharsha.I&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52dk systick calibration value</title><link>https://devzone.nordicsemi.com/thread/82102?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2017 20:47:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9165df9f-5a27-4f57-993d-e905b0ee0850</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Thanks, I learned something new today on that one. @shreeharsha could also reference this answer: &lt;a href="https://devzone.nordicsemi.com/question/107122/systick-and-sd_app_evt_wait/"&gt;systick&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52dk systick calibration value</title><link>https://devzone.nordicsemi.com/thread/82101?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2017 14:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61b659d4-8cf5-47bc-8ed3-05ff5e75a0f3</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The systick does &lt;em&gt;not&lt;/em&gt; run once you use power management function like &lt;code&gt;sd_app_evt_wait()&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Unless you wanted a cpu load gauge in tenth of a percent, you should better use one of the other timers.&lt;/p&gt;
&lt;p&gt;Trap for young players: The systick &lt;em&gt;works&lt;/em&gt; as long as you have the debugger &lt;em&gt;connected&lt;/em&gt; - this puts the NRF into a higher power mode and disables sleep modes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>