Fujitsu FR81S User Manual

Page of 2342
CHAPTER 40: MULTI-FUNCTION SERIAL INTERFACE 
 
 
7. Operation of LIN Interface (v2.1) 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : MULTI-FUNCTION SERIAL INTERFACE 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
259 
 
Figure 7-9 Setting timing of LIN bus error detection flag (LAMESR:LBSER) 
 
 
 
 
Reception data
(self-check of 
transmission data)
Transmission data
ST
D0
D1
D2
D3
D4
D5
D6
D7
SP
ST
D0
D1
D2
D3
D4
D5
D6
D7
SP
ST
D0
D1
D2
D3
D4
D5
D6
D7
SP
ST
D0
D1
D2
D3
D4
D5※ D6
D7
SP
LAMESR:LBSER
It is generated the LIN bus error interruption 
because receive data by the transmission data and the 
self-check is different. 
ST :start bit
D0~D7 :data bit
  SP :stop bit
(2)Example of detecting LIN bus error for Sync Field, ID Field, Data Field, and Check Sum Field period
(1)Example of detecting LIN bus error for LIN Break Field period
Range of LIN bus error detection
Range of LIN bus error detection
LIN Break(Range of LIN bus error detection)
 
 
 
Reception data
(self-check of 
transmission data)
Transmission data
LAMESR:LBSER
It is generated the LIN bus error interruption 
because the length of LIN Break received by the 
length of LIN Break and the self-check set when 
transmitting is different. 
 
 LIN Sync Data Error Detection Interrupt and Flag Setting Timing 
The LIN Sync Data error is detected when automatic baud rate adjustment is disabled (SACSR:AUTE=0), 
in slave node (SCR:MS=1) which is set to assist mode (LAMCR:LAMEN=1). 
The range of detection of the LIN Sync Data error is a start bit and byte data of the Sync Field. The stop bit 
is off the target of the LIN Sync Data error detection. When the stop bit is detected as "L" level, the framing 
error is detected (SSR:FRE=1). 
 LIN Sync Data error detection interrupt and flag setting timing when 
automatic baud rate self adjustment is prohibited 
On slave node (SCR:MS=1) which is set to automatic baud rate adjustment disabled (SACSR:AUTE=0), 
the LIN Sync Data error is detected and the flag is set (LAMESR:LSFER=1) if the value other than 0xc55 
is detected as a result of checking the data value of Sync Field. If this interrupt is set to be enabled 
(LAMIER:LSFERIE=1) at that time, the reception interrupt will occur. 
 LIN ID Parity Error Detection Flag Interrupt and Flag Setting Timing 
The LIN ID parity error detection in the assist mode (LAMCR:LAMEN=1) is done by the master and slave. 
Here, the master transmits the ID Field and does a self-check, and the save receives ID Field. 
Figure 7-10 shows the LIN ID parity error detection object. 
 
 
 
MN705-00010-1v0-E
1572
MB91520 Series