<?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>nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32458/nrf52832-switching-frequency-leads-to-unpredicted-behaviour</link><description>Hello everyone, 
 I experienced some weird behaviour with nRF52832 on the nRF52 DK when transmitting packets on different frequencies. If I switch e.g. between frequency channel 72 (2.472 GHz) and channel 5 (2.405 GHz) and let another nRF52832 listen</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Mar 2018 09:05:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32458/nrf52832-switching-frequency-leads-to-unpredicted-behaviour" /><item><title>RE: nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/thread/125679?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 09:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5a90e5c-cc48-49f9-bdb9-b7aa18722d08</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Expected behaviour: A filter -even a digital one- will only attenuate the signal, and the factor depends on how &amp;quot;far&amp;quot; the frequencies are off each other. That means a very strong signal will be &amp;quot;visible&amp;quot; (above noise floor) even when a few channels apart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/thread/125660?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 08:25:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08883e95-8aa7-4781-9594-2efa538b4c10</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Thank you for the detailed feedback. I have registered this internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/thread/125303?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 09:07:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91aa074b-c5ec-4aed-ba2c-3f9bd0acfb6e</guid><dc:creator>Lukas Krupp</dc:creator><description>&lt;p&gt;The sender hops through a hopping table with 73 unique entries with hopping distances of&amp;nbsp; about 30 to 40 channels per hop and I switch the channel approximately 570 times per second. The behaviour will be the same on almost every channel when tuning the receiver to the corresponding frequency and letting it wait until the sender transmits on this specific channel. I will receive the right packets but with an extremely reduced RSSI value on random frequency switches like in the case of channel 69.&lt;/p&gt;
&lt;p&gt;EDIT 1: I also tried to reproduce the issue with the ESB protocol examples of the current SDK. It remains the same. I added the following hopping table as a global array in nrf_esb.c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ht_01[] = {69,34,78,43,11,52,20,61,29,73,38,6,47,15,56,24,65,33,77,42,10,51,
19,60,28,72,37,5,46,14,55,23,64, 32,76,41,9,50,18,59,27,71,36,4,45,13,54,22,
63,31,75,40,8,49,17,58,26,70,35,3,44,12,53,21,62,30,74,39,7,48,16,57,25} &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then I added the global variable&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t freq_counter = 0;&lt;/pre&gt;&amp;nbsp;to nrf_esb.c and changed the following in function start_tx_transaction():&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_RADIO-&amp;gt;FREQUENCY = ht_01[freq_counter];
freq_counter++;
freq_counter %= 72;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to hop through the table.&lt;/p&gt;
&lt;p&gt;Then I changed the frequency of the receiver in function nrf_esb_start_rx() to&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_RADIO-&amp;gt;FREQUENCY = 69;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and replaced channel 69 in the hopping table by another channel. After starting the TX and RX example I was able to see the LEDs on the receiving board blink although no packets were transmitted on channel 69. The CRC is also right and if you watch the m_rx_packet_buffer you can see that a valid payload is in there after the reception.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT 2: I think the solution to the problem is the distance between the boards. My receiver and transmitter are directly facing each other with a distance of only 2 cm. If I put them further apart (app. 50cm) from each other the receiver operates as it should.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/thread/125274?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 07:44:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a581d52-c81a-4644-98d8-3a5d2e9f59d7</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Thanks, can you confirm which channel you tried this with? Only 5, Only 72 or both? I have to admit it sounds like this is an issue with your Software, I have not heard of any issues like this with HW so that would be quite surprising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/thread/125175?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 13:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:309cc704-b41b-4d78-9a3b-f3425524e869</guid><dc:creator>Lukas Krupp</dc:creator><description>&lt;p&gt;Yes, I tried transmitting on only one of the two channels. Nothing was received on channel 69. So it must be the switching which causes this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/thread/125166?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 13:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b6a548e-af72-4eb1-b311-5e1591eba4bb</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Did you try to transmitt on only channel 72 or only channel 5? Did you still receives a packet on channel 69?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/thread/125148?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 12:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:042bc4f1-671f-4531-92e7-02cb207fbf80</guid><dc:creator>Lukas Krupp</dc:creator><description>&lt;p&gt;Thank you for your answer.&lt;/p&gt;
&lt;p&gt;The packet reception is basically realized like in the ESB protocol. Even the address is the same.&lt;/p&gt;
&lt;p&gt;I receive an address match and the CRC is right too.&lt;/p&gt;
&lt;p&gt;But: I just noticed, that the corresponding RSSI values of the wrong receptions clearly differ from those on the right frequencies. I can use this knowledge to sort the wrong packets out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832: Switching frequency leads to unpredicted behaviour</title><link>https://devzone.nordicsemi.com/thread/125016?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 13:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9403c655-1b24-44bf-a1ff-05bbe3d39416</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Adjacent channels are not completely blocked by the receiver. Depending on which frequencies the de-modulator operates on you could receive a signal that is sent on another channel than the one your receiver is dialed to, which is what seems to be happening in this case.&lt;/p&gt;
&lt;p&gt;Update: Can you confirm how you receive the packet? Are you measuring the RSSI? Do you get an address match? is the CRC ok?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>