<?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>What are the requirements for going from an active BLE connection to sending a carrier wave?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26568/what-are-the-requirements-for-going-from-an-active-ble-connection-to-sending-a-carrier-wave</link><description>Hi 
 I have seemingly successfully created a firmware that sends a continuous carrier wave using radio_test.c from nRF5_SDK_12.1.0_0d23e2a/examples/peripheral/radio_test/ 
 And it seems to work great as long as I don&amp;#39;t start the BLE stack (the current</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Nov 2017 13:45:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26568/what-are-the-requirements-for-going-from-an-active-ble-connection-to-sending-a-carrier-wave" /><item><title>RE: What are the requirements for going from an active BLE connection to sending a carrier wave?</title><link>https://devzone.nordicsemi.com/thread/104518?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 13:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a812852-7ea1-4573-a412-d7e410b6ed63</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Visti,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not allowed to access the RADIO when the softdevice is still enabled.&lt;/p&gt;
&lt;p&gt;If you plan to use the radio for short periord of time (a few hundred milliseconds) and keep the BLE connection for example, You can think of using the Timeslot. Please look for Multiprotocol Support chapter in the Softdevice specification. Here is the &lt;a href="https://devzone.nordicsemi.com/tutorials/16/"&gt;tutorial for timeslot.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the requirements for going from an active BLE connection to sending a carrier wave?</title><link>https://devzone.nordicsemi.com/thread/104516?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 12:30:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b5b2d32-d1dc-4afc-ac13-82a510537663</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Also isolating the behavior into some smaller project where you could share full source code here would give opportunity to debug more efficiently, right now it&amp;#39;s just shooting in the dark (over the internet;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the requirements for going from an active BLE connection to sending a carrier wave?</title><link>https://devzone.nordicsemi.com/thread/104515?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 12:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4d4ef8f-73ba-47f2-a645-d307340d0a6d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I believe this function just disables the event handler not SD itself. I was trying to get some example from latest SDK and the only thing I see is &lt;code&gt;ble_stack_stop&lt;/code&gt; function in &lt;code&gt;examples\multiprotocol\ble_app_gzll\ble_app_gzll_hr.c&lt;/code&gt;. However you have still two more options: look on other Q&amp;amp;S on this forum regarding SD disabling (by quick search it looks there are dozens or rather hundreds of those, just to filter the relevant pieces and finding some recent one which refers to some recent API) or wait if Nordic support team will come and answer this ticket;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the requirements for going from an active BLE connection to sending a carrier wave?</title><link>https://devzone.nordicsemi.com/thread/104514?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 10:43:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc155293-7450-436c-aa42-35a2459953f6</guid><dc:creator>Visti Andresen</dc:creator><description>&lt;p&gt;Calling softdevice_handler_sd_disable from an app time seems to trigger a reboot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the requirements for going from an active BLE connection to sending a carrier wave?</title><link>https://devzone.nordicsemi.com/thread/104513?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 09:28:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f895201-26d7-460d-87a8-e515a796c3f5</guid><dc:creator>Visti Andresen</dc:creator><description>&lt;p&gt;I have actually considered using the NVRAM bits as well, we already use one for entering DFU mode and yes I would have to either reduce the complexity / entropy of the settings or store them in flash.&lt;/p&gt;
&lt;p&gt;I do however get the feeling that I should be quite close to having the restrictions lifted on the radio.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the requirements for going from an active BLE connection to sending a carrier wave?</title><link>https://devzone.nordicsemi.com/thread/104517?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 09:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96d4ae6c-d36b-45fe-a2bc-61cab2a96459</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;If you decide to continue with your architecture then I believe problem is that you are not disabling the SD properly and so you get hard-fault when touching restricted HW block directly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the requirements for going from an active BLE connection to sending a carrier wave?</title><link>https://devzone.nordicsemi.com/thread/104512?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 09:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7831e925-b240-4144-b86c-bcc62fa530b5</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;As entering radio test will terminate the connection anyway I would simply soft reset the chip and in boot-up procedure read some flag (there are 2 bytes of RAM registers on nRF52 which survive soft reset or alternatively store config in flash) which would say if your should start standard BLE stack and your profile or enter this one-purpose radio test mode. Once you are done with the test sequence according to parameters pushed previously you can again reset your MCU and during boot switch to BLE part.&lt;/p&gt;
&lt;p&gt;This looks maybe like a hack on a first sight but I&amp;#39;ve actually seen this in several production FWs where DTM or radio test were bundled like this to &amp;quot;full&amp;quot; BLE FW functionality and switch was done during boot based on various conditions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>