<?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 sometime paused</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110140/systick-sometime-paused</link><description>Hi, i have run out of timers and would like to use SysTick to measure time. It seems as SysTick counts a bit too slow which i assume is due to CPU entering sleep. Does the SD 112 enter sleep such that the systick is paused? if so, is there any way to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2024 11:47:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110140/systick-sometime-paused" /><item><title>RE: systick sometime paused</title><link>https://devzone.nordicsemi.com/thread/478294?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 11:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3138539-51a9-4a79-ba1b-e79bc2098e16</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="victor passe"]does the SD 112 ever go in to sleep? and if so, can i controll that?[/quote]
&lt;p&gt;Not automatically, but in all low powe rapplications you will want to go to sleep (sytem ON low power mode). When using a SoftDevice that is done&amp;nbsp;by calling&amp;nbsp;sd_app_evt_wait(), but many examples call it indirectly via&amp;nbsp;nrf_pwr_mgmt_run() from the power management module).&lt;/p&gt;
[quote user="victor passe"] i want to measure time to the us level and are already using the timer 1 and 2 for pwm generation on 6 gpio so i cant use the HF timers and i cant use RTC as it is too slow.[/quote]
&lt;p&gt;I see. In that case perhaps an alternative could be to re-use a timer instance, for intance by using several CC registers (I don&amp;#39;t know how you use the timer so it may not be suitable in your case).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: systick sometime paused</title><link>https://devzone.nordicsemi.com/thread/478268?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 10:36:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02c58876-b77e-4ffe-8934-e1094f99fbf3</guid><dc:creator>victor passe</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;I know that&amp;nbsp;s&lt;span&gt;ystick is suspended during sleep, does the SD 112 ever go in to sleep? and if so, can i controll that?&lt;br /&gt;I know about your app timer library. i want to measure time to the us level and are already using the timer 1 and 2 for pwm generation on 6 gpio so i cant use the HF timers and i cant use RTC as it is too slow.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: systick sometime paused</title><link>https://devzone.nordicsemi.com/thread/478236?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 09:08:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4980ad63-3bfe-4e0f-ba05-8dd8e9a4ccd7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Systick is suspended during sleep, which is one of the reasons it is normally not used. If yo need more timers you can often achieve what you want by&amp;nbsp;using the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_timer.html"&gt;app timer library&lt;/a&gt;, where you can have an arbitrary number of &amp;quot;soft&amp;quot; timers based on a single RTC instance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>