<?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: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533435#M10620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by yilmazkircicek on Wed Apr 23 05:45:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear R2D2,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thank you for your answer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Disabling automatic re-transmission seem reasonable. Because there is an ambiguity,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TEC increases by 8 while REC increases by 1 to isolate node having transmit problem as soon as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But TEC stop increasing after 128 if error source is ACK. Nevertheless controller attemp to retransmit and disturbing the bus. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN controller is very selfish. It knows there is problem on bus, but keep transmitting :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:34:33 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:34:33Z</dc:date>
    <item>
      <title>LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533429#M10614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by yilmazkircicek on Tue Apr 22 01:05:57 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are trying to desing an CANopen node with LPC11C14.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Automatic Retransmission is active as required by standard. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I have seen this unexpected behaivior while testing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&lt;SPAN&gt; I have remove the can bus connector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt;&lt;SPAN&gt; Then power the device&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt;&lt;SPAN&gt; My device tries to transmit firt message (Boot-Up) as usual. But there is no any device on bus to ACK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt;&lt;SPAN&gt; So my device increase TEC by 8 as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;5.&lt;/STRONG&gt;&lt;SPAN&gt; After 16 attemp controller turn the Error Passive condition as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;6.&lt;/STRONG&gt;&lt;SPAN&gt; But automatic transmission is stopped then. This was unexpected ! It should try untill BUS OFF condition. Should not it ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a attempt limit for automatic transmission ? Is it disabled in Error Active condition ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533429#M10614</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533430#M10615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Wouter on Tue Apr 22 09:42:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Yilmaz,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This indeed should not happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure your CAN connection is OK (e.g. termination resistor is present)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you comment what software and which board you're using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine on the &lt;/SPAN&gt;&lt;A href="http://http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc11xx-packages-0"&gt;LPCOpen &lt;/A&gt;&lt;SPAN&gt;example running on the MCB1000 and LPCXpresso LPC11C14 board&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533430#M10615</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533431#M10616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by yilmazkircicek on Tue Apr 22 14:02:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear Wouter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thank you for your interest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Board is custom and CANopen stack is written from the scratch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both board and firmware works fine. I was testing it before compliance application to CIA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder how it behaves on error conditions. Easiest make an error is removing the connector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can guess, a successfull transmission should be acknowled by the other node.&amp;nbsp; If there is no any device on bus LPC11C14 CAN controller attemting to transmit 16 times until TEC is equal to 128. (Auto re-tranmission is active) LEC is clearly shows that ACK error for every attempt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to test it with different way, I configured the CANopen master (an IXXAAT module)&amp;nbsp; and my device with different bit rates, say 125kbps and 500kbps. This time it goes to BUS OFF condition as expected but I am not sure about the reason. (TX, stuff, ACK etc.) I should have to check it. Now it is 23:50 in Turkey and tomorrow I will debug it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a note: When I test it by removing the CAN bus connector, it tries to retransmit the same mesage object&amp;nbsp; (eg . NMT Boot-up)&amp;nbsp; 16 times then TEC does not increase any more. If I try to transmit another message after TEC = 128, it increases to 255 and goes to BUS OFF condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This only happens with ACK error. (eg no CANBUS cable connection)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533431#M10616</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533432#M10617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Wouter on Tue Apr 22 16:22:48 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Yilmaz,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your first post you mention the message is not put on the bus anymore after 16 tries. You mention this does not seem right (which I agree, that's not the right behavior). In your second post, I do not see this statement any more. Is this issue still present?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Furthermore:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;I want to test it with different way, I configured the CANopen master (an IXXAAT module) and my device with different bit rates, say 125kbps and 500kbps. This time it goes to BUS OFF condition as expected but I am not sure about the reason. (TX, stuff, ACK etc.) I should have to check it. Now it is 23:50 in Turkey and tomorrow I will debug it.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That seems right, any fault other than no ack received would increase TXERR &amp;gt;0x80, and result eventually in BUSOFF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;As a note: When I test it by removing the CAN bus connector, it tries to retransmit the same mesage object (eg . NMT Boot-up) 16 times then TEC does not increase any more. If I try to transmit another message after TEC = 128, it increases to 255 and goes to BUS OFF condition.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This also does not sound right to me. AFAIK an un-acknowledged message should not be able to bring TXERR &amp;gt;0x80, also not when sending two messages which are not being acknowledged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To me it sounds like something fishy is going on on your board/SW...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533432#M10617</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533433#M10618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by yilmazkircicek on Wed Apr 23 00:46:15 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear Wouter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same issue is still exist. I have also test this and seen that automatic re-transmissiton does not stop but only TEC stop increasing after 128 for no ACK situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&lt;SPAN&gt; I have removed the bus cable and power cable. &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt;&lt;SPAN&gt; Powered up the device, and TEC reached to 128.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt;&lt;SPAN&gt; I have pluged the bus cable, device transmitted the firs message successfully.,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I have realised that the stuation that I defined as unexpected was actually an expected behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TEC does not increase in some certain error conditions. I could not find it in NXP documentations but I have seen it in another vendor CAN controller document. It says.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;The transmit error counter does not change in the following cases:&lt;BR /&gt;• When the transmit unit while in an error-passive state has detected an ACK error for reasons that ACK was not detected and has detected no dominant levels while sending a passive-error flag.&lt;BR /&gt;• When the transmit unit has encountered a stuffing error during arbitration (dominant level is detected although it transmitted a recessive level as bit stuffing).&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After all that all that I can not explain the statemant below. You are completely right, it seem impossible. I tried but could not create the same stiation again. I think that is the fishy one. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I should take a break.&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;As a note: When I test it by removing the CAN bus connector, it tries to retransmit the same mesage object (eg . NMT Boot-up) 16 times then TEC does not increase any more. If I try to transmit &lt;BR /&gt;another message after TEC = 128, it increases to 255 and goes to BUS OFF condition.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I have no problem now Thank for your support and time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fi.hizliresim.com%2FydRlMj.jpg%5B%2Fimg%5D" rel="nofollow" target="_blank"&gt;http://i.hizliresim.com/ydRlMj.jpg[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533433#M10618</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533434#M10619</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 Wed Apr 23 02:45:08 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: yilmazkircicek&lt;/STRONG&gt;&lt;BR /&gt;It should try untill BUS OFF condition. Should not it ?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you figured out already, disconnecting a node is not and should not switch the bus off. Without receiving ACKs the node should stop at error passive to be able to accomplish a simple self recovery after reconnecting the node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your node didn't stop there was probably another error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I usually recommend to disable auto retransmission if error-passive is reached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like: &lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;LPC_CAN0-&amp;gt;CNTL |= CTRL_INIT;&lt;BR /&gt;LPC_CAN0-&amp;gt;CNTL |= CTRL_DAR;&lt;BR /&gt;LPC_CAN0-&amp;gt;CNTL &amp;amp;=~CTRL_INIT;&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So there's more time to solve temporary problems...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533434#M10619</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533435#M10620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by yilmazkircicek on Wed Apr 23 05:45:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear R2D2,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thank you for your answer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Disabling automatic re-transmission seem reasonable. Because there is an ambiguity,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TEC increases by 8 while REC increases by 1 to isolate node having transmit problem as soon as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But TEC stop increasing after 128 if error source is ACK. Nevertheless controller attemp to retransmit and disturbing the bus. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN controller is very selfish. It knows there is problem on bus, but keep transmitting :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533435#M10620</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533436#M10621</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 Wed Apr 23 07:29:51 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: yilmazkircicek&lt;/STRONG&gt;&lt;BR /&gt;CAN controller is very selfish. It knows there is problem on bus, but keep transmitting :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would rather call it frantic&amp;nbsp; :bigsmile: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After enabling SIE in CANCNTL, CAN error handler is a good place to catch error-passive and calm the node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With DAR, disabling the usual messages and enabling a periodic test message...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: If receiving no ACKs would stop all transmissions the first (or fastest) node could cease communication after power up before another node is ready&amp;nbsp;&amp;nbsp; :O &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533436#M10621</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533437#M10622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by yilmazkircicek on Wed Apr 23 09:34:39 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I decide to use brutal force to the communication channel and use all the rights to the utmost given by &lt;/SPAN&gt;&lt;STRONG&gt;ISO11898-1&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What ISO11898-1 says;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Use auto re-transmitting (exceptional TTCAN)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Lack of ACK is a reason for unsuccesful transmission &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I have right to transmit if I won arbitration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I have right to transmit in error passive condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do we design so kind ? I will not do anything conflicting with standard ? Do the asked us while ruling the standard ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Designers can be bona fide but standart bodies are not. All of the communicaition protocols have bottlecks. (including speaking, especially with women)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try it with &lt;/SPAN&gt;&lt;A href="http://http://www.can-cia.org/index.php?id=conformance"&gt;CIA CANopen conformance test tool&lt;/A&gt;&lt;SPAN&gt; to see what happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533437#M10622</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533438#M10623</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 Thu Apr 24 01:25:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: yilmazkircicek&lt;/STRONG&gt;&lt;BR /&gt;Why do we design so kind ?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because I draw / test / use a lot of nodes and don't like nodes which panic early&amp;nbsp; :bigsmile: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I prefer a more polite communication without filling the bus with retransmissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead a behaving like a babbling idiot they can try to solve the problem or just give other nodes time to solve their problems...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533438#M10623</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533439#M10624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by yilmazkircicek on Thu Apr 24 04:13:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear R2D2,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have asked the question regarding automatic re-transmission and cyclic message period issues to &lt;/SPAN&gt;&lt;A href="http://http://www.can-cia.org/"&gt;CIA&lt;/A&gt;&lt;SPAN&gt; especially for the CANopen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As you know one node can be error passive while other communicating. Consider a node has a cyclic PDOs with 1ms period, auto re-transmission is activated during error passive condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a part of the answer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;CANopen is an application layer, that utilizes CAN&lt;STRONG&gt; as it is&lt;/STRONG&gt;. For CANopen nothing has to be "switched off" and nothing will be "switched off".&lt;BR /&gt;......&lt;BR /&gt;To make the story short: don't care about that problem. People who use it, will have other problems anyhow.&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our device is a slave and slaves always obey master's directions, even if it requires being a babling idiot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But master give a means for the solutions : &lt;/SPAN&gt;&lt;STRONG&gt;Object 1029h: Error behavior object for CANopen&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You can be kind and want to solve the problem but only obeying to rules. Because anyone can have different level of kindness attitude and perception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to list below, 0x80 is appropriate for applying your advice. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thank you for the short convesation and sharing experience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fi.hizliresim.com%2FglyQW3.jpg%5B%2Fimg%5D" rel="nofollow" target="_blank"&gt;http://i.hizliresim.com/glyQW3.jpg[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533439#M10624</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx CAN Controller Automatic Retransmission - TEC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533440#M10625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ErikC on Wed Oct 08 08:00:15 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All these info are relevant for me and I understand what to take into account. I encountered the following issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A CAN server sends a common request to all nodes (using a common ID) for getting a IO status like buttons, temperature. All nodes are able to send a response individually but there are some conflicts on the CAN bus. With thank to the retransmission mechanism, it is solved. However after a while (e.g. 10 times common requests), the nodes with highest ID are put into BUS OFF state due to high value on TEC (0xFD). I have added a part in the CAN error ISR handler that will clear the bit 0 of CANCTRL (INIT). I thought it will solve the TEC overflow issue. However it will cause a bus overload with a consequence that the CAN system is down.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Who can point me out how to solve this issue? Or should I always work with individual requests for getting status from each node?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: the quality of signals on CAN bus is ok at 500kHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Erik&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:34:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-CAN-Controller-Automatic-Retransmission-TEC/m-p/533440#M10625</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:34:36Z</dc:date>
    </item>
  </channel>
</rss>

