Datasheet
Section 23 Hardware LIN
Page 812 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
23.3.4 Terminating Hardware LIN
Figure 23.10 shows the flowchart for terminating hardware LIN communications. The hardware
LIN interface should be terminated at the following timing.
• Case 1: When the bus conflict detection function is used
After checksum field transmission
• Case 2: When the bus conflict detection function is not used
After header field transmission/reception
Hardware LIN
Clear the status flags (bus conflict detection, Sync Break
detection, and Sync Field measurement end) by setting the
B2CLR, B1CLR, and B0CLR bits in the LINST register to 1.
Timer RA
Read the count status flag (TCSTF) from the TRACR register.
SCI3_1
Terminate SCI3_1 communications.
When the bus conflict detection
function is not used, SCI3_1
transmission does not need to
be terminated.
TCSTF = 0?
Yes
Hardware LIN
Stop operation by setting the LINE bit in LINCR register to 0.
No
Stop the timer counter.
Before stopping the hardware LIN,
clear the status flags of the
hardware LIN.
Timer RA
Stop the timer counter by setting the TSTART bit in the TRACR
register to 0.
Figure 23.10 Flowchart for Terminating Hardware LIN Communications