<?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のトピック[LPC1857] CAN sending and not getting any interrupts</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-CAN-sending-and-not-getting-any-interrupts/m-p/533607#M10660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m trying to solve some CAN problems and I came across some strange behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no CAN bus (because I disconnected the cable) and I send a message I get a Status Interrupt and the error counter for receiving is going up to 9 from 0 before and LEC is 0x01. Why does the receive error Counter go up?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I get an interrupt with a LEC which is != 0x00 I set the send message object of the CAN to invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to send the next message over CAN I do not get any interrupt anymore. If I then reattach the cable I still do not get an interrupt. But if I send a message over the CAN bus (from a PC) I get the message and from this point on I will get interrupts when I try to send a message over CAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, why don´t I´m getting interrupts when try to send a message over CAN and this did not work? Why does it not work to send messages over CAN, disconnect the cable and then reconnect the cable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2016 07:44:13 GMT</pubDate>
    <dc:creator>christianneube1</dc:creator>
    <dc:date>2016-08-17T07:44:13Z</dc:date>
    <item>
      <title>[LPC1857] CAN sending and not getting any interrupts</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-CAN-sending-and-not-getting-any-interrupts/m-p/533607#M10660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m trying to solve some CAN problems and I came across some strange behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no CAN bus (because I disconnected the cable) and I send a message I get a Status Interrupt and the error counter for receiving is going up to 9 from 0 before and LEC is 0x01. Why does the receive error Counter go up?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I get an interrupt with a LEC which is != 0x00 I set the send message object of the CAN to invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to send the next message over CAN I do not get any interrupt anymore. If I then reattach the cable I still do not get an interrupt. But if I send a message over the CAN bus (from a PC) I get the message and from this point on I will get interrupts when I try to send a message over CAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, why don´t I´m getting interrupts when try to send a message over CAN and this did not work? Why does it not work to send messages over CAN, disconnect the cable and then reconnect the cable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 07:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-CAN-sending-and-not-getting-any-interrupts/m-p/533607#M10660</guid>
      <dc:creator>christianneube1</dc:creator>
      <dc:date>2016-08-17T07:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1857] CAN sending and not getting any interrupts</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-CAN-sending-and-not-getting-any-interrupts/m-p/533608#M10661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed the problem for me with disabling the status interrupts and so I only get message interrupts and error interrupts. I also do not anymore cancel the sending of a message if the message can´t be send.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this everything works as expected and the CAN communication is recovering from every test we did :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 09:15:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-CAN-sending-and-not-getting-any-interrupts/m-p/533608#M10661</guid>
      <dc:creator>christianneube1</dc:creator>
      <dc:date>2016-08-18T09:15:18Z</dc:date>
    </item>
  </channel>
</rss>

