English
Language : 

M38207E8FP Datasheet, PDF (29/66 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3820 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
SERIAL I/O2
The serial I/O2 function can be used only for clock synchronous
serial I/O.
For clock synchronous serial I/O2 the transmitter and the receiver
must use the same clock. If the internal clock is used, transfer is
started by a write signal to the serial I/O2 register.
Serial I/O2 Control Register (SIO2CON) 001D16
The serial I/O2 control register contains 7 bits which control vari-
ous serial I/O functions.
b7
b0
Serial I/O2 control register
(SIO2CON : address 001D16)
Internal synchronization clock select bits
b2 b1 b0
0 0 0: f(XIN)/8
0 0 1: f(XIN)/16
0 1 0: f(XIN)/32
0 1 1: f(XIN)/64
1 0 0:
1 0 1:
Do not set
1 1 0: f(XIN)/128
1 1 1: f(XIN)/256
Serial I/O2 port selection bit
0: I/O port
1: SOUT2,SCLK2 signal output
SRDY2 output enable bit
0: I/O port
1: SRDY2 signal output
Transfer direction selection bit
0: LSB first
1: MSB first
Synchronization clock selection bit
0: External clock
1: Internal clock
Not used (returns “0” when read)
Fig. 20 Structure of serial I/O2 control register
1/8
Internal synchronization
clock select bits
1/16
Data bus
1/32
XIN
1/64
1/128
1/256
P53/SRDY2
P53 latch
Synchronization clock
"0"
selection bit
SRDY2
"1"
Synchronization circuit
SRDY2 output enable bit
"1"
"0"
P52/SCLK2
P51/SOUT2
P50/SIN2
P52 latch
"0"
"1"
Serial I/O2 port selection bit
P51 latch
"0"
"1"
Serial I/O2 port selection bit
External clock
Serial I/O counter 2 (3)
Serial I/O shift register 2 (8)
Serial I/O2
interrupt request
Fig. 21 Block diagram of serial I/O2 function
29