<?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>baud rate change  when usb plugin computer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50775/baud-rate-change-when-usb-plugin-computer</link><description>Hi, 
 We have just almost finished develop a product which used nrf52840 as a data hub, a wifi module connect to nrf52840 through uart, and baudrate set to 460800, and also optionally USBCDC connect to PC, we found there is a difference of baudrate about</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Aug 2019 10:12:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50775/baud-rate-change-when-usb-plugin-computer" /><item><title>RE: baud rate change  when usb plugin computer</title><link>https://devzone.nordicsemi.com/thread/203255?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 10:12:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3780e05-a8fd-4e73-83a3-0587e08afd88</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Brian&lt;/p&gt;
&lt;p&gt;When using the SoftDevice you should request external HF clock through the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.1/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=3_4_3_1_2_7_2_3#ga3e5afb495a1b0307c749cc268df94a74"&gt;sd_clock_hfclk_request()&lt;/a&gt; function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: baud rate change  when usb plugin computer</title><link>https://devzone.nordicsemi.com/thread/203189?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 01:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e03bbf20-e8f8-47d4-b293-37ad97e14437</guid><dc:creator>yqin15</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for quick response,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;yes I use sd140 with sdk 15.2, please advise how to manually request external HF clock for uart? thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Brian Qin.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: baud rate change  when usb plugin computer</title><link>https://devzone.nordicsemi.com/thread/203106?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 13:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d6392ed-7906-44e4-a300-09a98572b547</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Brian&lt;/p&gt;
&lt;p&gt;To get stable baudrate when using the UART it is important to use the external HF crystal. The internal HF source can deviate by as much as 8%, and the internal source is the default unless the external one is requested by software.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Most likely the USB driver will request this when the USB is running, which is why the USB connection affects the accuracy.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try to request external HF clock manually and see if it improves the accuracy?&lt;/p&gt;
&lt;p&gt;If you need advice on how to do this please let me know if you use a Bluetooth SoftDevice or not, as the method for requesting external HF clock differs when using it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: baud rate change  when usb plugin computer</title><link>https://devzone.nordicsemi.com/thread/203048?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 11:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c52fd4c-6c09-4971-90b2-2737765dbfbf</guid><dc:creator>yqin15</dc:creator><description>&lt;p&gt;&amp;nbsp;more information:&amp;nbsp; when pulg usb into a 5 v power supplier instead of usb port of pc,&amp;nbsp; the baudrate is same as not plugin,&amp;nbsp; and&amp;nbsp; it seems a little tremble&amp;nbsp;than plugin to usb of a pc, when plug in pc, the baudrate is more stable,&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>