Data Whitening Support in WirelessUSB-NL - KBA82945 | Cypress Semiconductor
Support & Community
Data Whitening Support in WirelessUSB-NL - KBA82945
Does WirelessUSB-NL support data whitening?
Yes. If data whitening is enabled then both the header and the payload are scrambled with a data whitening word before transmission. This randomizes the data from highly redundant patterns and minimizes DC bias in the packet. The scrambling is performed prior to the forward error correction (FEC) encoding. Forward error correction (FEC) is a technique used for controlling errors in data transmission over unreliable or noisy communication channels.
How to enable:
To enable data whitening, program register bit 14 of register 41, as the direction below:
|SCRAMBLE_ON||Removes long patterns of continuous 0 or 1 in transmit data. Automatically restores original unscrambled data on receive.|
1: Scramble on
0: Scramble off
How to select whitening seed:
To select data whitening seed, program register 35 (bit b0, b1, b2, b3, b4, b5, and b6) as the direction below:
|SCRAMBLE_DATA||Whitening seed for data scramble. Must be set the same at both ends of radio link (Tx and Rx). Must be nonzero.|