<?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>LPC MicrocontrollersのトピックRe: Can Receiving (ROM API) does not work after EPASS [SOLVED]</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514033#M489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by chrta on Mon Feb 02 11:18:04 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: chrta&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe i did something wrong with the message objects for TX and RX. I am using all 32 objects for TX and RX. I come back after testing if changig this fixes it.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After only using 4 message objects for TX, it works fine. I can receive messages after EPASS :bigsmile:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume that the message objects i use for RX and TX should not overlap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:09:19 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:09:19Z</dc:date>
    <item>
      <title>Can Receiving (ROM API) does not work after EPASS [SOLVED]</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514030#M486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by chrta on Sun Feb 01 13:18:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i am writing a firmware for the LPC1549 using the C_CAN ROM API. Usually it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when i disconnect the CAN cable (EPASS) and reconnect it, my CAN receive callback is not called anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case i am sending CAN messages every few microseconds, no problem so far. I am receiving a few CAN messages every second.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i disconnect the CAN cable i get an error in my CAN_error callback with the value 0x22 -&amp;gt; ERROR_ACK und ERROR_WARN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I never get the BOFF error. The value of C-CAN0 STAT register at this time is 0x63 (EWARN, EPASS and ACKERROR).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when i reconnect the cable the state (C-CAN0 STAT register) the value is directly after sending the first message (in the TX callback handler) 0x58 (EWARN, RXOK and TXOK).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would expect that my CAN_rx callback will be called again, but it is not. The CAN_tx is called as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the following calls to the CAN_tx, the value of STAT changes to 0x18 (RXOK and TXOK).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do i have to do to recover from EPASS, so that my CAN_rx callback is called again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards and TIA,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514030#M486</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can Receiving (ROM API) does not work after EPASS [SOLVED]</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514031#M487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Sun Feb 01 16:27:24 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: chrta&lt;/STRONG&gt;&lt;BR /&gt;What do i have to do to recover from EPASS, so that my CAN_rx callback is called again?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nothing&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EPASS is not BUS OFF. So after reconnecting your node to a working CAN it should decrease error counters and switch off errors / warnings again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't receive messages I would recommend to check your CAN: is this message still transmitted or did the transmitting node stop to transmit meanwhile&amp;nbsp; :quest:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514031#M487</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can Receiving (ROM API) does not work after EPASS [SOLVED]</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514032#M488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by chrta on Mon Feb 02 11:08:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your fast answer R2D2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;EPASS is not BUS OFF. So after reconnecting your node to a working CAN it should decrease error counters and switch off errors / warnings again.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine, my only problem is that my CAN_rx callback is not called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;If you don't receive messages I would recommend to check your CAN: is this message still transmitted or did the transmitting node stop to transmit meanwhile&amp;nbsp; :quest:&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are messages on the CAN. Maybe i did something wrong with the message objects for TX and RX. I am using all 32 objects for TX and RX. I come back after testing if changig this fixes it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:09:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514032#M488</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can Receiving (ROM API) does not work after EPASS [SOLVED]</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514033#M489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by chrta on Mon Feb 02 11:18:04 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: chrta&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe i did something wrong with the message objects for TX and RX. I am using all 32 objects for TX and RX. I come back after testing if changig this fixes it.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After only using 4 message objects for TX, it works fine. I can receive messages after EPASS :bigsmile:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume that the message objects i use for RX and TX should not overlap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-Receiving-ROM-API-does-not-work-after-EPASS-SOLVED/m-p/514033#M489</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:09:19Z</dc:date>
    </item>
  </channel>
</rss>

