<?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 In MC9S12X, stop sending the error frames in CAN Bus-Off state in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/In-MC9S12X-stop-sending-the-error-frames-in-CAN-Bus-Off-state/m-p/344088#M10516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently I am using the Auto Bus-Off recovery feature of MSCAN of MC9S12X.&lt;/P&gt;&lt;P&gt;However, the problem with this is that when the Bus-Off occurs, due to the auto-recovery, the uC starts sending the error frames continuously in the Bus-Off state.&lt;/P&gt;&lt;P&gt;If i want to stop the Error frames for certain period, how can i do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 13:50:19 GMT</pubDate>
    <dc:creator>Nash_win</dc:creator>
    <dc:date>2015-01-14T13:50:19Z</dc:date>
    <item>
      <title>In MC9S12X, stop sending the error frames in CAN Bus-Off state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/In-MC9S12X-stop-sending-the-error-frames-in-CAN-Bus-Off-state/m-p/344088#M10516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently I am using the Auto Bus-Off recovery feature of MSCAN of MC9S12X.&lt;/P&gt;&lt;P&gt;However, the problem with this is that when the Bus-Off occurs, due to the auto-recovery, the uC starts sending the error frames continuously in the Bus-Off state.&lt;/P&gt;&lt;P&gt;If i want to stop the Error frames for certain period, how can i do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 13:50:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/In-MC9S12X-stop-sending-the-error-frames-in-CAN-Bus-Off-state/m-p/344088#M10516</guid>
      <dc:creator>Nash_win</dc:creator>
      <dc:date>2015-01-14T13:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: In MC9S12X, stop sending the error frames in CAN Bus-Off state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/In-MC9S12X-stop-sending-the-error-frames-in-CAN-Bus-Off-state/m-p/344089#M10517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you are going into the same error after buss off recovery. If the MCU is in the bus off then it does not sends any frames. A bus-off node is not allowed to have any influence on the bus (e.g. output drivers switched off). It looks like you are facing behavior presented in attached files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to suggest you is to abort the messages and fix all mistakes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;if (CAN0TFLG != 0x07)&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp; do&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( !CAN0TFLG_TXE0 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp; CAN0TARQ_ABTRQ0 =&amp;nbsp; 1; // abort the transmission&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ( ! CAN0TAAK_ABTAK0 ) {}&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( !CAN0TFLG_TXE1 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp; CAN0TARQ_ABTRQ1 =&amp;nbsp; 1; // abort the transmission&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ( ! CAN0TAAK_ABTAK1 ) {}&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( !CAN0TFLG_TXE2 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp; CAN0TARQ_ABTRQ2 =&amp;nbsp; 1; // abort the transmission&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while ( ! CAN0TAAK_ABTAK2 ) {}&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt; while(CAN0TFLG != 7);&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-family: 'Segoe UI','sans-serif'; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 11:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/In-MC9S12X-stop-sending-the-error-frames-in-CAN-Bus-Off-state/m-p/344089#M10517</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2015-02-24T11:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: In MC9S12X, stop sending the error frames in CAN Bus-Off state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/In-MC9S12X-stop-sending-the-error-frames-in-CAN-Bus-Off-state/m-p/344090#M10518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ladislav, do you know whether this technique should fail on the KE06?&amp;nbsp; I tried it,&amp;nbsp; modified for the different register names, but I'm not consistently getting bus-off interrupts with the KE06's MSCAN peripheral.&amp;nbsp; After a bus off interrupt and abort I back off for 5 seconds and then try again.&amp;nbsp; I can do that twice before the KE06/MSCAN gives up and stops generating bus off interrupts. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 21:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/In-MC9S12X-stop-sending-the-error-frames-in-CAN-Bus-Off-state/m-p/344090#M10518</guid>
      <dc:creator>howardg</dc:creator>
      <dc:date>2018-05-24T21:37:04Z</dc:date>
    </item>
  </channel>
</rss>

