<?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>LPC MicrocontrollersのトピックRe: LPC54101 UART Hardware Flow Control</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762420#M30699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="318815" data-username="terence" href="https://community.nxp.com/people/terence"&gt;terence Kong&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;To figure it out, I was wondering if you can share a compilable demo, then I can replicate the issue on my site.&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, 18 May 2018 06:14:32 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2018-05-18T06:14:32Z</dc:date>
    <item>
      <title>LPC54101 UART Hardware Flow Control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762419#M30698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get the UART hardware flow control to work on LCP54101.&lt;/P&gt;&lt;P&gt;The RTS does toggle when data sending to the LPC54101 RX, however the RTS polarity seems to be wrong, supposed to be active&amp;nbsp;low?&amp;nbsp; Also&amp;nbsp;observed there is missing data received, the hardware flow control doesn't seems to work properly.&amp;nbsp; Could someone share some idea how to get the hardware flow control to work?&lt;/P&gt;&lt;P&gt;UART initialization call as shown in below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_0358.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28504iCA41C9789BC95C21/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_0358.jpg" alt="IMG_0358.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small;"&gt;&lt;STRONG&gt;void&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;STRONG&gt;Init_UART&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: small;"&gt;UART_PORT_SELECTOR&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; port_id, &lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: small;"&gt;RX_HANDLER&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; rx_handler) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; assert( port_id &amp;lt; &lt;/SPAN&gt;&lt;EM style="color: #0000c0; font-size: small;"&gt;UART_LAST_PORT&lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Chip_Clock_SetAsyncSysconClockDiv(1);&lt;/P&gt;&lt;P&gt;Chip_SYSCON_Enable_ASYNC_Syscon(true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; Chip_UART_Init(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;uart_port&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Chip_IOCON_PinMuxSet(LPC_IOCON, PORT(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;cts_pin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;), PIN(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;cts_pin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;), IOCON_FUNC2 | IOCON_DIGITAL_EN | IOCON_INPFILT_OFF);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Chip_IOCON_PinMuxSet(LPC_IOCON, PORT(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;rts_pin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;), PIN(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;rts_pin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;), IOCON_FUNC2 | IOCON_DIGITAL_EN | IOCON_INPFILT_OFF);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Chip_UART_ConfigData(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;uart_port&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;, UART_CFG_DATALEN_8 | UART_CFG_PARITY_NONE | UART_CFG_STOPLEN_1 | UART_CFG_CTSEN);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; Chip_UART_SetBaud(&lt;SPAN style="text-decoration: underline;"&gt;port&lt;/SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;uart_port&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;, port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;baud&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; Chip_IOCON_PinMuxSet(LPC_IOCON, PORT(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;rx_pin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;), PIN(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;rx_pin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;), IOCON_MODE_INACT | IOCON_FUNC1 | IOCON_DIGITAL_EN | IOCON_INPFILT_OFF);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;Chip_IOCON_PinMuxSet&lt;/SPAN&gt;(LPC_IOCON, PORT(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;tx_pin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;), PIN(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;tx_pin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;), IOCON_MODE_INACT | IOCON_FUNC1 | IOCON_DIGITAL_EN | IOCON_INPFILT_OFF);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Chip_UART_Enable(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;uart_port&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; Chip_UART_TXEnable(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;uart_port&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;rx_handler&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; = rx_handler;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;(rx_handler) {&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; Chip_UART_IntEnable(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;uart_port&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;, UART_INTEN_RXRDY );&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Chip_UART_IntDisable(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;uart_port&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;, UART_INTEN_TXRDY);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; NVIC_SetPriority(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;irq_number&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;, INT_PRIORITY_UART);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; NVIC_EnableIRQ(port-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;irq_number&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 21:22:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762419#M30698</guid>
      <dc:creator>terence</dc:creator>
      <dc:date>2018-05-16T21:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54101 UART Hardware Flow Control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762420#M30699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="318815" data-username="terence" href="https://community.nxp.com/people/terence"&gt;terence Kong&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;To figure it out, I was wondering if you can share a compilable demo, then I can replicate the issue on my site.&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, 18 May 2018 06:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762420#M30699</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-18T06:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54101 UART Hardware Flow Control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762421#M30700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please refer to the UART initialization call&amp;nbsp;as captioned above, wondering if I init the UART hardware flow control correctly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 15:15:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762421#M30700</guid>
      <dc:creator>terence</dc:creator>
      <dc:date>2018-05-25T15:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54101 UART Hardware Flow Control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762422#M30701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please refer to the UART initialization call&amp;nbsp;as captioned above, wondering if I init the UART hardware flow control correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 15:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762422#M30701</guid>
      <dc:creator>terence</dc:creator>
      <dc:date>2018-05-25T15:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54101 UART Hardware Flow Control</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762423#M30702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi terence Kong,&lt;BR /&gt;I don't find any error in the above code, so I was wondering if you can share a complete demo,&lt;BR /&gt;As I know, the UART module provides a Loopback mode which is able to diagnostic loopback testing for USART data, in another word, Un_TXD ,Un_RTS Un_RXD and Un_CTS activity will appear on external pins if these functions are configured to appear on device pins.&lt;BR /&gt;Please giving a try.&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>Mon, 28 May 2018 09:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54101-UART-Hardware-Flow-Control/m-p/762423#M30702</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-28T09:08:27Z</dc:date>
    </item>
  </channel>
</rss>

