WDC 65C21


The W65C21S is a very flexible Peripheral Interface Adapter for use with WDC’s 65xx and other 8-bit microprocessor families. It is produced by Western Design Center.
The W65C21S provides programmed microprocessor control of up to two peripheral devices. Peripheral device control is accomplished through two 8-bit bidirectional I/O Ports, with individually designed Data Direction Registers. The Data Direction Registers provide selection of data flow direction at each respective I/O Port. Data flow direction may be selected on a line-by-line basis with intermixed input and output lines within the same port. The “handshake” interrupt control feature is provided by four peripheral control lines. This capability provides enhanced control over data transfer functions between the microprocessor and peripheral devices, as well as bidirectional data transfer between W65C21S Peripheral Interface Adapters in multiprocessor systems.
The PIA interfaces to the 65xx microprocessor family with a reset line, a ϕ2 clock line, a read/write line, two interrupt request lines, two register select lines, three chip select lines and an 8-bit bidirectional data bus. The PIA interfaces to the peripheral devices with four interrupt/control lines and two 8-bit bidirectional buses.
The W65C21S PIA is organized into two independent sections referred to as the A Side and the B Side. Each section consists of Control Register, Data Direction Register, Output Register, Interrupt Status Control and the buffers necessary to drive the Peripheral Interface buses. Data Bus Buffers interface data from the two sections to the data bus, while the Date Input Register interfaces data from the DBB to the PIA registers. Chip Select and RWB control circuitry interface to the processor bus control lines.

Features of the W65C21S