<?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>Kinetis Software Development KitのトピックRe: Board to board UART communication</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644298#M6928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Timothy,&lt;/P&gt;&lt;P&gt;For UART, the transmitting and receiving process are independent.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun rong&lt;/P&gt;&lt;P&gt;void UART_WriteBlocking(UART_Type *base, const uint8_t *data, size_t length)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* This API can only ensure that the data is written into the data buffer but can't&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ensure all data in the data buffer are sent into the transmit shift buffer. */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (length--)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (!(base-&amp;gt;S1 &amp;amp; UART_S1_TDRE_MASK))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base-&amp;gt;D = *(data++);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2017 07:46:37 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2017-03-16T07:46:37Z</dc:date>
    <item>
      <title>Board to board UART communication</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644294#M6924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying to get two FRDM K64f boards to communicate using UART3 through pins PTC16 and PTC17. I have been using the uart_interrupt_polling example from KSDK, but I'm not receiving anything. I've changed the code to use UART3, and one of the boards is sending at first, while the other is receiving. I've tried connecting matching pins and crossing the pins. Is there a setting I'm missing or another hardware connection I need to make?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 03:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644294#M6924</guid>
      <dc:creator>smith1</dc:creator>
      <dc:date>2017-03-13T03:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Board to board UART communication</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644295#M6925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Timothy,&lt;/P&gt;&lt;P&gt;I think it is okay to connect the PTC16 of one FRDM-K64 to PTC17 of another FRDM-K64, connect the PTC17 of one FRDM-K64 to PTC16 of another FRDM-K64.&lt;/P&gt;&lt;P&gt;Pls following the sequence:&lt;/P&gt;&lt;P&gt;1)enable PORTC gated clock&lt;/P&gt;&lt;P&gt;2)assign PTC16/PTC17 as UART3 pins.&lt;/P&gt;&lt;P&gt;3)call the SDK function to transfer data.&lt;/P&gt;&lt;P&gt;BTW, pls test the UART3_Tx pin via scope to check if there is UART signal when you transfer data in a forever loop.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 07:25:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644295#M6925</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-03-15T07:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Board to board UART communication</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644296#M6926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;&lt;P&gt;I think I have done as you've said. Though I still need to test the pin via scope though.&lt;/P&gt;&lt;P&gt;for one I have&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CLOCK_EnableClock(kCLOCK_PortC);&lt;/P&gt;&lt;P&gt;for two I have&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;PORT_SetPinMux(PORTC, 16u, kPORT_MuxAlt3);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;PORT_SetPinMux(PORTC, 17u, kPORT_MuxAlt3);&lt;/P&gt;&lt;P&gt;for three I'm using the UART_WriteBlocking and UART_ReadBlocking functions. Do you know if these functions continue to transmit until they are received? Or should I try to use the nonblocking forms of these functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Timothy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 04:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644296#M6926</guid>
      <dc:creator>smith1</dc:creator>
      <dc:date>2017-03-16T04:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Board to board UART communication</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644297#M6927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Timothy,&lt;/P&gt;&lt;P&gt;You have to connect the GND together for the two board.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 07:37:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644297#M6927</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-03-16T07:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Board to board UART communication</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644298#M6928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Timothy,&lt;/P&gt;&lt;P&gt;For UART, the transmitting and receiving process are independent.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun rong&lt;/P&gt;&lt;P&gt;void UART_WriteBlocking(UART_Type *base, const uint8_t *data, size_t length)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* This API can only ensure that the data is written into the data buffer but can't&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ensure all data in the data buffer are sent into the transmit shift buffer. */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (length--)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (!(base-&amp;gt;S1 &amp;amp; UART_S1_TDRE_MASK))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base-&amp;gt;D = *(data++);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 07:46:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Board-to-board-UART-communication/m-p/644298#M6928</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-03-16T07:46:37Z</dc:date>
    </item>
  </channel>
</rss>

