<?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: LPC54616 USART up to 2.5Mbps??? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1274887#M44965</link>
    <description>&lt;P&gt;Hello&amp;nbsp;Omar_Anguiano:&lt;/P&gt;&lt;P&gt;It is difficult to move Flexcomm0 to Flexcomm2 in my borad.&lt;/P&gt;&lt;P&gt;I still use Flexcomm0 for testing.&lt;/P&gt;&lt;P&gt;I use the 48Mhz clock source. Here is my code.&lt;/P&gt;&lt;P&gt;CLOCK_AttachClk(BOARD_DEBUG_UART_CLK_ATTACH);&lt;BR /&gt;RESET_PeripheralReset(BOARD_DEBUG_UART_RST);&lt;BR /&gt;result = DbgConsole_Init(BOARD_DEBUG_UART_INSTANCE, &lt;FONT face="arial black,avant garde"&gt;5300000U&lt;/FONT&gt;, BOARD_DEBUG_UART_TYPE,&amp;nbsp;&lt;FONT face="arial black,avant garde"&gt;48000000U&lt;/FONT&gt;);&lt;/P&gt;&lt;P&gt;In the baudrate parameter, I use 5.3Mbps and it works at 1.33Mbps.(see attached picture)&lt;/P&gt;&lt;P&gt;I don't know why but it is not the most important.&lt;/P&gt;&lt;P&gt;It still can not up to 2.25Mbps. Can you try to speed up to 2.5Mbps by Flexcomm2??&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20210511_161059.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144446i892C3F27995736FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20210511_161059.jpg" alt="IMG_20210511_161059.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 08:29:42 GMT</pubDate>
    <dc:creator>Johney</dc:creator>
    <dc:date>2021-05-11T08:29:42Z</dc:date>
    <item>
      <title>LPC54616 USART up to 2.5Mbps???</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1272907#M44902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In the previous project, I use LPC2364's USART with 2.5Mbps.&amp;nbsp; It works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I need move the project with LPC54616 microcontroller.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I reference the USART demo and found the BOARD_InitDebugConsole() in the board.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here I speed up the baud rate and&amp;nbsp;verify by&amp;nbsp;the oscilloscope.&lt;/P&gt;&lt;P&gt;status_t BOARD_InitDebugConsole(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; status_t result;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; /* attach 12 MHz clock to FLEXCOMM0 (debug console) */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; CLOCK_AttachClk(BOARD_DEBUG_UART_CLK_ATTACH);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; RESET_PeripheralReset(BOARD_DEBUG_UART_RST);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; result = DbgConsole_Init(BOARD_DEBUG_UART_INSTANCE,&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;1200000U&lt;/STRONG&gt;, BOARD_DEBUG_UART_TYPE,&amp;nbsp;BOARD_DEBUG_UART_CLK_FREQ);&lt;/P&gt;&lt;P&gt;assert(kStatus_Success == result);&lt;BR /&gt;return result;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20210504_1.2Mbps.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144060i0FB659FF823F504B/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_20210504_1.2Mbps.jpg" alt="IMG_20210504_1.2Mbps.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I speed up to 1.2Mbps, it works fine. But I raised up to 1.3Mbps, I see nothing in the&amp;nbsp;oscilloscope.&lt;/P&gt;&lt;P&gt;Do I need to use another clock source?&amp;nbsp; &amp;nbsp;or other parameters?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions are welcome.&amp;nbsp; I will try and post the result.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 09:20:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1272907#M44902</guid>
      <dc:creator>Johney</dc:creator>
      <dc:date>2021-05-06T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54616 USART up to 2.5Mbps???</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1273856#M44942</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Hope you are well.&lt;BR /&gt;I suggest you use another clock source, 48Mhz is the maximum clock speed supported for flexcomm. &lt;BR /&gt;I do not suggest using the same interface used for debugging, please use another interface. &lt;BR /&gt;To modify the baudrate, you may update the value of the variable baudRate_Bps in the usart_config_t type before calling the function USART_Init.&lt;/P&gt;
&lt;P&gt;To verify that this works, I used the flexcomm2 interface with a baudrate of 1.5Mbps. I attached a 48Mhz clock to the interface.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_Anguiano_0-1620418877324.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144244iB15CA6A0DC816F4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_Anguiano_0-1620418877324.png" alt="Omar_Anguiano_0-1620418877324.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 20:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1273856#M44942</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-05-07T20:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54616 USART up to 2.5Mbps???</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1274887#M44965</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Omar_Anguiano:&lt;/P&gt;&lt;P&gt;It is difficult to move Flexcomm0 to Flexcomm2 in my borad.&lt;/P&gt;&lt;P&gt;I still use Flexcomm0 for testing.&lt;/P&gt;&lt;P&gt;I use the 48Mhz clock source. Here is my code.&lt;/P&gt;&lt;P&gt;CLOCK_AttachClk(BOARD_DEBUG_UART_CLK_ATTACH);&lt;BR /&gt;RESET_PeripheralReset(BOARD_DEBUG_UART_RST);&lt;BR /&gt;result = DbgConsole_Init(BOARD_DEBUG_UART_INSTANCE, &lt;FONT face="arial black,avant garde"&gt;5300000U&lt;/FONT&gt;, BOARD_DEBUG_UART_TYPE,&amp;nbsp;&lt;FONT face="arial black,avant garde"&gt;48000000U&lt;/FONT&gt;);&lt;/P&gt;&lt;P&gt;In the baudrate parameter, I use 5.3Mbps and it works at 1.33Mbps.(see attached picture)&lt;/P&gt;&lt;P&gt;I don't know why but it is not the most important.&lt;/P&gt;&lt;P&gt;It still can not up to 2.25Mbps. Can you try to speed up to 2.5Mbps by Flexcomm2??&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20210511_161059.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144446i892C3F27995736FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20210511_161059.jpg" alt="IMG_20210511_161059.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 08:29:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1274887#M44965</guid>
      <dc:creator>Johney</dc:creator>
      <dc:date>2021-05-11T08:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54616 USART up to 2.5Mbps???</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1282037#M45135</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I apologize for my late reply. I did some tests to check if these speeds are reachable. 5.3Mbps and 3Mbps were successful.&lt;BR /&gt;2.5Mbps was not possible because this baud rate is not supported. The OSR and BRG values can't reach that speed, if you set it to 2.4Mbps it will work as expected.&lt;/P&gt;
&lt;DIV id="tinyMceEditorOmar_Anguiano_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_Anguiano_3-1621972458766.png" style="width: 392px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145504i6B0D9BE8EEB827FC/image-dimensions/392x139?v=v2" width="392" height="139" role="button" title="Omar_Anguiano_3-1621972458766.png" alt="Omar_Anguiano_3-1621972458766.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_Anguiano_2-1621972434301.png" style="width: 440px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145503iB4CF9188FF26E029/image-dimensions/440x95?v=v2" width="440" height="95" role="button" title="Omar_Anguiano_2-1621972434301.png" alt="Omar_Anguiano_2-1621972434301.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To successfully attach the clock you may use the function CLOCK_AttachClk(), I suggest you use the MCUXpresso Config tool to set the HF clock to 48Mhz and attach it to the peripheral.&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 19:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54616-USART-up-to-2-5Mbps/m-p/1282037#M45135</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-05-25T19:58:11Z</dc:date>
    </item>
  </channel>
</rss>

