Fujitsu FR81S User Manual
CHAPTER 40: MULTI-FUNCTION SERIAL INTERFACE
7. Operation of LIN Interface (v2.1)
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER : MULTI-FUNCTION SERIAL INTERFACE
FUJITSU SEMICONDUCTOR CONFIDENTIAL
267
7.2.7. Status Interrupts and Flag Setting Timing in Assist
Mode
The status interrupt in the assist mode occurs when LIN Break Field is detected (SSR:LBD), when the sink
field is detected (SACSR:SFD), when an automatic header is completed (LAMSR:LAHC), and when the
checksum arithmetic operations is completed (LAMSR:LCSC)
Setting Timing of LIN Break Field Detection Flag
When serial input (SIN) of "0" is inputted into the width of eleven bits or more, the LBD bit is set to "1". At
this time, when the LIN Break Field interrupt is set enabled (ESCR:LBIE=1), the status interrupt occurs.
Notes:
⋅
When the LIN Break Field is received, if the reception is enabled (SCR:RXE=1), a framing error is
detected before the LIN Break Field is detected. However, it operates normally without stopping the
header reception.
⋅
In assist mode (LAMCR:LAMEN=1), when new LIN Break is transmitted by the master continuing to
detect LIN Break Field between until completing the ID Field reception, the framing error is detected at
"L" level of the tenth bit of new LIN Break Field regardless of reception prohibition setting
(SCR:RXE=0). However, it operates normally without stopping the header reception.
Sink Field Detection Interrupt and Flag Setting Timing
The description is similar to those in "7.1.7 Sink Field Detection Interrupt and Flag Setting Timing" in the
manual mode.
Automatic Header Completion Interrupt and Flag Setting Timing under
Transmission
On master side set in the LIN assist mode (LAMCR:LAMEN=1),when the header transmission from LIN
Break to ID Field is completed the flag is set (LAMSR:LAHC=1). If the interrupt is set enabled
(LAMIER:LAHCIE =1), the status interrupt occurs.
Even when LIN bus error/LIN ID parity error/framing error occurs in the LIN assist mode for the ID Field,
the automatic header completion flag is set (LAMSR:LAHC=1). However, reception/transmission of the
response stops.
Figure 7-14 Setting timing of automatic header transmission completion flag (LAMSR:LAHC)
LIN bus
LIN Break
LIN Break
delimiter
Sync Field
LAMCR : LAMEN
LIN assist mode processing enable
ST 0 1 2 3 4 5 6 7 SP ST 0 1 2 3 4 5 6 7 SP
ID Field
LAMSR : LAHC
It is generated by the transmission
beginning ID Field the automatic header
transmission completion interruption.
beginning ID Field the automatic header
transmission completion interruption.
Transmission operation enable(SCR:TXE=1)、
Setting of LIN Break Field
generation(SCR:LBR=1), LIN Break transmission
Setting of LIN Break Field
generation(SCR:LBR=1), LIN Break transmission
MB91520 Series
MN705-00010-1v0-E
1580