<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>Which timer is the best choice for RTX RTOS?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/47617/which-timer-is-the-best-choice-for-rtx-rtos</link><description> I have found a variety of timers and wonder which one I should use for my RTOS application. I should run a non-timing-critical task periodically. I found the GPIO timers on the Cortex M3 as well as the SysTick timers. Then there is also a virtual timer</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Which timer is the best choice for RTX RTOS?</title><link>https://community.arm.com/thread/167967?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 11:49:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:16bd961b-8cf7-4590-adb1-037c3386ee6e</guid><dc:creator>coldspark</dc:creator><description>&lt;p&gt;Sorry for the late reply. It doesn&amp;#39;t take long. It should just check if the devices on the serial ports are still connected. It is also not time critical. I am now using the Virtual Timer and it works. I will keep your suggestion in mind though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which timer is the best choice for RTX RTOS?</title><link>https://community.arm.com/thread/167475?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 17:52:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8b2ca4aa-3d41-4185-bab6-82488d423dd6</guid><dc:creator>Adam Lins</dc:creator><description>&lt;p&gt;How long does the task take to complete? If it could a long time (relative to your application&amp;#39;s needs), it&amp;#39;s probably better to run as a thread. You can use osThreadFlagsWait() to block on signals with an arbitrary timeout (in RTOS ticks).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Which timer is the best choice for RTX RTOS?</title><link>https://community.arm.com/thread/167452?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 12:01:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ebba7ccd-adc1-49ff-b1c1-4e08f52d3170</guid><dc:creator>coldspark</dc:creator><description>&lt;p&gt;So I basically answered a few of the functions myself. Since I am using the RTX Kernel the SysTick Timer is used by the Virtual Timer of the RTOS. I can&amp;#39;t define SysTick_Handler, because it is already defined in irq_cm3.s. I think for simple non-timing-critical task this Timer is a better choice than the GPIO Timers. I also don&amp;#39;t need NVIC Interrupts for this, because from what I have understood they are mostly for triggering interrupts by periphals, which I don&amp;#39;t need.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>