<?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: kStatus_FLEXCAN_UnHandled interrupts in flexcan in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2063381#M2704</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/136374"&gt;@max_yang1&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For high data rate use cases, FIFO is more&amp;nbsp;efficiency as it uses multiple MB to receive CAN frames, and if you enable DAM as well, the performance would be better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that makes sense,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&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;</description>
    <pubDate>Tue, 18 Mar 2025 03:29:09 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2025-03-18T03:29:09Z</dc:date>
    <item>
      <title>kStatus_FLEXCAN_UnHandled interrupts in flexcan</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2059719#M2653</link>
      <description>&lt;P&gt;Environment MIMXRT1064-EVK&lt;/P&gt;&lt;P&gt;I am doing some performance testing on the eval board. Noticed from time to time. The interrupt callback&amp;nbsp; get status&amp;nbsp;kStatus_FLEXCAN_UnHandled passed in.&lt;/P&gt;&lt;P&gt;Looking around flexcan code,&amp;nbsp;FLEXCAN_SubHandlerForDataTransfered() could not find a corresponding MB that generates the interrupt.&lt;/P&gt;&lt;P&gt;It appears it is cpu performance related. It happens more often if traffic is heavier.&amp;nbsp; I have tried disable TX/RX Warning in CTRL1 register, have not seen any difference. Just can not figured out the nature of the interrupt.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Max&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 16:47:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2059719#M2653</guid>
      <dc:creator>max_yang1</dc:creator>
      <dc:date>2025-03-11T16:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: kStatus_FLEXCAN_UnHandled interrupts in flexcan</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2059999#M2660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/136374"&gt;@max_yang1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I have more details regarding your test? Such as SDK package version, which flexcan example and the test environment you set up with&amp;nbsp;&lt;SPAN&gt;MIMXRT1064-EVK... Please kindly clarify.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your patience!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&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;</description>
      <pubDate>Wed, 12 Mar 2025 03:26:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2059999#M2660</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-03-12T03:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: kStatus_FLEXCAN_UnHandled interrupts in flexcan</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2060725#M2665</link>
      <description>&lt;P&gt;Package MIMXRT1064_DFP 19.0.0&lt;/P&gt;&lt;P&gt;I used PEAK CAN adaptor to push CAN traffic. I have about 25 streams of standard data package at 1 message/10ms rate with my application.&lt;/P&gt;&lt;P&gt;The code followed example of flexcan_interrupt_transfer of SDK, except if continues to call FLEXCAN_TransferFDReceiveNonBlocking on an successful receive in my application. and I added a switch statement for kStatus_FLEXCAN_UnHandled case in the callback.&lt;/P&gt;&lt;P&gt;I did not have any problem when I had light traffic (less streams and longer time interval).&lt;BR /&gt;I think the problem for me is that the a break point is hit, the CAN does not really goes to freeze mode by examining the MCR register. For that reason when every time, when&amp;nbsp;kStatus_FLEXCAN_UnHandled&amp;nbsp; is hit, the debugger stopped, and I see also some other MB interrupted as it continues to received messages&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 21:10:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2060725#M2665</guid>
      <dc:creator>max_yang1</dc:creator>
      <dc:date>2025-03-12T21:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: kStatus_FLEXCAN_UnHandled interrupts in flexcan</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2060855#M2667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/136374"&gt;@max_yang1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, that might be the possible cause, and to enter Freeze mode , you may set the HALT bit in MCR as well .&amp;nbsp; Please kindly refer to the following for details.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Freeze Mode:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;It is enabled when the FRZ bit in the MCR Register is asserted. If enabled, Freeze Mode&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;is entered when the HALT bit in MCR is set or when Debug Mode is requested at MCU&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;level and the FRZ_ACK bit in the MCR Register is asserted by the FlexCAN. In this&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;mode, no transmission or reception of frames is done and synchronicity to the CAN bus&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;is lost. See Freeze Mode for more information.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&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;DIV id="tinyMceEditorKan_Li_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 03:00:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2060855#M2667</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-03-13T03:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: kStatus_FLEXCAN_UnHandled interrupts in flexcan</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2060929#M2668</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/136374"&gt;@max_yang1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your case, maybe it is better with FIFO enabled on FlexCAN. Please kindly refer to the demo of&amp;nbsp; evkmimxrt1064_flexcan_ping_pong_buffer_transfer and&amp;nbsp;evkmimxrt1064_flexcan_loopback_edma_transfer for details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&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;</description>
      <pubDate>Thu, 13 Mar 2025 05:29:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2060929#M2668</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-03-13T05:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: kStatus_FLEXCAN_UnHandled interrupts in flexcan</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2063066#M2700</link>
      <description>&lt;P&gt;Are you saying FIFO method performs better than mail boxes?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 12:13:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2063066#M2700</guid>
      <dc:creator>max_yang1</dc:creator>
      <dc:date>2025-03-17T12:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: kStatus_FLEXCAN_UnHandled interrupts in flexcan</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2063381#M2704</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/136374"&gt;@max_yang1&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For high data rate use cases, FIFO is more&amp;nbsp;efficiency as it uses multiple MB to receive CAN frames, and if you enable DAM as well, the performance would be better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that makes sense,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&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;</description>
      <pubDate>Tue, 18 Mar 2025 03:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/kStatus-FLEXCAN-UnHandled-interrupts-in-flexcan/m-p/2063381#M2704</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-03-18T03:29:09Z</dc:date>
    </item>
  </channel>
</rss>

