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

Enabling Data Whitening for ESB Data Communication

I have one TX and another RX codes for data communication by ESB protocol. To verify whether data whitening can be enabled, I added below register setting on TX side only and let RX side use its default setting (data whitening disabled):

NRF_RADIO->PCNF1 = ((NRF_RADIO->PCNF1 & ~RADIO_PCNF1_WHITEEN_Msk) | (RADIO_PCNF1_WHITEEN_Enabled << RADIO_PCNF1_WHITEEN_Pos))

NRF_RADIO->DATAWHITEIV = 0x55

I expect the RX side should receive nothing from TX for this experiment but the RX could still receive all the packets (no CRC error) from TX without any packet drop. It looks like the data whitening was not working.

Does the ESB support data whitening? If yes, what is wrong with my setting? Thanks.

Related