SlideShare a Scribd company logo
1 of 16
KEYBOARD/DISPLAY
CONTROLLER - INTEL 8279
Features of 8279
The important features of 8279 are,
• Simultaneous keyboard and display operations.
• Scanned keyboard mode.
• Scanned sensor mode.
• 8-character keyboard FIFO.
• 1 6-character display.
• Right or left entry 1 6-byte display RAM.
• Programmable scan timing.
• A0: Selects data (0) or control/status (1) for
reads and writes between micro and 8279.
Output that blanks the displays.
• CLK: Used internally for timing. Max is 3 MHz.
• CN/ST: Control/strobe, connected to the control
key on the keyboard.
• Chip select that enables programming,
reading the keyboard, etc.
• DB7-DB0: Consists of bi-directional pins that
connect to data bus on micro.
Pin details
Pin details
• IRQ: Interrupt request, becomes 1 when a key
is pressed, data is available.
• OUT A3-A0/B3-B0: Outputs that sends data to
the most significant/least significant nibble of
display.
• : Connects to micro's IORC or RD
signal, reads data/status registers.
• RESET: Connects to system RESET.
• RL7-RL0: Return lines are inputs used to sense
key depression in the keyboard matrix.
•Shift: Shift connects to Shift key on keyboard.
• SL3-SL0: Scan line outputs scan both the
keyboard and displays.
• IRQ: Interrupt request, becomes 1 when a key
is pressed, data is available.
• OUT A3-A0/B3-B0: Outputs that sends data to
the most significant/least significant nibble of
display.
• : Connects to micro's IORC or RD
signal, reads data/status registers.
• RESET: Connects to system RESET.
• RL7-RL0: Return lines are inputs used to sense
key depression in the keyboard matrix.
•Shift: Shift connects to Shift key on keyboard.
• SL3-SL0: Scan line outputs scan both the
keyboard and displays.
Block diagram of 8279
Sections
• Keyboard
• Display
• Scan
• CPU interface
Keyboard section
• The keyboard section consists of eight return lines RL0 - RL7
that can be used to form the columns of a keyboard matrix.
• It has two additional input : shift and control/strobe. The keys
are automatically debounced.
• The two operating modes of keyboard section are 2-key
lockout and N-key rollover.
• In the 2-key lockout mode, if two keys are pressed
simultaneously, only the first key is recognized.
• In the N-key rollover mode simultaneous keys are recognized
and their codes are stored in FIFO.
• The keyboard section also have an 8 x 8 FIFO (First In First
Out) RAM.
• The FIFO can store eight key codes in the scan keyboard
mode. The status of the shift key and control key are also
stored along with key code.
• The 8279 generate an interrupt signal when there is an entry
in FIFO.
Display section
• The display section has eight output lines divided into
two groups A0-A3 and B0-B3.
• The output lines can be used either as a single group of
eight lines or as two groups of four lines, in conjunction
with the scan lines for a multiplexed display.
• The output lines are connected to the anodes through
driver transistor in case of common cathode 7-segment
LEDs.
• The cathodes are connected to scan lines through driver
transistors.
• The display can be blanked by BD (low) line.
• The display section consists of 16 x 8 display RAM. The
CPU can read from or write into any location of the
display RAM.
Scan section
• The scan section has a scan counter and four
scan lines, SL0 to SL3.
• In decoded scan mode, the output of scan lines
will be similar to a 2-to-4 decoder.
• In encoded scan mode, the output of scan lines
will be binary count, and so an external decoder
should be used to convert the binary count to
decoded output.
• The scan lines are common for keyboard and
display.
• The scan lines are used to form the rows of a
matrix keyboard and also connected to digit
drivers of a multiplexed display, to turn ON/OFF.
CPU interface section
• The CPU interface section takes care of data transfer
between 8279 and the processor.
• This section has eight bidirectional data lines DB0 to
DB7 for data transfer between 8279 and CPU.
• It requires two internal address A =0 for selecting data
buffer and A = 1 for selecting control register of8279.
• The control signals WR (low), RD (low), CS (low) and A0
are used for read/write to 8279.
• It has an interrupt request line IRQ, for interrupt driven
data transfer with processor.
• The 8279 require an internal clock frequency of 100 kHz.
This can be obtained by dividing the input clock by an
internal prescaler.
• The RESET signal sets the 8279 in 16-character display
with two -key lockout keyboard modes.
First three bits given below select one of 8 control registers
(opcode).
Control Word Description:
 000DDMMM
