<?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: Implementing UART Communication on NXP LPC Microcontrollers - Emmanuel Katto</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Implementing-UART-Communication-on-NXP-LPC-Microcontrollers/m-p/1963458#M56922</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the uart communication reliability is dependent on the uart driving clock accuracy. The internal IRC clock frequency is not accurate and subject to temperature.&lt;/P&gt;
&lt;P&gt;I suggest you use external clock osc_clk as the source of uart clock.&lt;/P&gt;
&lt;P&gt;So I suggest you connect an external crystal clock(osc_clk), use PLL to times it or directly use osc_clk as pllclk. you can use the pclkx to generate the uart baud rate.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1727429023022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/301697iF151C6025DCD731B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1727429023022.png" alt="xiangjun_rong_0-1727429023022.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 09:33:57 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2024-09-27T09:33:57Z</dc:date>
    <item>
      <title>Implementing UART Communication on NXP LPC Microcontrollers - Emmanuel Katto</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Implementing-UART-Communication-on-NXP-LPC-Microcontrollers/m-p/1963217#M56919</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;My name is Emmanuel Katto. I'm currently working on a project using the NXP LPC1768 microcontroller, and I need to implement UART communication to interface with a GPS module. I've read through the reference manual and some application notes, but I’m seeking advice on the best practices when setting up and using UART on this MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;What are the essential settings I should configure for UART (baud rate, data bits, stop bits, parity)? Are there any specific settings recommended for a GPS module?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What is the best way to handle incoming and outgoing data buffers in terms of size and management? Should I use interrupts to manage data reception, and if so, what are the best practices for implementing the ISR?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you in advance for your assistance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Emmanuel Katto&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 05:53:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Implementing-UART-Communication-on-NXP-LPC-Microcontrollers/m-p/1963217#M56919</guid>
      <dc:creator>emmanuelkatto23</dc:creator>
      <dc:date>2024-09-27T05:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing UART Communication on NXP LPC Microcontrollers - Emmanuel Katto</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Implementing-UART-Communication-on-NXP-LPC-Microcontrollers/m-p/1963458#M56922</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the uart communication reliability is dependent on the uart driving clock accuracy. The internal IRC clock frequency is not accurate and subject to temperature.&lt;/P&gt;
&lt;P&gt;I suggest you use external clock osc_clk as the source of uart clock.&lt;/P&gt;
&lt;P&gt;So I suggest you connect an external crystal clock(osc_clk), use PLL to times it or directly use osc_clk as pllclk. you can use the pclkx to generate the uart baud rate.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1727429023022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/301697iF151C6025DCD731B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1727429023022.png" alt="xiangjun_rong_0-1727429023022.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 09:33:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Implementing-UART-Communication-on-NXP-LPC-Microcontrollers/m-p/1963458#M56922</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-09-27T09:33:57Z</dc:date>
    </item>
  </channel>
</rss>

