<?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: S32DS for ARM 2.2 - CAN busoff detection in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075787#M1745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that I didn't make&amp;nbsp;the question very clear.&lt;/P&gt;&lt;P&gt;I'm not generating the bus-off error, I need to detect the error when bus-off condition is triggered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Matthew Xu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2020 03:00:35 GMT</pubDate>
    <dc:creator>xu_wenming</dc:creator>
    <dc:date>2020-08-14T03:00:35Z</dc:date>
    <item>
      <title>S32DS for ARM 2.2 - CAN busoff detection</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075785#M1743</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;If an error callback function is installed via&amp;nbsp;FLEXCAN_DRV_InstallErrorCallback, it enables error interrupts (internal error, rx warning, tx warning, busoff).&amp;nbsp;However, there's only one interrupt handler&amp;nbsp;FLEXCAN_Error_IRQHandler, it calls error_callback function with event type&amp;nbsp;FLEXCAN_EVENT_ERROR.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the root cause why the error interrupt is triggered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to get busoff status of the CAN bus, what can I do to implement it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the same time, if I want to get the internal error status, how do I distinguish the INT_ERR and INT_BUSOFF?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Matthew Xu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2020 15:22:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075785#M1743</guid>
      <dc:creator>xu_wenming</dc:creator>
      <dc:date>2020-08-08T15:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS for ARM 2.2 - CAN busoff detection</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075786#M1744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;文明 徐,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate the bus-off&amp;nbsp;error the easiest way to do this is to send a message to an ID that is not in the network after some tries and error counter reaches 255 the bus-off condition will be triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in the ESR register the different errors that the module register, you could check the description at the following section in the reference manual:&lt;/P&gt;&lt;P&gt;55.4.2.9.4 Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 23:43:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075786#M1744</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-08-11T23:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS for ARM 2.2 - CAN busoff detection</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075787#M1745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that I didn't make&amp;nbsp;the question very clear.&lt;/P&gt;&lt;P&gt;I'm not generating the bus-off error, I need to detect the error when bus-off condition is triggered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Matthew Xu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 03:00:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075787#M1745</guid>
      <dc:creator>xu_wenming</dc:creator>
      <dc:date>2020-08-14T03:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS for ARM 2.2 - CAN busoff detection</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075788#M1746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;文明 徐,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flags&amp;nbsp;in the&amp;nbsp;ESR1 are clear after calling the callback, so if you check the&amp;nbsp;BOFFINT flag in the callback you should be able to identify the bus off event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 15:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32DS-for-ARM-2-2-CAN-busoff-detection/m-p/1075788#M1746</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-08-18T15:29:31Z</dc:date>
    </item>
  </channel>
</rss>

