Bidirectional Communication Function (Normal Mode) - Fujitsu F2MCTM-16LX Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

20.7.5

Bidirectional Communication Function (Normal Mode)

In operation mode 0 or 2, normal serial bidirectional communication is available. Select
operation mode 0 for asynchronous communication and operation mode 2 for
synchronous communication.
Bidirectional Communication Function
The settings shown in Figure 20.7-10 are required to operate LIN-UART in normal mode (operation mode
0 or 2).
Figure 20.7-10 Settings for LIN-UART Operation Mode 0 and 2
SCRn, SMRn
Mode 0
Mode 2
SSRn, TDRn/RDRn
Mode 0
Mode 2
ESCRn, ECCRn
Mode 0
Mode 2
: Used bit
: Unused bit
: Set 1
: Set 0
: Bit used if SSM = 1 (Synchronous start-/stop-bit mode)
: Bit automatically set to correct value
Inter-CPU connection
As shown in Figure 20.7-11 , interconnect two CPUs in LIN-UART mode 2
Figure 20.7-11 Connection Example of LIN-UART Mode 2 Bidirectional Communication
CPU-1 (Master)
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
PEN P SBL CL AD CRE RXE TXE MD1 MD0 OTO EXT
PE ORE FRE
BDS RIE TIE
RDRF
TDRE
LBD
LBL1
LBIE
LBL1 LBL0 SOPE SIOP
SOT
SIN
Output
SCK
REST UPCLSCKE
Set conversion data (during writing)
Retain reception data (during reading)
CCO
LBR
MS
SSM
SCES
SCDE
Input
CPU-2 (Slave)
CHAPTER 20 LIN-UART
SOE
RBI TBI
n = 0, 1
SOT
SIN
SCK
433

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents