<?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: CAN bus ACK issue with TJA1042 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-bus-ACK-issue-with-TJA1042/m-p/845401#M16056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;most probably the issue is caused by imprecise setting of CAN bit timing or&amp;nbsp;insufficient bus termination. Check both.&lt;/P&gt;&lt;P&gt;The host is not detecting ACK pulse properly, thus get ACK error and resent the message automatically.&lt;/P&gt;&lt;P&gt;The voltage level will not cause issue, but must be placed at right time; differential voltage represent dominant signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2018 11:49:17 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2018-12-12T11:49:17Z</dc:date>
    <item>
      <title>CAN bus ACK issue with TJA1042</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-bus-ACK-issue-with-TJA1042/m-p/845400#M16055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a CAN bus issue on S12 MCU with TJA1042 CAN transceiver.&lt;/P&gt;&lt;P&gt;Node A received message and 'ACK back', but host(S12 + TJA1042) could not detect the ACK.&lt;/P&gt;&lt;P&gt;The result is host continued to re-sent message and then bus heavy.&lt;/P&gt;&lt;P&gt;I found the signal level of ACK(can low to can high) is larger(over 2V) than other CAN bus signal.&lt;/P&gt;&lt;P&gt;Does this cause ACK fail or other error so host re-send message again and again.&lt;/P&gt;&lt;P&gt;By the way, if I add a PCAN tool connect to laptop and open PCAN-view to check data, host would detect the ACK(from PCAN-view??) and would not re-send again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The circuit and waveform are below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63846iEDF40A0E00C1B601/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63794iB2DC135CC87DF20E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63710i69B6E16AA994F0A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 05:53:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-bus-ACK-issue-with-TJA1042/m-p/845400#M16055</guid>
      <dc:creator>peteyo</dc:creator>
      <dc:date>2018-12-07T05:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: CAN bus ACK issue with TJA1042</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-bus-ACK-issue-with-TJA1042/m-p/845401#M16056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;most probably the issue is caused by imprecise setting of CAN bit timing or&amp;nbsp;insufficient bus termination. Check both.&lt;/P&gt;&lt;P&gt;The host is not detecting ACK pulse properly, thus get ACK error and resent the message automatically.&lt;/P&gt;&lt;P&gt;The voltage level will not cause issue, but must be placed at right time; differential voltage represent dominant signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 11:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-bus-ACK-issue-with-TJA1042/m-p/845401#M16056</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2018-12-12T11:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: CAN bus ACK issue with TJA1042</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-bus-ACK-issue-with-TJA1042/m-p/845402#M16057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;Thanks your reply.&lt;/P&gt;&lt;P&gt;I have checked the impedance of both sides.&lt;/P&gt;&lt;P&gt;Only host device is 120 ohm, while connect to slave it become 60 ohm. I think this value is right.&lt;/P&gt;&lt;P&gt;And in S19 setting, I set BTR0 = 0xC0 and BTR1 = 0x50.&lt;/P&gt;&lt;P&gt;With 8M osc. the bit rate should be [1*(1+6+1)]/8M = 1us.&lt;/P&gt;&lt;P&gt;Is there any other registers need to check again?&lt;/P&gt;&lt;P&gt;BTW I used to enable CANTARQ to abort request and let the message send only once,&lt;/P&gt;&lt;P&gt;but this would not meet my function: a stable 250ms cycle time message report.&lt;/P&gt;&lt;P&gt;(the waveform is below. message loss frequently)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69675i50031745BFD996E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 01:53:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-bus-ACK-issue-with-TJA1042/m-p/845402#M16057</guid>
      <dc:creator>peteyo</dc:creator>
      <dc:date>2018-12-13T01:53:33Z</dc:date>
    </item>
  </channel>
</rss>

