<?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中的主题 Baud Rate for UART1 on Hitex board  for LPC1850</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baud-Rate-for-UART1-on-Hitex-board-for-LPC1850/m-p/537657#M11519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ramakrishna.boyina on Sun Dec 01 23:09:42 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;HI All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Hitex Board for LPC1850 and UART1 for communicating to other controller. I could receive data and send data if UART1is&amp;nbsp; configured 115200 as baud rate. But if use baud rate as 921600, i couldn't receiving data from&amp;nbsp; from other controller. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could anybody tell why UART1 is not working at 921600 baud rate on Hitex board?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my init code for UART1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Board_UART_Init(LPC_UART1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Chip_UART_Init(LPC_UART1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Chip_UART_SetBaud(LPC_UART1, 921600);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Chip_UART_ConfigData(LPC_UART1, UART_DATABIT_8, UART_PARITY_NONE, UART_STOPBIT_1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anything i have missed for configuring UART1 on hitex board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other controller is working properly with LPC1857 where i have used USART3 for communicating and configured baud rate as 921600.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ramakrishna.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:22:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:22:14Z</dc:date>
    <item>
      <title>Baud Rate for UART1 on Hitex board  for LPC1850</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baud-Rate-for-UART1-on-Hitex-board-for-LPC1850/m-p/537657#M11519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ramakrishna.boyina on Sun Dec 01 23:09:42 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;HI All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Hitex Board for LPC1850 and UART1 for communicating to other controller. I could receive data and send data if UART1is&amp;nbsp; configured 115200 as baud rate. But if use baud rate as 921600, i couldn't receiving data from&amp;nbsp; from other controller. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could anybody tell why UART1 is not working at 921600 baud rate on Hitex board?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my init code for UART1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Board_UART_Init(LPC_UART1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Chip_UART_Init(LPC_UART1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Chip_UART_SetBaud(LPC_UART1, 921600);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Chip_UART_ConfigData(LPC_UART1, UART_DATABIT_8, UART_PARITY_NONE, UART_STOPBIT_1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anything i have missed for configuring UART1 on hitex board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other controller is working properly with LPC1857 where i have used USART3 for communicating and configured baud rate as 921600.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ramakrishna.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baud-Rate-for-UART1-on-Hitex-board-for-LPC1850/m-p/537657#M11519</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Baud Rate for UART1 on Hitex board  for LPC1850</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baud-Rate-for-UART1-on-Hitex-board-for-LPC1850/m-p/537658#M11520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Dec 05 04:31:15 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Ramakrishna,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it is for sure not related to the Hitex board hardware. Something is wrong in the software configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend to step with a debugger through the code until you are sending the first character.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do it first with the working configuration @115kbaud and then with the failing configuration @921kbaud.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few ideas:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Maybe the clock source for the UART is not set to the right value. You need to have a 16-times oversampling, so 921kbaud will not work when you just run on 12MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- If the frequency is to low then the fractional divider cannot generate 921600 with an acceptable frequency. Check the output with an oscilloscope and look for the frequency error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baud-Rate-for-UART1-on-Hitex-board-for-LPC1850/m-p/537658#M11520</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Baud Rate for UART1 on Hitex board  for LPC1850</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Baud-Rate-for-UART1-on-Hitex-board-for-LPC1850/m-p/537659#M11521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jonper on Thu Dec 05 09:35:34 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using LPCOpen v2.02, be aware that the Chip_UART_SetBaud function no longer uses the fractional divider as did v1.03; so with a 204MHz clock, the actual baud rate becomes 980709 which is a greater than 6% error and unlikely to work correctly with other devices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a new Chip_UART_SetBaudFDR function in uart_18xx_43xx.c that does implement the fractional divider register, though it too seems to have some unexpected error rate issues with certain combinations of clock rate and baud requests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:22:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Baud-Rate-for-UART1-on-Hitex-board-for-LPC1850/m-p/537659#M11521</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:22:15Z</dc:date>
    </item>
  </channel>
</rss>

