<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can FreeRTOS support xTimerCreate() with us? in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Can-FreeRTOS-support-xTimerCreate-with-us/m-p/1177870#M11084</link>
    <description>&lt;P&gt;For timing events of less than one microsecond, you need to use hardware timers directly rather than freeRTOS services. i.MX RT has multiple timers, but you could look at either the PIT or GPT as a starting point.&lt;/P&gt;&lt;P&gt;-Nick&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 10:15:10 GMT</pubDate>
    <dc:creator>nickwallis</dc:creator>
    <dc:date>2020-11-04T10:15:10Z</dc:date>
    <item>
      <title>Can FreeRTOS support xTimerCreate() with us?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Can-FreeRTOS-support-xTimerCreate-with-us/m-p/1177742#M11073</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;SDK_2.8.5_EVK-MIMXRT1060 with FreeRTOS version.&lt;/P&gt;&lt;P&gt;I want to create a timer handling function with us timer, but I check the timers.h that described the&amp;nbsp;xTimerPeriodInTicks parameter used&amp;nbsp;portTICK_PERIOD_MS not us.&lt;/P&gt;&lt;P&gt;Please kindly suggest the solution.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 07:34:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Can-FreeRTOS-support-xTimerCreate-with-us/m-p/1177742#M11073</guid>
      <dc:creator>maxs_yeh</dc:creator>
      <dc:date>2020-11-04T07:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can FreeRTOS support xTimerCreate() with us?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Can-FreeRTOS-support-xTimerCreate-with-us/m-p/1177870#M11084</link>
      <description>&lt;P&gt;For timing events of less than one microsecond, you need to use hardware timers directly rather than freeRTOS services. i.MX RT has multiple timers, but you could look at either the PIT or GPT as a starting point.&lt;/P&gt;&lt;P&gt;-Nick&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 10:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Can-FreeRTOS-support-xTimerCreate-with-us/m-p/1177870#M11084</guid>
      <dc:creator>nickwallis</dc:creator>
      <dc:date>2020-11-04T10:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can FreeRTOS support xTimerCreate() with us?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Can-FreeRTOS-support-xTimerCreate-with-us/m-p/1178515#M11107</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/93728" target="_self"&gt;maxs_yeh&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;The software timer need to input the&amp;nbsp;xTimerPeriodInTicks is the&amp;nbsp;configTICK_RATE_HZ integer multiples.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;Take the SDK freertos_swtimer as an example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;#define configTICK_RATE_HZ ((TickType_t)200)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; it means the cpu freertos tick time is 1/200=50ms&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;So, it means that your defined time must be the&amp;nbsp;integer multiples to 50 ms, should be: 50ms, 100ms, 150ms...etc. that's why you can't get the us.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;Then you may think, whether you can set the&amp;nbsp;configTICK_RATE_HZ in the us level.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;As you know, the smaller tick time is, the heavy cpu load is.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;So, just as&amp;nbsp;&lt;A id="link_17" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/77802" target="_self"&gt;nickwallis&lt;/A&gt;&amp;nbsp;told you, if you really need the us timer, you can use the RT hardware Timer to generate it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;If you still have questions about it, please kindly let me know!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;-----------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 05:56:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Can-FreeRTOS-support-xTimerCreate-with-us/m-p/1178515#M11107</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-11-05T05:56:55Z</dc:date>
    </item>
  </channel>
</rss>

