<?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>MCUXpresso IDE中的主题 Re: Flex CAN between 2 FRDM k64F boards</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857665#M3526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.I connected on frdm k64F board to TWR-SER CAN transreceiver board(TX and RX of K64F(PTB18,PTB19) to Tx and RX of TWR-SER board as mentioned above)&lt;/P&gt;&lt;P&gt;2.I connected another FRDM k64F board to waveshare SN65HVD230 CAN transreceiver. (TX and RX of K64F(PTB18,PTB19) to Tx and RX of SN65HVD230 CAN)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Finally CAN_H and CAN_L of two transreceivers are connected together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded twrk64f120_flexcan_interrupt_transfer demo application from the SDK_2.5.0_TWR-K64F120M\boards\twrk64f120m\driver_examples\flexcan.&lt;/P&gt;&lt;P&gt;(thread reference for SDK source :&amp;nbsp;&lt;A href="https://community.nxp.com/thread/495607"&gt;CAN communication in Rapid IoT board&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the documentation in that demo, it should work when there are two nodes a and b. I also followed it, one board being node a and other being node b.&lt;/P&gt;&lt;P&gt;But &lt;BR /&gt; &lt;STRONG&gt;while (!txComplete)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; };&lt;/STRONG&gt;&lt;BR /&gt;keeps on going for infinite loop and I cannot see any output.&lt;/P&gt;&lt;P&gt;Can you please verify if the demo is working fine? I am not sure why this is happening.&lt;/P&gt;&lt;P&gt;I have attached the circuit pic below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_56.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/74438iC3A91E6A784AC04E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_56.png" alt="pastedImage_56.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please note I tried connecting all grounds together and adding 120 ohm as well.&lt;BR /&gt;Nothing helped me.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Niranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Mar 2019 02:15:40 GMT</pubDate>
    <dc:creator>trialaccount12</dc:creator>
    <dc:date>2019-03-03T02:15:40Z</dc:date>
    <item>
      <title>Flex CAN between 2 FRDM k64F boards</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857662#M3523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I was able to get the demo application of FlexCAN from &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;TWR-K64 board using MCU xpresso as my IDE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;(&lt;SPAN&gt;SDK_2.5.0_TWR-K64F120M\boards\twrk64f120m\driver_examples\flexcan&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;Further when&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;I tried Internal loop-back program of flexCAN example in FRDM k64F,it was successful but when I run the interrupt mode method where I flashed flexCAN code in two FRDM k64F boards. One node being "a" and other being "b" as per the example , it was not successful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Connection wise I connected both TX together, Rx together and a common ground. I did not use CAN transreceiver with either of the boards. Am i missing something here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Is it because I do not have an &lt;STRONG&gt;external&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;CAN transreceiver&lt;/STRONG&gt;&amp;nbsp;here?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Saw a previous discussion here , something similar :&amp;nbsp;&lt;A href="https://community.nxp.com/thread/440878"&gt;TWR-K60f120m and FRDM-K64f CAN communication&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&lt;SPAN&gt;where it is mentioned I can do &lt;STRONG&gt;without a CAN transreceiver&lt;/STRONG&gt;. Both my boards are less than 1m apart and I am using only 2 boards here.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&lt;SPAN&gt;Any directions would be helpful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;IDE: MCU xpresso.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Thanks and Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; overflow-wrap: break-word; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Niranjan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 05:20:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857662#M3523</guid>
      <dc:creator>trialaccount12</dc:creator>
      <dc:date>2019-02-28T05:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Flex CAN between 2 FRDM k64F boards</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857663#M3524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="font-size: 11.5pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt;Niranjan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you want to communicate via CAN to each other (&lt;A href="https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/tower-development-boards/mcu-and-processor-modules/kinetis-modules/kinetis-k64-mcu-tower-system-module:TWR-K64F120M"&gt;TWR-K64F120M&lt;/A&gt; &amp;lt;--&amp;gt; &lt;A href="https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F"&gt;FRDM-K64F&lt;/A&gt;), external CAN transceiver is needed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Architecture-of-CAN-Bus-.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72530i55F584468A53F469/image-size/large?v=v2&amp;amp;px=999" role="button" title="Architecture-of-CAN-Bus-.png" alt="Architecture-of-CAN-Bus-.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is a CAN transceiver(&lt;A href="https://www.nxp.com/products/analog/interfaces/in-vehicle-network/can-transceiver-and-controllers/high-speed-can-transceiver:TJA1050"&gt;TJA1050T&lt;/A&gt;) on TWR-SER board which can connect with TWR-K64F120M.&lt;/P&gt;&lt;P&gt;But you still need another CAN transceiver for FRDM-K64F.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TWR-SER.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72566iA28FF72383C75AB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="TWR-SER.png" alt="TWR-SER.png" /&gt;&lt;/span&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, 01 Mar 2019 02:01:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857663#M3524</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-03-01T02:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Flex CAN between 2 FRDM k64F boards</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857664#M3525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am not using TWR-k64F-120M. I am using two FRDM k64F boards only. I understand I still have to use a CAN transreceiver on either sides.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Niranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 04:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857664#M3525</guid>
      <dc:creator>trialaccount12</dc:creator>
      <dc:date>2019-03-01T04:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Flex CAN between 2 FRDM k64F boards</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857665#M3526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.I connected on frdm k64F board to TWR-SER CAN transreceiver board(TX and RX of K64F(PTB18,PTB19) to Tx and RX of TWR-SER board as mentioned above)&lt;/P&gt;&lt;P&gt;2.I connected another FRDM k64F board to waveshare SN65HVD230 CAN transreceiver. (TX and RX of K64F(PTB18,PTB19) to Tx and RX of SN65HVD230 CAN)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Finally CAN_H and CAN_L of two transreceivers are connected together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded twrk64f120_flexcan_interrupt_transfer demo application from the SDK_2.5.0_TWR-K64F120M\boards\twrk64f120m\driver_examples\flexcan.&lt;/P&gt;&lt;P&gt;(thread reference for SDK source :&amp;nbsp;&lt;A href="https://community.nxp.com/thread/495607"&gt;CAN communication in Rapid IoT board&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the documentation in that demo, it should work when there are two nodes a and b. I also followed it, one board being node a and other being node b.&lt;/P&gt;&lt;P&gt;But &lt;BR /&gt; &lt;STRONG&gt;while (!txComplete)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; };&lt;/STRONG&gt;&lt;BR /&gt;keeps on going for infinite loop and I cannot see any output.&lt;/P&gt;&lt;P&gt;Can you please verify if the demo is working fine? I am not sure why this is happening.&lt;/P&gt;&lt;P&gt;I have attached the circuit pic below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_56.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/74438iC3A91E6A784AC04E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_56.png" alt="pastedImage_56.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please note I tried connecting all grounds together and adding 120 ohm as well.&lt;BR /&gt;Nothing helped me.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Niranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2019 02:15:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857665#M3526</guid>
      <dc:creator>trialaccount12</dc:creator>
      <dc:date>2019-03-03T02:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flex CAN between 2 FRDM k64F boards</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857666#M3527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Pls ignore my previous post. I got it working. The issue was with Transreceivers. Thank you for your inputs.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Niranjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2019 22:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Flex-CAN-between-2-FRDM-k64F-boards/m-p/857666#M3527</guid>
      <dc:creator>trialaccount12</dc:creator>
      <dc:date>2019-03-06T22:51:47Z</dc:date>
    </item>
  </channel>
</rss>

