NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 440 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
Deviation error on the sync field
When operating in automatic resynchronization mode, the controller will check the deviation error on
the sync field. The deviation error is checked by comparing the current baud rate with the received
sync field. Two checks are performed in parallel.
Check1: Based on measurement between the first falling edge and the last falling edge of the sync
field.
If the difference great than 15%, the header error flag LINS_HERR_F(UA_LIN_SR[1]) will be set.
If the difference between 15% and 14%, the header error flag (LINS_HERR_F(UA_LIN_SR[1])) may
either set or not (depending on the data dephasing).
Check2: Based on measurement of time between each falling edge of the sync field.
If the difference great than 19%, the header error flag (LINS_HERR_F(UA_LIN_SR[1])) will be set.
If the difference between 19% and 15%, the header error flag (LINS_HERR_F(UA_LIN_SR[1])) may
either set or not (depending on the drift of the incoming data).
Note:
The deviation check is based on the current baud-rate clock. Therefore, in order to guarantee
correct deviation checking, the baud-rate must reload the nominal value before each new break
reception by setting LINS_DUM_EN(UA_LIN_CTL[3]) register (It is recommend setting the
LINS_DUM_EN(UA_LIN_CTL[3]) bit before every checksum reception)