MITSUBISHI M66009FP

MITSUBISHI
MITSUBISHI
〈DIGITAL
〈DIGITAL
ASSP〉
ASSP〉
M66009FP
M66009FP
8BIT I/O EXPANDER WITH 5BIT ADDRESS
8-BIT I/O EXPANDER WITH 5-BIT ADDRESS
DESCRIPTION
M66009 silicon gate CMOS (complementary metal oxide
semiconductor) integrated circuit converts 8-bit data from serial to parallel and vice versa.
This IC has 5 address setting bits, which enable users to set
a distinctive address.
This IC offers a wide range of applications, such as for microcomputer input/output port extension.
PIN CONFIGURATION (TOP VIEW)
FEATURES
• Has 5 bits for address setting
• Connected to microcomputer via 4 pins (EN,CLK, DI and
DO)
• Input/output setting possible by the bit
• Schmitt input (RESET, EN and CLK)
• Wide operating temperature range (Ta = –20˚C to 75˚C)
1
2
3
4
5
6
7
8
9
10
M66009FP
CLOCK INPUT CLK
SERIAL DATA INPUT DI
SERIAL DATA OUTPUT DO
DATA ENABLE INPUT EN
A0
A1
ADDRESS SETTING
A2
INPUT
A3
A4
GND
20
19
18
17
16
15
14
13
12
11
VCC
RESET RESET INPUT
D7
D6
D5
D4 PARALLEL DATA
D3 I/O
D2
D1
D0
Outline 20P2N-A
APPLICATION
Microcomputer I/O port extension, etc.
BLOCK DIAGRAM
ADDRESS SETTING INPUT
A0
5
DATA ENABLE INPUT
EN 4
CLK 1
CLOCK INPUT
A1
6
A2
7
A3
8
A4
9
Address coincidence
detection circuit
5
Clock control
circuit
Address check
circuit
ACK
generation
circuit
11 D0
5
DI 2
SERIAL DATA INPUT
12 D1
Shift register for serial input
(8 bits)
13 D2
14 D3
8
15 D4
PARALLEL DATA
INPUT / OUTPUT
16 D5
Output latch (8 bits)
RESET 19
RESET INPUT
DO 3
SERIAL DATA OUTPUT
8
17 D6
8
18 D7
Shift register for serial output
(9 bits)
1
MITSUBISHI 〈DIGITAL ASSP〉
M66009FP
8-BIT I/O EXPANDER WITH 5-BIT ADDRESS
FUNCTION
M66009 semiconductor circuit converts data from serial to
parallel and vice versa. Address can be set freely at users’
option.
It communicates with microcomputer via 4 signals lines: EN,
CLK, DI and DO.
It has 5-bit address setting input. Connect each address input
pin to VCC or GND, then the address can be determined from
among 32 patterns. When serial data arrives from microcomputer, this IC compares the address in the data to the address
set with these pins. If the two addresses are the same, the
given command is executed.
To output serial input data in parallel, this IC converts the
lower 8 bits of the 16-bit serial data into parallel, and outputs
each to pins D0 to D7. The upper 8 bits are processed as
address bits and command bits.
To output parallel input data in series, this IC prefixes one acknowledge bit to the 8 parallel bits which respectively refer to
the status of pins D0 to D7, and then outputs 9 bits in series.
PIN DESCRIPTIONS
Pin
RESET
EN
CLK
Name
Reset input
Data enable input
Serial clock input
Input/Output
Input
Input
Input
DI
Serial data input
Input
DO
A0~A4
Serial data output
Address setting input
D0~D7
Parallel data input/
output
Input/Output
VCC
GND
Positive supply pin
Grounding pin
––
––
Output
Input
Functions
“L” level: M66009 is reset to initial state.
“L” level: M66009 becomes accessible.
Serial data that arrives at pin DI from microcomputer is taken into M66009
shift register at CLK rise edge. serial data is output from pin DO synchronously with CLK fall edge.
Pin DO status stays at “H” level except during serial data output.
Connect each to Vcc or GND to set distinctive address.
Command is executed only when serial data from microcomputer includes the
same address as that set by these pins.
When connected to VCC, pin status is “1”. When connected to GND, pin status
is “0”.
Used to input/output parallel data. Because pull-down resistor is built in and
output transistor is P-ch open drain, pins in “L” output status (equals to P-ch
transistor OFF) function as input pins.
Connected positive supply (5V).
Used for grounding (0V).
INPUT/OUTPUT DATA LOGIC
Serial data input from pin DI is output in parallel from pins D0
thru D7, being inverted in logic. Parallel data input from pins
D0 thru D7 is output in series from pin DO in the same logic.
Therefore, to set I/O pins to input, DI input data should be set
to “H”.
2
MITSUBISHI 〈DIGITAL ASSP〉
M66009FP
8-BIT I/O EXPANDER WITH 5-BIT ADDRESS
DATA SENDING/RECEIVING PROTOCOL AND OPERATION PROCEDURE
The timing at which microcomputer communicates with
M66009 is as shown in the diagram below. When microcomputer accesses to M66009, it declares the start of access by
lowering pin EN status from “H” to “L”. It then sends data to
pins CLK and DI at the timing shown below. The access stops
as pin EN status rises from “L” to “H”. Given below is more detailed explanation of data sending/receiving procedure:
(1) At EN fall edge, 8-bit parallel data that arrives at input/output pins D0 thru D7 is loaded into shift register for serial
output.
(5) When the addresses are the same and the command bits
are all “1”, serial output operation starts. Eight-bit data
latched at step (1) as described above is output in series,
starting from the bit at pin D7, through pin DO synchronously with the fall edges of CLK 9T thru 16T. No operation is performed for CLK inputs after 16T, except the
count up of CLK.
(6) When EN rises: Output pin DO status is fixed to “H”, and
only when clock counter has counted 16 CLK rise edges
(counter output =10H), the lower 8 bits of the 16-bit serial
data is sent to output latch synchronously with the EN rise
edge. The latched data is inverted in logic, and output to
pins D0 thru D7 in parallel. Clock counter is then reset,
completing one sequence.
(Note) If the clock counter output is not 10 H when EN rises,
data is not sent to output latch. Output pin DO is fixed
to “H”, clock counter is reset, and M66009 becomes
ready to accept a next access.
(2) At CLK rise edge, data at pin DI is taken into serial input
shift register, and internal clock counter starts counting up.
(3) When 5-bit address is taken in, it is compared to address
set by pins A0 thru A4. If they are the same, acknowledge
bit “0” is output to pin DO synchronously with CLK 8T fall
edge.
(When the addresses are not the same, pin DO output
status stays at the “H” level.)
(4) When command bits C2, C1 and C0 are all “1”, operation
proceeds to (5) and (6) described below.
If any of these command bits are not “1” while the addresses are the same, pin DO output is fixed to “H” synchronously with CLK 9T rise, and operation is halted until
EN rises. When EN rises, clock counter is reset, and
M66009 becomes ready to accept a next access.
EN
CLK
1T
DI
A4
2T
A3
6T
A2
A1
Address bits
A0
7T
8T
C2
C1
C0
"1"
"1"
"1"
9T
DI7
15T 16T
DI6
DI5
Command bits( ✽ )
DI4
DI3
DI2
DI1
DI0
Data bits
ACK0
DO
DO7 DO6 DO5 DO4 DO3 DO2 DO1
DO0
( ✽ ) Command bits (C2, C1, C0) = (1, 1, 1)
Data Communication protocol
3
MITSUBISHI 〈DIGITAL ASSP〉
M66009FP
8-BIT I/O EXPANDER WITH 5-BIT ADDRESS
ACKNOWLEDGE BIT ACK0
Acknowledge bit ACK0 is output only when address in serial
input data is the same as that set by pins A0 thru A4. It is output from pin DO as ACK0 =“0” (“L”) synchronously with CLK
8T fall.
INITIAL STATUS AFTER RESET
If “L” is input to RESET, M66009 is put in the conditions specified below:
I/O pins D0 thru D7
DO output
Input state (“L” output state)
(Output p-channel transistor off)
“H” output state
(Output n-channel transistor off)
INPUT AND OUTPUT EQUIVALENT CIRCUITS
Ru( ✽ 1)
Ru( ✽ 2)
DO
CLK,
EN,
RESET
DI,
A0~A4
D0~D7
RD
( ✽ 1) Pull-up resistor
Ru is built in pin DI.
Input Configuration 1
4
( ✽ 2) Pull-up resistor Ru is built in pin
CLK and EN.
Input Configuration 2
Output Configuration
RD: Pull-down resistor
Input/Output Configuration
MITSUBISHI 〈DIGITAL ASSP〉
M66009FP
8-BIT I/O EXPANDER WITH 5-BIT ADDRESS
ABSOLUTE MAXIMUM RATINGS
Symbol
VCC
VI
VO
Pd
Tstg
Parameter
Supply voltage
Input voltage
Output voltage
Power dissipation
Storage temperature
conditions
Ratings
–0.5 ~ +7.0
–0.5 ~ VCC + 0.5
–0.5 ~ VCC + 0.5
500
–65 ~ 150
DO, D0~D7
Unit
V
V
V
mW
°C
RECOMMENDED OPERATIONAL CONDITIONS
Symbol
VCC
VI
VO
Topr
Parameter
Supply voltage
Input voltage
Output voltage
Operating temperature
DO, D0~D7
Min.
4.5
0
0
–20
Limits
Typ.
Unit
Max.
5.5
VCC
VCC
75
V
V
V
°C
ELECTRICAL CHARACTERISTICS (Ta = –20 ~ 75°C, VCC = 5V ± 10% and GND = 0V unless otherwise noted)
Symbol
VIH
VIL
VIH
VIL
VT+
VT–
Vh
Parameter
Test conditions
“H” input voltage
“L” input voltage
“H” input voltage
“L” input voltage
Positive threshold voltage
Negative threshold voltage
Hysteresis width
VOL
“L” output voltage
VOH
“H” output voltage
DI, A0~A4
D0~D7
CLK, EN, RESET
Min.
2.0
Limits
Typ.
Max.
0.8
3.8
1.2
2.4
0.7
0.6
DO
D0~D7
RD
RU
IOSH
II
Pull-down resistance
Pull-up resistance
“H” output short circuit current
Input current
EN, CLK, DI
D0~D7
RESET, A0~A4
IO
Output leak current
DO
ICC
Static supply current
VI=VT+,VT–,
VCC=4.5V, IOL=4mA
VI=VT+, VT–,
VCC=4.5V, IOH=–2mA
VO=0~VCC
VI=0~VCC
VO=0V, VCC=5V
VI=0~VCC, VCC=5.5V
VO=0~VCC,
VCC=5.5V
VCC=5.5V,
VI=VCC
output open
D0~D7:
VI=GND
(“L” output)
0.4
Unit
V
V
V
V
V
V
V
V
3.0
V
20
20
–25
±5.0
kΩ
kΩ
mA
µA
±10.0
µA
0.4
mA
1.2
SWITCHING CHARACTERISTICS (Ta = –20 ~ 75˚C, VCC = 5V ± 10% and GND = 0V)
Symbol
tPZH
tPHZ
tPZL
tPLZ
tPHZ
Parameter
Output “Z-H” propagation time
Output “H-Z” propagation time
Output “Z-L” propagation time
Output “L-Z” propagation time
Output “H-Z” propagation time
Test conditions
EN–D0~D7
CLK–D0
RESET–D0~D7
CL=50pF (Note 1)
CL=50pF,
RL=2kΩ (Note 1)
CL=50pF (Note 1)
Min.
Limits
Typ.
Max.
1.0
2.0
350
350
2.0
Unit
µs
µs
ns
ns
µs
5
MITSUBISHI 〈DIGITAL ASSP〉
M66009FP
8-BIT I/O EXPANDER WITH 5-BIT ADDRESS
TIMING CONDITIONS
Symbol
Parameter
tW
Test conditions
CLK, EN, RESET pulse width
tsu
DI-CLK
EN-CLK
D0~D7-EN
DI-CLK
EN-CLK
D0~D7-EN
EN-RESET
Setup time
th
Hold time
trec
Recovery time
(Note 1)
Min.
250
120
120
120
120
120
120
120
Limits
Typ.
Max.
Unit
ns
ns
ns
ns
NOTE 1: TEST CIRCUIT
Input
VCC
RL
P.G.
DUT
50
6
DO,
D0~D7
CL
(1) Pulse generator (PG) characteristics: tr = tf = 6ns (10%–
90%)
(2) Capacitance CL includes connection floating capacitance
and probe input capacitance.
MITSUBISHI 〈DIGITAL ASSP〉
M66009FP
8-BIT I/O EXPANDER WITH 5-BIT ADDRESS
TIMING CHARTS
tw
tw
3V
CLK
1.5V
1.5V
1.5V
3V
DI
1.5V
1.5V
0V
0V
tPZL
tPLZ
tsu
th
~VCC
DO
10%
0.8V
3V
1.5V
CLK
VOL
0V
3V
EN
1.5V
1.5V
VCC
D0~D7
50%
50%
0V
2.0V
90%
tsu
th
3V
VOH
D0~D7
RESET
0V
tPHZ
tPZH
1.5V
EN
0V
0V
3V
3V
1.5V
EN
1.5V
1.5V
0V
0V
tsu
tPHZ
90%
th
3V
VOH
CLK
D0~D7
1.5V
1.5V
0V
0V
3V
RESET
1.5V
0V
trec
3V
EN
1.5V
0V
7
MITSUBISHI 〈DIGITAL ASSP〉
M66009FP
8-BIT I/O EXPANDER WITH 5-BIT ADDRESS
APPLICATION EXAMPLE
SCLK
SOUT
SIN
P0
RESET
CLK A0~A4
DI
DO D0~D7
EN
VCC
or
GND
I/O-1
8
M66009
Microcomputer
RESET
CLK A0~A4
DI
DO D0~D7
EN
M66009
8
VCC
or
GND
8
I/O-2