8279 Programmable Keyboard
8279 Programmable Keyboard
keyboard
8279 programmable keyboard
• 8279 programmable keyboard/display controller is designed by Intel that
interfaces a keyboard with the CPU. The keyboard first scans the
keyboard and identifies if any key has been pressed. It then sends their
relative response of the pressed key to the CPU and vice-a-versa.
How Many Ways the Keyboard is Interfaced with the CPU?
This unit acts as 8-byte first-in-first-out (FIFO) RAM where the key code of
every pressed key is entered into the RAM as per their sequence. The status
logic generates an interrupt request after each FIFO read operation till the
FIFO gets empty.
• In the scanned sensor matrix mode, this unit acts as sensor RAM where its
each row is loaded with the status of their corresponding row of sensors
into the matrix. When the sensor changes its state, the IRQ line changes to
high and interrupts the CPU.
Display Address Registers and Display RAM
• This unit consists of display address registers which holds the addresses of
the word currently read/written by the CPU to/from the display RAM.
• 8279 − Pin Description
• The following figure shows the pin diagram of 8279 −
Data Bus Lines, DB0 - DB7
• These are 8 bidirectional data bus lines used to transfer the data to/from the CPU.
CLK
• The clock input is used to generate internal timings required by the microprocessor.
RESET
• As the name suggests this pin is used to reset the microprocessor.
CS Chip Select
• When this pin is set to low, it allows read/write operations, else this pin should be set
to high.
A0
• This pin indicates the transfer of command/status information. When it is low, it
indicates the transfer of data.
RD, WR
• This Read/Write pin enables the data buffer to send/receive data over the data bus.
IRQ
• This interrupt output line goes high when there is data in the FIFO sensor RAM. The interrupt line
goes low with each FIFO RAM read operation. However, if the FIFO RAM further contains any
key-code entry to be read by the CPU, this pin again goes high to generate an interrupt to the CPU.
Vss, Vcc
• These are the ground and power supply lines of the microprocessor.
SL0 − SL3
• These are the scan lines used to scan the keyboard matrix and display the digits. These lines can be
programmed as encoded or decoded, using the mode control register.
RL0 − RL7
• These are the Return Lines which are connected to one terminal of keys, while the other terminal
of the keys is connected to the decoded scan lines. These lines are set to 0 when any key is pressed.
SHIFT
• The Shift input line status is stored along with every key code in FIFO in the scanned
keyboard mode. Till it is pulled low with a key closure, it is pulled up internally to keep it
high
CNTL/STB - CONTROL/STROBED I/P Mode
• In the keyboard mode, this line is used as a control input and stored in FIFO on a key
closure. The line is a strobe line that enters the data into FIFO RAM, in the strobed input
mode. It has an internal pull up. The line is pulled down with a key closure.
BD
• It stands for blank display. It is used to blank the display during digit switching.
OUTA0 – OUTA3 and OUTB0 – OUTB3
• These are the output ports for two 16x4 or one 16x8 internal display refresh registers. The
data from these lines is synchronized with the scan lines to scan the display and the
keyboard.
Operational Modes of 8279