<?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: task abnormal with FreeRTOS_v10_0_1 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/task-abnormal-with-FreeRTOS-v10-0-1/m-p/973215#M5543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jimmenez,&lt;/P&gt;&lt;P&gt;Thank you very much for your kind help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2019 04:46:32 GMT</pubDate>
    <dc:creator>zhaoyanling</dc:creator>
    <dc:date>2019-09-11T04:46:32Z</dc:date>
    <item>
      <title>task abnormal with FreeRTOS_v10_0_1</title>
      <link>https://community.nxp.com/t5/S32K/task-abnormal-with-FreeRTOS-v10-0-1/m-p/973213#M5541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hello expert,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I debug the example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used S32K144 EVM board , and the SDK version is S32SDK_S32K1xx_RTM_3.0.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And I use the FreeRTOS_v10_0_1 which comes with the SDK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I use the CAN0 and CAN2&lt;/SPAN&gt;，&lt;SPAN&gt;but after I initialize the CAN driver( CAN_Init() function) the APP_TASK can not work, the &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;prvCheckTasksWaitingTermination&lt;/SPAN&gt;() is executed for ever.&amp;nbsp; If I disable CAN_Init() function, APP_TASK can work normally. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What may be the reason? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I attach my project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you give me some suggestion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 08:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/task-abnormal-with-FreeRTOS-v10-0-1/m-p/973213#M5541</guid>
      <dc:creator>zhaoyanling</dc:creator>
      <dc:date>2019-08-09T08:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: task abnormal with FreeRTOS_v10_0_1</title>
      <link>https://community.nxp.com/t5/S32K/task-abnormal-with-FreeRTOS-v10-0-1/m-p/973214#M5542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;First, I would like to apologize for the late response. I imported your project and I noticed a couple of things that got my attention. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following warnings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87923i09B85EE537C43FFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your callbacks only receive three parameters.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88125i6AF3225C0F434AD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the type flexcan_callback_t receives 4 parameters, you are missing the buffIdx. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87839i6FA9D4FE637E0A88/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in your function CAN_INIT, you are initializing two times the same instance.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87924iF361E3EC7ECEF8E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&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;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 23:46:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/task-abnormal-with-FreeRTOS-v10-0-1/m-p/973214#M5542</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2019-09-02T23:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: task abnormal with FreeRTOS_v10_0_1</title>
      <link>https://community.nxp.com/t5/S32K/task-abnormal-with-FreeRTOS-v10-0-1/m-p/973215#M5543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jimmenez,&lt;/P&gt;&lt;P&gt;Thank you very much for your kind help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 04:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/task-abnormal-with-FreeRTOS-v10-0-1/m-p/973215#M5543</guid>
      <dc:creator>zhaoyanling</dc:creator>
      <dc:date>2019-09-11T04:46:32Z</dc:date>
    </item>
  </channel>
</rss>

