<?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>Custom Baudrate</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55825/custom-baudrate</link><description>Hi 
 I want to use a custom UART with nrf51822 which is &amp;quot;5787&amp;quot;. 
 Can you tell me value for it?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Dec 2019 13:47:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55825/custom-baudrate" /><item><title>RE: Custom Baudrate</title><link>https://devzone.nordicsemi.com/thread/226583?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 13:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d5d1932-5a8d-4039-9cc3-002eeb434ec2</guid><dc:creator>Nidhi</dc:creator><description>&lt;p&gt;Thankyou &lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt; !&lt;/p&gt;
&lt;p&gt;Merry Christmas...... We will also be on leave now....so no issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Baudrate</title><link>https://devzone.nordicsemi.com/thread/226536?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 11:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca1dfcb1-5f0a-4e04-8545-894c9e018261</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Here on DevZone, we strive to keep each ticket confined to one subject, so&amp;nbsp;Please create a new ticket for this issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;PS: The Holiday season is upon us, which will leave the Nordic support team understaffed until January 6th, 2020. This means that delayed replies will occur during this time. Sorry about the inconvenience and happy Holidays!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Baudrate</title><link>https://devzone.nordicsemi.com/thread/226503?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 09:10:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13097d86-aa53-421b-ac72-194fe5bf5910</guid><dc:creator>Nidhi</dc:creator><description>&lt;p&gt;I got this.... .actually problem was with simulation software(Docklight). I cross-checked with Arduino.&lt;/p&gt;
&lt;p&gt;Can you suggest another?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Baudrate</title><link>https://devzone.nordicsemi.com/thread/226486?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 07:57:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0c0b0d-764d-43dc-b72e-ee7df864cd67</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Try writing the decimal value 1553436 to the&amp;nbsp;NRFX_UART_DEFAULT_CONFIG_BAUDRATE&amp;nbsp;define (NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE if you&amp;#39;re using UARTE) in the sdk_config.h file of your project.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Baudrate</title><link>https://devzone.nordicsemi.com/thread/226480?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 06:49:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a062c2b3-1065-4f65-adf3-013afd11c9b6</guid><dc:creator>Nidhi</dc:creator><description>&lt;p&gt;I wrote the above value in (0x0017B41CUL) in &amp;quot;app_uart_comm_params_t&amp;quot; in ble_app_uart example of SDK 12.3. But still showing garbage values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Baudrate</title><link>https://devzone.nordicsemi.com/thread/226356?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 11:53:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7b4d12c-9088-494a-a753-3047b61e9ec0</guid><dc:creator>Nidhi</dc:creator><description>&lt;p&gt;How to add it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Baudrate</title><link>https://devzone.nordicsemi.com/thread/226352?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 11:44:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21362582-0675-4af7-9768-a1884db90e69</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/391/uart-baudrate-register-values"&gt;This post&lt;/a&gt; explains how to calculate the baud rate value for a desired baud rate. So, to get the value for a baud rate of 5787 (I assume this is in decimal), this would be the calculation:&lt;/p&gt;
&lt;p&gt;Baud Rate: 5787 * 2^32 / 16000000 = &lt;strong&gt;1 553 436&lt;/strong&gt;. Or in hex: 0x17B41C.&lt;/p&gt;
&lt;p&gt;Feel free to double-check my calculations.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>