<?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: Continuous CAN transmit on K60 and K40 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358953#M18079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"P17 corresponds to a generally accepted standard for CAN on DB9 connectors. P17 Pin 7 is the CAN Hi bus line and&lt;/P&gt;&lt;P&gt;pin 6 is CAN Lo."&amp;nbsp; I think you've inadvertently used the pin numbers from the chip there rather than the connector in your text.&lt;/P&gt;&lt;P&gt;Your comments about grounds between nodes are almost correct.&amp;nbsp; The principal reason for using grounds on ALL CAN networks is to ensure that the common mode voltage between ground and the CAN pins aren't exceeded.&amp;nbsp; A high common mode spike relative to two separate grounds can toast your CAN transceiver chip.&amp;nbsp; You'd never even see why.&amp;nbsp; It would just fail or become sporadic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2014 22:42:17 GMT</pubDate>
    <dc:creator>jcdammeyer</dc:creator>
    <dc:date>2014-08-15T22:42:17Z</dc:date>
    <item>
      <title>Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358947#M18073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've recently compiled and executed the sci2can example for both the K60 and the K40. My next step was to disable the internal loopback mode so I could connect the two boards to run the external loopback demo.&lt;/P&gt;&lt;P&gt;Prior to connecting the two boards together I hooked each one to a scope to make sure the CAN bus activity was what I expected. What I noticed in both cases is that the same frame is continuously repeated which is not what I expected since the number of transmits specified to the FlexCAN_Write function is 1. Digging a little deeper I can see that the FlexCAN_PrepareAndStartTransmit function sets the CODE field of the message buffer to 0xC, SRR is 0, IDE is 0, RTR is 0 and DLC is 1.&lt;/P&gt;&lt;P&gt;Based on the description of the message buffer code for Tx buffers a CODE of 0xC and RTR of 0 should result in "Transmit data frame unconditionally once. After transmission, the MB automatically returns to INACTIVE state". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I stop the debugger and manually set the CODE field of the MB to inactive, and then let the code continue execution the frame is no longer transmitted.&lt;/P&gt;&lt;P&gt;So my question is why is it that transmission doesn't terminate on it's own?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 16:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358947#M18073</guid>
      <dc:creator>yorknh</dc:creator>
      <dc:date>2014-08-14T16:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358948#M18074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN messages need to be acknowledged by another CAN module. The controller continues to send the message out until either the message is ack'ed or the it goes into a bus fault. You need a second CAN node on the bus to ack the message and you must have the bus terminated correctly. This is standard CAN bus protocol for a single module with no other modules awake on the bus. It's one of the things that adds reliability to the CAN protocol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Norm Davies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 16:19:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358948#M18074</guid>
      <dc:creator>ndavies</dc:creator>
      <dc:date>2014-08-14T16:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358949#M18075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahh, thank you for the quick reply! If it wasn't obvious, I'm totally new to the CAN protocol. Apparently I need to read the CAN spec a few more times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 16:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358949#M18075</guid>
      <dc:creator>yorknh</dc:creator>
      <dc:date>2014-08-14T16:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358950#M18076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I attach my CAN Primer.&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob Boys&lt;/P&gt;&lt;P&gt;San Mateo, California&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 19:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358950#M18076</guid>
      <dc:creator>robertboys</dc:creator>
      <dc:date>2014-08-14T19:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358951#M18077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is a VERY helpful document. Thank for taking the time to put that together and for bringing it to my attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 12:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358951#M18077</guid>
      <dc:creator>yorknh</dc:creator>
      <dc:date>2014-08-15T12:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358952#M18078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also take a look at the following video which shows how CAN can be used with the Kinetis (single or dual), the bus monitored with a CAN bus analyser and it also show how a simulated Kinetis device can be connected to a real CAN bus for development/test work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=Ha8cv_XEvco" title="https://www.youtube.com/watch?v=Ha8cv_XEvco"&gt;https://www.youtube.com/watch?v=Ha8cv_XEvco&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a CAN document top go with it concentrating on the SW interface: &lt;A href="http://www.utasker.com/docs/uTasker/uTaskerCAN.PDF" title="http://www.utasker.com/docs/uTasker/uTaskerCAN.PDF"&gt;http://www.utasker.com/docs/uTasker/uTaskerCAN.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 13:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358952#M18078</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-08-15T13:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358953#M18079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"P17 corresponds to a generally accepted standard for CAN on DB9 connectors. P17 Pin 7 is the CAN Hi bus line and&lt;/P&gt;&lt;P&gt;pin 6 is CAN Lo."&amp;nbsp; I think you've inadvertently used the pin numbers from the chip there rather than the connector in your text.&lt;/P&gt;&lt;P&gt;Your comments about grounds between nodes are almost correct.&amp;nbsp; The principal reason for using grounds on ALL CAN networks is to ensure that the common mode voltage between ground and the CAN pins aren't exceeded.&amp;nbsp; A high common mode spike relative to two separate grounds can toast your CAN transceiver chip.&amp;nbsp; You'd never even see why.&amp;nbsp; It would just fail or become sporadic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 22:42:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358953#M18079</guid>
      <dc:creator>jcdammeyer</dc:creator>
      <dc:date>2014-08-15T22:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358954#M18080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While testing CAN in TWR-K60F120M using the sci2can demo,the code gets stuck at&amp;nbsp; PE_DEBUGHALT() in cpu.c file during debugging.What may be the reason behind this?? How can i solve this problem??&lt;/P&gt;&lt;P&gt;Here am using CAN0 (PTC13/12 for FlexCAN0) by connecting TXD &amp;amp; RXD pins for loopback testing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 11:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358954#M18080</guid>
      <dc:creator>sruthyuk</dc:creator>
      <dc:date>2015-10-05T11:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358955#M18081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Larry,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Did you tested&amp;nbsp; the external loopback demo by &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;connecting the two kinetis tower boards ??Is there any sample code for testing two CAN nodes??&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;With regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;sruthy uk&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:47:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358955#M18081</guid>
      <dc:creator>sruthyuk</dc:creator>
      <dc:date>2015-11-26T10:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358956#M18082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello sruthy uk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I abandoned any further CAN experimentation over 9 months ago, and unfortunately don't have an answer for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 13:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358956#M18082</guid>
      <dc:creator>yorknh</dc:creator>
      <dc:date>2015-12-03T13:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358957#M18083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't edit my previous response...&lt;/P&gt;&lt;P&gt;I never did connect 2 twr boards specifically, but I did do it with 1 TWR-K60D100M and 1 Freedom K64 board with additional circuitry. I did get that to work successfully. The document Robert Boys put together was very useful, but unfortunately I don't remember the details of getting it to work. Because of a system architecture change, CAN wasn't going to be a suitable solution, which is why I stopped any further development. Sorry I can't be of more assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 14:04:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358957#M18083</guid>
      <dc:creator>yorknh</dc:creator>
      <dc:date>2015-12-03T14:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358958#M18084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there any sample code to refer me for testing the two CAN module communication? Here i have already tested both CAN0 &amp;amp; CAN1 module in TWR-K60F120M using loopback mode and its working fine. Now i am trying to test communication between these two CAN module ie, like CAN0 is used for transmitting data and CAN1 going to receive that data. Please help me for finding a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;sruthy uk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2015 15:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358958#M18084</guid>
      <dc:creator>sruthyuk</dc:creator>
      <dc:date>2015-12-05T15:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous CAN transmit on K60 and K40</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358959#M18085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need transceivers or an open collector interface.&amp;nbsp; Plus what the Tx pin sends the Rx pin must see.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2016 06:01:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Continuous-CAN-transmit-on-K60-and-K40/m-p/358959#M18085</guid>
      <dc:creator>jcdammeyer</dc:creator>
      <dc:date>2016-04-09T06:01:06Z</dc:date>
    </item>
  </channel>
</rss>

