26
3886 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
SERIAL I/O
Serial I/O1
Serial I/O1 can be used as either clock synchronous or asynchro-
nous (UART) serial I/O. A dedicated timer is also provided for
baud rate generation.
(1) Clock Synchronous Serial I/O Mode
Clock synchronous serial I/O1 mode can be selected by setting
the serial I/O1 mode selection bit of the serial I/O1 control register
(bit 6 of address 001A
16
) to “1”.
For clock synchronous serial I/O, the transmitter and the receiver
must use the same clock. If an internal clock is used, transfer is
started by a write signal to the TB/RB.
Fig. 21 Block diagram of clock synchronous serial I/O1
Fig. 22 Operation of clock synchronous serial I/O1 function
1
/
4
1
/
4
F
/
F
P
4
6
/
S
C
L
K
1
/
O
B
F
1
0
S
e
r
i
a
l
I
/
O
1
s
t
a
t
u
s
r
e
g
i
s
t
e
r
S
e
r
e
i
a
l
I
/
O
1
c
o
n
t
r
o
l
r
e
g
i
s
t
e
r
P
4
7
/
S
R
D
Y
1
/
S
1
P
4
4
/
R
X
D
P
4
5
/
T
X
D
f(
(f
X
I
(
N
)
R
e
c
e
i
v
e
b
u
f
f
e
r
r
e
g
i
s
t
e
r
A
d
d
r
e
s
s
0
0
1
8
1
6
R
e
c
e
i
v
e
s
h
i
f
t
r
e
g
i
s
t
e
r
R
c
e
i
v
e
b
u
f
f
e
r
f
u
l
l
f
l
a
g
(
R
B
F
)
R
e
c
e
i
v
e
i
n
t
e
r
r
u
p
t
r
e
q
u
e
s
t
(
R
I
)
C
l
o
c
k
c
o
n
t
r
o
l
c
i
r
c
u
i
t
S
h
i
f
t
c
l
o
c
k
S
c
F
e
l
r
r
c
e
B
i
a
k
u
u
A
l
s
e
d
I
/
e
n
r
d
O
l
c
a
r
1
c
y
t
e
s
t
i
d
e
s
y
o
i
g
s
n
n
v
e
0
c
i
s
n
0
h
b
i
e
1
r
t
o
n
r
a
C
1
n
o
u
s
o
e
i
o
q
r
t
a
o
t
i
o
1
/
(
n
+
1
)
a
r
d
6
B
R
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