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

nRF24L01 CRC calculation

Hi,

In working with nRF24L01, I am facing a problem with nRF24L01 CRC calculation.  In the spec, it is stated that CRC calculation includes address, control field and data. For address and data, the length is always in byte. While for control field, it is 9bit : 6bit length + 2bit PID + 1 bit no_ack.  I understand CRC calculation in HW is based on data stream. While for SW, all existing examples are based on byte calculation. Would it be possible to provide an example of CRC calculation based on bit?

Thanks, Dai

Parents Reply Children
Related