Mode set: Opcode 000.
DD sets displays mode.
MMM sets keyboard mode.
DD field selects either:
• 8- or 16-digit display
• Whether new data are entered
to the rightmost or leftmost
display position.
Control Word Description:
MMM field:
• Encoded Mode: SL outputs are active-high, follow binary
bit pattern 0-7 or 0-15 depending on 8 or 16 digit display.
• Decoded Mode: SL outputs are active-low (only one of
the four outputs will be low at any time).Pattern output:
1110, 1101, 1011, 0111.
MMM
I/O Interface
Control Word Description:
• Strobe : An active high pulse on the CN/ST input pin strobes
data from the RL pins into an internal FIFO for reading by micro
later.
• 2-key lockout/N-key rollover: Prevents 2 keys from being
recognized if pressed simultaneously/Accepts all keys pressed
from 1st to last.
Write display format
 100ZAAAA
write display Selects address – to write address of one of the
Display. Z selects auto-increment so subsequent writes go to
subsequent display positions.
Clear Display format
• 1100CCFA
• The clear control word clears the
display, FIFO or both
• Bit F clears FIFO and the display RAM
status, and sets address pointer to 000.
• If CC are 00 or 01, all display RAM
locations become 00000000.
• If CC is 10, --> 00100000,
• if CC is 11, --> 11111111.
8279_full.ppt

More Related Content

Similar to 8279_full.ppt

8255-PPI MPMC text book for engineering.ppt
8255-PPI MPMC text book for engineering.ppt8255-PPI MPMC text book for engineering.ppt
8255-PPI MPMC text book for engineering.pptkhushiduppala
 
The functional design scheme of the dedicated keyboard chip kb core based on ...
The functional design scheme of the dedicated keyboard chip kb core based on ...The functional design scheme of the dedicated keyboard chip kb core based on ...
The functional design scheme of the dedicated keyboard chip kb core based on ...Vinsion Chan
 
UNIT- 3.pptx
UNIT- 3.pptxUNIT- 3.pptx
UNIT- 3.pptxBASKARS53
 
Mod-2 M&M.pptx
Mod-2 M&M.pptxMod-2 M&M.pptx
Mod-2 M&M.pptxTechCook1
 
UNIT 3 Peripheral Interfacing.pptx
UNIT 3 Peripheral Interfacing.pptxUNIT 3 Peripheral Interfacing.pptx
UNIT 3 Peripheral Interfacing.pptxGowrishankar C
 
8255 ppi students material for ppi mpmc study
8255 ppi students material for ppi mpmc study8255 ppi students material for ppi mpmc study
8255 ppi students material for ppi mpmc studySirisha Vamsi
 
8085 Microprocessor Architecture
8085 Microprocessor Architecture8085 Microprocessor Architecture
8085 Microprocessor Architecturedeval patel
 
Encoder-and-decoder.pptx
Encoder-and-decoder.pptxEncoder-and-decoder.pptx
Encoder-and-decoder.pptxKamranAli649587
 
1205 Ppi 8279
1205 Ppi 82791205 Ppi 8279
1205 Ppi 8279techbed
 
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.pptMECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.pptCHANDRA KUMAR S
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 
Ppt micro fianle (1)
Ppt micro fianle (1)Ppt micro fianle (1)
Ppt micro fianle (1)Pavni Gairola
 
Display11 in mp
Display11 in mpDisplay11 in mp
Display11 in mpAisu
 

