Cmos
Cmos
Cmos
OKI
M82C55A-2V
OTHER SYMBOLS:
[email protected]
+48 71 325 15 05
www.rgbautomatyka.pl
www.rgbautomatyka.pl
www.rgbelektronika.pl
YOUR
PARTNER IN
MAINTENANCE
Repair this product with RGB ELEKTRONIKA ORDER A DIAGNOSIS ∠
LINEAR
ENCODERS PLC
SYSTEMS
INDUSTRIAL
COMPUTERS
ENCODERS CNC
CONTROLS
SERVO AMPLIFIERS
MOTORS
CNC
MACHINES
OUR SERVICES
POWER
SUPPLIERS
OPERATOR
SERVO
PANELS
DRIVERS
At our premises in Wrocław, we have a fully equipped servicing facility. Here we perform all the repair
works and test each later sold unit. Our trained employees, equipped with a wide variety of tools and
having several testing stands at their disposal, are a guarantee of the highest quality service.
MSM82C55A-2RS/GS/VJS
CMOS PROGRAMMABLE PERIPHERAL INTERFACE
GENERAL DESCRIPTION
The MSM82C55A-2 is a programmable universal I/O interface device which operates as high
speed and on low power consumption due to 3m silicon gate CMOS technology. It is the best
fit as an I/O port in a system which employs the 8-bit parallel processing MSM80C85AH CPU.
This device has 24-bit I/O pins equivalent to three 8-bit I/O ports and all inputs/outputs are
TTL interface compatible.
FEATURES
• High speed and low power consumption due to 3m silicon gate CMOS technology
• 3 V to 6 V single power supply
• Full static operation
• Programmable 24-bit I/O ports
• Bidirectional bus operation (Port A)
• Bit set/reset function (Port C)
• TTL compatible
• Compatible with 8255A-5
• 40-pin Plastic DIP (DIP40-P-600-2.54): (Product name: MSM82C55A-2RS)
• 44-pin Plastic QFJ (QFJ44-P-S650-1.27): (Product name: MSM82C55A-2VJS)
• 44-pin Plastic QFP (QFP44-P-910-0.80-2K): (Product name: MSM82C55A-2GS-2K)
1/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
CIRCUIT CONFIGURATION
8
VCC
8 8
Group A
GND Port A PA0 - PA7
(8)
8
Group A
Control
4 4
Group A
Port C
(High Order PC4 - PC7
4 Bits)
A0
A1
2/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
PA3 1 40 PA4
PA2 2 39 PA5
PA1 3 38 PA6
PA0 4 37 PA7
RD 5 36 WR
CS 6 35 RESET
GND 7 34 D0
A1 8 33 D1
A0 9 32 D2
PC7 10 31 D3
PC6 11 30 D4
PC5 12 29 D5
PC4 13 28 D6
PC0 14 27 D7
PC1 15 26 VCC
44 pin Plastic QFP 25
PC2 16 PB7
PC3 17 24 PB6
43 PA0
42 PA1
41 PA2
40 PA3
38 PA4
37 PA5
36 PA6
35 PA7
34 WR
39 VCC
44 RD
PB0 18 23 PB5
PB1 19 22 PB4
PB2 20 21 PB3
CS 1 33 RESET
GND 2 32 D0
A1 3 31 D1
A0 4 30 D2.
PC7 5 29 D3
PC6 6 28 D4
PC5 7 27 D5
PC4 8 26 D6
PC0 9 25 D7
PC1 10 24 VCC
PC2 11 23 PB7
44 pin Plastic QFJ
PB0 14
PB1 15
PB2 16
17
PB3 18
PB4 19
PB5 20
PB6 21
NC 22
NC 12
PC3 13
5 PA0
4 PA1
3 PA2
2 PA3
44 PA4
43 PA5
42 PA6
41 PA7
40 WR
VCC
6 RD
1 NC
CS 7 39 RESET
GND 8 38 D0
A1 9 37 D1
A0 10 36 D2.
PC7 11 35 D3
NC 12 34 NC
PC6 13 33 D4
PC5 14 32 D5
PC4 15 31 D6
PC0 16 30 D7
PC1 17 29 VCC
PB0 20
PB1 21
PB2 22
NC 23
PB3 24
PB4 25
PB5 26
PB6 27
PB7 28
PC2 18
PC3 19
3/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
Rating
Parameter Symbol Conditions Unit
MSM82C55A-2RS MSM82C55A-2GS MSM82C55A-2vJS
Supply Voltage VCC Ta = 25°C –0.5 to +7 V
Input Voltage VIN with respect –0.5 to VCC +0.5 V
Output Voltage VOUT to GND –0.5 to VCC +0.5 V
Storage Temperature TSTG — –55 to +150 °C
Power Dissipation PD Ta = 25°C 1.0 0.7 1.0 W
OPERATING RANGE
DC CHARACTERISTICS
MSM82C55A-2
Parameter Symbol Conditions Unit
Min. Typ. Max.
"L" Output Voltage VOL IOL = 2.5 mA — — 0.4 V
IOH = –40 mA 4.2 — — V
"H" Output Voltage VOH
IOH = –2.5 mA 3.7 — — V
Input Leak Current ILI 0 £ VIN £ VCC VCC = 4.5 V to 5.5 V –1 — 1 mA
Output Leak Current ILO 0 £ VOUT £ VCC Ta = –40°C to +85°C –10 — 10 mA
(CL = 0 pF)
Supply Current CS ≥ VCC –0.2 V
ICCS VIH ≥ VCC –0.2 V — 0.1 10 mA
(Standby)
VIL £ 0.2 V
4/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
AC CHARACTERISTICS
(VCC = 4.5 V to 5.5 V, Ta = –40 to +85°C)
MSM82C55A-2
Parameter Symbol Unit Remarks
Min. Max.
Setup Time of Address to the Falling Edge of RD tAR 20 — ns
Hold Time of Address to the Rising Edge of RD tRA 0 — ns
RD Pulse Width tRR 100 — ns
Delay Time from the Falling Edge of RD to the Output of
tRD — 120 ns
Defined Data
Delay Time from the Rising Edge of RD to the Floating of
tDF 10 75 ns
Data Bus
Time from the Rising Edge of RD or WR to the Next Falling
tRV 200 — ns
Edge of RD or WR
Setup Time of Address before the Falling Edge of WR tAW 0 — ns
Hold Time of Address after the Rising Edge of WR tWA 20 — ns
WR Pulse Width tWW 150 — ns
Setup Time of Bus Data before the Rising Edge of WR tDW 50 — ns
Hold Time of Bus Data after the Rising Edge of WR tWD 30 — ns
Delay Time from the rising Edge of WR to the Output of
tWB — 200 ns
Defined Data
Setup Time of Port Data before the Falling Edge of RD tIR 20 — ns
Hold Time of Port Data after the Rising Edge of RD tHR 10 — ns
ACK Pulse Width tAK 100 — ns Load
STB Pulse Width tST 100 — ns 150 pF
Setup Time of Port Data before the rising Edge of STB tPS 20 — ns
Hold Time of Port Bus Data after the rising Edge of STB tPH 50 — ns
Delay Time from the Falling Edge of ACK to the Output of
tAD — 150 ns
Defined Data
Delay Time from the Rising Edge of ACK to the Floating of
tKD 20 250 ns
Port (Port A in Mode 2)
Delay Time from the Rising Edge of WR to the Falling Edge of
tWOB — 150 ns
OBF
Delay Time from the Falling Edge of ACK to the Rising Edge of
tAOB — 150 ns
OBF
Delay Time from the Falling Edge of STB to the Rising Edge of
tSIB — 150 ns
IBF
Delay Time from the Rising Edge of RD to the Falling Edge of
tRIB — 150 ns
IBF
Delay Time from the the Falling Edge of RD to the Falling Edge
tRIT — 200 ns
of INTR
Delay Time from the Rising Edge of STB to the Rising Edge of
tSIT — 150 ns
INTR
Delay Time from the Rising Edge of ACK to the Rising Edge of
tAIT — 150 ns
INTR
Delay Time from the Falling Edge of WR to the Falling Edge of
tWIT — 250 ns
INTR
Note: Timing measured at VL = 0.8 V and VH = 2.2 V for both inputs and outputs.
5/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
TIMING DIAGRAM
tRR
RD
tIR tHR
Port Input
tAR tRA
CS, A1, A0
D7 - D0
tRD tDF
tWW
WR
tDW tWD
D 7 - D0
tAW tWA
CS, A1, A0
Port Output
tWB
tST
STB
tSIB
IBF
tSIT tRIB
INTR tRIT
RD
tPH
Port Input
tPS
6/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
WR
tAOB
OBF
tWOB
INTR
tWIT
ACK
tAK tAIT
Port Output
tWB
WR
tAOB
OBF
tWOB
INTR
tAK
ACK
tST
STB
tSIB
IBF tAD tKD
tPS
Port A
tPH tRIB
RD
7/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
5
Output "H" Voltage VOH (V)
4 Ta = –40 to + 85°C
VCC = 5.0 V
3
0 –1 –2 –3 –4 –5
Output Current IOH (mA)
5
Output "L" Voltage VOL (V)
2
VCC = 5.0 V
1 Ta = –40 to +85°C
0 1 2 3 4 5
Output Current IOL (mA)
Note: The direction of flowing into the device is taken as positive for the output current.
8/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
PIN DESCRIPTION
9/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
When setting a mode to a port having 24 bits, set it by dividing it into two groups of 12 bits each.
Mode 0, 1, 2
There are 3 types of modes to be set by grouping as follows:
Mode 0: Basic input operation/output operation (Available for both groups A and B)
Mode 1: Strobe input operation/output operation (Available for both groups A and B)
Mode 2: Bidirectional bus operation (Available for group A only)
When used in mode 1 or mode 2, however, port C has bits to be defined as ports for control signal
for operation ports (port A for group A and port B for group B) of their respective groups.
Port A, B, C
The internal structure of 3 ports is as follows:
Port A: One 8-bit data output latch/buffer and one 8-bit data input latch
Port B: One 8-bit data input/output latch/buffer and one 8-bit data input buffer
Port C: One 8-bit data output latch/buffer and one 8-bit data input buffer (no latch for input)
10/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
OPERATIONAL DESCRIPTION
Control Logic
Operations by addresses and control signals, e.g., read and write, etc. are as shown in the table
below:
Operaiton A1 A0 CS WR RD Operation
0 0 0 1 0 Port A Æ Data Bus
Input 0 1 0 1 0 Port B Æ Data Bus
1 0 0 1 0 Port C Æ Data Bus
0 0 0 0 1 Data Bus Æ Port A
Output 0 1 0 0 1 Data Bus Æ Port B
1 0 0 0 1 Data Bus Æ Port C
Control 1 1 0 0 1 Data Bus Æ Control Register
1 1 0 1 0 Illegal Condition
Others
¥
¥
1 ¥
¥
Data bus is in the high impedance status.
The control register is composed of 7-bit latch circuit and 1-bit flag as shown below.
D7 D6 D5 D4 D3 D2 D1 D0
D6 D5 Mode
Control word Identification flag 0 0 Mode 0
Be sure to set 1 for the control word 0 1 Mode 1
to define a mode and input/output.
1 ¥
Mode 2
When set to 0, it becomes
the control word for bit set/
reset.
11/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
The output registers for ports A and C are cleared to f each time data is written in the command
register and the mode is changed, but the port B state is undefined.
When port C is defined as output port, it is possible to set (set output to 1) or reset (set output
to 0) any one of 8 bits without affecting other bits as shown below.
D7 D6 D5 D4 D3 D2 D1 D0
Port C D3 D2 D1
PC0 0 0 0
Dont's Care PC1 0 0 1
PC2 0 1 0
Control word Identification flag PC3 0 1 1
Be sure to set to 0 for bit set/reset PC4 1 0 0
When set to 1, it becomes the control PC5 1 0 1
word to define a mode and input/output. PC6 1 1 0
PC7 1 1 1
When the MSM82C55A-2 is used in mode 1 or mode 2, the interrupt signal for the CPU is
provided. The interrupt request signal is output from port C. When the internal flip-flop INTE
is set beforehand at this time, the desired interrupt request signal is output. When it is reset
beforehand, however, the interrupt request signal is not output. The set/reset of the internal
flip-flop is made by the bit set/reset operation for port C virtually.
12/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
13/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
Mode 1 Input
(Group A) (Group B)
8 8
PA7 PB7
-
-
INTEA PA0 INTEB PB0
RD RD
PC3 INTRA PC0 INTRB
Mode 1 Output
(Group A) (Group B)
8 8
PA7 PB7
-
WR WR
PC3 INTRA PC0 INTRB
14/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
Examples of the relation between the control words and pins when used in mode 1 are
shown below:
D7 D6 D5 D4 D3 D2 D1 D0
Control Word 1 0 1 0 1/0 1 1 ¥
15/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
D7 D6 D5 D4 D3 D2 D1 D0
1 0 1 1 1/0 1 0 ¥
16/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
PC3 INTRA
PA7 8
-
PA0
PC7 OBFA
INTE1 PC6 ACKA
WR
RD INTE2 PC4 STBA
PC5 IBFA
Port C Function
PC0
PC1 Confirmed to the Group B Mode
PC2
PC3 INTRA
PC4 STBA
PC5 IBFA
PC6 ACKA
PC7 OBFA
Following is an example of the relation between the control word and the pin when used in
mode 2.
When input in mode 2 for group A and in mode 1 for group B.
17/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
D7 D6 D5 D4 D3 D2 D1 D0
1 1 ¥
¥
¥
1 1 ¥
PC3 INTRA
8
PA7 - PA0
PC7 OBFA
PC6 ACKA
PC4 STBA Group A: Mode 2
PC5 IBFA Group B: Mode 1 Input
8
RD PB7 - PB0
PC2 STBB
WR PC1 IBFB
PC0 INTRB
18/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
Group A and group B can be used by setting them in different modes each other at the same
time. When either group is set to mode 1 or mode 2, it is possible to set the one not defined
as a control pin in port C to both input and output as port which operates in mode 0 at the
3rd and 0th bits of the control word.
Port C
Group A Group B
PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
Mode 1
1 Mode 0 I/O I/O IBFA STBA INTRA I/O I/O I/O
input
Mode 0
2 Mode 0 OBFA ACKA I/O I/O INTRA I/O I/O I/O
Output
Mode 1
3 Mode 0 I/O I/O I/O I/O I/O STBB IBFB INTRB
Input
Mode 1 I/O I/O I/O I/O I/O ACKB OBFB INTRB
4 Mode 0
Output
Mode 1 Mode 1
5 I/O I/O IBFA STBA INTRA STBB IBFB INTRB
Input Input
Mode 1 Mode 1
6 I/O I/O IBFA STBA INTRA ACKB OBFB INTRB
Input Output
Mode 1 Mode 1
7 OBFA ACKA I/O I/O INTRA STBB IBFB INTRB
Output Input
Mode 1 Mode 1
8 OBFA ACKA I/O I/O INTRA ACKB OBFB INTRB
Output Output
9 Mode 2 Mode 0 OBFA ACKA IBFA STBA INTRA I/O I/O I/O
Controlled at the 3rd bit (D3) of Controlled at the 0th bit (D0) of
the Control Word the Control Word
When the I/O bit is set to input in this case, it is possible to access data by the normal port
C read operation.
When set to output, PC7-PC4 bits can be accessed by the bit set/reset function only.
Meanwhile, 3 bits from PC2 to PC0 can be accessed by normal write operation.
The bit set/reset function can be used for all of PC3-PC0 bits. Note that the status of port C
varies according to the combination of modes like this.
19/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
When port C is used for the control signal, that is, in either mode 1 or mode 2, each control
signal and bus status signal can be read out by reading the content of port C.
The status read out is as follows:
6. Reset of MSM82C55A-2
Be sure to keep the RESET signal at power ON in the high level at least for 50 ms.
Subsequently, it becomes the input mode at a high level pulse above 500 ns.
MSM82C55A-5
After a write command is executed to the command register, the internal latch is cleared in
PORTA PORTC. For instance, 00H is output at the beginning of a write command when
the output port is assigned. However, if PORTB is not cleared at this time, PORTB is
unstable. In other words, PORTB only outputs ineffective data (unstable value according
to the device) during the period from after a write command is executed till the first data
is written to PORTB.
MSM82C55A-2
After a write command is executed to the command register, the internal latch is cleared in
All Ports (PORTA, PORTB, PORTC). 00H is output at the beginning of a write command
when the output port is assigned.
20/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
The conventional low speed devices are replaced by high-speed devices as shown below.
When you want to replace your low speed devices with high-speed devices, read the replacement
notice given on the next pages.
21/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
1) Manufacturing Process
These devices use a 3 m Si-Gate CMOS process technology.
The MSM82C55A-2 is about 7% smaller in chip size than the MSM82C55A-5 as the MSM82C55A-
2 changed its output characteristics.
2) Function
The above function has been improved to remove bugs and other logics are not different between
the two devices.
3) Electrical Characteristics
3-1) DC Characteristics
As shown above, the DC characteristics of the MSM82C55A-2 satisfies the DC characteristics of the
MSM82C55A-5.
3-2) AC Characteristics
Data Floating Delay Time From RD Rising tRF 100 ns maximum 75 ns maximum
22/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
Port Data Hold Time for STB Falling tPH 180 ns minimum 50 ns minimum
ACK Falling to Defined Data Output tAD 300 ns maximum 150 ns maximum
WR Falling to OBF Falling Delay Time tWOB 650 ns maximum 150 ns maximum
ACK Falling to OBF Rising Delay Time tAOB 350 ns maximum 150 ns maximum
STB Falling to IBF Rising Delay Time tSIB 300 ns maximum 150 ns maximum
RD Rising to IBF Falling Delay Time tRIB 300 ns maximum 150 ns maximum
RD Falling to INTR Falling Delay Time tRIT 400 ns maximum 200 ns maximum
STB Rising to INTR Rising Delay Time tSIT 300 ns maximum 150 ns maximum
ACK Rising to INTR Rising Delay Time tAIT 350 ns maximum 150 ns maximum
WR Falling to INTR Falling Delay Time tWIT 850 ns minimum 250 ns maximum
23/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
PACKAGE DIMENSIONS
(Unit : mm)
DIP40-P-600-2.54
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
24/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
(Unit : mm)
QFJ44-P-S650-1.27
Mirror finish
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
25/26
¡ Semiconductor MSM82C55A-2RS/GS/VJS
(Unit : mm)
QFP44-P-910-0.80-2K
Mirror finish
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
26/26