intersil MS82C55A, MQ82C55A DATA SHEET

查询CMQ82C55AZ供应商
®
Data Sheet June 28, 2005
CMOS Programmable Peripheral Interface
The Intersil 82C55A is a high performance CMOS version of the industry standard 8255A and is manufactured using a self-aligned silicon gate CMOS process (Scaled SAJI IV). It is a general purpose programmable I/O device which may be used with many different microprocessors. There are 24 I/O pins which may be individually programmed in two groups of 12 and used in three major modes of operation. The high performance and industry standard configuration of the 82C55A make it compatible with the 80C86, 80C88 and other microprocessors.
Static CMOS circuit design insures low operating power. The Intersil advanced SAJI process results in performance equal to or greater than existing functionally equivalent products at a fraction of the power.
Ordering Information
PART
NUMBERS*
CMS82C55AZ (Note)
IMS82C55AZ (Note)
CMQ82C55AZ (Note)
IMQ82C55AZ (Note)
*Add “96” suffix to part number for tape and reel packaging.
TEMP.
RANGE (°C) PACKAGE PKG. DWG. #
0 to 70 44 Ld PLCC
(Pb-free)
-40 to 85
0 to 70 44 Ld MQFP
(Pb-free)
-40 to 85
N44.65
Q44.10x10
FN6140.1
Features
• Pb-Free Plus Anneal Available (RoHS Compliant) (See Ordering Info)
• Pin Compatible with OKI MSM82C55A
- No Bus Hold Devices on any Port Pins
• 24 Programmable I/O Pins
• Fully TTL Compatible
• High Speed, No “Wait State” Operation with 8MHz 80C86 and 80C88
• Direct Bit Set/Reset Capability
• Enhanced Control Word Read Capability
• L7 Process
• 2.5mA Drive Capability on All I/O Ports
• Low Standby Power (ICCSB). . . . . . . . . . . . . . . . . . .10µA
NOTE: Intersil Pb-free plus anneal products employ special Pb-free material sets; molding compounds/die attach materials and 100% matte tin plate termination finish, which are RoHS compliant and compatible with both SnPb and Pb-free soldering operations. Intersil Pb-free products are MSL classified at Pb-free peak reflow temperatures that meet or exceed the Pb-free requirements of IPC/JEDEC J STD-020.
1
CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures.
1-888-INTERSIL or 1-888-468-3774
| Intersil (and design) is a registered trademark of Intersil Americas Inc.
All other trademarks mentioned are the property of their respective owners.
Copyright Intersil Americas Inc. 2005. All Rights Reserved
Pinouts
CS
GND
A1 A0
PC7
NC
PC6 PC5 PC4 PC0 PC1
MS82C55A (PLCC)
RD
PA0
PA1
7 8 9 10 11 12 13 14 15 16 17
PC2
PC3
PB0
TOP VIEW
PA2
PA3
NC
44 43 42 41 40
123456
NC
PB1
PB2
MS82C55A, MQ82C55A
MQ82C55A (MQFP)
TOP VIEW
PA4
PA5
PA6
PA7
WR
39
RESET
38
D0 D1
37
D2
36
D3
35
NC
34
D4
33
D5
32
D6
31
D7
30
V
29
CC
2827
262524232221201918
PB3
PB4
PB5
PB6
PB7
CS
GND
A1
A0
PC7
PC6
PC5
PC4
PC0
PC1
PC2
RD
PA0
PA1
44 43 42 41 40
1
2
3
4
5
6
7
8
9
10
11
12 13 14 15 16 17
NC
PA2
PA4
PA3
39 38 37 36 35 34
PA5
PA6
PA7
WR
33
32
31
30
29
28
27
26
25
24
23
2221201918
RESET
D0
D1
D2
D3
D4
D5
D6
D7
V
CC
PB7
NC
PC3
PB0
PB1
PB2
NC
PB3
PB4
PB5
Pin Description
SYMBOL TYPE DESCRIPTION
V
CC
GND GROUND
D0-D7 I/O DATA BUS: The Data Bus lines are bidirectional three-state pins connected to the system data bus.
RESET I RESET: A high on this input clears the control register and all ports (A, B, C) are set to the input mode.
CS
RD
WR
A0-A1 I ADDRESS: These input signals, in conjunction with the RD
PA0-PA7 I/O PORT A: 8-bit input and output port.
PB0-PB7 I/O PORT B: 8-bit input and output port.
PC0-PC7 I/O PORT C: 8-bit input and output port.
VCC: The +5V power supply pin. A 0.1µF capacitor between VCC and GND is recommended for decoupling.
I CHIP SELECT: Chip select is an active low input used to enable the 82C55A onto the Data Bus for CPU
communications.
I READ: Read is an active low input control signal used by the CPU to read status information or data via the data bus.
I WRITE: Write is an active low input control signal used by the CPU to load control words and data into the 82C55A.
and WR inputs, control the selection of one of the three ports or the control word register. A0 and A1 are normally connected to the least significant bits of the Address Bus A0, A1.
PB6
NC
2
FN6140.1
June 28, 2005
Functional Diagram
MS82C55A, MQ82C55A
POWER
SUPPLIES
BIDIRECTIONAL
DATA BUS
D7-D0
RD
WR
A1
A0
RESET
CS
+5V
GND
DATA BUS
BUFFER
READ
WRITE
CONTROL
LOGIC
GROUP A
CONTROL
8-BIT INTERNAL DATA BUS
GROUP B
CONTROL
FIGURE 1. FUNCTIONAL DIAGRAM
GROUP A
PORT A
(8)
GROUP A
PORT C
UPPER
(4)
GROUP B
PORT C LOWER
(4)
GROUP B
PORT B
(8)
I/O
PA7 -PA0
I/O
PC7-PC4
I/O
PC3-PC0
I/O
PB7-PB0
Functional Description
Data Bus Buffer
This three-state bidirectional 8-bit buffer is used to interface the 82C55A to the system data bus. Data is transmitted or received by the buffer upon execution of input or output instructions by the CPU. Control words and status information are also transferred through the data bus buffer.
Read/Write and Control Logic
The function of this block is to manage all of the internal and external transfers of both Data and Control or Status words. It accepts inputs from the CPU Address and Control busses and in turn, issues commands to both of the Control Groups.
(CS
) Chip Select. A “low” on this input pin enables the
communication between the 82C55A and the CPU.
(RD
) Read. A “low” on this input pin enables 82C55A to send
the data or status information to the CPU on the data bus. In essence, it allows the CPU to “read from” the 82C55A.
(WR
) Write. A “low” on this input pin enables the CPU to
write data or control words into the 82C55A.
(A0 and A1) Port Select 0 and Port Select 1. These input signals, in conjunction with the RD and WR inputs, control the selection of one of the three ports or the control word
register. They are normally connected to the least significant bits of the address bus (A0 and A1).
82C55A BASIC OPERATION
INPUT OPERATION
A1 A0 RD WR CS
(READ)
00010Port A Data Bus
01010Port B Data Bus
10010Port C Data Bus
11010Control Word Data Bus
OUTPUT OPERATION
(WRITE)
00100Data Bus Port A
01100Data Bus Port B
10100Data Bus Port C
11100Data Bus → Control
DISABLE FUNCTION
XXXX1Data Bus → Three-State
XX110Data Bus → Three-State
(RESET) Reset. A “high” on this input initializes the control register to 9Bh and all ports (A, B, C) are set to the input mode.
3
FN6140.1
June 28, 2005
MS82C55A, MQ82C55A
I/O
PA7 -
POWER
SUPPLIES
BIDIRECTIONAL
DATA BUS
D7-D0
RD
WR
A1 A0
RESET
CONTROL
CS
+5V GND
DATA
BUS
BUFFER
READ
WRITE
LOGIC
GROUP A
CONTROL
8-BIT INTERNAL DATA BUS
GROUP B
CONTROL
GROUP A
PORT A
(8)
GROUP A
PORT C
UPPER
(4)
GROUP B
PORT C LOWER
(4)
GROUP B
PORT B
(8)
PA0
I/O
PC7-
PC4
I/O
PC3-
PC0
I/O
PB7-
PB0
FIGURE 2. 82C55A BLOCK DIAGRAM. DATA BUS BUFFER,
READ/WRITE, GROUP A & B CONTROL LOGIC FUNCTIONS
Group A and Group B Controls
The functional configuration of each port is programmed by the systems software. In essence, the CPU “outputs” a control word to the 82C55A. The control word contains information such as “mode”, “bit set”, “bit reset”, etc., that initializes the functional configuration of the 82C55A.
contains a 4-bit latch and it can be used for the control signal output and status signal inputs in conjunction with ports A and B.
Operational Description
Mode Selection
There are three basic modes of operation than can be selected by the system software:
Mode 0 - Basic Input/Output Mode 1 - Strobed Input/Output Mode 2 - Bidirectional Bus
When the reset input goes “high”, all ports will be set to the input mode. After the reset is removed, the 82C55A can remain in the input mode with no additional initialization required. The control word register will contain 9Bh. During the execution of the system program, any of the other modes may be selected using a single output instruction. This allows a single 82C55A to service a variety of peripheral devices with a simple software maintenance routine. Any port programmed as an output port is initialized to all zeros when the control word is written.
ADDRESS BUS
CONTROL BUS
DATA BUS
Each of the Control blocks (Group A and Group B) accepts “commands” from the Read/Write Control logic, receives “control words” from the internal data bus and issues the proper commands to its associated ports.
Control Group A - Port A and Port C upper (C7 - C4)
Control Group B - Port B and Port C lower (C3 - C0)
The control word register can be both written and read as shown in the “Basic Operation” table. Figure 4 shows the control word format for both Read and Write operations. When the control word is read, bit D7 will always be a logic “1”, as this implies control word mode information.
Ports A, B, and C
The 82C55A contains three 8-bit ports (A, B, and C). All can be configured to a wide variety of functional characteristics by the system software but each has its own special features or “personality” to further enhance the power and flexibility of the 82C55A.
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.
MODE 0
MODE 1
MODE 2
RD, WR
B
8I/O
PB7-PB0
B
8I/O
PB7-PB0 CONTROL
B
8I/O
PB7-PB0
D7-D0 A0-A1
82C55A
C
4I/O
PC3-PC0
OR I/O
PC7-PC4
C
CONTROL
OR I/O
C
CONTROL
4I/O
CS
A
8I/O
PA7 -PA0
A
8I/O
PA7 -PA0
A
PA7 -PA0
BI­DIRECTIONAL
FIGURE 3. BASIC MODE DEFINITIONS AND BUS INTERFACE
Port C One 8-bit data output latch/buffer and one 8-bit data
input buffer (no latch for input). This port can be divided into two 4-bit ports under the mode control. Each 4-bit port
4
FN6140.1
June 28, 2005
MS82C55A, MQ82C55A
CONTROL WORD
D7 D6 D5 D4 D3 D2 D1 D0
FIGURE 4. MODE DEFINITION FORMAT
GROUP B
PORT C (LOWER) 1 = INPUT 0 = OUTPUT
PORT B 1 = INPUT 0 = OUTPUT
MODE SELECTION 0 = MODE 0 1 = MODE 1
GROUP A
PORT C (UPPER) 1 = INPUT 0 = OUTPUT
PORT A 1 = INPUT 0 = OUTPUT
MODE SELECTION 00 = MODE 0 01 = MODE 1 1X = MODE 2
MODE SET FLAG 1 = ACTIVE
The modes for Port A and Port B can be separately defined, while Port C is divided into two portions as required by the Port A and Port B definitions. All of the output registers, including the status flip-flops, will be reset whenever the mode is changed. Modes may be combined so that their functional definition can be “tailored” to almost any I/O structure. For instance: Group B can be programmed in Mode 0 to monitor simple switch closings or display computational results, Group A could be programmed in Mode 1 to monitor a keyboard or tape reader on an interrupt­driven basis.
The mode definitions and possible mode combinations may seem confusing at first, but after a cursory review of the complete device operation a simple, logical I/O approach will surface. The design of the 82C55A has taken into account things such as efficient PC board layout, control signal definition vs. PC layout and complete functional flexibility to support almost any peripheral device with no external logic. Such design represents the maximum use of the available pins.
Single Bit Set/Reset Feature (Figure 5)
Any of the eight bits of Port C can be Set or Reset using a single Output instruction. This feature reduces software requirements in control-based applications.
CONTROL WORD
D7 D6 D5 D4 D3 D2 D1 D0
XXX
DON’T
CARE
FIGURE 5. BIT SET/RESET FORMAT
BIT SET/RESET 1 = SET 0 = RESET
BIT SELECT
1234567
0 01010101 00110011 00001111
BIT SET/RESET FLAG 0 = ACTIVE
B0 B1 B2
Interrupt Control Functions
When the 82C55A is programmed to operate in mode 1 or mode 2, control signals are provided that can be used as interrupt request inputs to the CPU. The interrupt request signals, generated from port C, can be inhibited or enabled by setting or resetting the associated INTE flip-flop, using the bit set/reset function of port C.
This function allows the programmer to enable or disable a CPU interrupt by a specific I/O device without affecting any other device in the interrupt structure.
INTE Flip-Flop Definition
(BIT-SET)-INTE is SET - Interrupt Enable
(BIT-RESET)-INTE is Reset - Interrupt Disable
NOTE: All Mask flip-flops are automatically reset during mode selection and device Reset.
Operating Modes
Mode 0 (Basic Input/Output). This functional configuration provides simple input and output operations for each of the three ports. No handshaking is required, data is simply written to or read from a specific port.
Mode 0 Basic Functional Definitions:
• Two 8-bit ports and two 4-bit ports
• Any Port can be input or output
• Outputs are latched
• Inputs are not latched
• 16 different Input/Output configurations possible
When Port C is being used as status/control for Port A or B, these bits can be set or reset by using the Bit Set/Reset operation just as if they were output ports.
5
FN6140.1
June 28, 2005
MS82C55A, MQ82C55A
MODE 0 PORT DEFINITION
ABGROUP A#GROUP B
D4 D3 D1 D0 PORT A
PORT C
(Upper) PORT B
PORT C (Lower)
0 0 0 0 Output Output 0 Output Output
0 0 0 1 Output Output 1 Output Input
0 0 1 0 Output Output 2 Input Output
0 0 1 1 Output Output 3 Input Input
0 1 0 0 Output Input 4 Output Output
0 1 0 1 Output Input 5 Output Input
0 1 1 0 Output Input 6 Input Output
0 1 1 1 Output Input 7 Input Input
Mode 0 (Basic Input)
RD
INPUT
tAR
CS
, A1, A0
tIR
MODE 0 PORT DEFINITION
A B GROUP A
GROUP B
PORT C
D4 D3 D1 D0 PORT A
(Upper) PORT B
#
1 0 0 0 Input Output 8 Output Output
1 0 0 1 Input Output 9 Output Input
1 0 1 0 Input Output 10 Input Output
1 0 1 1 Input Output 11 Input Input
1 1 0 0 Input Input 12 Output Output
1 1 0 1 Input Input 13 Output Input
1 1 1 0 Input Input 14 Input Output
1 1 1 1 Input Input 15 Input Input
tRR
tHR
tRA
PORT C (Lower)
D7-D0
Mode 0 (Basic Output)
WR
D7-D0
CS
, A1, A0
OUTPUT
tAW
tRD tDF
tWW
tDW
tWD
tWA
tWB
6
FN6140.1
June 28, 2005
MS82C55A, MQ82C55A
Mode 0 Configurations
CONTROL WORD #0 CONTROL WORD #2
D0
1D70D60D50D40D30D20D10
82C55A
D7 - D0
8
4
4
PA7 - PA0
PC7 - PC4
PC3 - PC0
A
C
1D70D60D50D40D30D21D10
D7 - D0
82C55A
C
D0
8
4
4
PA7 - PA0
PC7 - PC4
PC3 - PC0
A
8
B
PB7 - PB0
CONTROL WORD #1 CONTROL WORD #3
D0
1D70D60D50D40D30D20D11
82C55A
D7 - D0
8
4
4
8
PA7 - PA0
PC7 - PC4
PC3 - PC0
PB7 - PB0
A
C
B
1D70D60D50D40D30D21D11
D7 - D0
CONTROL WORD #4 CONTROL WORD #8
D0
1D70D60D50D41D30D20D10
82C55A
D7 - D0
8
4
4
PA7 - PA0
PC7 - PC4
PC3 - PC0
A
C
1D70D60D51D40D30D20D10
D7 - D0
82C55A
C
82C55A
C
D0
D0
8
8
4
4
8
8
4
4
PB7 - PB0
PA7 - PA0
PC7 - PC4
PC3 - PC0
PB7 - PB0
PA7 - PA0
PC7 - PC4
PC3 - PC0
B
A
B
A
8
B
PB7 - PB0
CONTROL WORD #5 CONTROL WORD #9
D0
1D70D60D50D41D30D20D11
82C55A
D7 - D0
8
4
4
8
PA7 - PA0
PC7 - PC4
PC3 - PC0
PB7 - PB0
A
C
B
1D70D60D51D40D30D20D11
D7 - D0
7
82C55A
C
D0
8
8
4
4
8
PB7 - PB0
PA7 - PA0
PC7 - PC4
PC3 - PC0
PB7 - PB0
June 28, 2005
FN6140.1
B
A
B
MS82C55A, MQ82C55A
Mode 0 Configurations (Continued)
CONTROL WORD #6 CONTROL WORD #10
D0
1D70D60D50D41D30D21D10
82C55A
D7 - D0
8
4
4
PA7 - PA0
PC7 - PC4
PC3 - PC0
A
C
1D70D60D51D40D30D21D10
D7 - D0
82C55A
C
D0
8
4
4
PA7 - PA0
PC7 - PC4
PC3 - PC0
A
8
B
PB7 - PB0
CONTROL WORD #7 CONTROL WORD #11
D0
1D70D60D50D41D30D21D11
82C55A
D7 - D0
8
4
4
8
PA7 - PA0
PC7 - PC4
PC3 - PC0
PB7 - PB0
A
C
B
1D70D60D51D40D30D21D11
D7 - D0
CONTROL WORD #12 CONTROL WORD #14
D0
1D70D60D51D41D30D20D10
82C55A
D7 - D0
8
4
4
PA7 - PA0
PC7 - PC4
PC3 - PC0
A
C
1D70D60D51D41D30D21D10
D7 - D0
82C55A
C
82C55A
C
D0
D0
8
8
4
4
8
8
4
4
PB7 - PB0
PA7 - PA0
PC7 - PC4
PC3 - PC0
PB7 - PB0
PA7 - PA0
PC7 - PC4
PC3 - PC0
B
A
B
A
8
B
PB7 - PB0
CONTROL WORD #13 CONTROL WORD #15
D0
1D70D60D51D41D30D20D11
82C55A
D7 - D0
8
4
4
8
PA7 - PA0
PC7 - PC4
PC3 - PC0
PB7 - PB0
A
C
B
1D70D60D51D41D30D21D11
D7 - D0
8
82C55A
C
D0
8
8
4
4
8
PB7 - PB0
PA7 - PA0
PC7 - PC4
PC3 - PC0
PB7 - PB0
June 28, 2005
FN6140.1
B
A
B
Loading...
+ 16 hidden pages