<?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: lpc54102 UART stat TXRDY (not ready) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54102-UART-stat-TXRDY-not-ready/m-p/710592#M28664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really hope NXP will sort their UM because as much as I like mcu's I hate when some things are not written in user manual or assumed to be known or whatnot...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I was missing enabling the fractional divider in async clkctrl ... which I havent saw mentioned&amp;nbsp;anywhere in UART basic configuration chapter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="font-size: 11px;"&gt;LPC_ASYNC_SYSCON-&amp;gt;&lt;SPAN style="color: #0326cc;"&gt;ASYNCAPBCLKCTRLSET&lt;/SPAN&gt; |= _BV(15);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help someone who will be having a same mind boggling&amp;nbsp;exercise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2017 18:02:02 GMT</pubDate>
    <dc:creator>svensavic</dc:creator>
    <dc:date>2017-10-20T18:02:02Z</dc:date>
    <item>
      <title>lpc54102 UART stat TXRDY (not ready)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54102-UART-stat-TXRDY-not-ready/m-p/710591#M28663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have issue with developing UART comm from scratch. I don't use any libraries, as I am not big fan of them, so I go bare metal way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I don't know whether I am missing some config or not, but when I try to send string via UART, it got stuck after first char. Well, first char is not sent as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went through the data sheet couple of times, and I just can't see what I am missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enable ASYNCAPB&lt;/P&gt;&lt;P&gt;set ASYNCAPBCLKCTRL to enable UART0,&lt;/P&gt;&lt;P&gt;disable reset via ASYNCPRESETCTRL,&lt;/P&gt;&lt;P&gt;set RX,TX pins&lt;/P&gt;&lt;P&gt;USART CFG, baud rate and enable uart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then just write to TXDAT. Everything seems to be OK from debugger point in MCUXPRESSO, but UART&amp;nbsp;seems to get stuck on sending the char and next cycle&amp;nbsp;STAT = b'10010' or RXRDY, TXIDLE.&lt;/P&gt;&lt;P&gt;Why doesn't it change to TXRDY I don't understand...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is memory dump of UART.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 20:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54102-UART-stat-TXRDY-not-ready/m-p/710591#M28663</guid>
      <dc:creator>svensavic</dc:creator>
      <dc:date>2017-10-19T20:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: lpc54102 UART stat TXRDY (not ready)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54102-UART-stat-TXRDY-not-ready/m-p/710592#M28664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really hope NXP will sort their UM because as much as I like mcu's I hate when some things are not written in user manual or assumed to be known or whatnot...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I was missing enabling the fractional divider in async clkctrl ... which I havent saw mentioned&amp;nbsp;anywhere in UART basic configuration chapter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="font-size: 11px;"&gt;LPC_ASYNC_SYSCON-&amp;gt;&lt;SPAN style="color: #0326cc;"&gt;ASYNCAPBCLKCTRLSET&lt;/SPAN&gt; |= _BV(15);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help someone who will be having a same mind boggling&amp;nbsp;exercise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 18:02:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54102-UART-stat-TXRDY-not-ready/m-p/710592#M28664</guid>
      <dc:creator>svensavic</dc:creator>
      <dc:date>2017-10-20T18:02:02Z</dc:date>
    </item>
  </channel>
</rss>

