Bidirectional Communication Function (Normal Mode) - Fujitsu 8FX Hardware Manual

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

MB95630H Series
14.6.5
Bidirectional Communication Function
(Normal Mode)
Normal serial bidirectional communication can be performed in operating mode
0 or 2. Asynchronous mode can be selected in operating mode 0 and
synchronous mode in operating mode 2.
■ Bidirectional Communication Function
To operate the LIN-UART in normal mode (operating mode 0 or 2), the settings shown in
Figure 14.6-10 are required.
Figure 14.6-10 Settings of LIN-UART Operating Mode 0 and Operating Mode 2
bit15 bit14 bit13 bit12 bit11 bit10 bit9
SCR, SMR
PEN
P
Mode 0
Mode 2
SSR,
PE ORE FRE RDRF TDRE BDS RIE
RDR/TDR
Mode 0
Mode 2
ESCR, ECCR LBIE LBD LBL1 LBL0 SOPE SIOP CCO SCES
Mode 0
×
×
Mode 2
×
×
: Bit to be used
× : Unused bit
1 : Set to "1"
0 : Set to "0"
: Used when SSM = 1 (Synchronous star/stop bit mode)
+ : Bit correctly set automatically
● Inter-CPU connection
When using bidirectional communication, connect two CPUs as shown in Figure 14.6-11.
Figure 14.6-11 Example of Connection for Bidirectional Communication in LIN-UART Operating
CPU1
(Serial clock transmit side)
MN702-00009-2v0-E
SBL
CL
AD CRE RXE TXE MD1 MD0 OTO EXT REST UPCL SCKE SOE
×
0
+
×
0
×
×
×
×
Mode 2
SOT
SIN
Output
SCK
FUJITSU SEMICONDUCTOR LIMITED
14.6 Operations of LIN-UART and LIN-UART
bit8
bit7
bit6
bit5
0
0
0
1
0
Set conversion data (during writing)
TIE
Retain reception data (during reading)
LBR MS SCDE SSM
Reserved
0
0
0
0
×
0
×
Input
(Serial clock receive side)
CHAPTER 14 LIN-UART
Setting Procedure Example
bit4
bit3
bit2
bit1
0
0
0
0
RBI
Reserved
×
×
0
0
SOT
SIN
SCK
CPU2
bit0
TBI
235

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents