<?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: K66 CAN controllers. Can I tie the 2 together? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806814#M49029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, there is a "cheat" you can use to build a small CAN network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The physical layer isn't really differential CAN, but for connecting two controllers together it works great.&amp;nbsp; You can't connect it to other genuine CAN networks.&amp;nbsp; You need CAN transceivers for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my lab describing this technique: on page 4: needs only a couple of diodes and a resistor.&lt;/P&gt;&lt;H3 style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="http://www.keil.com/appnotes/docs/apnt_247.asp"&gt;www.keil.com/appnotes/docs/apnt_247.asp&lt;/A&gt;&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 style="margin-bottom: .0001pt;"&gt;BTW:&amp;nbsp; when you see this:&amp;nbsp; &lt;SPAN style="font-size: 15px; font-family: courier new, courier, monospace;"&gt; &lt;/SPAN&gt;&lt;/H3&gt;&lt;H3 style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px; font-family: courier new, courier, monospace;"&gt;I see on the scope the same pattern repeating about every 20mS even though I only send once.&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;SPAN style="font-family: times new roman, times, serif; font-size: 15px;"&gt;This usually means the ACK signal is not put on the bus.&amp;nbsp; This is described on page 35 under&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN style="font-family: times new roman, times, serif; font-size: 15px;"&gt;Four Newbie mistakes you can avoid:&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;Have fun !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;Bob Boys&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;Arm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;California&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2018 04:06:26 GMT</pubDate>
    <dc:creator>robertboys</dc:creator>
    <dc:date>2018-09-28T04:06:26Z</dc:date>
    <item>
      <title>K66 CAN controllers. Can I tie the 2 together?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806812#M49027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to develop a CAN interface but don't have my boards yet. I have one board with a K66 on it and I was wondering if I can tie CAN0 Tx to CAN1 Rx, and CAN1 Tx to CAN0 Rx and be able to communicate via CAN to each other (CAN1 &amp;lt;--&amp;gt; CAN0). I tried it but when I send from CAN1 to CAN0 (haven't tried it the other way) I see on the scope the same pattern repeating about every 20mS even though I only send once. In the CAN0 interrupt, the interrupt is caused by ESR1 reg STFERR (stuff error) bit, which also keeps repeating, not by a message box interrupt. I'm using the CAN demo code as a base for my testing, so I'm pretty certain both CAN's are being configured properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking I can't do my testing this way for some reason, but want to verify this one way or another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 14:28:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806812#M49027</guid>
      <dc:creator>larrydemuth</dc:creator>
      <dc:date>2018-09-27T14:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: K66 CAN controllers. Can I tie the 2 together?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806813#M49028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Larry DeMuth,&lt;/P&gt;&lt;P&gt;If you want to communicate via CAN to each other (CAN1 &amp;lt;--&amp;gt; CAN0), external &lt;A href="https://www.nxp.com/products/analog/interfaces/in-vehicle-network/can-transceiver-and-controllers/high-speed-can-transceiver:TJA1050"&gt;CAN transceiver&lt;/A&gt; is needed.&lt;BR /&gt;Due to there is no CAN transceiver on FRDM-K66F board, the flexcan examples in SDK_2.4.1_FRDM-K66F are in loopback mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 02:27:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806813#M49028</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-09-28T02:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: K66 CAN controllers. Can I tie the 2 together?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806814#M49029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, there is a "cheat" you can use to build a small CAN network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The physical layer isn't really differential CAN, but for connecting two controllers together it works great.&amp;nbsp; You can't connect it to other genuine CAN networks.&amp;nbsp; You need CAN transceivers for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my lab describing this technique: on page 4: needs only a couple of diodes and a resistor.&lt;/P&gt;&lt;H3 style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="http://www.keil.com/appnotes/docs/apnt_247.asp"&gt;www.keil.com/appnotes/docs/apnt_247.asp&lt;/A&gt;&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 style="margin-bottom: .0001pt;"&gt;BTW:&amp;nbsp; when you see this:&amp;nbsp; &lt;SPAN style="font-size: 15px; font-family: courier new, courier, monospace;"&gt; &lt;/SPAN&gt;&lt;/H3&gt;&lt;H3 style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 15px; font-family: courier new, courier, monospace;"&gt;I see on the scope the same pattern repeating about every 20mS even though I only send once.&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;SPAN style="font-family: times new roman, times, serif; font-size: 15px;"&gt;This usually means the ACK signal is not put on the bus.&amp;nbsp; This is described on page 35 under&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN style="font-family: times new roman, times, serif; font-size: 15px;"&gt;Four Newbie mistakes you can avoid:&lt;/SPAN&gt;&lt;/H3&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;Have fun !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;Bob Boys&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;Arm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;California&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 04:06:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806814#M49029</guid>
      <dc:creator>robertboys</dc:creator>
      <dc:date>2018-09-28T04:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: K66 CAN controllers. Can I tie the 2 together?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806815#M49030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, That's what I was thinking, a transceiver would still be needed. Guess I have to wait on the boards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 12:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806815#M49030</guid>
      <dc:creator>larrydemuth</dc:creator>
      <dc:date>2018-09-28T12:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: K66 CAN controllers. Can I tie the 2 together?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806816#M49031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's interesting. If I don't get my boards soon I may try this.&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 12:33:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806816#M49031</guid>
      <dc:creator>larrydemuth</dc:creator>
      <dc:date>2018-09-28T12:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: K66 CAN controllers. Can I tie the 2 together?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806817#M49032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I marked the other answer as correct because technically, it is, but I love seeing work arounds, and your answer could be a good one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 12:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806817#M49032</guid>
      <dc:creator>larrydemuth</dc:creator>
      <dc:date>2018-09-28T12:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: K66 CAN controllers. Can I tie the 2 together?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806818#M49033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;There is a better description of the ACK bit and your issue of multiple messages on the bus on page 7 of the lab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 17:43:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K66-CAN-controllers-Can-I-tie-the-2-together/m-p/806818#M49033</guid>
      <dc:creator>robertboys</dc:creator>
      <dc:date>2018-09-28T17:43:45Z</dc:date>
    </item>
  </channel>
</rss>