Similar to 8279_full.ppt (20)

8255.pdf
8255.pdf8255.pdf
8255.pdf
 
8255-PPI MPMC text book for engineering.ppt
8255-PPI MPMC text book for engineering.ppt8255-PPI MPMC text book for engineering.ppt
8255-PPI MPMC text book for engineering.ppt
 
The functional design scheme of the dedicated keyboard chip kb core based on ...
The functional design scheme of the dedicated keyboard chip kb core based on ...The functional design scheme of the dedicated keyboard chip kb core based on ...
The functional design scheme of the dedicated keyboard chip kb core based on ...
 
UNIT- 3.pptx
UNIT- 3.pptxUNIT- 3.pptx
UNIT- 3.pptx
 
Mod-2 M&M.pptx
Mod-2 M&M.pptxMod-2 M&M.pptx
Mod-2 M&M.pptx
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Chp 2 and 3.pptx
Chp 2 and 3.pptxChp 2 and 3.pptx
Chp 2 and 3.pptx
 
UNIT 3 Peripheral Interfacing.pptx
UNIT 3 Peripheral Interfacing.pptxUNIT 3 Peripheral Interfacing.pptx
UNIT 3 Peripheral Interfacing.pptx
 
8255 ppi students material for ppi mpmc study
8255 ppi students material for ppi mpmc study8255 ppi students material for ppi mpmc study
8255 ppi students material for ppi mpmc study
 
8085 Microprocessor Architecture
8085 Microprocessor Architecture8085 Microprocessor Architecture
8085 Microprocessor Architecture
 
Encoder-and-decoder.pptx
Encoder-and-decoder.pptxEncoder-and-decoder.pptx
Encoder-and-decoder.pptx
 
1205 Ppi 8279
1205 Ppi 82791205 Ppi 8279
1205 Ppi 8279
 
12 mt06ped001
12 mt06ped001 12 mt06ped001
12 mt06ped001
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
 
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.pptMECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
MECHATRONICS-Unit 3-PROGRAMMABLE PERIPERAL INTERFACE.ppt
 
unit 4 mc.pdf
unit 4 mc.pdfunit 4 mc.pdf
unit 4 mc.pdf
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
Ppt micro fianle (1)
Ppt micro fianle (1)Ppt micro fianle (1)
Ppt micro fianle (1)
 
Display11 in mp
Display11 in mpDisplay11 in mp
Display11 in mp
 

Recently uploaded

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 

Recently uploaded (20)

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 

