Manchester Encoding

Many legacy protocols use manchester encoding to increase robustness. This is not needed on modern devices like the CC2640R2 and we do not recommend using manchester encoding. Manchester encoding consumes half the channel bandwidth and reduces spectral efficiency. Instead, the CC2640R2 offers a powerful sync word correlator. It also provides whitening in order to improve the spectral efficiency.

The CC2640R2 supports manchester encoding of the payload and the CRC only. Since the sync word is not encoded, it must be done manually which limits the effective length to 16 bits.

Manchester encoding of the preamble is only possible via an additional override:

// Set new preamble pattern 1100110011001100 (0xCCCC)
(uint32_t)0xCCCC0043,

The pattern length is limited to 16 bits and will be repeated afterwards, depending on the configured preamble length in the setup command.

../_images/cc1350-man1.png

Figure 43. CC2640R2F configuration manchester

The strict sync word check in CC2640R2F is not in use when using manchester coding. To reduce the number of false syncs the sync threshold could be increased.

where YY and ZZ is the threshold for the two correlators. For simplicity the two thresholds can be set equal. Higher value is stricter.