<?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>Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68861/energy-detection-mode-for-1mbit-2mbit</link><description>Dear people of DevZone, 
 I set up a TDMA-based sensor network using the NRF52840 without the BLE-Softdevice or any API functions (message transmission and reception all by hand with NRF registers). 
 Everything works fine and now I wanted to extend the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Mar 2021 11:17:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68861/energy-detection-mode-for-1mbit-2mbit" /><item><title>RE: Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/thread/298661?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 11:17:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae124a84-7aa6-4bcb-a376-3a037a3c28ea</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;No updates as of yet I&amp;#39;m afraid, but I&amp;#39;ve updated our internal ticket with your request as well. This case will be updated when any progress is made.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/thread/298635?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 10:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86058f56-5d48-409d-80e9-b76d7e3a1f2f</guid><dc:creator>Hauser</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;any news from the support team concerning this topic?&lt;/p&gt;
&lt;p&gt;BR Hauser&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/thread/282819?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 09:08:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe44f31b-82a1-4f1b-a48c-70d6e5fdbee2</guid><dc:creator>JulianKaroliny</dc:creator><description>&lt;p&gt;Hey Simon,&lt;/p&gt;
&lt;p&gt;thank you for forwarding it, maybe there will be a satisfying answer to my question :-)&lt;/p&gt;
&lt;p&gt;I totally understand that you cannot test and verify all features extensively, especially not the ones that at not officially supported.&lt;/p&gt;
&lt;p&gt;Maybe the ED-mode &amp;quot;just&amp;quot; extends the RSSI-sampling for a longer period and averaging (e.g. 128us instead of the 0.25us). However, I am aware that due to the different modulation schemes of the 802.15.4 mode the internal procedure may vary completely compared to the BLE mode.&lt;/p&gt;
&lt;p&gt;Thank you very much (and be prepared for follow up questions like abusing the direction-finding mode without antenna switching of the 52833 to enable raw I/Q sampling of interfering messages ;-) )&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Julian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/thread/282812?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 08:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da7c316c-d12f-4366-817f-3a2493a29aba</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Julian&lt;/p&gt;
&lt;p&gt;Okay, I will forward this question internally, but I can&amp;#39;t guarantee that we have a good answer for you I&amp;#39;m afraid.&lt;/p&gt;
&lt;p&gt;There are quite a few problems with using a feature that is not designed for BLE:&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It has not been tested or qualified with this PHY layer.&lt;/li&gt;
&lt;li&gt;It is prone to change between variants/revision due to the above point.&lt;/li&gt;
&lt;li&gt;We do not have any data of how it might change as temperature and voltage changes.&lt;/li&gt;
&lt;li&gt;We have no data on how it might change due to other modulations or signal levels, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I will come back to you when I hear from the experts on the matter, but I&amp;#39;m afraid the support will be very limited here due to our lack of documentation and testing on this matter. The energy detection might very well work in the BLE physical layer, but there are no guarantees that it will, so you would be using this feature on your own risk.&amp;nbsp;I&amp;#39;m sorry&amp;nbsp;I can&amp;#39;t be of more help to you...&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/thread/282634?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 11:21:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8adab947-acea-4e08-b9b6-2958ac959886</guid><dc:creator>JulianKaroliny</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;I understand that it is not defined in the manual that is the reason why I am asking here what really happens during the ED Mode and why it is bounded to the 802.15.4 mode.&lt;br /&gt;From my experience, no error code appears at the &amp;quot;NRF_RADIO-&amp;gt;EDSAMPLE&amp;quot; register. In fact, the value that appears here is quite accurate (after conversion (nRF52840 PSv1.1 Page 329) since I also compared it with the RSSI values for message receptions for the same network. &lt;br /&gt;These very promising results are the reason why I am asking. With the energy detection mode, I would be able to also measure interference from other devices in the ISM radio band (e.g. 802.11 ) and for example, synchronize on this interference and avoid the occupied time-slots (so not only the occupied channels!) or even localize interfering nodes in the network.&lt;/p&gt;
&lt;p&gt;The problem is the BLE Softdevice stack is not sufficient for our task, in fact, I am only using the BLE physical (PHY) layer and handle the rest by my self (I also do not need support on setting up my own protocol stack this already works perfectly). I work in a research organization on Industrial Wireless Sensor Networks and here I need networks with sufficient time synchronization and more possibilities and insights as a predefined stack would allow me. That is also the reason why we go for the Nordic NRF products because you enable a very good control over the radio features at register level (though more access and documentation is always better ;-) )&lt;/p&gt;
&lt;p&gt;I know that most questions in the forum are concerning the Softdevice and stuff but I hope you can also give support on the lower hardware level. This is also the reason why I search for the aid of the manufacturer since here a simple google search and FAQ cannot help me :-D&lt;/p&gt;
&lt;p&gt;Thanks for your help and sorry for the really &amp;quot;nerdy&amp;quot; low-level hardware questions&lt;/p&gt;
&lt;p&gt;br&lt;br /&gt;Julian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/thread/282624?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 10:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:428e4b84-1048-4139-ac2f-dbc1b17a2d12</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;When you call the RADIO_TASKS_ED_START register, the energy detect measurement used in IEEE 802.15.4 mode will start. This register is only defined to be used in 802.15.4 modes, so it is not defined what will happen if you call it at any other point. Most likely, nothing will happen, or an error may occur. We strongly suggest using the SoftDevice when developing new BLE applications/projects though, as this is what we here at Nordic has most experience with, and are able to provide support for. Is there a specific reason that you don&amp;#39;t want to use the SoftDevice?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/thread/282460?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 13:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e70ed2e-2da1-44ff-b706-a4f3e8f1b4bd</guid><dc:creator>JulianKaroliny</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;First, thank you for your reply.&lt;/p&gt;
&lt;p&gt;I understand that Energy Detection is not supported in the SoftDecive and there is no example in the SDK, but what exactly happens when I start the ED mode (NRF_RADIO-&amp;gt;TASKS_EDSTART = 1 ) and wait for the interrupt. Does it trigger a longer RSSIsample period or something completely different what is particularly for the 802.15.4 mode?&lt;br /&gt;Although I am in the 1Mbit mode the result seems promising as I already wrote, so it would be interesting if the ED mode simply averages the RSSI over the descrived 128us period (nRF52840 PSv1.1 Page 319)? (though, for the 2Mbit mode the result is less promising)&lt;/p&gt;
&lt;p&gt;The link you posted I already found on my google search and at first look, it completely relies on the SoftDevice which I am not using.&lt;/p&gt;
&lt;p&gt;Mhh the problem for the raw RSSI sampling is that the sampling period (nRF52840 PS_v1.1 Page 359) is 0.25us ( which I cannot change in my opinion), which may be a little bit too short to continuously catch every RSSIEND interrupt and average on my own :-/&lt;/p&gt;
&lt;p&gt;Thank you for your help and BR&lt;br /&gt;Julian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Energy Detection Mode for 1Mbit/2Mbit</title><link>https://devzone.nordicsemi.com/thread/282445?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 12:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deb1ca54-1dca-4e7d-8c97-c533291e66d1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Julian&lt;/p&gt;
&lt;p&gt;The BLE 1Mbit and 2Mbit modes do not support Energy detection in the same way it is available in the IEEE 802.15.4 operation modes of the SoC, and we have no such examples in the SDK. One thing you might find useful is the QoS channel survey which is an unofficial example by one of my colleagues explained in&lt;a href="https://jimmywongiot.com/2019/02/23/channel-survey-qos-and-channel-map-update-at-the-ble-central-role/"&gt; his blog found here&lt;/a&gt;. Alternatively, you can do a more basic approach where you measure the received RSSI level against a set threshold (I.E. -100dBm) where the device will only proceed if the RSSI level is higher than that.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>