<?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>NRF52840 radio Receiver recognizing problem with  nrf24l0+ transmitter</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42301/nrf52840-radio-receiver-recognizing-problem-with-nrf24l0-transmitter</link><description>Hi 
 I am new to the NRF52840. I am trying to receive data from nrf24L01+ to the nrf52840 Development kit. I find some examples from the SDK radio receiver using PCAl0056. I think I need to match the transmitter address and receiver address and rf channel</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Jan 2019 11:33:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42301/nrf52840-radio-receiver-recognizing-problem-with-nrf24l0-transmitter" /><item><title>RE: NRF52840 radio Receiver recognizing problem with  nrf24l0+ transmitter</title><link>https://devzone.nordicsemi.com/thread/167348?ContentTypeID=1</link><pubDate>Wed, 23 Jan 2019 11:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39fe8d16-d31b-4da5-b4bc-cc5f13a2e832</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;NRF_DATA_RATE_250KBPS is not supported on the nRF52840. See &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/radio.html?cp=2_0_0_5_19_13_11#register.MODE"&gt;product spec&lt;/a&gt;. I am sorry for the inconvenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 radio Receiver recognizing problem with  nrf24l0+ transmitter</title><link>https://devzone.nordicsemi.com/thread/165549?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 15:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c325a7c-1032-44a1-b501-7564d68932b1</guid><dc:creator>DIVYA</dc:creator><description>&lt;p&gt;I tried it like this,but I always receive 0 payload and crc is incorrect. Is something wrong with this code? How to correct the crc to receive the packets..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;void RadioEnable()&lt;br /&gt;{&lt;br /&gt; // All radio registers are reset when the peripheral is powered off/on.&lt;br /&gt;NRF_RADIO-&amp;gt;POWER = 1;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;void radio_receiver()&lt;br /&gt;{&lt;br /&gt;uint8_t rxAddress[5] = { 0xA7, 0x5B, 0xCD, 0x14, 0x15 };&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;#define RADIO_MODE_MODE_Nrf_250Kbit (2UL) &lt;br /&gt;&lt;br /&gt;uint32_t myBaseAddress;&lt;br /&gt;myBaseAddress=(((uint32_t)rxAddress[1])&amp;lt;&amp;lt;24)|(((uint32_t)rxAddress[2])&amp;lt;&amp;lt;16)|(((uint32_t)rxAddress[3])&amp;lt;&amp;lt;8)|((uint32_t)rxAddress[4]); //target base address&lt;/p&gt;
&lt;p&gt;NRF_RADIO-&amp;gt;BASE0=myBaseAddress;&lt;br /&gt;NRF_RADIO-&amp;gt;PREFIX0=rxAddress[0];&lt;br /&gt;NRF_RADIO-&amp;gt;FREQUENCY = 100UL;&lt;br /&gt;NRF_RADIO-&amp;gt;MODE = (RADIO_MODE_MODE_Nrf_250Kbit &amp;lt;&amp;lt; RADIO_MODE_MODE_Pos);&lt;br /&gt;NRF_RADIO-&amp;gt;PCNF1 =0x42020 ;//Means: base address is 4 bytes long (possible range is 2 to 4) and max size of payload is 32,and 32bytes of static length payload&lt;br /&gt;NRF_RADIO-&amp;gt;PCNF0=0;//S0,LENGTH, and S1 are all zero bits long.&lt;br /&gt;NRF_RADIO-&amp;gt;MODECNF0=1; //enable fast ramp-up of radio from DISABLED state.&lt;br /&gt;NRF_RADIO-&amp;gt;CRCCNF=1; // CRC is is 1 bytes and is computed including the address field&lt;br /&gt;NRF_RADIO-&amp;gt;TXPOWER = (RADIO_TXPOWER_TXPOWER_0dBm &amp;lt;&amp;lt; RADIO_TXPOWER_TXPOWER_Pos);&lt;br /&gt;NRF_RADIO-&amp;gt;TXADDRESS = 0x00UL;&lt;br /&gt;NRF_RADIO-&amp;gt;RXADDRESSES = 0x01UL;&lt;br /&gt;NRF_RADIO-&amp;gt;PACKETPTR=(uint32_t)rxBuffer;//put the received payload in rxBuffer&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;NRF_LOG_INFO(&amp;quot;Radio receiver example started.&amp;quot;);&lt;br /&gt;NRF_RADIO-&amp;gt;TASKS_DISABLE=1; //sleep the radio&lt;br /&gt;while (NRF_RADIO-&amp;gt;STATE) {}; //wait until radio is DISABLED (i.e. STATE=0);&lt;br /&gt;NRF_RADIO-&amp;gt;TASKS_RXEN=1; //turn on the radio receiver and enter into state RXIDLE&lt;br /&gt;while (!(NRF_RADIO-&amp;gt;EVENTS_READY)) &lt;br /&gt;{&lt;br /&gt; NRF_LOG_INFO(&amp;quot;Wait for first packet&amp;quot;); //Busy-wait. After event READY, radio shall be in state RXIDLE.&lt;br /&gt;}&lt;br /&gt;if(NRF_RADIO-&amp;gt;EVENTS_READY == 1U)&lt;br /&gt; {&lt;br /&gt; NRF_RADIO-&amp;gt;TASKS_START=1U; //Move from RXIDLE mode into RX mode.&lt;br /&gt; NRF_LOG_INFO(&amp;quot;Nrf radio is ready to receive&amp;quot;);&lt;br /&gt; if ((NRF_RADIO-&amp;gt;CRCSTATUS == 1U))&lt;br /&gt; {&lt;br /&gt; NRF_LOG_INFO(&amp;quot;crc correct&amp;quot;); &lt;br /&gt; }&lt;br /&gt; else&lt;br /&gt; {&lt;br /&gt; NRF_LOG_INFO(&amp;quot;crc incorrect&amp;quot;); &lt;br /&gt; }&lt;br /&gt; for(int i=0;i&amp;lt;32;i++)&lt;br /&gt; {&lt;br /&gt; &lt;br /&gt;NRF_LOG_INFO(&amp;quot;Payload Received! Payload= %02x\n&amp;quot;,rxBuffer[i]); &lt;br /&gt; &lt;br /&gt;}&lt;br /&gt; }&lt;br /&gt;NRF_LOG_FLUSH();&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>