Switching Between Asynchronous Serial Interface Mode And 3-Wire Serial I/O Mode - NEC uPD784038 Series User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 17 ASYNCHRONOUS SERIAL INTERFACE/3-WIRE SERIAL I/O

17.1 SWITCHING BETWEEN ASYNCHRONOUS SERIAL INTERFACE MODE AND 3-WIRE SERIAL I/O MODE

The asynchronous serial interface mode and 3-wire serial I/O mode cannot be used simultaneously. Switching between
these modes is performed in accordance with the settings of the asynchronous serial interface mode register (ASIM/ASIM2)
and the clocked serial interface mode register (CSIM1/CSIM2) as shown in Figure 17-1.
Figure 17-1 Switching Between Asynchronous Serial Interface Mode and 3-Wire Serial I/O Mode
7
6
ASIM
TXE
RXE
ASIM2
TXE2
RXE2
7
6
CSIM1
CTXE1
CRXE1
CSIM2
CTXE2 CRXE2
5
4
3
2
PS1
PS0
CL
SL
PS21
PS20
CL2
SL2
5
4
3
2
0
0
0
DIR1
0
0
0
DIR2 CSCK2
User's Manual U11316EJ4V1UD
1
0
Address
After Reset
ISRM
SCK
0FF88H
ISRM2 SCK2
0FF89H
Asynchronous serial interface mode operation
specification (see Figure 17-3)
TXE
RXE
TXE2
RXE2
0
0
0
0
0
0
0
0
0
1
1
0
1
1
Other than the above
Address
1
0
After Reset
CSCK1
0
0FF84H
0
0FF85H
3-wire serial I/O mode operation specification
(see Figure 17-11)
R/W
00H
R/W
00H
R/W
CTXE1
CRXE1
Operating Mode
CTXE2
CRXE2
Operation-stopped
0
0
mode
0
1
3-wire serial
1
0
I/O mode
1
1
0
0
Asynchronous
serial interface
0
0
mode
0
0
Setting prohibited
R/W
00H
R/W
00H
R/W
413

Advertisement

Table of Contents
loading

Table of Contents