This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RF communication data error detection

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 : 0or1)

In addition to the CONFIG register, I would like to know if there is anything else to consider using CRC.

What do you think is the reason you do not have the communication you expect?

In addition, I would like to know how to detect or prevent the transmission of erroneous data in addition to the CRC.

Thank you.

Parents
  • Hi

    Without CRC checking the content of the payload is irrelevant.
    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.

    This means that you can'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 ;)

    Best regards

Reply
  • Hi

    Without CRC checking the content of the payload is irrelevant.
    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.

    This means that you can'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 ;)

    Best regards

Children
No Data
Related