<?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>My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21658/my-nrf51822-can-not-reach-1mbaud-on-an-uart-serial-uart-communication</link><description>Hello, 
 I am using developping on an nRF51822 with SDK12. In our application, our custom board need to communicate with a computer through a USB communication. I am not using UART over BLE because I do not use BLE in the application, I am then using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 May 2017 09:18:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21658/my-nrf51822-can-not-reach-1mbaud-on-an-uart-serial-uart-communication" /><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85051?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 09:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38394c9f-19ef-480a-b5cf-271c53bace26</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I mean the limitation of the hardware on PC.
I attached here the test program I used. It&amp;#39;s made on SDK v7.x but should run on other SDK as well (with minor change).
Put it to example\peripheral to test.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/uart-_2D00_-TestThrougput.zip"&gt;uart - TestThrougput.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85048?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 13:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:831dc08a-3167-4112-90ae-2298e50d7bf3</guid><dc:creator>Antrou</dc:creator><description>&lt;p&gt;@Hung Bui: What do you mean by limitation of the hardware ? Something we did wrong on our custom board or limitation of computer ?
On which system did you try your test ? Did you use nrf51 DK or another board ? How did you reach 89kB/s ? Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85046?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 14:20:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfa8ecfc-20f6-4431-acea-e5048292e240</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Antrou: I would assume you have the issue because of the limitation of the hardware, it takes time between each transaction to clock out the next byte. A logic analyzer can reveal if you have any delay before you can clock the next byte. In my test here I can see the through put of 89KB/s when using with 1Mbps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85044?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 14:38:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97859eaf-01cc-4a48-b2c9-6459175bdbfd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Antrou: You can send me via private message here. Or you can create a support portal (MyPage) case on our website.&lt;/p&gt;
&lt;p&gt;To start HF crystal you can use this code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/* Start 16 MHz crystal oscillator */
NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;
NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART    = 1;

/* Wait for the external oscillator to start up */
while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0)
{
    // Do nothing.
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Have you tried to use 2 nRF5 boards to talk to each other ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85050?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 13:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c441f24f-45bb-4e4b-8127-0796e9d03bfd</guid><dc:creator>Antrou</dc:creator><description>&lt;p&gt;Our 32MHz crystal is external&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85049?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 13:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e958b64a-b2fa-48a3-80b4-1f102f419fbb</guid><dc:creator>Antrou</dc:creator><description>&lt;p&gt;How can I send you my test firmware ? What is the more suitable for you ? I tried it on 3 differents PCB and the result remains the same. We have a 32MHz crystal on our boards, how can I configure the UART driver in order to use Crystal instead of RC.
Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85043?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 11:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b399fef-7079-4a43-8b16-99356ab84669</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Can you send me the test firmware you used ? An test to rule out the issue with the computer is to use another nRF51822 to talk to your board. If you have 2 nRF51 board, please try to test. Do you have the 16MHz crystal on your board ? You may want to turn on the 16MHz external crystal instead of using the RC. The RC has pretty high tolerance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85047?ContentTypeID=1</link><pubDate>Thu, 11 May 2017 13:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfbb7f2c-f315-4ba6-a0c6-59f207eb3beb</guid><dc:creator>Antrou</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am currently using app_uart_put() and app_uart_get() functions with macro APP_UART_INIT as initialization. I only tried our serial speed test on our custom PCB(not DK or dongle) with a nRF51822 processor. I also tried to compute it on another computer but the result remains the same (300 kBaud instead of 1MBaud).&lt;/p&gt;
&lt;p&gt;My code and script (which sends/ receives data and compute transfer speed) work really well until 250kBaud, when I try to increase the speed it gets worse and worse ...
Any clue will be appreciated :)
Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My nRF51822 can not reach 1MBaud on an UART serial UART communication</title><link>https://devzone.nordicsemi.com/thread/85045?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 10:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:369f8086-121e-4a9e-af51-25f5e512c658</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@antrou: Which UART driver you used on the board to communicate with the PC ? Did you test with our nRF51 DK or Dongle ? Our nRFConnect software running on PC use 1Mbps baudrate to communicate with the NRF51 dongle without a problem.&lt;/p&gt;
&lt;p&gt;Have you tried on other computer ? I experienced that on some computer 1Mbps baudrate actually not supported.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>