<?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>How to measure the BLE UART data rate?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45623/how-to-measure-the-ble-uart-data-rate</link><description>Hi, 
 We are planning to develop an IOT device using the nRF52840 which will communicate with a Hub device which will contain another nRF52840 chip, so we want to check the data rate that can be achieved when using BLE UART profile between the 2 nRF52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2019 08:04:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45623/how-to-measure-the-ble-uart-data-rate" /><item><title>RE: How to measure the BLE UART data rate?</title><link>https://devzone.nordicsemi.com/thread/179898?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 08:04:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9cb62a6-84b3-4b8f-b83e-fe442ad43fb9</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Jibin&lt;/p&gt;
&lt;p&gt;The easiest way to measure data rate is to simply count the number of bytes sent (by incrementing a counter every time you send some data), and check the counter at fixed intervals using an app_timer. If you make the app_timer fire every second then the counter will contain the number of bytes sent over the last second, and you can clear it after reading it out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the most accurate readings you should use the external LF crystal rather than the internal LF RC oscillator, as the accuracy of the app_timer module is set by the LF clock source.&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></channel></rss>