
MITSUBISHI MICROCOMPUTERS
M37207MF-XXXSP/FP, M37207M8-XXXSP
M37207EFSP/FP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
and ON-SCREEN DISPLAY CONTROLLER
25
SERIAL I/O
This microcomputer has a built-in serial I/O which can either transmit
or receive 8-bit data serially in clock synchronous mode.
The serial I/O block diagram is shown in Figure 18. The synchronous
clock I/O pin (S
CLK
OUT
, S
IN
), receive enable
____
signal output pin (
S
RDY
) also function as port P4.
Bit 2 of the serial I/O mode register (address 00DE
16
) selects whether
the synchronous clock is supplied internally or externally (from the
pins S
CLK1
, S
CLK2
). When an internal clock is selected, bits 1 and 0
select whether f(X
IN
) or f(X
CIN
) is divided by 8, 16, 32, or 64. To use
pins for serial I/O, set the corresponding bits of the port P4 direction
register (address 00C9
16
) to “0.”
The operation of the serial I/O is described below. The operation
differs depending on the clock source; external clock or internal clock.
Fig. 18. Serial I/O Block Diagram
8
Serial I/O shift register (8)
Data bus
Serial I/O
interrupt request
Selection gate : Connected to
black side at
reset.
Synchronous
circuit
Frequency divider
1/4
1/2
1/8
1/16
SM
1
SM
0
Serial I/O counter (8)
SM5
: LSB
MSB
S
SM2
1/2
X
IN
1/2
(Address 00DF
16
)
X
CIN
CM7
(Note)
Note :
When the data is set in the serial I/O register (address 00DF
16
), the register functions as the serial I/O shift register.
P4
3
latch
SM6
SCL2 CSIO
S
RDY2
S
CLK2
S
OUT2
SM4
P4
1
latch
SM7
SCL3
SM3
CSIO
P4
0
latch
SM7
SDA3
SM3
CSIO
SM6
P4
0
latch
P4
7
latch
SDA2
S
IN2
S
RDY1
SIC3
PWM8
SIC7
S
CLK1
P4
5
latch
SIC4
SCL1
SIC5
S
OUT1
P4
4
latch
SIC4
SDA1
SIC5
S
IN1
SIC6
PWM9
P4
6
latch
CSIO
CM : CPU mode register
SM : Serial I/O mode register
SIC : Serial I/O control register
CSIO : Bit 1 of serial I/O control register