8254 PDF
8254 PDF
8254 PDF
Features 8MHz to 12MHz Clock Input Frequency Compatible with NMOS 8254 - Enhanced Version of NMOS 8253 Three Independent 16-Bit Counters Six Programmable Counter Modes Status Read Back Command Binary or BCD Counting Fully TTL Compatible Single 5V Power Supply Low Power Operating Temperature Ranges - C82C54 . . . . . . . . . . . . . . . . . . . . . . . . . .0oC to +70oC - I82C54 . . . . . . . . . . . . . . . . . . . . . . . . . -40oC to +85oC - M82C54 . . . . . . . . . . . . . . . . . . . . . . . -55oC to +125oC
Functional Diagram
Pin diagram 8254 Functional Description A1, A0:The address inputs select one of the four internal registers with the 8254 as follows:
CLK: The clock input is the timing source for each of the internal counters. It is often connected to the PCLK signal from the bus controller.
8254 Functional Description CS: Chip Select enables the 8254 for programming, and reading and writing. G: The gate input controls the operation of the counter in some modes. OUT: A counter output is where the wave-form generated by the timer is available.
: Read/Write causes data to be read/written from the 8254 and often connects to the
Each counter is individually programmed by writing a control word, followed by the initial count.
The control word allows the programmer to select the counter, mode of operation, binary or BCD count and type of operation (read/write).
8254 Programming
Each counter may be programmed with a count of 1 to FFFFH.
Minimum count is 1 all modes except 2 and 3 with minimum count of 2.
Each counter has a program control word used to select the way the counter operates.
If two bytes are programmed, then the first byte (LSB) stops the count, and the second byte (MSB) starts the counter with the new count.
I/O Interface