8279_full.ppt

  • 2. Features of 8279 The important features of 8279 are, • Simultaneous keyboard and display operations. • Scanned keyboard mode. • Scanned sensor mode. • 8-character keyboard FIFO. • 1 6-character display. • Right or left entry 1 6-byte display RAM. • Programmable scan timing.
  • 3. • A0: Selects data (0) or control/status (1) for reads and writes between micro and 8279. Output that blanks the displays. • CLK: Used internally for timing. Max is 3 MHz. • CN/ST: Control/strobe, connected to the control key on the keyboard. • Chip select that enables programming, reading the keyboard, etc. • DB7-DB0: Consists of bi-directional pins that connect to data bus on micro. Pin details
  • 4. Pin details • IRQ: Interrupt request, becomes 1 when a key is pressed, data is available. • OUT A3-A0/B3-B0: Outputs that sends data to the most significant/least significant nibble of display. • : Connects to micro's IORC or RD signal, reads data/status registers. • RESET: Connects to system RESET. • RL7-RL0: Return lines are inputs used to sense key depression in the keyboard matrix. •Shift: Shift connects to Shift key on keyboard. • SL3-SL0: Scan line outputs scan both the keyboard and displays. • IRQ: Interrupt request, becomes 1 when a key is pressed, data is available. • OUT A3-A0/B3-B0: Outputs that sends data to the most significant/least significant nibble of display. • : Connects to micro's IORC or RD signal, reads data/status registers. • RESET: Connects to system RESET. • RL7-RL0: Return lines are inputs used to sense key depression in the keyboard matrix. •Shift: Shift connects to Shift key on keyboard. • SL3-SL0: Scan line outputs scan both the keyboard and displays.
  • 6. Sections • Keyboard • Display • Scan • CPU interface
  • 7. Keyboard section • The keyboard section consists of eight return lines RL0 - RL7 that can be used to form the columns of a keyboard matrix. • It has two additional input : shift and control/strobe. The keys are automatically debounced. • The two operating modes of keyboard section are 2-key lockout and N-key rollover. • In the 2-key lockout mode, if two keys are pressed simultaneously, only the first key is recognized. • In the N-key rollover mode simultaneous keys are recognized and their codes are stored in FIFO. • The keyboard section also have an 8 x 8 FIFO (First In First Out) RAM. • The FIFO can store eight key codes in the scan keyboard mode. The status of the shift key and control key are also stored along with key code. • The 8279 generate an interrupt signal when there is an entry in FIFO.
  • 8. Display section • The display section has eight output lines divided into two groups A0-A3 and B0-B3. • The output lines can be used either as a single group of eight lines or as two groups of four lines, in conjunction with the scan lines for a multiplexed display. • The output lines are connected to the anodes through driver transistor in case of common cathode 7-segment LEDs. • The cathodes are connected to scan lines through driver transistors. • The display can be blanked by BD (low) line. • The display section consists of 16 x 8 display RAM. The CPU can read from or write into any location of the display RAM.
  • 9. Scan section • The scan section has a scan counter and four scan lines, SL0 to SL3. • In decoded scan mode, the output of scan lines will be similar to a 2-to-4 decoder. • In encoded scan mode, the output of scan lines will be binary count, and so an external decoder should be used to convert the binary count to decoded output. • The scan lines are common for keyboard and display. • The scan lines are used to form the rows of a matrix keyboard and also connected to digit drivers of a multiplexed display, to turn ON/OFF.
  • 10. CPU interface section • The CPU interface section takes care of data transfer between 8279 and the processor. • This section has eight bidirectional data lines DB0 to DB7 for data transfer between 8279 and CPU. • It requires two internal address A =0 for selecting data buffer and A = 1 for selecting control register of8279. • The control signals WR (low), RD (low), CS (low) and A0 are used for read/write to 8279. • It has an interrupt request line IRQ, for interrupt driven data transfer with processor. • The 8279 require an internal clock frequency of 100 kHz. This can be obtained by dividing the input clock by an internal prescaler. • The RESET signal sets the 8279 in 16-character display with two -key lockout keyboard modes.
  • 11. First three bits given below select one of 8 control registers (opcode). Control Word Description:  000DDMMM Mode set: Opcode 000. DD sets displays mode. MMM sets keyboard mode. DD field selects either: • 8- or 16-digit display • Whether new data are entered to the rightmost or leftmost display position.
  • 12. Control Word Description: MMM field: • Encoded Mode: SL outputs are active-high, follow binary bit pattern 0-7 or 0-15 depending on 8 or 16 digit display. • Decoded Mode: SL outputs are active-low (only one of the four outputs will be low at any time).Pattern output: 1110, 1101, 1011, 0111. MMM
  • 13. I/O Interface Control Word Description: • Strobe : An active high pulse on the CN/ST input pin strobes data from the RL pins into an internal FIFO for reading by micro later. • 2-key lockout/N-key rollover: Prevents 2 keys from being recognized if pressed simultaneously/Accepts all keys pressed from 1st to last.
  • 14. Write display format  100ZAAAA write display Selects address – to write address of one of the Display. Z selects auto-increment so subsequent writes go to subsequent display positions.
  • 15. Clear Display format • 1100CCFA • The clear control word clears the display, FIFO or both • Bit F clears FIFO and the display RAM status, and sets address pointer to 000. • If CC are 00 or 01, all display RAM locations become 00000000. • If CC is 10, --> 00100000, • if CC is 11, --> 11111111.