LIN Controller (LINFlex)
MPC5606S Microcontroller Reference Manual, Rev. 7
878 Freescale Semiconductor
 
On the start bit of the first response data byte (and if no error occurred during the header reception), 
OC1[0:7] is updated with the value of OC
Response
 (OC
Response
 = CNT[0:7] + RTO[0:6] × 9 (response 
timeout value for an 8-byte frame)).
On the first response byte is received, OC1[0:7] and OC2[0:7] are automatically updated to check 
T
Response
 and T
Frame
 according to RTO[0:6] (tolerance) and DFL[0:2].
On the checksum reception or in case of error in the header or response, the TOCE bit is reset.
If there is no response, frame timeout value does not take into account the DFL[0:2] value, and an 8-byte 
response (DFL = 7) is always assumed.
23.8.3.1.2 LIN Slave mode
Field RTO[0:3] in the LINTOCR can be used to tune response timeout and frame timeout values. Header 
timeout value is fixed to HTO[0:6].
OC1[0:7] checks T
Header
 and T
Response
 and OC2[0:7] checks T
Frame
 (refer to Figure 23-33).
When LINFlex moves from Break state to Break Delimiter state (refer to Section 23.7.2.3, LIN status 
register (LINSR)):
• OC1[0:7] is updated with the value of OC
Header
 (OC
Header
 = CNT[0:7] + HTO[0:6]),
• OC2[0:7] is updated with the value of OC
Frame
 (OC
Frame
 = CNT[0:7] + HTO[0:6] + RTO[0:6] × 9 
(frame timeout value for an 8-byte frame)),
• The TOCE bit is set.
On the start bit of the first response data byte (and if no error occurred during the header reception), 
OC1[0:7] is updated with the value of OC
Response
 (OC
Response
 = CNT[0:7] + RTO[0:7] × 9 (response 
timeout value for an 8-byte frame)).
Once the first response byte is received, OC1[0:7] and OC2[0:7] are automatically updated to check 
T
Response
 and T
Frame
 according to RTO[0:6] (tolerance) and DFL[0:2].
On the checksum reception or in case of error in the header or data field, the TOCE bit is reset.
Figure 23-33. Header and response timeout
OC
Frame
OC
Header
OC
Response
Header
Response
Break
Frame
OC1
OC2
Response
space
[0:7]
[0:7]