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 
315 
 
 
 Slave operation 
 
Figure 7-73 Example of a Flowchart in LIN Communication Slave Mode 
  (Automatic baud rate can be adjusted (SACSR:AUTE=1), without Using FIFO) 
 
 
start 
Initial setting: 
Sets the operating mode to 3 and sets it 
to slave operation.   
TXE=1,TIE=0,RXE=0,RIE=1 
AUTE=1,LBIE=1,SFDE=1 
RXE=0 
 
LBD=1 
(LIN Break field detect) 
 
LBD=0 
RXE=1 
SFD=0 
RDRF=1 
Reception interrupt 
ID Field 受信*1 
Data Field 
  reception ? 
Data 1 reception *1 
RDRF=1 
Transmission interrupt 
RDRF=1 
Reception interrupt 
Data N reception *1 
Transmission Data 1 setting:TDR=Data1 
TIE=1 
Transmission Data 2setting:TDR=Data2 
TDRE=1 
Transmission interrupt 
RDRF=1 
Reception interrupt 
Data 1 reception *1 
TDRE=1 
Transmission reception 
Transmission Data  N  setting:
TDR=DataN 
 
RDRF=1 
Reception interrupt 
Data N reception *1 
Error ? 
Error handling * 2 
No(transmission) 
Yes(reception) 
Yes 
Sleep mode ? 
No 
No 
Yes 
No 
Wake-Up 
reception ? 
Wake-Up 
transmission ? 
Wake-Up code 
transmission 
Yes 
No 
*1:if an error occurs, handle the error. 
*2:when the FRE and ORE bits are “1”, write “1”  to the 
SSR:REC bit and clear the error flag. 
(Note) 
    Detect and properly handle errors in each process 
Yes 
SFD=1 
SyncFiled reception) 
 
 
 
 
 
MB91520 Series
MN705-00010-1v0-E
1628