BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
706 / 1149
Rev.1.02
Figure 19-113 Flowchart sent by LIN
LIN transmit start
Transmit wakeup signal
frame (80H->TxD0)
TSF00=0?
Transmit wakeup
signal frame
Note
stop UART0(1->ST00 bit)
modify UART0 Baud rate
(zz->SDR[15:9])
restart UART0
(1->SS00 bit)
transmit BF 00 -> TxD0
TSF00=0?
Yes
No
Yes
No
stop UART0(1->ST00 bit)
modify UART0 Baud rate
(zz->SDR[15:9])
restart UART0
(1->SS00 bit)
wait for transmit result
wait BF transmission
completes.
modify baud rate of BF
recover baud rate
transmit sync field
55H->TxD0
transmit sync field
BFF00=0?
Data->TxD0
Yes
No
BFF00=0?
Yes
all data transmit
completed?
TSF00=0?
LIN transmit completes
Yes
Yes
No
No
No
wait buffer empty
transmit ID~checksum
data
wait buffer empty
transmit ID~checksum
data
wait for transmit completion (completes
the transmission to LIN Bus)
hardware operation(reference)
generate wakeup
signal frame
8 bit
transmit data
generate BF
13 bit length
transmit data
TxD0
TxD0
55H
transmit sync field
TxD0
Note is limited to cases where booting from
the LIN-bus
sleep state is limited.
Note This is the process that begins with the initial setup of the end UART and enable Slave sending.