<?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>S32KのトピックGuidance on Using FlexCAN_Ip_ManualBusOffRecovery()</title>
    <link>https://community.nxp.com/t5/S32K/Guidance-on-Using-FlexCAN-Ip-ManualBusOffRecovery/m-p/2162582#M52346</link>
    <description>&lt;P&gt;Hi Team,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested bus-off recovery with the following setup and need some clarification&lt;/P&gt;&lt;P&gt;In EB configuration, I selected &lt;STRONG&gt;Interrupt mode for bus-off recovery&lt;/STRONG&gt; and disabled &lt;STRONG&gt;automatic bus-off recovery&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When I shorted CANL and CANH, the bus-off interrupt was triggered and handled via the Can_43_FLEXCAN_ProcessBusOffInterrupt()[SW32K3_S32M27x_RTD_4.4_4.0.0_P24 package] API.&lt;/P&gt;&lt;P&gt;For recovery, I periodically called the FlexCAN_IP_ManualBusOffRecovery() API.&lt;/P&gt;&lt;P&gt;During this test, I noticed that even though automatic bus-off recovery was disabled, the condition check inside the manual recovery API failed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please guide me the procedure for using FlexCAN_Ip_ManualBusOffRecovery().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Saishanfi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Sep 2025 05:46:24 GMT</pubDate>
    <dc:creator>saishanfi</dc:creator>
    <dc:date>2025-09-03T05:46:24Z</dc:date>
    <item>
      <title>Guidance on Using FlexCAN_Ip_ManualBusOffRecovery()</title>
      <link>https://community.nxp.com/t5/S32K/Guidance-on-Using-FlexCAN-Ip-ManualBusOffRecovery/m-p/2162582#M52346</link>
      <description>&lt;P&gt;Hi Team,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested bus-off recovery with the following setup and need some clarification&lt;/P&gt;&lt;P&gt;In EB configuration, I selected &lt;STRONG&gt;Interrupt mode for bus-off recovery&lt;/STRONG&gt; and disabled &lt;STRONG&gt;automatic bus-off recovery&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When I shorted CANL and CANH, the bus-off interrupt was triggered and handled via the Can_43_FLEXCAN_ProcessBusOffInterrupt()[SW32K3_S32M27x_RTD_4.4_4.0.0_P24 package] API.&lt;/P&gt;&lt;P&gt;For recovery, I periodically called the FlexCAN_IP_ManualBusOffRecovery() API.&lt;/P&gt;&lt;P&gt;During this test, I noticed that even though automatic bus-off recovery was disabled, the condition check inside the manual recovery API failed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please guide me the procedure for using FlexCAN_Ip_ManualBusOffRecovery().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Saishanfi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 05:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Guidance-on-Using-FlexCAN-Ip-ManualBusOffRecovery/m-p/2162582#M52346</guid>
      <dc:creator>saishanfi</dc:creator>
      <dc:date>2025-09-03T05:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Guidance on Using FlexCAN_Ip_ManualBusOffRecovery()</title>
      <link>https://community.nxp.com/t5/S32K/Guidance-on-Using-FlexCAN-Ip-ManualBusOffRecovery/m-p/2163709#M52423</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;do not know HLD implementation much, but I think it does not offer API for doing manual recovery and you should not call low level function directly. Typically in AUTOSAR implementaitons user is going through&amp;nbsp;via&amp;nbsp;Can_SetControllerMode().&lt;/P&gt;
&lt;P&gt;So implement the&amp;nbsp;Can_ControllerBusOff()&amp;nbsp;callback in your application and use&amp;nbsp;Can_SetControllerMode()&amp;nbsp;to transition the controller to&amp;nbsp;CAN_T_STOP&amp;nbsp;and then back to&amp;nbsp;CAN_T_START&amp;nbsp;after recovery.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 13:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Guidance-on-Using-FlexCAN-Ip-ManualBusOffRecovery/m-p/2163709#M52423</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-09-04T13:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Guidance on Using FlexCAN_Ip_ManualBusOffRecovery()</title>
      <link>https://community.nxp.com/t5/S32K/Guidance-on-Using-FlexCAN-Ip-ManualBusOffRecovery/m-p/2163819#M52427</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written a &lt;STRONG&gt;stub for manual Bus-Off recovery&lt;/STRONG&gt;, and if recovery happens, I put the CAN controller into &lt;STRONG&gt;START mode&lt;/STRONG&gt; using Can_43_FLEXCAN_setControllerMode(). However, recovery does not happen as expected.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps followed:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;EB configuration: Interrupt mode for Bus-Off recovery enabled, automatic Bus-Off recovery disabled.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Shorted CANH and CANL → Bus-Off interrupt triggered and handled via Can_43_FLEXCAN_ProcessBusOffInterrupt() and controller mode was STOP.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Manual recovery stub uses a 10 ms recovery timer.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Observed behavior:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Shorted CANH/CANL for 3 seconds, then restored the bus.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After restoring:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;ESR1[FLTCONF]&lt;/STRONG&gt; still shows Bus-Off.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;ESR1[SYNCH]&lt;/STRONG&gt; is set (FlexCAN is synchronized to the CAN bus).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;After reconnecting CANH and CANL, recovery does not happen. &lt;STRONG&gt;When does ESR1[FLTCONF] clear?&lt;/STRONG&gt; Does TEC need to drop below 256, or is it cleared automatically once the bus is restored?(In manual recovery mode)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Before putting the CAN controller into &lt;STRONG&gt;START mode&lt;/STRONG&gt;, how can I check if the bus is ready to join or still in Bus-Off? Which bit should I check?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Could you please support on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Saishanfi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 17:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Guidance-on-Using-FlexCAN-Ip-ManualBusOffRecovery/m-p/2163819#M52427</guid>
      <dc:creator>saishanfi</dc:creator>
      <dc:date>2025-09-04T17:11:03Z</dc:date>
    </item>
  </channel>
</rss>

