<?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 how to clear buffer in usart1 lpc1768? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-clear-buffer-in-usart1-lpc1768/m-p/671215#M26845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i have RS485 that when i enable transmit pin of it and send data its ok but when i want receive something &amp;nbsp;and enable Receive pin cause my usart buffer to fill up whit something that corrupt what i want receive.&lt;/P&gt;&lt;P&gt;how can i clear usart1 buffer of lpc1768 after every transmit to be ready to receive something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2017 11:31:24 GMT</pubDate>
    <dc:creator>navidansari</dc:creator>
    <dc:date>2017-07-17T11:31:24Z</dc:date>
    <item>
      <title>how to clear buffer in usart1 lpc1768?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-clear-buffer-in-usart1-lpc1768/m-p/671215#M26845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i have RS485 that when i enable transmit pin of it and send data its ok but when i want receive something &amp;nbsp;and enable Receive pin cause my usart buffer to fill up whit something that corrupt what i want receive.&lt;/P&gt;&lt;P&gt;how can i clear usart1 buffer of lpc1768 after every transmit to be ready to receive something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 11:31:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-clear-buffer-in-usart1-lpc1768/m-p/671215#M26845</guid>
      <dc:creator>navidansari</dc:creator>
      <dc:date>2017-07-17T11:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to clear buffer in usart1 lpc1768?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-clear-buffer-in-usart1-lpc1768/m-p/671216#M26846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello navid ansari,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the LPC1768 UART1 485,&amp;nbsp; we have the according sample code for your reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have attached it, please refer to the sample code directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Tue, 18 Jul 2017 05:45:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-clear-buffer-in-usart1-lpc1768/m-p/671216#M26846</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-18T05:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to clear buffer in usart1 lpc1768?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-clear-buffer-in-usart1-lpc1768/m-p/671217#M26847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks allot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jul 2017 05:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-clear-buffer-in-usart1-lpc1768/m-p/671217#M26847</guid>
      <dc:creator>navidansari</dc:creator>
      <dc:date>2017-07-30T05:12:04Z</dc:date>
    </item>
  </channel>
</rss>

