The only kind of wrap-around error the RX can consistently detect is one that occurs after having received a discontinuity and then too many changes in the primary sequence numbers occur before the expected sequence arrives.
The value that should be assigned to CTL_RX_RETRANS_WRAP_TIMER
is a
value greater than the total number of primary sequence numbers that can be stored in
the TX retransmission buffer. A value should be chosen that satisfies the following
equation:
Where multiplier is the sequence multiplier, that is, one of 1, 2, 4, 8, 16, or 32.
If the channel extension is set to 256 channels, then the value for
CTL_RX_RETRANS_WRAP_TIMER
should be a non-zero value less than
252.
If the channel extension is set to 512 channels, then the value for
CTL_RX_RETRANS_WRAP_TIMER
should be a non-zero value less than
124.
If the channel extension is set to 1024 channels, then the value for
CTL_RX_RETRANS_WRAP_TIMER
should be a non-zero value less than
60.
If the channel extension is set to 2048 channels, then the value for
CTL_RX_RETRANS_WRAP_TIMER
should be a non-zero value less than
28.
After the wrap-around condition is detected, STAT_RX_RETRANS_WRAP_ERR
is
asserted and treated as a fatal error.
If unused, CTL_RX_RETRANS_WRAP_TIMER
should be programmed with a value
of 0.