<?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>S32 Design StudioのトピックRe: FreeRTOS couldn't  switch task</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1372281#M7973</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The method of creating task as a static one has been used in others MCU(S32K118), and use same SDK version.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;why could not create&amp;nbsp; task in idle task?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Now the all task just have simple operation, so I think the stack is enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Is there a problem with the configuration of&amp;nbsp; FreeRTOS?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;Can you help to find out what is the reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 02:03:05 GMT</pubDate>
    <dc:creator>asd046012</dc:creator>
    <dc:date>2021-11-17T02:03:05Z</dc:date>
    <item>
      <title>FreeRTOS couldn't  switch task</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1371300#M7964</link>
      <description>&lt;P&gt;&amp;nbsp;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I use the SDK 2.9 version, and MCU is S32K114.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; After I config clock, pin, and FreeRTOS, compile,and run.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I find that system tick run into interrupt and counter, but OS could not switch to others task,just always run in idle task.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;For the project code, please see the attachment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 11:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1371300#M7964</guid>
      <dc:creator>asd046012</dc:creator>
      <dc:date>2021-11-17T11:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS couldn't  switch task</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1371569#M7971</link>
      <description>&lt;P&gt;I find that code could enter into system tick interrupt, but couldn't enter into xPortPendSVHandler.&amp;nbsp; I still didn't find the reason.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 02:29:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1371569#M7971</guid>
      <dc:creator>asd046012</dc:creator>
      <dc:date>2021-11-16T02:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS couldn't  switch task</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1371996#M7972</link>
      <description>&lt;P&gt;I looked briefly at your project - and for some reason any task (except the idle one) is not created properly. I didn't dig deeper, but you are creating tasks as a static ones - means you maintaining memory for task info is up to you - So main issue is, that other task than Idle is not known for scheduler.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 12:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1371996#M7972</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2021-11-16T12:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS couldn't  switch task</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1372281#M7973</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The method of creating task as a static one has been used in others MCU(S32K118), and use same SDK version.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;why could not create&amp;nbsp; task in idle task?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Now the all task just have simple operation, so I think the stack is enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Is there a problem with the configuration of&amp;nbsp; FreeRTOS?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;Can you help to find out what is the reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 02:03:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1372281#M7973</guid>
      <dc:creator>asd046012</dc:creator>
      <dc:date>2021-11-17T02:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS couldn't  switch task</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1373033#M7977</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;This issue has been solved, the reason of causing this issue is SDK version bug.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; First I configured the max number of priority as 32,FreeRTOS shall not switch task, but when I configured the max number of priority as 8, all task run normally.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 01:38:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/FreeRTOS-couldn-t-switch-task/m-p/1373033#M7977</guid>
      <dc:creator>asd046012</dc:creator>
      <dc:date>2021-11-18T01:38:47Z</dc:date>
    </item>
  </channel>
</rss>

