SlideShare a Scribd company logo
8279 – Programmable Keyboard/Display InterfaceIIE - SAP
WHY 8279???WHAT WE KNOW,8255 can be used in interfacing keyboards and displays.
The disadvantages of this method of interfacing keyboard and display is that the processor has to refresh the display and check the status of the keyboard periodicallyusing polling technique.Thus a considerable amount of CPU time is wasted, reducing the system operating speed.
Intel’s 8279 is a general purpose keyboard displaycontroller that simultaneously drives the display of asystem and interfaces a keyboard with the CPU, leaving itfree for its routine task.IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
Architecture of 8279IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
IIE - SAP
2 key lock outWHAT IS ??IIE - SAP
IIE - SAP
2 key lock outWHAT IS N – key roll over??IIE - SAP
IIE - SAP
Scanned Keyboard Special Error Mode :This mode is valid only under the N-Key rollover mode.
This mode is programmed using end interrupt / error mode set command.
If during a single debounce period ( two keyboard scans ) two keys are found pressed , this is considered a simultaneous depression and an error flag is set.
This flag, if set, prevents further writing in FIFO butallows the generation of further interrupts to the CPUfor FIFO read. The error flag can be read by readingthe FIFO status word. The error Flag is reset by sendingnormal clear command with CF = 1.IIE - SAP
Scanned Sensor Matrix : In this mode, a sensor array can be interfaced with 8279 using either encoded or decoded scans. With encoded scan 8*8 sensor matrix or with decoded scan 4*8 sensor matrix can be interfaced.
 The sensor codes are stored in the CPU addressable sensor RAM.
 In the sensor matrix mode, the debounce logic is inhibited. The 8-byte FIFO RAM now acts as 8 * 8 bit memory matrix.
The status of the sensor switch matrix is fed directly to sensor RAM matrix. Thus the sensor RAM bits contains the rowwise and column wise status of the sensors in the sensor matrix.
 The IRQ line goes high, if any change in sensor value is detected at the end of a sensor matrix scan or the sensor RAM has a previous entry to be read by the CPU.
 The IRQ line is reset by the first data read operation, if AI = 0, otherwise, by issuing the end interrupt command. AI is a bit in read sensor RAM word.IIE - SAP
Strobed input:  In this mode, if the control lines goes low, the data on return lines, is stored in the FIFO byte by byte.IIE - SAP
IIE - SAP

More Related Content

PPTX
PIC Microcontrollers
PPTX
Stacks & subroutines 1
PDF
8155 PPI
PDF
Processor Organization and Architecture
PPTX
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
PPTX
8251 USART
PPT
Architecture of 8086 Microprocessor
PPTX
8257 DMA Controller
PIC Microcontrollers
Stacks & subroutines 1
8155 PPI
Processor Organization and Architecture
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
8251 USART
Architecture of 8086 Microprocessor
8257 DMA Controller

What's hot (20)

PPT
8086 micro processor
PDF
8051 Timers / Counters
PPTX
8237 dma controller
PPTX
Input output interface
PPTX
3.programmable interrupt controller 8259
DOCX
8085 interfacing with memory chips
PPT
Microcontroller-8051.ppt
PDF
Module 1 8086
PPTX
Associative memory 14208
PPTX
PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
PPTX
SRAM DRAM
DOCX
8259 programmable interrupt controller
PPT
8255 ppi
PPTX
8051 MICROCONTROLLER ARCHITECTURE.pptx
PPTX
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
PDF
8259 Programmable Interrupt Controller
PPT
8051 Addressing Modes
PPT
Instruction set-of-8085
PPT
Memory & I/O interfacing
PPTX
Interrupts in 8051
8086 micro processor
8051 Timers / Counters
8237 dma controller
Input output interface
3.programmable interrupt controller 8259
8085 interfacing with memory chips
Microcontroller-8051.ppt
Module 1 8086
Associative memory 14208
PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
SRAM DRAM
8259 programmable interrupt controller
8255 ppi
8051 MICROCONTROLLER ARCHITECTURE.pptx
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
8259 Programmable Interrupt Controller
8051 Addressing Modes
Instruction set-of-8085
Memory & I/O interfacing
Interrupts in 8051
Ad

Similar to 8279 in microprocessor (20)

