<?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 choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49694/how-to-choice-the-esb-rf-channel-then-i-can-get-best-communicate-quality</link><description>Hi, 
 
 As well know, there have 100 channels in ESB function in nRF52832, but 2.4GHz also share with Wifi and Bluetooth. 
 So there have many noise if I choice wrong channel. 
 How can I detect the RF noise in each channel and choice the best one? 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Jul 2019 07:41:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49694/how-to-choice-the-esb-rf-channel-then-i-can-get-best-communicate-quality" /><item><title>RE: How to choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/thread/201424?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 07:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22135e6e-b184-4810-9925-c226e1935dce</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Chianglin&lt;/p&gt;
&lt;p&gt;Unless you put your kit in an RF chamber this looks normal to me.&lt;/p&gt;
&lt;p&gt;The 2.4GHz band is used by countless of wireless devices, and in a normal urban environment there will always be different types of noise at various levels.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Interference sources close to you will typically have a stronger signal, while sources further away will be more attenuated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on the readings you sent the channel seems to have little interference most of the time,&amp;nbsp;but you obviously don&amp;#39;t know what is happening for those 3 seconds when you are not monitoring the RSSI, or what will happen in the future.&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><item><title>RE: How to choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/thread/201050?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 16:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8efc1d94-2022-495a-aeb4-2b1c9c61835d</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I had attach code to receive environment RSSI.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/TestRSSI.7z"&gt;devzone.nordicsemi.com/.../TestRSSI.7z&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Following data is my execute result,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/TestResult.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The&amp;nbsp;variation of RSSI output is too big,&amp;nbsp; does it make sense?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chianglin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/thread/201041?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 15:32:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a335205-859e-410f-ba1c-c9fa43ff4ebd</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your kindly answer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will test it tomorrow.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chianglin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/thread/200900?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 08:33:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d5f06c3-98cc-41c0-8fe4-6c65c3fb4a4a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Chianglin&lt;/p&gt;
&lt;p&gt;Sorry for the late reply, I have been on vacation for the last two weeks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To make an RSSI measurement when you are already in RX mode all you have to do&amp;nbsp;is the following:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Start the RSSI sampling:&lt;/p&gt;
&lt;p&gt;NRF_RADIO-&amp;gt;TASKS_RSSISTART = 1;&lt;/p&gt;
&lt;p&gt;2. Wait for the RSSIEND event to occur, either by enabling an interrupt on this event or by looping over the event register:&lt;/p&gt;
&lt;p&gt;while(NRF_RADIO-&amp;gt;EVENTS_RSSIEND == 0);&lt;br /&gt;// END event occured, proceed after this&lt;/p&gt;
&lt;p&gt;3. Read the RSSI value from the RSSISAMPLE register:&lt;/p&gt;
&lt;p&gt;int8_t rssi_reading = NRF_RADIO-&amp;gt;RSSISAMPLE;&lt;/p&gt;
&lt;p&gt;You might have to do multiple readings for each channel, and sample over all the channels, to get a better understanding of the noise on the channel. This we don&amp;#39;t have any examples&amp;nbsp;of unfortunately.&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><item><title>RE: How to choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/thread/199246?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 11:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a288d96-2b9b-4b45-9e2d-42ba11037fb5</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Would you please give me some sample code?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chianglin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/thread/198742?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 13:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88886856-9dde-44d5-9300-9ae1d61ecd18</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have any comment of this issue?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chianglin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/thread/198264?ContentTypeID=1</link><pubDate>Sat, 13 Jul 2019 14:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be21a080-94f8-44f8-97d1-42a2914a417e</guid><dc:creator>chianglin</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your description.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Would you please give me the sample code to detect the environment noise?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Chianglin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to choice the ESB RF channel, then I can get best communicate quality?</title><link>https://devzone.nordicsemi.com/thread/198186?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 13:18:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1768a355-b189-43bb-b6d5-eac17a8437f6</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ives&lt;/p&gt;
&lt;p&gt;While the radio can be configured to use 100 different channels, you should stick to channels 0-83 in order to ensure you meet ETSI and FCC requirements (1-82 if you use 2Mbps modulation).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is possible to read the current RSSI state on any RF channel when you are in receive mode, which can give you an estimate off the amount of noise on that channel at a specific point in time, but this is not handled automatically by the ESB library. You would have to add some additional code to enable RSSI manually when the radio is in receive mode, as described in the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/radio.html?cp=3_1_0_22_9#rssi"&gt;product specification&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An alternative method to avoid bad channels is to look&amp;nbsp;at the number of lost packet (when you don&amp;#39;t receive an ACK). As long as you get an ACK on a certain channel you can assume that the link quality is good enough, but if you see that you lose a lot of packets then you could try to change to a different RF frequency to see if the link quality improves.&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>