LFSR (Linear Feedback State Register)

A LFSR register is a special technic to generate pseudo-random sequences, which has the advantage that, at the receiver, it is very easy and quick to synchronize in the same state as the transmitter, and that, even when decoding errors are present.

A direct application is the measure of bit error rate (ber): after synchronization of the LFSR register at the receiver, one has just to compare every decoded bit with the theoretical bit as predicted by the register.

LFSR register

A complete example can be found in the documentation of the lfsr_rx_process function.