<?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>Simple radio connection (example)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90709/simple-radio-connection-example</link><description>Dear, 
 I have 2 kits nRF52-DK and nRF52840-DK. I want to make simple app for sending data from one kit to another. Is it possible to use only the radio without using BLE stack? 
 E.g in TX side I want to call function like sendMyPayload(uint8_t *data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 09 Oct 2022 13:37:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90709/simple-radio-connection-example" /><item><title>RE: Simple radio connection (example)</title><link>https://devzone.nordicsemi.com/thread/389907?ContentTypeID=1</link><pubDate>Sun, 09 Oct 2022 13:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bdb3619-2e36-4603-b83f-99f17590bc61</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Thank you for your extreme patience with this - I have been out of office for some time, but now I am back.&lt;br /&gt;&lt;br /&gt;I am glad to read that you achieved the desired functionality with the ESB TX and RX samples, and that you now would like to check out the BLE version as well. As mentioned in my initial comment I would recommend that you start out with the BLE NUS example, to quickly have the TX and RX functionality that you describe up and running.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple radio connection (example)</title><link>https://devzone.nordicsemi.com/thread/387438?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 09:25:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:052d9e16-123e-40d1-9bb5-58f4060bfc85</guid><dc:creator>witc</dc:creator><description>&lt;p&gt;I tried the connection by ESB TX and RX example - it works very well. Now I would like to try anything with BLE stack. I found this:&amp;nbsp;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_bl.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_bl.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What should I choose to start with? Would be nice to have board with which I can communicate over mobile phone (using BLE) and also with my another nrf52840 board.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you point me please? Thank you Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple radio connection (example)</title><link>https://devzone.nordicsemi.com/thread/380457?ContentTypeID=1</link><pubDate>Sat, 06 Aug 2022 04:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:437d9a73-5d33-4630-8003-f0aa4830e8d2</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="witc"]Thank you for fast and detailed answer!&amp;nbsp;[/quote]
&lt;p&gt;No problem at all, I am happy to help!&lt;/p&gt;
[quote user="witc"]1) I need simple app where data for sending will have only a few bytes (BLE is maybe unnecessary).[/quote]
&lt;p&gt;Will your application only ever communicate against a specific device that you yourself has made?&lt;br /&gt;BLE might seem like an &amp;#39;overkill&amp;#39; to send only a couple of bytes every now and then, but you likely will end up doing less work yourself if you use the BLE stack implementation that we have already created for you.&lt;/p&gt;
[quote user="witc"]2) I thought when I use&amp;nbsp;only radio, the solution&amp;nbsp;would be much more simple and development will be much faster.[/quote]
&lt;p&gt;I would think the fastest approach is to use the tools we have already implemented and tested/verified for you, instead of having to do any of this work yourself.&lt;/p&gt;
[quote user="witc"]3) We need fast response - it means e.g. when button is pushed on TX side, on RX side should LED light as fast as possible.[/quote]
&lt;p&gt;The lowest possible Connection Interval in BLE is 7.5 ms, which then would be the worstcase latency for the time that a button-press notificaiton is &amp;#39;waiting&amp;#39; to be sent (not including processing time on both ends of the link).&lt;/p&gt;
[quote user="witc"]Would you still recommend me to use whole BLE stack?[/quote]
&lt;p&gt;It depends - as Tim mentions you can shave off a couple of ms by not using BLE, so if this is paramount to your application then it might be the best way forward.&lt;br /&gt;If this is not the case, and a 7.5 ms latency is acceptable for your use-case, then I would definitively recommend using our provided BLE implementation to do this for you instead.&lt;br /&gt;&lt;br /&gt;The BLE implementation will also take care of things like retransmission in case a packet is not acknowledged, etc. for you, since this is part of the BLE specification.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple radio connection (example)</title><link>https://devzone.nordicsemi.com/thread/380449?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 18:36:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:695495b6-4ed6-4f08-b1c3-6d30fd98cffa</guid><dc:creator>Tim Schuerewegen</dc:creator><description>&lt;p&gt;If you use ESB (see link in my previous reply) then your RX side can turn on the LED less than 1ms after you have pushed a button on the TX side. You can also achieve high data throughput (~164KB/s).&lt;/p&gt;
&lt;p&gt;In 1 second, I can send this amount of data, with ACK from RX side (but no payload).&lt;/p&gt;
&lt;p&gt;2552 x 1 byte payload =&amp;gt; 2 KB/s&lt;br /&gt;2360 x 8 byte payload =&amp;gt; 18 KB/s&lt;br /&gt;1893 x 32 byte payload =&amp;gt; 59 KB/s&lt;br /&gt;1210 x 100 byte payload =&amp;gt; 118 KB/s&lt;br /&gt;668 x 252 byte payload =&amp;gt; 164 KB/s&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple radio connection (example)</title><link>https://devzone.nordicsemi.com/thread/380253?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 05:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:792001b2-b8d9-4ff0-a658-5a6aa8f59e0e</guid><dc:creator>witc</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for fast and detailed answer!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;reason for not wanting to use the provided Bluetooth stack?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;1) I need simple app where data for sending will have only a few bytes (BLE is maybe unnecessary).&lt;/p&gt;
&lt;p&gt;2) I thought when I use&amp;nbsp;only radio, the solution&amp;nbsp;would be much more simple and development will be much faster.&lt;/p&gt;
&lt;p&gt;3) We need fast response - it means e.g. when button is pushed on TX side, on RX side should LED light as fast as possible.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Actually the app is like: TX simple data when button is pushed, and call some function when data are RXed on RX side.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What do you think? Would you still recommend me to use whole BLE stack?&lt;/p&gt;
&lt;p&gt;Thank you! Jan.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div id="gtx-anchor" style="height:13.3565px;left:256.722px;position:absolute;top:134.778px;width:21.0087px;"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble gtx-bubble" style="left:-62px;top:158px;"&gt;
&lt;div id="bubble-2" class="jfk-bubble-content-id"&gt;
&lt;div id="gtx-host" style="max-width:400px;"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="jfk-bubble-closebtn-id jfk-bubble-closebtn"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble-arrow-id jfk-bubble-arrow jfk-bubble-arrowup" style="left:259.226px;"&gt;
&lt;div class="jfk-bubble-arrowimplbefore"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble-arrowimplafter"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple radio connection (example)</title><link>https://devzone.nordicsemi.com/thread/380245?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 02:13:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c914537c-100e-496a-96fe-c062d3d69320</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Jan,&lt;/p&gt;
[quote user=""]I am new in Nordic world :-)[/quote]
&lt;p&gt;Welcome! :)&amp;nbsp;&lt;br /&gt;Please do not hesitate to ask if anything should be unclear - we are happy to help!&lt;br /&gt;If you are just getting started with Nordic development, and the nRF Connect SDK in particular, I would highly recommend checking out &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;this Fundementals course over at the DevZone Academy&lt;/a&gt; - it&amp;#39;s a great place to start!&lt;br /&gt;&lt;br /&gt;If I could ask, what is the reason for not wanting to use the provided Bluetooth stack?&lt;br /&gt;The SoftDevice/SoftDevice Controller is one of the big benefits for choosing Nordic products, since it lets you focus on your application development through taking care of all the radio usage for you.&lt;br /&gt;Making a working proprietary radio protocol is quite the workload, and so I would highly recommend making use of the tools we already provide for this.&lt;br /&gt;If you still would like to use the radio manually, you can take a look at &lt;a href="https://github.com/andenore/NordicSnippets/tree/master/examples"&gt;these bare-metal examples - the radio_tx and radio_rx &lt;/a&gt;- which shows how you can use the radio directly, thought it is not an approach that I would recommend for anyone just getting started with development of wireless devices.&lt;br /&gt;&lt;br /&gt;Other than that, the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;Peripheral UART example&lt;/a&gt;&amp;nbsp;(emulated UART over BLE)&amp;nbsp;does pretty much exactly what you ask describe - the only difference is that it collects its input from the UART peripheral, but you can remove this part and instead use the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/880c82dba48655ee3a75edaefa0208782967ff17/samples/bluetooth/peripheral_uart/src/main.c#L631"&gt;bt_nus_send&lt;/a&gt;&amp;nbsp;for the purpose you describe directly.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simple radio connection (example)</title><link>https://devzone.nordicsemi.com/thread/380218?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 20:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05d01f32-7d7e-4061-82e7-1812f74266b4</guid><dc:creator>Tim Schuerewegen</dc:creator><description>&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/esb_examples_ptx_prx.html"&gt;Enhanced ShockBurst Transmitter/Receiver Example&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>