<?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>Use RTOS and xTimerCreate() ,Timer faster than the actual（SDK12,52832）</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18266/use-rtos-and-xtimercreate-timer-faster-than-the-actual-sdk12-52832</link><description>Timer for defining 20ms cycle: 
 // Create timers.
m_test_timer = xTimerCreate(&amp;quot;TEST&amp;quot;,
 20,
 pdTRUE,
 NULL,
 test_timeout_handler);
 
 I found eight cycles, fast 6ms</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Dec 2016 11:28:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18266/use-rtos-and-xtimercreate-timer-faster-than-the-actual-sdk12-52832" /><item><title>RE: Use RTOS and xTimerCreate() ,Timer faster than the actual（SDK12,52832）</title><link>https://devzone.nordicsemi.com/thread/70535?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2016 11:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5db6b669-64b6-494e-8f3a-738c8030de20</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Assuming you have the below optimum value for nRF port&lt;/p&gt;
&lt;p&gt;#define configTICK_RATE_HZ                                                        1024	&lt;/p&gt;
&lt;p&gt;The RTC will generate 1024 ticks a second which is 1/1024 = 0.976 ms per tick (little less than 1ms)&lt;/p&gt;
&lt;p&gt;xTimerCreate takes number of ticks as argument. So 20 means 20 RTOS ticks. One RTOS tick in our port is 0.976ms because we cannot generate an accurate 1ms tick using the RTC (as we cannot have non integral prescalar). So for  20 ticks you will get 20*0.9765 = 19.5ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use RTOS and xTimerCreate() ,Timer faster than the actual（SDK12,52832）</title><link>https://devzone.nordicsemi.com/thread/70534?ContentTypeID=1</link><pubDate>Sat, 10 Dec 2016 07:30:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:741e6de7-eac8-4941-a5ee-a00b21d286d9</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Please try the patches mentioned in this thread
&lt;a href="https://devzone.nordicsemi.com/question/105973/freertos-changes-for-better-rtos-timer-accuracy/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use RTOS and xTimerCreate() ,Timer faster than the actual（SDK12,52832）</title><link>https://devzone.nordicsemi.com/thread/70533?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 14:31:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:717fcbbf-e633-4373-b45e-6dde93b28bfa</guid><dc:creator>ju</dc:creator><description>&lt;p&gt;I used SDk12.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use RTOS and xTimerCreate() ,Timer faster than the actual（SDK12,52832）</title><link>https://devzone.nordicsemi.com/thread/70532?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 20:34:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8da732f-d48f-4898-b5f6-2c657bf0c655</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;which SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>