English
Language : 

PXD10RM Datasheet, PDF (880/1332 Pages) Freescale Semiconductor, Inc – PXD10 Microcontroller
LIN Synch Field measurement, the LINFlex state machine is stopped and no data is transferred to the data
register.
Tperiph_set_1_clk = Clock period
TBR = baud rate period
TBR = 16.LFDIV.Tperiph_set_1_clk
SM = Synch Measurement Register (19 bits)
TBR
LIN Break
Break
delim.
Start
Bit
Bit0
LIN Synch Field
Bit1 Bit2 Bit3 Bit4 Bit5 Bit6
Next
Bit7
Stop
Bit
Start
Bit
Measurement = 8.TBR = SM.Tperiph_set_1_clk
LFDIV(n)
LFDIV = TBR / (16.Tperiph_set_1_clk) = Rounding (SM / 128)
Figure 23-32. LIN synch field measurement
LFDIV(n+1)
LFDIV is an unsigned fixed point number. The mantissa is coded on 12 bits in the LINIBRR and the
fraction is coded on 4 bits in the LINFBRR.
If LASE bit = 1 then LFDIV is automatically updated at the end of each LIN Synch Field.
Three internal registers (not user-accessible) manage the auto-update of the LINFlex divider (LFDIV):
• LFDIV_NOM (nominal value written by software at LINIBRR and LINFBRR addresses)
• LFDIV_MEAS (results of the Field Synch measurement)
• LFDIV (used to generate the local baud rate)
On transition to idle, break or break delimiter state due to any error or on reception of a complete frame,
hardware reloads LFDIV with LFDIV_NOM.
23.8.2.4.1 Deviation error on the Synch Field
The deviation error is checked by comparing the current baud rate (relative to the slave oscillator) with the
received LIN Synch Field (relative to the master oscillator). Two checks are performed in parallel.
The first check is based on a measurement between the first falling edge and the last falling edge of the
Synch Field:
• If D1 > 14.84%, LHE is set.
• If D1 < 14.06%, LHE is not set.
• If 14.06% < D1 < 14.84%, LHE can be either set or reset depending on the dephasing between the
signal on LINFlex_RX pin the fperiph_set_1_clk clock.
The second check is based on a measurement of time between each falling edge of the Synch Field:
• If D2 > 18.75%, LHE is set.
• If D2 < 15.62%, LHE is not set.
• If 15.62% < D2 < 18.75%, LHE can be either set or reset depending on the dephasing between the
signal on LINFlex_RX pin the fperiph_set_1_clk clock.
23-48
PXD10 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
Freescale Semiconductor