beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 450

background image

434

CHAPTER 20 LIN-UART

Communication procedure

Communication starts at arbitrary timing from the transmission side when the transmission data is

provided. When the transmission data is received at the reception side, ANS (per one byte in example) is

returned periodically. Figure 20.7-12 shows an example of the bi-directional communication flowchart.

Figure 20.7-12 Example of Master-slave Communication Flowchart

(ANS)

NO

NO

YES

YES

Start

Start

(Transmission side)

(Reception side)

Operating mode setting

(either 0 or 2)

Set 1 byte data to TDR

and communicate

With reception

data

Read reception data

and process

Operating mode setting

(match the transmission side)

Read reception data

and process

With reception

data

1byte data transmission

Data transmission

Data transmission