<?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>i.MX RT Crossover MCUsのトピックRe: FreeRTOS clock configurations</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996417#M5943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SysTick interrupt is a 24bit timer which is designed to be used by the RTOS as time base.Typical time bases are 10ms or 1ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to FreeRTOSConfig.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define xPortSysTickHandler SysTick_Handler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2019 02:25:50 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2019-11-06T02:25:50Z</dc:date>
    <item>
      <title>FreeRTOS clock configurations</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996413#M5939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was running an example that runs a freeRTOS example. I used the pin configuration tool to add SPI1 peripheral. Afterwards, I noticed the timings on my FreeRTOS example changed. The function: vTaskDelay(pdMS_TO_TICKS(33)) runs every 100ms and&amp;nbsp;vTaskDelay(pdMS_TO_TICKS(100)) runs every 300ms. Meaning that the clock needs to be divided by 3. Also noticed that the SPI baudrate is running at 425KHz while it should be running at 500 KHz.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Could anyone tell me which clocks I need to be looking at so that I can have a resolution of 1 ms for vTaskDelay, and have my SPI clock runs at 500 KHz when I set &lt;EM&gt;masterConfig.baudRate&amp;nbsp;&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 500000u.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Farid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2019 21:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996413#M5939</guid>
      <dc:creator>fma23</dc:creator>
      <dc:date>2019-11-01T21:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS clock configurations</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996414#M5940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one comment on my issue&amp;nbsp; please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 17:48:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996414#M5940</guid>
      <dc:creator>fma23</dc:creator>
      <dc:date>2019-11-05T17:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS clock configurations</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996415#M5941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Farid:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vTaskDelay(1) will delay for a tick count. The actual time that task remains blocked depends on the tick rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These settings in in FreeRTOSConfig.h&lt;/P&gt;&lt;P&gt;#define configCPU_CLOCK_HZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SystemCoreClock)&lt;BR /&gt;#define configTICK_RATE_HZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((TickType_t)1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So maybe you changed the core clock with the configuration tool? Are you using a low power spi?&lt;/P&gt;&lt;P&gt;Please refer to the lpspi demo with FreeRTOS in SDK.&lt;/P&gt;&lt;P&gt;SDK_2.6.1_EVKB-IMXRT1050\boards\evkbimxrt1050\rtos_examples\freertos_lpspi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 23:50:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996415#M5941</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-11-05T23:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS clock configurations</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996416#M5942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please say which clock or function is used to generate the ticks? there must be a timer used to control this 1 ms delay could you please tell me which timer is used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is there any documentation for this MCU drivers ( iMX RT1062)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Farid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2019 00:32:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996416#M5942</guid>
      <dc:creator>fma23</dc:creator>
      <dc:date>2019-11-06T00:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS clock configurations</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996417#M5943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SysTick interrupt is a 24bit timer which is designed to be used by the RTOS as time base.Typical time bases are 10ms or 1ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to FreeRTOSConfig.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define xPortSysTickHandler SysTick_Handler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2019 02:25:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-clock-configurations/m-p/996417#M5943</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-11-06T02:25:50Z</dc:date>
    </item>
  </channel>
</rss>