PPT
Display11 in mp
PDF
8279 d
PPTX
KEYBOARD/DISPLAY CONTROLLER INTEL 8279.pptx
PPT
8279_fullaanananannananansnsnnsnsnsnsn.ppt
PPT
8279_full.ppt
PPTX
8279 PKDI
PPTX
8279 Programmable Keyboard and Display Controller.pptx
PPTX
8279 programmable keyboard switches leds
PPTX
8279 Programable keyboard switches and .
PPTX
MICROCONTROLLER 8279 KEYBOARD INTERFACE.pptx
PDF
8279nptel
PPT
I Ointerface in mp
PPT
8279 d
PDF
Programmable Peripheral Devices
PPTX
Key board interface
PPT
1205 Ppi 8279
PPTX
Mod-2 M&M.pptx
PPTX
MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3
PPTX
MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3
PDF
Microcontroladores: El microcontrolador 8051 con LCD 16x2
Display11 in mp
8279 d
KEYBOARD/DISPLAY CONTROLLER INTEL 8279.pptx
8279_fullaanananannananansnsnnsnsnsnsn.ppt
8279_full.ppt
8279 PKDI
8279 Programmable Keyboard and Display Controller.pptx
8279 programmable keyboard switches leds
8279 Programable keyboard switches and .
MICROCONTROLLER 8279 KEYBOARD INTERFACE.pptx
8279nptel
I Ointerface in mp
8279 d
Programmable Peripheral Devices
Key board interface
1205 Ppi 8279
Mod-2 M&M.pptx
MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3
MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3
Microcontroladores: El microcontrolador 8051 con LCD 16x2
Ad

More from Aisu (18)

PPT
ma project
PPT
Newton Raphson
PPT
Aisuphysics
PDF
Dreaming In Arabicnovel
PDF
The Society For The Betterment Of Mankind
PPT
Digital Transmission Fundamentals
PPT
8251 08 Serial
PPT
8251
PDF
11 Serial 0515
PPT
Io (2)
PPT
Display1in mp
PPT
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
PPT
db
PPTX
Timer
PPTX
Serial Io
PPT
Interrupt11
PPT
B Trees
PPT
overview of physical storage media
ma project
Newton Raphson
Aisuphysics
Dreaming In Arabicnovel
The Society For The Betterment Of Mankind
Digital Transmission Fundamentals
8251 08 Serial
8251
11 Serial 0515
Io (2)
Display1in mp
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
db
Timer
Serial Io
Interrupt11
B Trees
overview of physical storage media

Recently uploaded (20)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Cloud computing and distributed systems.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
MIND Revenue Release Quarter 2 2025 Press Release
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
Diabetes mellitus diagnosis method based random forest with bat algorithm
cuic standard and advanced reporting.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Cloud computing and distributed systems.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
Review of recent advances in non-invasive hemoglobin estimation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Building Integrated photovoltaic BIPV_UPV.pdf
Machine learning based COVID-19 study performance prediction
MIND Revenue Release Quarter 2 2025 Press Release

