<?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: Flexcan porting to FreeRTOS in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827466#M3202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone can help me on my issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2018 01:50:25 GMT</pubDate>
    <dc:creator>jay_zhang</dc:creator>
    <dc:date>2018-08-09T01:50:25Z</dc:date>
    <item>
      <title>Flexcan porting to FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827465#M3201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NXP dev team,&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jiri.kral@nxp.com"&gt;jiri.kral@nxp.com&lt;/A&gt;‌&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/fanchang"&gt;fanchang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I met a issue with CAN transmission sample, my goal is port the can send/recv function to my project, my project is based on FreeRTOS, but after porting the code from flexcan_encrypted sample, find the MCU reset forever.&lt;/P&gt;&lt;P&gt;I have attached the project source code.&lt;/P&gt;&lt;P&gt;I after debuging the issue, I find the below code maybe the root cause to produce the issue,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79823iD562ED2257E124EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After remove the FLEXCAN_DRV_Init code, the MCU can run normally.&lt;/P&gt;&lt;P&gt;But the flexcan_encrypted sample run successfully on my board.&lt;/P&gt;&lt;P&gt;Please help me to resolve my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 04:13:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827465#M3201</guid>
      <dc:creator>jay_zhang</dc:creator>
      <dc:date>2018-08-07T04:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan porting to FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827466#M3202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone can help me on my issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 01:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827466#M3202</guid>
      <dc:creator>jay_zhang</dc:creator>
      <dc:date>2018-08-09T01:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan porting to FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827467#M3203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, zhang jie:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I suggest you put the prvSetupHardware() in a task, because the sdk use some os api(osif).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 05:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827467#M3203</guid>
      <dc:creator>fuzeng</dc:creator>
      <dc:date>2018-08-10T05:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan porting to FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827468#M3204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fu Zeng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The issue is fixed.&lt;/P&gt;&lt;P&gt;In the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FLEXCAN_DRV_Init&lt;SPAN&gt;&amp;nbsp;function, I find if you use the RTOS, it will create 32 sema:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62593i4474AE2DC2FEF356/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;But the default RTOS environment only config 8192 bytes heap size, after increase the size can fix this issue&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 02:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827468#M3204</guid>
      <dc:creator>jay_zhang</dc:creator>
      <dc:date>2018-08-13T02:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan porting to FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827469#M3205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL data-v-362bce0e="" style="color: #2e3033; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;&lt;LI data-v-362bce0e="" style="margin: 0px 0px 10px;"&gt;&lt;P class="" data-group="1-1" data-v-362bce0e="" style="color: #666666; font-size: 14px;"&gt;Add total stack&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2018 03:00:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827469#M3205</guid>
      <dc:creator>1085120422</dc:creator>
      <dc:date>2018-12-10T03:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan porting to FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827470#M3206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jay,&lt;/P&gt;&lt;P&gt;I also met this problem.&amp;nbsp; How to&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;increase the heap size? Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Tim&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 19:21:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827470#M3206</guid>
      <dc:creator>tim_ting89</dc:creator>
      <dc:date>2019-08-29T19:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan porting to FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827471#M3207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to add total stack? Could you show me the sample code. Thanks a lot!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 19:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-porting-to-FreeRTOS/m-p/827471#M3207</guid>
      <dc:creator>tim_ting89</dc:creator>
      <dc:date>2019-08-29T19:31:53Z</dc:date>
    </item>
  </channel>
</rss>

