Fujitsu MB91460 SERIES FR60 User Manual page 675

32-bit microcontroller
Table of Contents

Advertisement

7.7 LIN Communication Function
USART communication with LIN devices is available for both LIN master or LIN slave systems.
■ LIN-Master-Slave Communication Function
The settings shown in the figure below are required to operate USART in LIN communication mode (operation
mode 3).
bit
15
SCR04,SMR04 PEN
Mode 3
x
SSR04,
PE ORE FRE RDRF TDRE BDS RIE
TDR04/RDR04
Mode 3
x
ESCR04,ECCR
LBIE LBD LBL1 LBL0 SOPE SIOP CCO SECS
04
Mode 3
Bit is used
x Bit is not used
0 / 1 Set bit to 0 / 1
+ Bit is automatically set to the correct value
■ LIN device connection
As shown in the Figure below, a communication system of one LIN-Master device and a LIN-Slave device.
USART can operate both as LIN-Master or LIN-Slave.
SOT
SIN
LIN-Master
7.8 Sample Flowcharts for USART in LIN Communication (Operation Mode 3)
This section contains sample flowcharts for USART in LIN communication.
Figure 7-13 Settings for USART
14
13
12
11
P
SBL
CL
AD
x
+
+
x
x
Figure 7-14 Connection example of a small LIN-Bus system
Single-Wire-
Transceiver
10
9
8
7
CRE RXE TXE MD1 MD0 OTO EXT REST UPCL SCKE SOE
0
1
TIE
+
-
x
x
x
LIN bus
Single-Wire-
Transceiver
Chapter 32 USART (LIN / FIFO)
6
5
4
3
1
x
0
0
Set transmission data (during writing)
Retain reception data (during reading)
LBR MS SCDE SSM
x
x
x
SOT
SIN
LIN-Slave
7.USART Operation
2
1
0
0
1
BIE
RBI
TBI
x
x
659

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents