<?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>Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43795/need-to-be-clear-urgency-nrf52832-baud-rate</link><description>Hi, 
 
 We are using nRF52832,want to configure non standard baud rate 5787 as per our client request, 
 Is there formula to calculate the error and reg values please advice. 
 
 Thanks, 
 Venkatesan</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Feb 2019 09:57:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43795/need-to-be-clear-urgency-nrf52832-baud-rate" /><item><title>RE: Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/thread/171576?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 09:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b92ef27-fae0-4dba-8563-39295d3444ae</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Not that I&amp;#39;m aware of. You need to measure the pulse width/time period when data is transmitted to determine the actual baudrate.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/thread/171573?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 09:51:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:568139cf-3045-4a85-8ecd-19992492554a</guid><dc:creator>Venkatesan</dc:creator><description>&lt;p&gt;yea will try that.&lt;/p&gt;
&lt;p&gt;Is there any tool to calculate the error??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/thread/171567?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 09:20:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f83b3c87-5f39-4f26-9e4e-abd420e8fe72</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It was from some simulation values I had, but not sure what the division error is unfortunately. That is why wanted you to verify the baudrate by sampling the output signal and tune the baudrate register accordingly. Remember to start the HF crystal before measuring.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;EDIT: It looks like the actual baudrate will become 5785 when you set the register to 0x17B000. I.e. a division&amp;nbsp; error of ~0.04% percent. But please verify.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/thread/171565?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 09:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a5ff9e8-40da-4041-9621-5d7aaf424fc2</guid><dc:creator>Venkatesan</dc:creator><description>&lt;p&gt;Also how about the error rate % ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/thread/171562?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 08:59:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bc218eb-c26e-4371-9a0a-722fdaff8cf1</guid><dc:creator>Venkatesan</dc:creator><description>&lt;p&gt;Thank u&amp;nbsp; for the immediate response.&lt;/p&gt;
&lt;p&gt;can i know how did u get this value??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/thread/171559?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 08:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7456008f-3d9c-40cf-9176-39982c2c409f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Try 0x17B000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/thread/171558?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 08:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd260c39-46cc-473e-a368-af2460cc9c5c</guid><dc:creator>Venkatesan</dc:creator><description>&lt;p&gt;As per the provided thread&lt;/p&gt;
&lt;p&gt;The formula is: Baudrate = desired baudrate * 2^32 / 16000000&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =5787*4294967296/16000000&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =5787*268.435456&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1553435.983872&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Baudrate of 5787 should then be 15534356 decimal =0x ED0914&lt;/p&gt;
&lt;p&gt;then how to roundoff the value??for proceed further??Please help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to be clear urgency NRF52832 baud rate</title><link>https://devzone.nordicsemi.com/thread/171554?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 08:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:348518a1-c27c-43eb-8b72-5968d9f5b44e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can find a simplified formula in this thread (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/391/uart-baudrate-register-values#post-id-1194"&gt;link&lt;/a&gt;). Note that you need to account for clock source accuracy (HFINT vs HFXO) in addition to any division error on the baudrate generator.&amp;nbsp;I&amp;#39;d suggest that you&amp;nbsp;use a logic analyzer or oscilloscope to measure the actual baudrate.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>