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

When is CRC status valid?

When is the CRCStatus register valid in the RADIO peripheral? Is it set when the radio leaves RX mode or only after the END event?

Parents
  • Hi

    The CRC status register is valid after the END event occurs, which means that a packet was received.
    If you don't get an address match then no packet is received, and the CRC will not be calculated.

    Best regards
    Torbjørn

  • If you ignore the second comment then hopefully my response is more clear:
    "The CRC status register is valid after the END event occurs" ;)

    If you disable the radio before the END event is triggered the CRC status will not be valid.

    As such it is quite common to avoid disabling the receiver in the period between receiving the address match and end events, because then you are most likely discarding a valid packet ("fake" packets do occur, but it happens very rarely if you use a 4 or 5 byte address).

Reply
  • If you ignore the second comment then hopefully my response is more clear:
    "The CRC status register is valid after the END event occurs" ;)

    If you disable the radio before the END event is triggered the CRC status will not be valid.

    As such it is quite common to avoid disabling the receiver in the period between receiving the address match and end events, because then you are most likely discarding a valid packet ("fake" packets do occur, but it happens very rarely if you use a 4 or 5 byte address).

Children
No Data
Related