<?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>systick on nrf52840 to geneate exception every 1msec</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21012/systick-on-nrf52840-to-geneate-exception-every-1msec</link><description>Hi all, 
 can we configure systick on nrf52840 to genrate exception every 1msec. 
 Tried doing the same but not able to observe correct value. 
 These are my configuration 
 clocksource: cpu;
Tickmask: 1;
counter enable:1;
LOAD: (64000-1); 
 But</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Apr 2017 07:32:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21012/systick-on-nrf52840-to-geneate-exception-every-1msec" /><item><title>RE: systick on nrf52840 to geneate exception every 1msec</title><link>https://devzone.nordicsemi.com/thread/82106?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 07:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:addae0fc-1d08-44d2-8700-1f10d622c581</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Systick is sourced by the same clock as the CPU, which is turned off when going to sleep(WFE/WFI), so I recommend that you look into using the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/lib_timer.html?cp=4_0_0_3_39"&gt;app_timer&lt;/a&gt;(uses the RTC1 peripheral) or the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/timer.html?cp=2_1_0_22#concept_xbd_hqp_sr"&gt;TIMER&lt;/a&gt; peripheral instead.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/question/72753/clocks-timers-rtc-why/?answer=72870#post-id-72870"&gt;this answer&lt;/a&gt; about differences between RTC and TIMER peripherals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>