<?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>CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36802/carriers-scan-procedure-with-nrf24l01</link><description>Dear Sr., 
 Can&amp;#39;t detect carrier 
 They are two PCB one TX Carrier and other mush Detect the carrier -------------------------------------------------------------------------------------------------------------------------- PCB1 TX CARRIER AT Channel</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Aug 2018 07:15:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36802/carriers-scan-procedure-with-nrf24l01" /><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/146620?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 07:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcf57a18-0df3-4dd0-b79d-480287ca5042</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the example code.&lt;/p&gt;
&lt;p&gt;You need to wait atleast 130 us (Ramp-up time) before reading the RPD bit, and I would also recommend reading this prior to disabling the RX. Could you try this and see if you get the expected result?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/146585?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 18:20:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cdd2032-1021-4729-82b5-e751060abb03</guid><dc:creator>LPO</dc:creator><description>&lt;p&gt;Thanks Hakon for your support,&lt;br /&gt;but need understand as this RPD bit is detected as one easy secuence or flowchart mode.&lt;br /&gt;I work in assembler and don&amp;#39;t understand well C, but I had found one C secuence than is possible can run, if you can explain it terms as I explain at the top of this Nordic Case Info.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;LPO&lt;/p&gt;
&lt;p&gt;-----------------------------------------&lt;br /&gt;The source code I found is:&lt;br /&gt;-----------------------------------------&lt;br /&gt;#define CE 9&lt;br /&gt; &lt;br /&gt;#define CHANNELS 64 // Define as array to hold channel data&lt;br /&gt;int channel[CHANNELS];&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;#define _NRF24_CONFIG 0x00 // Registers 0x00 &lt;br /&gt;#define _NRF24_EN_AA 0x01 // Registers 0x01 &lt;br /&gt;#define _NRF24_RF_CH 0x05 // Registers 0x05 &lt;br /&gt;#define _NRF24_RF_SETUP 0x06 // Registers 0x06 &lt;br /&gt;#define _NRF24_RPD 0x09 // Registers 0x09 &lt;br /&gt; &lt;br /&gt;// Get the value of the NRF25L01 Registers&lt;br /&gt;byte getRegister(byte r) &lt;br /&gt;{&lt;br /&gt; byte c;&lt;br /&gt; PORTB &amp;amp;=~_BV(2);&lt;br /&gt; c = SPI.transfer(r&amp;amp;0x1F);&lt;br /&gt; c = SPI.transfer(0); &lt;br /&gt; PORTB |= _BV(2);&lt;br /&gt; &lt;br /&gt; return(c);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;// set the value of a nRF24L01p register&lt;br /&gt;void setRegister(byte r, byte v)&lt;br /&gt;{&lt;br /&gt; PORTB &amp;amp;=~_BV(2);&lt;br /&gt; SPI.transfer((r&amp;amp;0x1F)|0x20);&lt;br /&gt; SPI.transfer(v);&lt;br /&gt; PORTB |= _BV(2);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;void powerUp(void) // power up the nRF24L01p chip&lt;br /&gt;{&lt;br /&gt; setRegister(_NRF24_CONFIG,getRegister(_NRF24_CONFIG)|0x02);&lt;br /&gt; delayMicroseconds(130);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;// switch nRF24L01p off&lt;br /&gt;void powerDown(void)&lt;br /&gt;{&lt;br /&gt; setRegister(_NRF24_CONFIG,getRegister(_NRF24_CONFIG)&amp;amp;~0x02);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;void enable(void) //Activate RX&lt;br /&gt;{&lt;br /&gt; PORTB |= _BV(1);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;void disable(void) //Deactivate RX&lt;br /&gt;{&lt;br /&gt; PORTB &amp;amp;=~_BV(1);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;// setup RX-Mode of nRF24L01p&lt;br /&gt;void setRX(void)&lt;br /&gt;{&lt;br /&gt; setRegister(_NRF24_CONFIG,getRegister(_NRF24_CONFIG)|0x01);&lt;br /&gt; enable();&lt;br /&gt; &lt;br /&gt; // this is slightly shorter than&lt;br /&gt; // the recommended delay of 130 usec&lt;br /&gt; &lt;br /&gt; delayMicroseconds(100);&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;//SCANNING ALL CHANNELS IN 2.4GHz Band &lt;br /&gt; &lt;br /&gt;void scanChannels(void) &lt;br /&gt;{&lt;br /&gt; disable();&lt;br /&gt; for( int j=0 ; j&amp;lt;200 ; j++)&lt;br /&gt; {&lt;br /&gt; for( int i=0 ; i&amp;lt;CHANNELS ; i++)&lt;br /&gt; {&lt;br /&gt; // select a new channel&lt;br /&gt; setRegister(_NRF24_RF_CH,(128*i)/CHANNELS);&lt;br /&gt; &lt;br /&gt; // switch on RX&lt;br /&gt; setRX();&lt;br /&gt; &lt;br /&gt; // wait enough for RX-things to settle&lt;br /&gt; delayMicroseconds(40);&lt;br /&gt; &lt;br /&gt; // this is actually the point where the RPD-flag&lt;br /&gt; // is set, when CE goes low&lt;br /&gt; disable();&lt;br /&gt; &lt;br /&gt; // read out RPD flag; set to 1 if &lt;br /&gt; // received power &amp;gt; -64dBm&lt;br /&gt; if( getRegister(_NRF24_RPD)&amp;gt;0 ) channel[i]++;&lt;br /&gt; }&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/146422?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 07:43:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e59957db-d43b-45b5-b4a7-6b5e2dd1c419</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user="LPO"][/quote]&lt;/p&gt;
&lt;p&gt;The nrf24L01+ product specification V1.0 on page 25 expain as detect the carrier bit RPD, in one contradictory form:&lt;br /&gt;&amp;quot;The RPD can beread out at any time while nrf24L01+ is in receive mode&amp;quot; and &amp;quot;If no packects are received the RPD is&lt;br /&gt;latched at he end of a receive period as result the host MCU setting CE low&amp;quot;&lt;br /&gt;If I put at end of a receive period CE low, I am no&amp;#39;t in receive mode as is writed in first part this specification.&lt;/p&gt;
&lt;p&gt;Other question is what mean &amp;quot;a receive period&amp;quot;, what time is this ?&lt;br /&gt;And they are others conditions ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The first sentence states that you can read the RPD at any time while in receive mode, and it will reflect what the receiver sees in terms of signal level.&lt;/p&gt;
&lt;p&gt;The second sentence is referring to the latched state of the RPD while you are not in RX mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tested this by setting up a unmodulated carrier at channel 40, then using a nRF24LE1 device (which has the exact same radio core as nRF24L01+), with this source code, based on the nRFgo SDK v2.3 example &amp;quot;enhanced_shockburst&amp;quot; PRX:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-eca3923cbab3478c9da97ce19f7d02c6/main.c"&gt;devzone.nordicsemi.com/.../main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The RPD bit successfully detects the energy and I observe that the LEDs while in RX mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/146376?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 17:55:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aefb9093-e4b3-44bb-be98-6be67703f32a</guid><dc:creator>LPO</dc:creator><description>&lt;p&gt;Thanks Hakon for your support,&lt;br /&gt;&lt;br /&gt;I had probed keeping the nrf24L01+ continuously in RX mode and reading the RPD in loop.&lt;br /&gt;I had probed after CE=1 10uS to 5 mS, latchind CE to 0-1 keeping the nrf24L01+ continuously in RX mode and reading the RPD in loop.&lt;br /&gt;I had probed after CE=1 10uS to 5 mS, latchind CE to 0-1-0 keeping the nrf24L01+ stamby-1 mode and reading the RPD in loop.&lt;/p&gt;
&lt;p&gt;All time the register 09&amp;#39; is 00&amp;#39; (Bit0=0 of RPD)&lt;/p&gt;
&lt;p&gt;RX an TX at 20 cm of distance with carrier receiving correcty in spectrum analycer.&lt;/p&gt;
&lt;p&gt;The nrf24L01+ product specification V1.0 on page 25 expain as detect the carrier bit RPD, in one contradictory form:&lt;br /&gt;&amp;quot;The RPD can beread out at any time while nrf24L01+ is in receive mode&amp;quot; and &amp;quot;If no packects are received the RPD is&lt;br /&gt;latched at he end of a receive period as result the host MCU setting CE low&amp;quot;&lt;br /&gt;If I put at end of a receive period CE low, I am no&amp;#39;t in receive mode as is writed in first part this specification.&lt;/p&gt;
&lt;p&gt;Other question is what mean &amp;quot;a receive period&amp;quot;, what time is this ?&lt;br /&gt;And they are others conditions ?&lt;/p&gt;
&lt;p&gt;The draw is 15 mA when in RX mode.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;LPO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/145929?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 12:15:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1205e0fe-fc8a-4e22-8bf4-f6e79b80dde4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you try to keep the nRF24L01+ continuously in RX mode (no switching RF channel), then read out the RPD bit in a loop to see if it changes?&lt;/p&gt;
&lt;p&gt;The nRF24L01+ shall draw approx. 12 mA when in RX mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/145756?ContentTypeID=1</link><pubDate>Sat, 25 Aug 2018 11:51:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:666904c8-1329-4c9f-84e5-98fdc4cb7ed1</guid><dc:creator>LPO</dc:creator><description>&lt;p&gt;Hi, I tested whit the module MIKROE-1305 whit understand genuine&amp;nbsp;&lt;span&gt;nRF24L01+ I think. And the results are similar.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The energy detect funtion&amp;nbsp;mush be inproved on nRF24L01+ if too only carriers or other chanels of other equipement exist and want be detected. This improviment is important when is need search free chanels on noisy ambients. Meanwile the specification mush corrected at tested cases.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If&amp;nbsp;some people had detected energy with this cip, please talk here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;LPO&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/142063?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 07:43:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b722f47-a886-4ff1-bf73-31dbb7d8c56a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Yes, you are correct. This bit shall detect energy, but then it will not hold the RPD bit high for a longer period (as it would if a address match is found)&lt;/p&gt;
&lt;p&gt;Could you try to keep the RX on, and do not duty cycle (in 5 ms pattern), to see if this has any impact on the RPD bit read out?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/142008?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 17:29:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54bb6f18-6494-4398-9432-a94abb161009</guid><dc:creator>LPO</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;&amp;nbsp;it is just that this bit is held for a given period if you are receiving a valid packet&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;With the&amp;nbsp;specification &amp;quot;If no packets are received the RPD is latched at the end of a receive period as a result of host MCU setting CE low or RX time out controlled by Enhanced ShockBurst&amp;quot; , is no need&amp;nbsp;receiving a valid packet i think.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The&amp;nbsp;spectrum analyzer indicate they are carrier, but the&amp;nbsp;RPD Register continue to 00&amp;#39; (STATUS=0E&amp;#39; corect)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can be rong, but i think the nRF24L01+ can leve send only carrier and detect only carrier, similar to one comunication OOK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;LPO&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/141901?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 12:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b99364b7-01fd-4e26-bf1b-862acbcba796</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The RPD bit shall be &amp;#39;1&amp;#39; if there is energy in the current receiving channel is &amp;gt; -64 dBm, it is just that this bit is held for a given period if you are receiving a valid packet.&lt;/p&gt;
&lt;p&gt;You shall still be able to use this bit to detect energy from for instance bluetooth or wifi.&lt;/p&gt;
&lt;p&gt;Have you checked the current consumption (or the carrier using a spectrum analyzer) of your transmitter to see if it is actually transmitting? It should be 11 to 12 mA.&lt;/p&gt;
&lt;p&gt;Same with your receiver, does it show ~14 mA in RX mode?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/141792?ContentTypeID=1</link><pubDate>Sun, 29 Jul 2018 15:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f8555ac-62ea-4fda-9a45-6844dc35ae45</guid><dc:creator>LPO</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Hakon thanks for your replay...&lt;/p&gt;
&lt;p&gt;On Page 25 of 78 of nRF24L01+ Single Chip 2.4GHz Transceiver Product Specification v1.0&lt;/p&gt;
&lt;p&gt;6.4 Received Power Detector measurements&lt;/p&gt;
&lt;p&gt;Can see &amp;quot;If no packets are received the RPD is latched at the end of a receive period as a result of host MCU setting CE low&amp;quot;, option necesary for me search of ocuped channels without modulation (only carriers or others diferents modulations).&lt;/p&gt;
&lt;p&gt;In me case they&amp;nbsp;are one bucle&amp;nbsp; of&amp;nbsp;&lt;span&gt;5mS&amp;nbsp;&lt;/span&gt;&lt;span lang="en"&gt;between&amp;nbsp;&lt;/span&gt;CE=1&amp;nbsp;and CE=0 on PRX mode&lt;/p&gt;
&lt;p&gt;Mush be &amp;gt; Tstby2a +Tdelay_AGC=130us + 40us but very less of 5mS ?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;LPO&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/141749?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 16:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:727b313c-5963-4869-90c6-eee6f3ec9e75</guid><dc:creator>LPO</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;tested With PLL_LOCK Set (bit4=1) at PTX&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;the&amp;nbsp;register RPD continue Reset (bit0=0) at PRX. Carrier non detected&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;LPO&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;PS: The Transceiver is RF2401PRO of NICERF from China. This claim it adopt Nordic&amp;#39;s RF chip nRF24L01+&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CARRIERs SCAN PROCEDURE With nRF24L01+</title><link>https://devzone.nordicsemi.com/thread/141628?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 08:26:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cc6489d-1629-4037-8da4-fd71658a03c1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to output a unmodulated carrier, you need to also set the PLL_LOCK bit in register RF_SETUP.&lt;/p&gt;
&lt;p&gt;This is to avoid it &amp;quot;drifting away&amp;quot; over time.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and report back?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>