<?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: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&amp;gt; integrate fail in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064479#M9548</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;/P&gt;&lt;P&gt;Could you please try &lt;A href="https://community.nxp.com/thread/537846"&gt;https://community.nxp.com/thread/537846&lt;/A&gt;&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2020 18:17:17 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2020-07-21T18:17:17Z</dc:date>
    <item>
      <title>KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064471#M9540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I try to integrate&amp;nbsp;the&amp;nbsp;CAN-interrupt-tx example code (frdmkw36_driver_examples_flexcan_interrupt_transfer) into my project, and I use the wireless-UART example code (frdmkw36_wireless_examples_bluetooth_w_uart_freertos) as my code-based, Unfortunately, It seems the CAN-BUS can't work and no any CAN interrupt can be generated.&amp;nbsp;I have verified and confirmed that my CAN0_init() function can work fine, because I have added it to the &lt;SPAN&gt;CAN-interrupt-tx &lt;/SPAN&gt;example code and it seems to work well, Now I have some questions, Is it impossible to execute interrupt ISR in NXP's FreeRots, or I missed some configuration for CAN's ISR, Can anyone share some useful experience to me,&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2020 11:01:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064471#M9540</guid>
      <dc:creator>sihanchen</dc:creator>
      <dc:date>2020-07-19T11:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064472#M9541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 quick comments:&lt;/P&gt;&lt;P&gt;- wireless uart is a complicated example. If you are new to BLE applications, I recommend you to start from something simpler, like the bps demo.&lt;/P&gt;&lt;P&gt;- FreeRTOS has its own way to handle ISRs. Maybe you need to register the CAN ISR inside FreeRTOS. I don't remember this part of codes by heart, need to check also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2020 01:55:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064472#M9541</guid>
      <dc:creator>Xiang_Li</dc:creator>
      <dc:date>2020-07-20T01:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064473#M9542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiang Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thank you for your suggestions, but our product code is based on wireless-UART SDK, so I have to use it.&lt;/P&gt;&lt;P&gt;In addition. I have checked that the CAN's interrupt vector table and it already exists, anyway I will check the ISR's register you mentioned, thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2020 02:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064473#M9542</guid>
      <dc:creator>sihanchen</dc:creator>
      <dc:date>2020-07-20T02:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064474#M9543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sihan,&lt;/P&gt;&lt;P&gt;I did a quick look to the example code "frdmkw36_driver_examples_flexcan_interrupt_transfer", and I see the CAN interrupt priority is not changed by default.&lt;/P&gt;&lt;P&gt;In this example, only the CAN ISR is enabled inside FLEXCAN_TransferCreateHandle(), via EnableIRQ(). But I don't see any call to NVIC_SetPriority(). So it means the CAN ISR priority would be the default as in ARM M0+ core.&lt;/P&gt;&lt;P&gt;So you might need to check if the priority setting is ok when FreeRTOS is running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2020 03:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064474#M9543</guid>
      <dc:creator>Xiang_Li</dc:creator>
      <dc:date>2020-07-20T03:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064475#M9544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiang Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. I have added NVIC_SetPriority() to my CAN_init(), but the CAN interrupt still cannot be generated.Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2020 04:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064475#M9544</guid>
      <dc:creator>sihanchen</dc:creator>
      <dc:date>2020-07-20T04:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064476#M9545</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;/P&gt;&lt;P&gt;You can check as well &lt;A href="https://www.nxp.com/docs/en/application-note/AN12273.pdf"&gt;this application note&lt;/A&gt; with the implementation. I would recommend you to start with the CAN communication first and only adding the driver to receive/send a message through CAN and after that if you are interested adding the rest of the functionality mentioned there (security+LIN) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2020 18:39:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064476#M9545</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2020-07-20T18:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064477#M9546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&amp;nbsp;Estephania,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you for sharing your experience. I have referenced the Application Note for creating the CAN driver, and used "SDK Component Management window" to add the CAN Driver to my project, but it seems that there are some compiler errors. I remove some files as follows to fix the compiler's errors. Is it correct ?&amp;nbsp;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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/116407i4BE29FD31B62EE89/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 04:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064477#M9546</guid>
      <dc:creator>sihanchen</dc:creator>
      <dc:date>2020-07-21T04:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064478#M9547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Estephania,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I have tried adding CAN_init() to (frdmkw36_wireless_examples_bluetooth_w_uart_freertos) according to the instructions in the Application Note, but it seems that CAN-BUS still does not work. In order to confirm whether the CAN-Driver can run in the FreeRtos project, I tried to dump the register value after executing "FLEXCAN_WriteTxMb()" and compare it with (frdmkw36_driver_examples_flexcan_interrupt_transfer) , As shown in the figure below, we can see that the register value of the yellow item is wrong . Can anyone provide me with some suggestions,&amp;nbsp;Many thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source Code :&amp;nbsp;&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/116437i47D788DA74C624F5/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;Wrong memory content :&amp;nbsp;&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/116438i7D2E7EC80C073496/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;Correct memory content :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116439i31652ACAF149EA22/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 10:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064478#M9547</guid>
      <dc:creator>sihanchen</dc:creator>
      <dc:date>2020-07-21T10:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064479#M9548</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;/P&gt;&lt;P&gt;Could you please try &lt;A href="https://community.nxp.com/thread/537846"&gt;https://community.nxp.com/thread/537846&lt;/A&gt;&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 18:17:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1064479#M9548</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2020-07-21T18:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 + bluetooth_w_urt_freertos (SDK) + CAN (example_code) =&gt; integrate fail</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1149247#M10108</link>
      <description>&lt;P data-unlink="true"&gt;Hello&amp;nbsp;&lt;SPAN class=""&gt;sihanchen&amp;nbsp;/&amp;nbsp;estephania_mart,&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;I am getting same heap files error after adding the flexcan driver into "frdmkw36_wireless_examples_bluetooth_w_uart_freertos" project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, attaching the image of project build error.&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;I am using SDK ver. 2.2.1 and MCUXpresso IDE 11.0.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Kindly suggest the solution.&lt;/P&gt;&lt;P data-unlink="true"&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 11:30:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-bluetooth-w-urt-freertos-SDK-CAN-example-code-gt-integrate/m-p/1149247#M10108</guid>
      <dc:creator>chintan</dc:creator>
      <dc:date>2020-09-05T11:30:06Z</dc:date>
    </item>
  </channel>
</rss>

