<?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>RF communication data error detection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27433/rf-communication-data-error-detection</link><description>Hi. 
 I have RF communication between nRF24L01 + and nRF24LU1 +. 
 Incorrect data is transmitted occasionally during communication.
So, I want to use CRC, but when CRC is enabled, communication is not possible.
(Register setting = EN_CRC : 1, CRCO</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Nov 2017 01:41:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27433/rf-communication-data-error-detection" /><item><title>RE: RF communication data error detection</title><link>https://devzone.nordicsemi.com/thread/108350?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 01:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef171407-1eba-4440-b5c6-defd2496e32d</guid><dc:creator>powerup</dc:creator><description>&lt;p&gt;Thank you very much!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RF communication data error detection</title><link>https://devzone.nordicsemi.com/thread/108351?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 08:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:069834b8-51b7-4761-8621-8294c36eb880</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Without CRC checking the content of the payload is irrelevant.&lt;br /&gt;
As long as you have the correct address, RF bitrate and RF channel the packet will be received, even if the protocol is incorrect or there are bit errors in the packet.&lt;/p&gt;
&lt;p&gt;This means that you can&amp;#39;t really trust the data you receive, since it could be sent by some other device, or it could be a false packet caused by random noise in the receiver. As a fun experiment, try to set the address length to 2 or 3 bytes and disable the CRC, then you will receive a lot of false packets ;)&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RF communication data error detection</title><link>https://devzone.nordicsemi.com/thread/108349?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 07:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0947fadc-a5f0-45dc-9db1-ff4b9c7891a1</guid><dc:creator>powerup</dc:creator><description>&lt;p&gt;The RX_PW_Px register setting was incorrect.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;If you ever disable CRC, can you tell me why it was possible to communicate?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RF communication data error detection</title><link>https://devzone.nordicsemi.com/thread/108348?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 15:18:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e7267b-21f4-4dbe-9f35-ced965a1aae2</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;How do you configure the RX_PW_Px register in the PRX, and does it correspond to the length of the packet sent from the TX?&lt;/p&gt;
&lt;p&gt;If there is a mismatch between the length of the TX packet, and the configuration in the RX, then the CRC check will fail.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RF communication data error detection</title><link>https://devzone.nordicsemi.com/thread/108347?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 07:49:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d13a1408-201c-4728-944a-cbf8e6d57dd6</guid><dc:creator>powerup</dc:creator><description>&lt;p&gt;&lt;strong&gt;Tx(nRF24L01+)&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  NRF_WriteRegister(0x07, 0x00);
  NRF_WriteRegister(0x01, 0x00); 
    
  NRF_FlushTX();
  NRF_FlushRX();
   
  nRF24_CSN_H();
  
  NRF_WriteRegister(0x05, 0x02); 
  NRF_WriteRegister(0x06, 0x06);
  NRF_WriteRegister(0x00, 0x0E);  // CRC 2byte
  NRF_WriteRegister(0x03, 0x03); 
  NRF_WriteRegister(0x07, 0x70);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Rx(nRF24LU1+)&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CONFIG : 0x0F
EN_AA : 0x00
EN_RXADDR : 0x03
SETUP_RETR : 0x00
RF_CH : 0x02
RF_SETUP : 0x06
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;All remaining values ​​are default.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RF communication data error detection</title><link>https://devzone.nordicsemi.com/thread/108346?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 16:11:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83246b83-e1c2-4c25-8340-ce8fc27bb46b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There is no reason adding CRC should make the communication fail, unless the PTX and PRX had incompatible settings to begin with.&lt;br /&gt;
If they are configured differently in terms of mode, payload length, address length and so forth, then the CRC check will pick it up and discard the packet.&lt;/p&gt;
&lt;p&gt;Could you attach the state of the configuration registers for the PTX and PRX?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>