You are on page 1of 7

Programmable keyboard display

Presented By: Bisnu Sarkar


ID: 16CSE039
Programmable keyboard display
Features:
 Simultaneous and independent scanning of a keyboard and refresh of a display
 Significantly offloading these functions from the microprocessor.
Keyboard section:
 8-character Keyboard FIFO
 2-Key Lockout or N-key Rollover with Contact Debounce
 Interrupt Output on Key Entry
 Programmable Keyboard Scan & Debounce rates
Display Section:
 Dual 8- or 16-Numeric Display
 Single 16-Character Display
 Right or Left Entry 16-Byte Display RAM with address auto increment
 Programmable display refresh rate
Pinout Definition 8279:
 P A0: Selects data (0) or control/status (1) for reads and writes between micro and 8279.
 P BD: Output that blanks the displays.
 P CLK: Used internally for timing. Max is 3 MHz.
 P CN/ST: Control/strobe, connected to the control key on the keyboard.
 P CS: Chip select that enables programming, reading the keyboard, etc.
 P DB7-DB0: Consists of bidirectional pins that connect to data bus on micro.
 P IRQ: Interrupt request, becomes 1 when a key is pressed, data is available.
 P OUT A3-A0/B3-B0: Outputs that sends data to the most significant/least significant
nibble of display.
 P RD(WR): Connects to micro's IORC or RD signal, reads data/status registers.
 P RESET: Connects to system RESET.
 P RL7-RL0: Return lines are inputs used to sense key depression in the keyboard matrix.
 P Shift: Shift connects to Shift key on keyboard.
 P SL3-SL0: Scan line outputs scan both the keyboard and displays
 Key Board Modes
 2 key lockout: if two keys are pressed simultaneously only 1st key is
recognized
 N-key rollover: simultaneous keys are recognized and their codes are
stored in internal buffer.
 Sensor Matrix mode : FIFO RAM acts as 8X8 bit memory matrix. The
IRQ line goes high, if any changes in sensor value
 DISPLAY SECTION
 Has 8 output lines divided into 2 groups A0 to A3 and B0 to B3
 These lines can be used as a group of 8 lines or 2 groups of 4 lines each
in conjunction to scan lines for display
 Display can be blanked by BD line
 Includes 16X8 display RAM
 MPU can read or write into these registers
 Display Modes
 Display Scan: 8 or 16 char display organized as dual 4-bit or single 8
bit display unit
 Display Entry
 Left Entry Mode
 Right Entry mode

 MPU interface section


 Includes 8 bit data lines (DB0-DB7), one Interrupt Request (IRQ) and
six lines for interfacing, including buffer add line A0
 When A0 is high – control word
 When A0 is low – signals are interrupted and they act as data lines
 IRQ goes high whenever data entries are stored in FIFO

You might also like