<?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: LPC4078 UART0 discarding 0xD carriage return</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747674#M30125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the TX FIFO empty? Check the FIFO status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2018 22:55:18 GMT</pubDate>
    <dc:creator>Dezheng_Tang</dc:creator>
    <dc:date>2018-06-05T22:55:18Z</dc:date>
    <item>
      <title>LPC4078 UART0 discarding 0xD carriage return</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747673#M30124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sending in a string of text 'HelloWorld\r" with 0xD character to UART0 and outputting the same text to UART2 ,but when I probe the UART2 TX line with my logic analyzer, the data is missing the 0xD (Carriage Return) character. I've verified that on UART0 RX line that I can see the 0xD character, so why is it missing on the TX of UART2. My program is NOT using any interrupt..just simple polling and as soon as a character is detected on UART0 it is output to UART2 right away.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 18:39:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747673#M30124</guid>
      <dc:creator>ryan1019</dc:creator>
      <dc:date>2018-06-04T18:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 UART0 discarding 0xD carriage return</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747674#M30125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the TX FIFO empty? Check the FIFO status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 22:55:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747674#M30125</guid>
      <dc:creator>Dezheng_Tang</dc:creator>
      <dc:date>2018-06-05T22:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 UART0 discarding 0xD carriage return</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747675#M30126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this at the input UART&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; if(LPC_UART2-&amp;gt;LSR &amp;amp; 0x01) { // Receive Data Ready&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; SData[i++]=LPC_UART2-&amp;gt;RBR;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this at the output UART&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; while (!(LPC_UART2-&amp;gt;LSR &amp;amp; 0x20)); // TX ready&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; LPC_UART2-&amp;gt;THR = ch;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; return (ch);&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that the data is missing the CR and LF which I have sent in.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19497i8055A2B7D88B392F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 07:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747675#M30126</guid>
      <dc:creator>ryan1019</dc:creator>
      <dc:date>2018-06-06T07:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 UART0 discarding 0xD carriage return</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747676#M30127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using the UART example that comes with the LPCOpen package to see if the same behavior is present?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc40xx:LPCOPEN-SOFTWARE-FOR-LPC40XX" title="https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc40xx:LPCOPEN-SOFTWARE-FOR-LPC40XX"&gt;LPCOpen Software for LPC40XX|NXP&lt;/A&gt;&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;Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 17:30:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-UART0-discarding-0xD-carriage-return/m-p/747676#M30127</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2018-06-27T17:30:39Z</dc:date>
    </item>
  </channel>
</rss>

