<?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 Re: LPC1343 UART Tx FIFO level in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530376#M1940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Sun Jun 20 11:04:17 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;User manual, Revision history:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;U0FIFOLVL register removed in Chapter 11.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no U0FIFOLVL in the LPC13xx.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:54:28 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:54:28Z</dc:date>
    <item>
      <title>LPC1343 UART Tx FIFO level</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530373#M1937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by simonbr on Thu Mar 25 02:04:53 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use the U0FIFOLVL register to see how many characters can still be loaded into the Tx FIFO. But for some reason this does not work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The relevant piece of code in my "putcom" routine is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if ((LPC_UART-&amp;gt;FIFOLVL&amp;amp;0xF00)!=0xF00)&amp;nbsp; // any space left in FIFO?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{[INDENT]&amp;nbsp;&amp;nbsp; LPC_UART-&amp;gt;THR = databyte;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // write the character&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{[INDENT]&amp;nbsp;&amp;nbsp; (...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm seeing is that the condition never becomes false (a breakpoint in the "else" part never triggers), while after 16 characters the next character is transmitted corrupted; apparently the FIFO is overwritten when full. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried with&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if ((LPC_UART-&amp;gt;FIFOLVL&amp;amp;0xF00)!=0x800)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but that did not make a difference. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm wondering what mistake I made, or whether the FIFOLVL register actually does not show the Tx FIFO level correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Simon Brouwer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530373#M1937</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 UART Tx FIFO level</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530374#M1938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by simonbr on Fri Mar 26 15:10:30 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have made the attached small program, just to illustrate the problem. Using an oscilloscope, I verified actual transmission on 9600 baud. The program writes data into the UART much faster, so the FIFOLVL register should become nonzero, but [B]it never does[/B]. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I conclude that the FIFOLVL register [B]does not work[/B] as advertised. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prove me wrong if you can!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530374#M1938</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 UART Tx FIFO level</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530375#M1939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zoks on Sun Jun 20 09:13:50 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem on LPC1768. UxFIFOLVL always reads 0. Is there anything else to do to get it working except enabling FIFO's?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If FIFO level can't be read then I guess using THRE is the only option, which effectively means sending byte by byte once the FIFO gets filled-up, making it useless for anything more than 16 bytes?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:54:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530375#M1939</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 UART Tx FIFO level</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530376#M1940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Sun Jun 20 11:04:17 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;User manual, Revision history:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;U0FIFOLVL register removed in Chapter 11.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no U0FIFOLVL in the LPC13xx.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530376#M1940</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 UART Tx FIFO level</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530377#M1941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Sun Jun 20 11:06:43 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCxxxx UARTs are undistinguished.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530377#M1941</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 UART Tx FIFO level</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530378#M1942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by callendorph on Wed Jul 07 17:31:58 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you point me to where that is documented on the user manuals for the LPC17xx and LPC13xx? The user manual on NXP's website for both series of processors still list the FIFOLVL register and the revision history doesn't say anything about removing it. Also, the errata documents don't say anything about that register being dropped from the specification. Anybody found a resolution to this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Latest User Manual For LPC17xx on NXP website&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.nxp.com/documents/user_manual/UM10360.pdf&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530378#M1942</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 UART Tx FIFO level</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530379#M1943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rkiryanov on Wed Jul 07 21:10:58 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: callendorph&lt;/STRONG&gt;&lt;BR /&gt;Can you point me to where that is documented on the user manuals for the LPC17xx and LPC13xx?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;13xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://ics.nxp.com/support/documents/microcontrollers/pdf/user.manual.lpc13xx.pdf&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-UART-Tx-FIFO-level/m-p/530379#M1943</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:54:30Z</dc:date>
    </item>
  </channel>
</rss>

