<?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>NRF5340 WFI causes Systick to stop?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91428/nrf5340-wfi-causes-systick-to-stop</link><description>I am using FreeRTOS on the NRF5340-DK. When I use WFI (wait for interrupt) in the idle-hook, the processor stop forever (or when we attach a JTAG, 
 that causes interrupts, so it continues). The Systick is configured to give interrupts, but this process</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Sep 2022 08:20:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91428/nrf5340-wfi-causes-systick-to-stop" /><item><title>RE: NRF5340 WFI causes Systick to stop?</title><link>https://devzone.nordicsemi.com/thread/384273?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 08:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:139d17cd-0c5f-4218-b10c-fee3ce27ed39</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Thanks for the info Bas. Good to know that it works now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will let our expert to have a look when he is back to the office.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 WFI causes Systick to stop?</title><link>https://devzone.nordicsemi.com/thread/384263?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 08:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f07b1835-0737-45af-aeca-c4321c4e63a9</guid><dc:creator>Bas van den Berg</dc:creator><description>&lt;p&gt;I did configure the TICK of the RTC timer and that works indeed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 WFI causes Systick to stop?</title><link>https://devzone.nordicsemi.com/thread/384039?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 06:35:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3692613e-e215-4ab4-ac88-565cd43b446d</guid><dc:creator>Bas van den Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using FreeRTOS (Latest) on both the App-core and the Net-core. Since FreeRTOS only uses the ARM features (ie Systick) it works on any Cortex-M33. From the FreeRTOS sources, it appears using the systick with WFI is a common occurance, but for me it doesn&amp;#39;t work on the NRF53. I could port FreeRTOS to use the TICK instead of SYSTICK, I&amp;#39;ll look into that today but it would be great if your FreeRTOS expert could have a look at the current situation as well.&lt;/p&gt;
&lt;p&gt;What would also be interesting is whether Zephyr uses Tick&amp;nbsp; / Systick to reach the 10 uA consumption..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 WFI causes Systick to stop?</title><link>https://devzone.nordicsemi.com/thread/383944?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 13:25:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9b90097-853e-4564-b0e5-11367f3907c5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Bas Van Den Berg,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We would need to forward your question to our FreeRTOS expert (who is on vacation this week). In the mean time could you give more information about your setup ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From my understanding you are not using Zephyr and instead using FreeRTOS directly with the nRF53 ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We provide a &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/rtc.html?cp=3_0_0_6_27_4#concept_g53_fh4_sr"&gt;TICK event &lt;/a&gt;that can replace the SYSTick and it can remove the need of the ARM&amp;#39;s Systick when the CPU can be powered down, quoted:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Using the TICK event, rather than the SysTick, allows the CPU to be powered down while keeping RTOS&lt;/em&gt;&lt;br /&gt;&lt;em&gt;scheduling active.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not so sure&amp;nbsp;if&amp;nbsp;SysTick can be running when the CPU is powered down with WFI.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>