<?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>FreeRTOS tickless idle for NRF53</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79757/freertos-tickless-idle-for-nrf53</link><description>I&amp;#39;m running FreeRTOS with default tickless idle mode (CPU is woken up by SysTick interrupt) on NET_CPU core. 
 If the TAD_S module (Trace and debug control) is not enabled by the APP_CPU core, waking up the NET_CPU with SysTick interrupt does not seem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Sep 2021 09:24:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79757/freertos-tickless-idle-for-nrf53" /><item><title>RE: FreeRTOS tickless idle for NRF53</title><link>https://devzone.nordicsemi.com/thread/330211?ContentTypeID=1</link><pubDate>Mon, 20 Sep 2021 09:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb1601a8-e9a3-4f08-be56-1063a4091bbd</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In debug mode, the HF clock&amp;nbsp;is always&amp;nbsp;on. This might be the reason why SysTick was still working in your case.&lt;/p&gt;
&lt;p&gt;For tickless on nRF5340 you can check out RTC&amp;nbsp;&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;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FreeRTOS tickless idle for NRF53</title><link>https://devzone.nordicsemi.com/thread/330033?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 12:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd79720-fbe7-495a-a696-47a2214d3c40</guid><dc:creator>jot.pyka</dc:creator><description>&lt;p&gt;Thanks for the response. The official FreeRTOS port for the ARM33 which is used utilizes SysTick timer for the purpose of FreeRTOS. And then tickless idle mode uses the SysTick interrupt to wake up the CPU from the sleep state. If you are saying the SysTick timer is suspended in CPU sleep state then probably something else wakes up the NET_CPU when I have the TAD module enabled by the APP_CPU. Can you answer what is the TAD_S module dependency to NET_CPU sleep state ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FreeRTOS tickless idle for NRF53</title><link>https://devzone.nordicsemi.com/thread/330021?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 11:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:485523a5-f5c1-413b-9678-2e8ed5bc6271</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please be aware that&amp;nbsp;we do not officially support FreeRTOS or any RTOS other than Zephyr RTOS on the nRF53 Series. The Zephyr RTOS is included in nRF Connect SDK, which we recommend using when developing applications for nRF5340.&lt;/p&gt;
&lt;p&gt;This could be hardware related. It seems like the SysTick clock on the network core has a dependency on TAD_S clock. When TAD_S is disabled, is the SysTick interrupt being pended? If it is not pended, it might point to hardware related behavior. If it is pended and not serviced, this is most likely caused by something else.&lt;/p&gt;
&lt;p&gt;Edit: I asked our developers about this. SysTick timer is suspended when the processor goes to sleep. It is recommended to use another timer, like an RTC for OS tick purposes.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>