<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>What&amp;#39;s the maximum of baud rate supported of UART?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/294/what-s-the-maximum-of-baud-rate-supported-of-uart</link><description>Hi, I have been trying to maximize the baud rate of my uart module, I am using the app_uart layer to control the uart and I have noticed that in your implementation of HCI you have set the baud rate to be 38400, and it is with hardware flow control. So</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Aug 2013 15:06:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/294/what-s-the-maximum-of-baud-rate-supported-of-uart" /><item><title>RE: What's the maximum of baud rate supported of UART?</title><link>https://devzone.nordicsemi.com/thread/1573?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2013 15:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1774ac88-9461-434e-93f6-2bc27cc42d24</guid><dc:creator>dorafmon</dc:creator><description>&lt;p&gt;Is there a minimal time interval between two radio event? and between two radio event is it guaranteed that the CPU is idle? Cheers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What's the maximum of baud rate supported of UART?</title><link>https://devzone.nordicsemi.com/thread/1572?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2013 09:33:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d5d1860-64df-4855-af0a-09f1493450c8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;As Nils mentions the UART hardware can go up to 1 Mbaud, but if you use the BLE SoftDevice without any flow control this could lead to lost bytes from the UART peer to the nRF51822.&lt;/p&gt;
&lt;p&gt;When the S110 SoftDevice is running, and is in a connected state, you could have interrupts from the stack in the 1-5ms range depending on the amount of data being exchanged (as of version 5.1.0. of the S110). This means that you need a very low baudrate to be 100% sure that you won&amp;#39;t drop any bytes (for comparison 1 byte at 9600 baud takes about 1ms to transmit).&lt;/p&gt;
&lt;p&gt;I think you have to do one of the following to get around this limitation:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Use flow control (preferred)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use a low baudrate, 9600 baud or less&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Have the nRF51822 inform the peer when it is ready to receive data, to avoid the peer sending data when the nRF51822 is interrupted.
Using the radio_notification feature it is possible for the nRF51822 to know when an interrupt from the S110 stack is about to occur.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What's the maximum of baud rate supported of UART?</title><link>https://devzone.nordicsemi.com/thread/1571?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2013 08:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38835b25-1b14-4650-8a08-2d44a37e4e48</guid><dc:creator>Nils Minor</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i dont&amp;#39;t know if this is helpfull, but when you look in the nrf51_bitfields libary ther ar some baud define&lt;/p&gt;
&lt;p&gt;/* Bits 31..0 : UART baudrate. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Pos (0UL) /&lt;/em&gt;!&amp;lt; Position of BAUDRATE field. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Msk (0xFFFFFFFFUL &amp;lt;&amp;lt; UART_BAUDRATE_BAUDRATE_Pos) /&lt;/em&gt;!&amp;lt; Bit mask of BAUDRATE field. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud1200 (0x0004F000UL) /&lt;/em&gt;!&amp;lt; 1200 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud2400 (0x0009D000UL) /&lt;/em&gt;!&amp;lt; 2400 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud4800 (0x0013B000UL) /&lt;/em&gt;!&amp;lt; 4800 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud9600 (0x00275000UL) /&lt;/em&gt;!&amp;lt; 9600 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud14400 (0x003B0000UL) /&lt;/em&gt;!&amp;lt; 14400 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud19200 (0x004EA000UL) /&lt;/em&gt;!&amp;lt; 19200 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud28800 (0x0075F000UL) /&lt;/em&gt;!&amp;lt; 28800 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud38400 (0x009D5000UL) /&lt;/em&gt;!&amp;lt; 38400 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud57600 (0x00EBF000UL) /&lt;/em&gt;!&amp;lt; 57600 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud76800 (0x013A9000UL) /&lt;/em&gt;!&amp;lt; 76800 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud115200 (0x01D7E000UL) /&lt;/em&gt;!&amp;lt; 115200 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud230400 (0x03AFB000UL) /&lt;/em&gt;!&amp;lt; 230400 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud250000 (0x04000000UL) /&lt;/em&gt;!&amp;lt; 250000 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud460800 (0x075F7000UL) /&lt;/em&gt;!&amp;lt; 460800 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud921600 (0x0EBEDFA4UL) /&lt;/em&gt;!&amp;lt; 921600 baud. &lt;em&gt;/
#define UART_BAUDRATE_BAUDRATE_Baud1M (0x10000000UL) /&lt;/em&gt;!&amp;lt; 1M baud. */&lt;/p&gt;
&lt;p&gt;maybe you can change the baudrate to one of this value.&lt;/p&gt;
&lt;p&gt;best regards Nils&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>