<?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 LPC865M201JHI48 - UART polling method Driver in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC865M201JHI48-UART-polling-method-Driver/m-p/1866771#M56056</link>
    <description>&lt;P&gt;hello, I wants to configure uart in the LPC865M201JHI48 Customized board and i copied the lpc865 SDK driver Example to my customized board. I tried using the usart_polling.c example and although the transmission of data seems to be working, there seems to be a problem for its transmitting garbage values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;note: Lpc865 SDK example Driver belongs to lpc865m201jbd64&lt;/P&gt;&lt;P&gt;I am using REAL TERM Serial Terminal which I configured to 9600 baudrate, 8 data bits, 1 stop bit, no parity and no flow control.its transmitting some garbage value and real term serial teminal status indicating BREAK. what should i do?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any ideas or solutions, I would gladly welcome any help.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the usart_polling.c to the message.&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 04:42:34 GMT</pubDate>
    <dc:creator>BerlinRaj</dc:creator>
    <dc:date>2024-05-16T04:42:34Z</dc:date>
    <item>
      <title>LPC865M201JHI48 - UART polling method Driver</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC865M201JHI48-UART-polling-method-Driver/m-p/1866771#M56056</link>
      <description>&lt;P&gt;hello, I wants to configure uart in the LPC865M201JHI48 Customized board and i copied the lpc865 SDK driver Example to my customized board. I tried using the usart_polling.c example and although the transmission of data seems to be working, there seems to be a problem for its transmitting garbage values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;note: Lpc865 SDK example Driver belongs to lpc865m201jbd64&lt;/P&gt;&lt;P&gt;I am using REAL TERM Serial Terminal which I configured to 9600 baudrate, 8 data bits, 1 stop bit, no parity and no flow control.its transmitting some garbage value and real term serial teminal status indicating BREAK. what should i do?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any ideas or solutions, I would gladly welcome any help.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the usart_polling.c to the message.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 04:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC865M201JHI48-UART-polling-method-Driver/m-p/1866771#M56056</guid>
      <dc:creator>BerlinRaj</dc:creator>
      <dc:date>2024-05-16T04:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC865M201JHI48 - UART polling method Driver</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC865M201JHI48-UART-polling-method-Driver/m-p/1867011#M56061</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Regarding your question, in the application code, the internal FRO is used as the driving clock of uart, because the internal FRO is not accurate, in other words, which leads to the mismatch with the receiver of uart, so sometimes, garbage byte is possible. The main_clk is from internal FRO.&lt;/P&gt;
&lt;P&gt;You use customized board, do you connect external clock source to CLKIN pin or external crystal(Xtalin/Xtalout pins)? if you have external clock source or crystal, pls try to use the external clock as the uart driving clock. From software perspective, you can use clock configuration to select the external clock as uart clock.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1715850663161.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279088i18999579BC994502/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1715850663161.png" alt="xiangjun_rong_0-1715850663161.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 09:12:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC865M201JHI48-UART-polling-method-Driver/m-p/1867011#M56061</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-05-16T09:12:21Z</dc:date>
    </item>
  </channel>
</rss>

