Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

7207E

Part # 7207E
Description
Category SWITCH
Availability Out of Stock
Qty 0



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

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 (SCLK), and data I/O pins (SOUT, SIN), receive enable
____
signal output pin (SRDY) also function as port P4.
Bit 2 of the serial I/O mode register (address 00DE16) selects whether
the synchronous clock is supplied internally or externally (from the
pins SCLK1, SCLK2). When an internal clock is selected, bits 1 and 0
select whether f(XIN) or f(XCIN) 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 00C916) 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/81/4 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
1/2
(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
SDA2
S
IN2
S
RDY1
P4
7
latch
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
MITSUBISHI MICROCOMPUTERS
M37207MF-XXXSP/FP, M37207M8-XXXSP
M37207EFSP/FP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
and ON-SCREEN DISPLAY CONTROLLER
26
Fig. 19. Serial I/O Timing (for LSB first)
____
Internal clock : The SRDY signal goes to HIGH during the write cycle
by writing data into the serial I/O register (address 00DD16). After the
____
write cycle, the SRDY signal goes to “L” (receive enable state). The
____
SRDY signal goes to “H” at the next falling edge of the transfer clock
for the serial I/O register.
The serial I/O counter is set to “7” during write cycle into the serial I/
O register (address 00DD16), and transfer clock goes HIGH forcibly.
At each falling edge of the transfer clock after the write cycle, serial
data is output from the SOUT pin. Transfer direction can be selected
by bit 5 of the serial I/O mode register. At each rising edge of the
transfer clock, data is input from the SIN pin and data in the serial I/O
register is shifted 1 bit.
After the transfer clock has counted 8 times, the serial I/O counter
becomes “0” and the transfer clock stops at HIGH. At this time the
interrupt request bit is set to “1.”
External clock : When an external clock is selected as the clock source,
the interrupt request is set to “1” after the transfer clock has counted
8 counts. However, transfer operation does not stop, so the clock
should be controlled externally. Use the external clock of 1 MHz or
less with a duty cycle of 50%.
The serial I/O timing is shown in Figure 19. When using an external
clock for transfer, the external clock must be held at “H” for initializing
the serial I/O counter. When switching between an internal clock and
an external clock, do not switch during transfer. Also, be sure to ini-
tialize the serial I/O counter after switching.
Notes 1: On programming, note that the serial I/O counter is set by
writing to the serial I/O register with the bit managing in-
structions such as SEB and CLB.
2: When an external clock is used as the synchronous clock,
write transmit data to the serial I/O register when the trans-
fer clock input level is HIGH.
Synchronous clock
Transfer clock
Serial I/O register
write signal
Serial I/O output
S
OUT
D
0
D
1
D
2
D
3
D
4
D
5
D
6
D
7
(See note)
Serial I/O input
S
IN
Note : When an internal clock is selected, the S
OUT
pin is at high-impedance after transfer is completed.
Interrupt request bit is set to “1”
Receive
signal
enable
S
RDY
MITSUBISHI MICROCOMPUTERS
M37207MF-XXXSP/FP, M37207M8-XXXSP
M37207EFSP/FP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
and ON-SCREEN DISPLAY CONTROLLER
27
Fig. 20. Serial I/O Mode Register
Fig. 21. Serial I/O Control Register
b7b6 b5b4b3 b2b1b0
Serial I/O mode register (SM) [Address 00DE
16]
B Name Functions
After reset
RW
Serial I/O Mode Register
0, 1
Internal synchronous
clock selection bits
(SM0, SM1)
(See note 1)
b1 b0
0 0: f(X
IN
)/4 or f(X
CIN
)/4
0 1: f(X
IN
)/16 or f(X
CIN
)/16
1 0: f(X
IN
)/32 or f(X
CIN
)/32
1 1: f(X
IN
)/64 or f(X
CIN
)/64
2
Synchronous clock
selection bit (SM2)
3, 7
Ports P4
0, P41
function selection
bits (SM3, SM7)
P4
0
/S
OUT2
/
SDA3/X
CIN
P4
0
S
OUT2
SDA3
0: External clock
1: Internal clock
0
0
0
RW
RW
RW
4, 6
Ports P4
2, P43
function selection bits
(SM4, SM6)
5
Transfer direction
selection bit (SM5)
0: LSB first
1: MSB first
0RW
P4
1
/S
CLK2
/
SCL3/X
COUT
P4
1
S
CLK2
SCL3
b7
0
1
b3
0
1
P4
2
/S
IN2
/
SDA2/AD8
P4
2
SDA2
P4
2
SDA2
0RW
P4
3
/S
RDY2
/
SCL2/AD7
P4
3
S
RDY2
SDA2
b6
0
1
0
1
b4
0
1
Notes 1: Either f(XIN) or f(XCIN) is selected by bit 7 of the CPU
mode register.
2: When using ports P4
0–P43 as serial I/O pins, set bit 1 of
the serial control register to “1.”
(See note 2)
(See note 2)
b7b6 b5b4b3 b2b1b0
Serial I/O control register (SIC) [Address 0207
16
]
B Name Functions
After reset
RW
Serial I/O Control Register
0
Input signal to sift
register selection bit
(SIC0)
CSIO b0
0 0: Input signal from S
IN1
0 1: Input signal from S
OUT1
(See note 1)
1 0: Input signal from S
IN2
1 1: Input signal from S
OUT2
(See note 1)
1
Serial I/O pin switch
bit (CSIO)
0:
S
OUT1
,
S
CLK1
,
S
IN1
,
S
RDY1
1:
S
OUT2
,
S
CLK2
,
S
IN2
,
S
RDY2
0
0
RW
RW
Notes 1: When inputting data from the S
out
pin, set “FF
16
” to the serial
I/O register.
2: When using ports P4
4
–P4
7
as serial I/O pins, set bit 1 of the
serial I/O control register to “0.”
3, 7
Ports P4
7
function
selection bits
(SM3, SM7)
(See note 2)
P4
7
/S
RDY1
/PWM8
P4
7
S
RDY1
PWM8
0RW
4, 5
Ports P4
4
, P4
5
function selection bits
(SM4, SM6)
(See note 2)
6
Ports P4
6
function
selection bits
(SIC6)
(See note 2)
b7
0
1
b3
0
1
P4
4
/S
OUT1
/
SDA1
P4
4
S
OUT1
SDA1
0RW
P4
5
/S
CLK1
/
SCL1
P4
5
S
CLK1
SCL1
b5
0
1
b4
0
1
P4
6
/S
IN1
/PWM9
P4
6
PWM9
0RW
b6
0
1
2
I
2
C-BUS connection
ports switch bit
(SIC2)
0:
SDA2, SCL2, SDA1, SCL1
1:
SDA3, SCL3
0RW
PREVIOUS23456789101112131415NEXT