<?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 Clarification on FlexCAN Bus Off Done interrupt (BOFFDONEINT) on S32K322 using SW32K3_S32M27x_RTD_4. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Clarification-on-FlexCAN-Bus-Off-Done-interrupt-BOFFDONEINT-on/m-p/2184509#M53443</link>
    <description>&lt;P&gt;Hi Team,&lt;BR /&gt;&lt;BR /&gt;The Reference Manual shows ESR1[BOFFDONEINT] and CTRL2[BOFFDONEMSK] bits for the FlexCAN module, indicating the Bus-Off recovery completion interrupt.&lt;BR /&gt;However, RTD (SW32K3_S32M27x_RTD_4.4_4.0.0_P24) and EB Tresos do not expose any configuration or API to enable this feature.&lt;BR /&gt;Could you please confirm:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.Whether BOFFDONEINT is supported in the current RTD version? If yes, please share procedure&lt;/P&gt;&lt;P&gt;2.Is possible to configure BOFFDONEINT in EB tresos tool&lt;/P&gt;&lt;P&gt;3.In manual recovery method how to read bus is back to normal mode. Which status bit should be monitored in the ESR1 or other registers to detect recovery completion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&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;</description>
    <pubDate>Mon, 13 Oct 2025 05:40:10 GMT</pubDate>
    <dc:creator>saishanfi</dc:creator>
    <dc:date>2025-10-13T05:40:10Z</dc:date>
    <item>
      <title>Clarification on FlexCAN Bus Off Done interrupt (BOFFDONEINT) on S32K322 using SW32K3_S32M27x_RTD_4.</title>
      <link>https://community.nxp.com/t5/S32K/Clarification-on-FlexCAN-Bus-Off-Done-interrupt-BOFFDONEINT-on/m-p/2184509#M53443</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;&lt;BR /&gt;The Reference Manual shows ESR1[BOFFDONEINT] and CTRL2[BOFFDONEMSK] bits for the FlexCAN module, indicating the Bus-Off recovery completion interrupt.&lt;BR /&gt;However, RTD (SW32K3_S32M27x_RTD_4.4_4.0.0_P24) and EB Tresos do not expose any configuration or API to enable this feature.&lt;BR /&gt;Could you please confirm:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.Whether BOFFDONEINT is supported in the current RTD version? If yes, please share procedure&lt;/P&gt;&lt;P&gt;2.Is possible to configure BOFFDONEINT in EB tresos tool&lt;/P&gt;&lt;P&gt;3.In manual recovery method how to read bus is back to normal mode. Which status bit should be monitored in the ESR1 or other registers to detect recovery completion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&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;</description>
      <pubDate>Mon, 13 Oct 2025 05:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clarification-on-FlexCAN-Bus-Off-Done-interrupt-BOFFDONEINT-on/m-p/2184509#M53443</guid>
      <dc:creator>saishanfi</dc:creator>
      <dc:date>2025-10-13T05:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on FlexCAN Bus Off Done interrupt (BOFFDONEINT) on S32K322 using SW32K3_S32M27x_RT</title>
      <link>https://community.nxp.com/t5/S32K/Clarification-on-FlexCAN-Bus-Off-Done-interrupt-BOFFDONEINT-on/m-p/2185146#M53494</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253929"&gt;@saishanfi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1. Current RTD version does not support &lt;STRONG&gt;BOFFDONEINT&lt;/STRONG&gt;,&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;FlexCAN_BusOff_IRQHandler&lt;/EM&gt; only checks for&amp;nbsp;&lt;STRONG&gt;BOFFINT:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_1100004.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360525i64BA481B4715CCA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_1100004.png" alt="Snag_1100004.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Snag_1100004.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. For &lt;SPAN&gt;&lt;STRONG&gt;BOFFINT&lt;/STRONG&gt;, i&lt;/SPAN&gt;n ASR context (EB Tresos):&lt;/P&gt;
&lt;P&gt;Create 1 callback function for Bus off in main.c. User defines this function by themselves.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1760386839690.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360526iE9205141CD6B3905/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1760386839690.png" alt="Julin_AragnM_0-1760386839690.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_0-1760386839690.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Create 1 header file to extern this callback function and this file will be included in &lt;STRONG&gt;Can_Cfg.c&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_1-1760386839657.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360528i1722EA4D4AA75008/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_1-1760386839657.png" alt="Julin_AragnM_1-1760386839657.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_1-1760386839657.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this file, extern the function Bus Off Callback.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_2-1760386839614.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360527iD491F9647BC4A53B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_2-1760386839614.png" alt="Julin_AragnM_2-1760386839614.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Julin_AragnM_2-1760386839614.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then, in CanIf configuration, fill header file and callback function name.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_12ba5e6.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360535i93645FDC66578C19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_12ba5e6.png" alt="Snag_12ba5e6.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Snag_12ba5e6.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_12bbb52.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360536i3D1A0A2F2EDEA75A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_12bbb52.png" alt="Snag_12bbb52.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Snag_12bbb52.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. In manual recovery the module remains in bus off state until the &lt;STRONG&gt;BOFFREC&amp;nbsp;&lt;/STRONG&gt;bit is negated by the user&lt;/P&gt;
&lt;P&gt;In case the automatic recovery mode is disabled, BOFFREC = 1, the recovery from bus-off starts after both independent events have become true:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;128 occurrences of 11 consecutive recessive bits on the CAN bus have been monitored&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;BOFFREC&lt;/STRONG&gt; has been cleared by the user&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If negation happens:&lt;/P&gt;
&lt;P&gt;- before 128 sequences of 11 recessive bits are detected on the CAN bus, then Bus Off recovery happens in similar way as in automatic recovery mode.&lt;/P&gt;
&lt;P&gt;- after 128 sequences of 11 recessive bits occurred, then FlexCAN will resynchronize to the bus by waiting for 11 recessive bits before joining the bus.&lt;/P&gt;
&lt;P&gt;Wait for 11 recessive bits, when ECR[TXRRCNT]=x01, communication starts (recovery from bus off).&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 21:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clarification-on-FlexCAN-Bus-Off-Done-interrupt-BOFFDONEINT-on/m-p/2185146#M53494</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-10-13T21:26:40Z</dc:date>
    </item>
  </channel>
</rss>

