<?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>nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17324/nrf51822-uart-maximum-speed-without-flow-control</link><description>I am using the nRF51822 in an application where I want to run the UART as fast as possible to communicate with a host processor. I have been able to get reliable communication with the host processor up to 115,200 baud. 
 However when I try to go up</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Nov 2016 00:46:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17324/nrf51822-uart-maximum-speed-without-flow-control" /><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66561?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2016 00:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47e85016-b383-4b44-aeae-47d9965fc460</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Yes I do, 1 MBaud streaming to PC over USB bridge.  Don&amp;#39;t expect it to work with the onboard Segger though.  You can only get that performance either using FTDI chip or with the &lt;a href="http://embeddedsoftdev.blogspot.ca/p/idap-link.html"&gt;IDAP-Link.&lt;/a&gt;
Demo code is can be found from &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;this blog&lt;/a&gt;. There is a link on the blog to the source code and look for UartPrbsTest example.  Project for nRF51 &amp;amp; nRF52 on transmit side with Python script on the receiving side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66560?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2016 19:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d384ff3f-f43a-4bd8-a0f9-b07ecf4826be</guid><dc:creator>Mark Bianchi</dc:creator><description>&lt;p&gt;I just changed the clock source to &lt;code&gt;NRF_CLOCK_LFCLK_RC&lt;/code&gt; and I still have framing errors.&lt;/p&gt;
&lt;p&gt;Previous to trying this test (clock set to LFCLK_Synth), I added some code that would try different values for the BAUDRATE register, effectively going from the something less than the ideal setting to something more, in steps. This still didn&amp;#39;t help with baud rates above 115,200. When I tried this baud rate setting &amp;quot;sweep&amp;quot; with 115,200, I would see errors when the baud rate was set + or - a few percent from ideal.&lt;/p&gt;
&lt;p&gt;So at this point, I am beginning to think that baud rates above 115,200 don&amp;#39;t work correctly, unless someone has proof to the contrary.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66559?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 10:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5545c06-792d-40ad-9647-36123ed83758</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, are you seeing the framing issues if you use the internal(RC) oscillator?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66558?ContentTypeID=1</link><pubDate>Sun, 06 Nov 2016 03:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0936109a-4465-425c-843a-6760f4a32eda</guid><dc:creator>Mark Bianchi</dc:creator><description>&lt;p&gt;Because I only have an external 32MHz crystal in the circuit and using the internal LF oscillator is less accurate than deriving the LFCLK from the 32MHz crystal. I am running FreeRTOS and have noticed tick inaccuracy using the internal LF oscillator vs the 32MHz crystal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66557?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 11:49:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b08f6e9-a98a-495e-9385-03751084da33</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@mjbianchi: Is there a specific reason why you have set the clock source to &lt;code&gt;NRF_CLOCK_LFCLK_Synth&lt;/code&gt; and not &lt;code&gt;NRF_CLOCK_LFCLK_Xtal&lt;/code&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66556?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 19:53:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf209bc3-fbfe-451c-a32a-16e91703fd2b</guid><dc:creator>Mark Bianchi</dc:creator><description>&lt;p&gt;Correct. We are not using the SoftDevice (or BLE at all) - we are just trying to get high speed UART traffic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66555?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 12:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bd27acb-5916-43d9-9fb5-1c9d11b2cf4d</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;This is UART only right? You&amp;#39;re not using the SoftDevice and are sending/receiving data over BLE while using the uart without flow control?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66563?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 02:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c46df22-036f-405e-9f8f-733f11179722</guid><dc:creator>Mark Bianchi</dc:creator><description>&lt;p&gt;A FIFO is not the problem. On the first byte received at the higher baud rate, I see a framing error, and then on each successive byte. There seems to be something wrong (like maybe the baud rate in the UART hw is faster than the baud I am running at, even though I am using the enum/defines in the SDK for setting the BAUDRATE register.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 UART maximum speed without flow control</title><link>https://devzone.nordicsemi.com/thread/66562?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 00:22:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df706ba2-3d36-4c56-8558-bd8134388e40</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You&amp;#39;ll need a big fifo to run at higher speed.  1MBaud can be acheived on UART but not over BLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>