Fujitsu FR81S Benutzerhandbuch
CHAPTER 40: MULTI-FUNCTION SERIAL INTERFACE
7. Operation of LIN Interface (v2.1)
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER : MULTI-FUNCTION SERIAL INTERFACE
FUJITSU SEMICONDUCTOR CONFIDENTIAL
FUJITSU SEMICONDUCTOR CONFIDENTIAL
261
Figure 7-11 Setting timing of LIN ID parity error detection flag (LAMESR:LPTER)
Sync Field
ST 0 1 2 3 4 5 6 7 SP
ID Field
LIN bus
Frame ID(6 bit)
Parity
(2bit)
LAMESR:LPTER
The LIN ID parity error is detected when differing from the parity
value that the parity operation result to Frame ID actually received.
value that the parity operation result to Frame ID actually received.
LIN Checksum Error Detection Flag Interrupt and Flag setting Timing
The LIN checksum error detection is done on both the side where the checksum is self-checked and
transmitted in the assist mode (LAMCR:LAMEN=1) and the side where the checksum is received
transmitted in the assist mode (LAMCR:LAMEN=1) and the side where the checksum is received
Figure 7-12 shows the LIN checksum error detection object.
Figure 7-12 LIN checksum error detection object
SIN
SOUT
MPU
(header/response transmission node)
Transceiver
Transmission data
Reception data
(self-check)
LIN checksum error
Detection object
Transceiver
SIN
SOUT
MPU
(header/response reception node)
Reception data
LIN checksum error
Detection object
The method of arithmetically operating the checksum transmitted automatically can be selected from
standard (The object: data)/extended (The object: ID Field + data).
standard (The object: data)/extended (The object: ID Field + data).
Even if the LIN checksum error occurs when the checksum transmission is completed, the transmission of
data is not stopped.
data is not stopped.
LIN checksum error detection interrupt and flag setting timing on the setting
for calculating standard checksum
When the standard checksum arithmetic operation is set (LAMCR:LCSTYP=0), on the side who sends the
response (data and checksum), the checksum of the transmission data for set LIN data length
(LAMCR:LDL) is calculated and transmitted automatically after final data is transmitted.
response (data and checksum), the checksum of the transmission data for set LIN data length
(LAMCR:LDL) is calculated and transmitted automatically after final data is transmitted.
On another side where the response (data and checksum) is received, the checksum of the received data for
set LIN data length (LAMCR:LDL) is calculated. If the received checksum and the calculated value are
different from each other, the LIN checksum error is detected and the flag is set (LAMESR;LCSER=1).
set LIN data length (LAMCR:LDL) is calculated. If the received checksum and the calculated value are
different from each other, the LIN checksum error is detected and the flag is set (LAMESR;LCSER=1).
At that time, the reception interrupt occurs if the interrupt is set to be enabled (LAMIER:LCSCIE=1).
MB91520 Series
MN705-00010-1v0-E
1574