<?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 CAN BUS communication k66f example in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646992#M8422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently trying to set up a can bus communication using the frdm k66f. In the data sheet it says there are 2 can bus ports, on the other hand, there is no can protocol example provided and just the flexcan example is given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flexcan example as far as I understand provides a communication using 2 UART ports, but my goal is to send messages between both can ports (CAN 0 and CAN1) in the from k66f board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone have a short example where this is implemented or could somehow provide some insight into how could this be solved?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance for your time and help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Apr 2017 07:17:21 GMT</pubDate>
    <dc:creator>alejandrosancho</dc:creator>
    <dc:date>2017-04-27T07:17:21Z</dc:date>
    <item>
      <title>CAN BUS communication k66f example</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646992#M8422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently trying to set up a can bus communication using the frdm k66f. In the data sheet it says there are 2 can bus ports, on the other hand, there is no can protocol example provided and just the flexcan example is given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flexcan example as far as I understand provides a communication using 2 UART ports, but my goal is to send messages between both can ports (CAN 0 and CAN1) in the from k66f board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone have a short example where this is implemented or could somehow provide some insight into how could this be solved?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance for your time and help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 07:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646992#M8422</guid>
      <dc:creator>alejandrosancho</dc:creator>
      <dc:date>2017-04-27T07:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: CAN BUS communication k66f example</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646993#M8423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="297503" data-username="alejandrosancho" href="https://community.nxp.com/people/alejandrosancho"&gt;Alejandro Sancho&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;1. Which flex can example ? I think maybe you mean the "sci2can" ,&lt;/P&gt;&lt;P&gt;if yes, this example can used to two can node , please check the sci2can.txt , I also attached it .&lt;/P&gt;&lt;P&gt;In this demo, the UART just tool for us to input data to CAN, or shows the data CAN received .&lt;/P&gt;&lt;P&gt;2. There is also demo under KSDK , you can refer to the below link download :&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="" data-containerid="11213" data-containertype="14" data-content-finding="Community" data-objectid="329662" data-objecttype="102" href="https://community.nxp.com/docs/DOC-329662"&gt;https://community.nxp.com/docs/DOC-329662&amp;nbsp;&lt;/A&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&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 Apr 2017 02:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646993#M8423</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-04-28T02:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: CAN BUS communication k66f example</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646994#M8424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice_Yang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response, I am using the flexcan_loopback.c example provided with ksdk 2.0. and trying to modify this example (ie. setting to false the loopback enable)&lt;/P&gt;&lt;P&gt;Ican't&amp;nbsp;find the&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;sci2can.txt in the ksdk 2.0 for k66f&lt;/SPAN&gt;. &amp;nbsp;The only example I get for the flexcan is the loopback example, and loopback_transfer example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 08:56:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646994#M8424</guid>
      <dc:creator>alejandrosancho</dc:creator>
      <dc:date>2017-04-28T08:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: CAN BUS communication k66f example</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646995#M8425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically i get stuck here:&lt;/P&gt;&lt;P style="color: #4e9072; font-size: 11px;"&gt;/* Wait until CAN Message send out. */&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #931a68;"&gt;while&lt;/SPAN&gt; (!FLEXCAN_GetMbStatusFlags(base, 1 &amp;lt;&amp;lt; mbIdx))&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;I am using the flexcan_loopback.c example and this function is within FLEXCAN_TransferSendBlocking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:29:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646995#M8425</guid>
      <dc:creator>alejandrosancho</dc:creator>
      <dc:date>2017-05-02T14:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: CAN BUS communication k66f example</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646996#M8426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &amp;nbsp;&amp;nbsp; Alejandro,&lt;/P&gt;&lt;P&gt;Sorry for reply you late as to my holiday.&lt;/P&gt;&lt;P&gt;Do you use the demo board FRDM-K66 or custom board ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please be sure&lt;/STRONG&gt; connect one CAN node to another node (CAN_H to another CAN_H, CAN_L to another CAN_L), if there isn't connected , it can't&amp;nbsp; send successfully.&lt;/P&gt;&lt;P&gt;Under your SDK2.0 package , there is a CAN demo without loopbback about TWRK65180M :&lt;/P&gt;&lt;P&gt;SDK_2.2_MK66FN2M0xxx18.zip\boards\twrk65f180m\driver_examples\flexcan\interrupt_transfer&lt;/P&gt;&lt;P&gt;You can refer to it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 03:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/CAN-BUS-communication-k66f-example/m-p/646996#M8426</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-05-12T03:16:19Z</dc:date>
    </item>
  </channel>
</rss>

