<?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 CAN enters an abnormal interrupt in S32K</title>
    <link>https://community.nxp.com/t5/S32K/CAN-enters-an-abnormal-interrupt/m-p/2186374#M53562</link>
    <description>&lt;P&gt;我在S32K310芯片上使用CAN1和CAN2，当前只有在CAN1的总线上有两个节点，CAN2上是单节点状态。但是CAN2在没有触发任何故障的情况下重复进入ERR_IRQHandler。这是为什么？&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2025-10-15_15-07-08.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360838iE1A0DDA44E9FA18D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2025-10-15_15-07-08.png" alt="Snipaste_2025-10-15_15-07-08.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Oct 2025 07:15:04 GMT</pubDate>
    <dc:creator>Embedded_novice</dc:creator>
    <dc:date>2025-10-15T07:15:04Z</dc:date>
    <item>
      <title>CAN enters an abnormal interrupt</title>
      <link>https://community.nxp.com/t5/S32K/CAN-enters-an-abnormal-interrupt/m-p/2186374#M53562</link>
      <description>&lt;P&gt;我在S32K310芯片上使用CAN1和CAN2，当前只有在CAN1的总线上有两个节点，CAN2上是单节点状态。但是CAN2在没有触发任何故障的情况下重复进入ERR_IRQHandler。这是为什么？&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2025-10-15_15-07-08.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360838iE1A0DDA44E9FA18D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2025-10-15_15-07-08.png" alt="Snipaste_2025-10-15_15-07-08.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 07:15:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-enters-an-abnormal-interrupt/m-p/2186374#M53562</guid>
      <dc:creator>Embedded_novice</dc:creator>
      <dc:date>2025-10-15T07:15:04Z</dc:date>
    </item>
    <item>
      <title>回复： CAN enters an abnormal interrupt</title>
      <link>https://community.nxp.com/t5/S32K/CAN-enters-an-abnormal-interrupt/m-p/2186585#M53578</link>
      <description>请问清除哪个寄存器能够避免中断重入呢？</description>
      <pubDate>Wed, 15 Oct 2025 11:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-enters-an-abnormal-interrupt/m-p/2186585#M53578</guid>
      <dc:creator>Embedded_novice</dc:creator>
      <dc:date>2025-10-15T11:01:55Z</dc:date>
    </item>
    <item>
      <title>回复： CAN enters an abnormal interrupt</title>
      <link>https://community.nxp.com/t5/S32K/CAN-enters-an-abnormal-interrupt/m-p/2187810#M53635</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213197"&gt;@Embedded_novice&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Are you testing CAN2 with another node in the bus? Such as CAN analyzer or another CAN device. If CAN2 is not connected, try enabling loopback for single-node tests.&lt;/P&gt;
&lt;P&gt;CAN error flag should be cleared like so:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;CAN2-&amp;gt;ESR1 |= &lt;SPAN&gt;FLEXCAN_ESR1_ERRINT_MASK&lt;/SPAN&gt;;  // Clear error interrupt flag&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, I can see ESR1 is empty. Maybe the flag has been cleared before you've stopped execution?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can disable reentry by disabling error interrupts for now:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;CAN2-&amp;gt;CTRL1 &amp;amp;= ~&lt;SPAN&gt;FLEXCAN_CTRL1_ERRMSK_MASK&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN&gt;CAN2-&amp;gt;CTRL1 &amp;amp;= ~FLEXCAN_CTRL1_BOFFMSK_MASK&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 22:19:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-enters-an-abnormal-interrupt/m-p/2187810#M53635</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-10-16T22:19:46Z</dc:date>
    </item>
  </channel>
</rss>