8279 in microprocessor

  • 1. 8279 – Programmable Keyboard/Display InterfaceIIE - SAP
  • 2. WHY 8279???WHAT WE KNOW,8255 can be used in interfacing keyboards and displays.
  • 3. The disadvantages of this method of interfacing keyboard and display is that the processor has to refresh the display and check the status of the keyboard periodicallyusing polling technique.Thus a considerable amount of CPU time is wasted, reducing the system operating speed.
  • 4. Intel’s 8279 is a general purpose keyboard displaycontroller that simultaneously drives the display of asystem and interfaces a keyboard with the CPU, leaving itfree for its routine task.IIE - SAP
  • 22. 2 key lock outWHAT IS ??IIE - SAP
  • 24. 2 key lock outWHAT IS N – key roll over??IIE - SAP
  • 26. Scanned Keyboard Special Error Mode :This mode is valid only under the N-Key rollover mode.
  • 27. This mode is programmed using end interrupt / error mode set command.
  • 28. If during a single debounce period ( two keyboard scans ) two keys are found pressed , this is considered a simultaneous depression and an error flag is set.
  • 29. This flag, if set, prevents further writing in FIFO butallows the generation of further interrupts to the CPUfor FIFO read. The error flag can be read by readingthe FIFO status word. The error Flag is reset by sendingnormal clear command with CF = 1.IIE - SAP
  • 30. Scanned Sensor Matrix : In this mode, a sensor array can be interfaced with 8279 using either encoded or decoded scans. With encoded scan 8*8 sensor matrix or with decoded scan 4*8 sensor matrix can be interfaced.
  • 31. The sensor codes are stored in the CPU addressable sensor RAM.
  • 32. In the sensor matrix mode, the debounce logic is inhibited. The 8-byte FIFO RAM now acts as 8 * 8 bit memory matrix.
  • 33. The status of the sensor switch matrix is fed directly to sensor RAM matrix. Thus the sensor RAM bits contains the rowwise and column wise status of the sensors in the sensor matrix.
  • 34. The IRQ line goes high, if any change in sensor value is detected at the end of a sensor matrix scan or the sensor RAM has a previous entry to be read by the CPU.
  • 35. The IRQ line is reset by the first data read operation, if AI = 0, otherwise, by issuing the end interrupt command. AI is a bit in read sensor RAM word.IIE - SAP
  • 36. Strobed input: In this mode, if the control lines goes low, the data on return lines, is stored in the FIFO byte by byte.IIE - SAP
  • 38. Command Words of 8279 All the command words or status words are written orread with A0 = 1 and CS = 0 to or from 8279. Keyboard Display Mode Set : The format of the command word to select different modes of operation of 8279 is given below with its bit definitions.IIE - SAP
  • 40. B) Programmable clock : The clock for operation of 8279 is obtained by dividing the external clock input signal by a programmable constant called prescaler.
  • 41. PPPPP is a 5-bit binary constant.
  • 42. The input frequency is divided by a decimal constant ranging from 2 to 31, decided by the bits of an internal prescaler, PPPPP.IIE - SAP
  • 43. c) Read FIFO / Sensor RAM : The format of this command is given below.AI – Auto Increment FlagAAA – Address pointer to 8 bit FIFO RAMX- Don’t careThis word is written to set up 8279 for reading FIFO/ sensor RAM.
  • 44. In scanned keyboard mode, AI and AAA bits are of no use. The 8279 will automatically drive data bus for each subsequent read, in the same sequence, in which the data was entered.
  • 45. In sensor matrix mode, the bits AAA select one of the 8 rows of RAM.
  • 46. If AI flag is set, each successive read will be from the subsequent RAM location.IIE - SAP
  • 47. d) Read Display RAM : This command enables a programmer to read the display RAM data. The CPU writes this command word to 8279 to prepare it for display RAM read operation.
  • 48. AI is auto increment flag and AAAA, the 4-bit address points to the 16-byte display RAM that is to be read.
  • 49. If AI=1, the address will be automatically, incremented after each read or write to the Display RAM.
  • 50. The same address counter is used for reading and writing.IIE - SAP
  • 51. d) Write Display RAM : This command enables a programmer to write the display RAM data. AI – Auto increment Flag.AAAA – 4 bit address for 16-bit display RAM to bewritten.e) Display Write Inhibit/Blanking :IW - inhibit write flag BL - blank display bit flagsIIE - SAP
  • 52. The IW ( inhibit write flag ) bits are used to mask the individual nibble.
  • 53. The output lines are divided into two nibbles ( OUTA0 – OUTA3 ) and (OUTB0 – OUTB3 ), those can be masked by setting the corresponding IW bit to 1.
  • 54. Once a nibble is masked by setting the corresponding IW bit to 1, the entry to display RAM does not affect the nibble even though it may change the unmasked nibble.
  • 55. The blank display bit flags (BL) are used for blanking A and B nibbles.
  • 56. D0, D2 corresponds to OUTB0 – OUTB3
  • 57. D1, D3 corresponds to OUTA0 - OUTA3 for blanking and masking.
  • 58. If the user wants to clear the display, blank (BL) bits are available for each nibble as shown in format.
  • 59. Both BL bits will have to be cleared for blanking both the nibbles.IIE - SAP
  • 60. g) Clear Display RAM : ENABLES CLEAR DISPLAY WHEN CD2=1CD2 must be 1 for enabling the clear display command.
  • 61. If CD2 = 0, the clear display command is invoked by setting CA(CLEAR ALL) =1 and maintaining CD1, CD0 bits exactly same as above.
  • 62. If CF(CLEAR FIFO RAM STATUS) =1, FIFO status is cleared and IRQ line is pulled down and the sensor RAM pointer is set to row 0.
  • 63. If CA=1, this combines the effect of CD and CF bits. 0X - All zeros ( x don’t care ) AB=0010 - A3-A0 =2 (0010) and B3-B0=00 (0000)11 - All ones (AB =FF), i.e. clear RAMIIE - SAP
  • 64. h) End Interrupt / Error mode Set : E- Error modeX- don’t careFor the sensor matrix mode, this command lowers the IRQ line and enables further writing into the RAM.
  • 65. Otherwise, if a change in sensor value is detected, IRQ goes high that inhibits writing in the sensor RAM.
  • 66. For N-Key roll over mode, if the E bit is programmed to be ‘1’, the 8279 operates in special Error modeIIE - SAP
  • 67. I/O InterfaceFIFO status registerCode given in text for reading keyboard.
  • 68. Data returned from 8279 contains raw data that need to be translated to ASCII:IIE - SAP