<?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>Using NRF52832 UART to convert incoming UART bit stream to BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23303/using-nrf52832-uart-to-convert-incoming-uart-bit-stream-to-ble</link><description>Hello,
Using NRF52832, I need to convert to BLE 19.2 kbits / sec bit stream, received from another processor UART. I need a sample program, which I can adapt to do this. Where can I find it?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Jul 2017 07:02:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23303/using-nrf52832-uart-to-convert-incoming-uart-bit-stream-to-ble" /><item><title>RE: Using NRF52832 UART to convert incoming UART bit stream to BLE</title><link>https://devzone.nordicsemi.com/thread/91628?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2017 07:02:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:929b4dc3-366d-4a4c-aa30-cd9623128dae</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Sorry Mike bu that doesn&amp;#39;t make sense, you cannot be transmitting speed units per time unit;) How many bytes you really transmit each 5ms? In the end the best will probably be to wire both dev kits together, do quick PoC FW based on the examples I mentioned below and test it in real;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using NRF52832 UART to convert incoming UART bit stream to BLE</title><link>https://devzone.nordicsemi.com/thread/91627?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 18:37:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33ebaef5-0a72-4ea7-a68f-0819c438442f</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;My external to NRF52832 processor is transmitting 19.2 kbps bursts every 5mili-seconds. Can this help? How?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using NRF52832 UART to convert incoming UART bit stream to BLE</title><link>https://devzone.nordicsemi.com/thread/91631?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 11:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe662c26-7743-411c-a5c0-ad992e283076</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Just to illustrate, 19.2kbps means that you will use 20B per GATT MTU (that corresponds to default MTU size 23B) with 6 MTUs per connection interval and at least 50ms connection interval or lower. Yes, this should be OK if you control BLE stack on both sides (e.g. two nRF5x devices) and might be on the boarder line of better Android and iOS devices but you might get serious problems to achieve 6 packets per connection interval and even if device supports it single re-transmission may cause troubles in queuing. Yes, with lower connection interval and/or extended MTU lengths it should be better but still not automatic that you will have that bandwidth (+ be able to maintain it in noisy environment).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using NRF52832 UART to convert incoming UART bit stream to BLE</title><link>https://devzone.nordicsemi.com/thread/91630?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 11:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acd4772c-f1ed-418a-8a09-d60a9fd6fd5d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;I guess you should first ask the question &amp;quot;Can my both BLE peers able to reliably achieve 20kbps?&amp;quot; It isn&amp;#39;t unrealistic but still worth some feasibility. Then you can look into nRF5 SDK and Nordic BLE UART service examples aka NUS (depending on which of asymmetric BLE roles you want to play on nRF5x device you choose &lt;code&gt;examples\ble_peripheral\ble_app_uart&lt;/code&gt; or &lt;code&gt;examples\ble_central\ble_app_uart_c&lt;/code&gt;) as a baseline.&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using NRF52832 UART to convert incoming UART bit stream to BLE</title><link>https://devzone.nordicsemi.com/thread/91629?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 10:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c47f0c5d-c5fa-4f92-a767-b3188b80d850</guid><dc:creator>Rodrigo Lorenzo Leal</dc:creator><description>&lt;p&gt;If you want to know how to use UART in the NRF52832, you can check the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/uart_example.html?cp=4_0_0_4_5_41"&gt;UART example&lt;/a&gt; in the peripheral example folder in the SDK&lt;/p&gt;
&lt;p&gt;If you want to know how to transmit UART readings via BLE you can check the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/ble_sdk_app_nus_eval.html?cp=4_0_0_4_2_2_17"&gt;ble_app_uart example&lt;/a&gt; on the ble_peripheral folder example folder in the SDK.&lt;/p&gt;
&lt;p&gt;Edit: added links to documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>