SlideShare a Scribd company logo
1 of 34
88227799 KKEEYYBBOOAARRDD AANNDD DDIISSPPLLAAYY 
IINNTTEERRFFAACCIINNGG 
Features: 
īƒ˜It is designed by Intel 
īƒ˜It is support 64 contact key matrix with 
two more keys “CONTROL” and “SHIFT” 
īƒ˜It provides 3 operating modes 
1.Scanned keyboard mode 2.Scanned 
sensor matrix mode 3.Strobed Input 
mode. 
īƒ˜It has inbuilt debounce key .
īƒ˜It provides 16 byte display RAM to display 
16 digits and interfacing 16 digits. 
īƒ˜It provides two output modes: 
1.Left entry (Typewriter type). 
2.Right entry (Calculator type). 
īƒ˜Simultaneous keyboard and display 
operation facility allows to interleave 
keyboard and display software. 
īƒ˜The interrupt output of 8279 can be used to 
tell CPU that the key press is detected, this 
eliminates the need of software polling.
PPIINN DDIIAAGGRRAAMM OOFF 88227799
LLOOGGIICC SSYYMMBBOOLL
Cpu interface pins: 
īƒ˜DB0-DB7 : These are bidirectional data bus 
lines. The data and command words to and 
from the CPU are transferred on these lines. 
īƒ˜ RD, WR ( Input / Output ) READ/WRITE 
:These input pins enable the data 
buffers to receive or send data over the data 
bus. 
īƒ˜A0(Address lines) : A high on this line 
indicates the transfer of a command or status 
information. A low on this line indicates the 
transfer of data. This is used to select one of 
the internal registers of 8279.
īƒ˜IRQ : This interrupt output lines goes high 
when there is a data in the FIFO sensor 
RAM. The interrupt lines goes low with each 
FIFO RAM read operation but 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 for the circuit. 
īƒ˜ SL0-SL3-Scan Lines : These lines are 
used to scan the key board matrix and 
display digits. These lines can be 
programmed as encoded or decoded, using 
the mode control register.
Key board Data: 
īƒ˜RL0 - RL7 - Return Lines : These are the 
input lines which are connected to one terminal 
of keys, while the other terminal of the keys are 
connected to the decoded scan lines. These are 
normally high, but pulled low when a key is 
pressed. 
īƒ˜ SHIFT : The status of the shift input lines is 
stored along with each key code in FIFO, in 
scanned keyboard mode. It is pulled up 
internally to keep it high, till it is pulled low with 
a key closure. 
īƒ˜ CNTL/STB- CONTROL/STROBED I/P Mode : In 
keyboard mode, this lines is used as a control input and 
stored in FIFO on a key closure. The line is a strobed 
lines that enters the data into FIFO RAM, in strobed 
input mode. It has an interrupt pull up. The lines is 
pulled down with a key closer.
Display data: 
īƒ˜OUT A0 – OUT A3 and OUT B0 – OUT 
B3 : These are the output ports for two 
16*4 or 16*8 internal display refresh 
registers. The data from these lines is 
synchronized with the scan lines to scan the 
display and keyboard. The two 4-bit ports 
may also as one 8-bit port. 
īƒ˜ BD – Blank Display : This output pin is 
used to blank the display during digit 
switching or by a blanking closure.
BBlloocckk DDiiaaggrraamm
LLOOGGIICC SSYYMMBBOOLL
īƒ˜It consists 4 main section. 
1.CPU interface and control section. 
2.Scan section 
3.Keyboard Section 
4.Display section. 
CPU INTERFACE AND CONTROL SECTION: 
It consists of 
1.Data buffers 
2.I/O control 
3.Control and timing registers. 
4.Timing and control logic.
Data Buffers: 
īƒ˜8-bit bidirectional buffer. 
īƒ˜Used to connect the internal data bus and 
external data bus. 
I/O control: 
īƒ˜I/O control section uses the A0,CS,RD and 
WR signals to controls the data flow. 
īƒ˜The data flow is enabled by CS=0otherwise 
it is the high impedance state. 
īƒ˜A0=0 means the data is transferred. 
īƒ˜A0=1 means status or command word is 
transferred.
īƒ˜I/O control signals listed below 
A0 RD WR Interpretation 
0 1 0 Data is written to 8279from CPU 
0 0 1 Data is read from 8279 to CPU 
1 1 0 Command word is written to 8279from CPU 
1 0 1 Status word is read from 8279 to CPU
TIMING AND CONTROL REGISTERS: 
īƒ˜Store the keyboard and display modes and others 
operating condition programmed by the CPU. 
īƒ˜The modes are programmed by sending proper 
command A0=1. 
TIMING AND CONTROL: 
īƒ˜It consist timing counter chain. 
īƒ˜First counter is divided by N prescalar that can 
be programmed to give an internal frequency of 
100 KHz.
īƒ˜The other counter is divide by basic 
internal frequency .Listed below 
Parameter Timings 
Keyboard and time 5.1 msec 
Keyboard and debounce time 10.3 msec 
Key scan time 80 Îŧ sec 
Display scan time 10.3 msec 
Digit ON time 480 Îŧ sec 
Blanking time 160 Îŧ sec 
Internal clock time 10 Îŧ sec
SSccaann SSeeccttiioonn 
īƒ˜It has two modes, 
1.Encoded mode 
2.Decoded mode. 
ENCODED MODE: 
īƒ˜It provide binary count from 0000 to 1111 
by four scan lines(SC3-SC0)by active high 
inputs. 
īƒ˜It is externally decoded to provide 16 scan 
lines
īƒ˜Display use all 16 lines to interface 16 digit 
7 segment display. 
īƒ˜But keyboard use only 8 scan lines out of 
16 lines. 
īƒ˜DECODED MODE: 
īƒ˜In this mode ,the internal decoder decodes 
the least 2 significant bits. 
īƒ˜It is provide four possible combination from 
(SC0-SC3) such as 1110 ,1101 ,1011 and 
0111. 
īƒ˜ This four active low outputs line is used to 
directly to interface 4 –digit 7-segment 
display ,8*4 matrix keyboard
KKeeyybbooaarrdd sseeccttiioonn 
īƒ˜This is consist of, 
īƒ˜Return buffers. 
īƒ˜Keyboard debounce control. 
īƒ˜FIFO / sensor RAM. 
īƒ˜FIFO / sensor RAM status. 
RETURN BUFFERS: 
īƒ˜8 return lines(RL7-RL0) are buffered and 
latched by when each row scan in scanned 
keyboard or sensor matrix mode. 
īƒ˜In strobed mode ,the contents of return 
lines are transferred to FIFO Ram.
KEYBOARD DEBOUNCE AND CONTROL: 
īƒ˜It is enabled only when keyboard mode is 
selected. 
īƒ˜In this mode , return lines are scanned 
whether any keys are closed in the row. 
īƒ˜If debounce circuit is detect any closed 
switch it wait about 10 msec. 
īƒ˜It is continued , the status of SHIFT and 
CONTROL keys are transferred into RAM. 
īƒ˜FIFO/SENSOR RAM: 
īƒ˜This is a dual function of 8*8 RAM. 
īƒ˜
īƒ˜ In scanned key board mode and Strobed input 
mode , It is FIFO. 
īƒ˜ Each new entry is written into successive RAM 
position and read in the order of entry. 
īƒ˜ In sensor matrix mode it is a sensor RAM. 
īƒ˜ Each sensor RAM is loaded with corresponding 
sensor RAM status. 
īƒ˜ FIFO/SENSOR RAM status: 
īƒ˜ This is used to tell the status of FIFO/SENSOR 
RAM. 
īƒ˜ The status of logic also makes IRQ signal is 
High , When FIFO is empty.
DDiissppllaayy sseeccttiioonn:: 
It consists of, 
1.Display RAM. 
2.Display Address registers. 
3.Display registers. 
DISPLAY RAM: 
īƒ˜ It is a 16*8 RAM. 
īƒ˜Which stores 16 digits display codes. 
īƒ˜ It can be accessed by CPU directly. 
īƒ˜ In Decoded mode,8279 uses only first four location 
of Display RAM. 
īƒ˜ In Encoded mode,8279 uses only first eight 
location of Display RAM. 
īƒ˜ And all 16 location for 16 digits display.
DISPLAY ADDRESS REGISTERS: 
īƒ˜Used to hold address of the byte currently 
write or read by the CPU and scan count 
value. 
īƒ˜In auto increment mode, address in the 
register is automatically incremented for 
each write or read. 
DISPLAY REGISTERS: 
īƒ˜It is a Two 4-bit registers such as , A and B. 
īƒ˜They hold the bit patterns of character to be 
displayed. 
īƒ˜The content of display registers A and B can 
B blanked and inhibited individually.
OOppeerraattiinngg mmooddeess 
ī‚—It is two types, 
1.Input modes. 
2.Display modes. 
INPUT MODES: 
īƒ˜It is basically 3 types, 
1.Scanned keyboard. 
2.Scanned sensor matrix. 
3.Strobed mode. 
SCANNED KEYBOARD: 
Key board can be scanned in two ways. 
1.Encoded Scan 2.Decoded Scan.
ENCODED SCAN: 
īƒ˜In this scan, scan lines (SL2-SL0) are 
decoded externally to provide 8 scan lines. 
īƒ˜Additionally it provides 8 return lines. 
īƒ˜So the size of matrix keyboard is 8*8 (i.e 
Scan * Return)=64. 
īƒ˜When the key is pressed , it is stored the 
status of return lines , Scan lines ,SHIFT 
and CNTL/STB keys into FIFO RAM. 
īƒ˜The Scanned keyboard structure is, 
B7 B6 B5 B4 B3 B2 B1 B0 
CNTL SHIFT SCAN RETURN
Example: 
īƒ˜Find the key code for given condition 
below: 
CNTL/STB SHIFT keys are open. 
The pressed keys are to scan lines 2 and 
return lines 4. 
SOLUTION: 
B7 B6 B5 B4 B3 B2 B1 B0 
1 1 0 1 0 1 0 0
īƒ˜CNTL=1 
īƒ˜SHIFT=1 
īƒ˜Scan mode=010 (Scan line 2) 
īƒ˜ Return mode=100 (Return line 4) 
īƒ˜ Key code =D4 H 
DECODED SCAN: 
īƒ˜ In this mode ,internal decoder decodes the 
least significant bits of scan lines (SC3-SC0). 
īƒ˜ That is provide the four combination such as 
1110,1101,1011 and 0111. 
īƒ˜So the maximum size of keyboard is 8*4=32. 
īƒ˜ The key code is similar to encoded code , only 
bit 5 (B5) is always zero.
2-KEY LOCKOUT: 
īƒ˜In this mode, the two key depression is not 
allowed. 
īƒ˜When any key is depressed, the debounce 
logic is set and 8279 checks for any key 
depress next two scans. 
īƒ˜Three possible condition to avoid 
debouncing: 
īƒ˜Condition 1: 
īƒ˜If other key depression is not found during 
next two scan, it is a single key is depressed 
.Then the status of key code is entered into 
FIFO RAM along with the status of CNTL 
and SHIFT lines
īƒ˜If FIFO RAM is empty , The CPU is entry the 
data. 
īƒ˜If FIFO RAM is full , The CPU does not entry 
the data. 
Condition 2: 
īƒ˜If any other key depress is encountered , 
no entry to the FIFO can occur. 
īƒ˜When the key is released after that only 
Entry will be allowed. 
Condition3: 
īƒ˜If the two key is pressed in simultaneously 
in a debounce cycle, both depression is not 
considered.
ī‚—N-KEY ROLLOVER: 
īƒ˜Each key is depression is treated as 
independently from all others. 
SCANNED SENSOR MATRIX: 
īƒ˜In this mode , image of the sensor matrix is 
kept in the sensor RAM. 
īƒ˜The status of sensor switches are input 
directly to the sensor RAM. 
īƒ˜ 8279 scans row one by one and store the 
status of each row in the corresponding 
memory location. 
īƒ˜STROBED INPUT MODE: 
īƒ˜ The data is entered from Returned lines.
DDiissppllaayy mmooddeess:: 
ī‚—It is basically two types, 
1.Left entry (Type writer mode). 
2.Right entry (Calculator mode). 
LEFT ENTRY: 
īƒ˜In this mode , 8279 display characters 
from left to right. 
īƒ˜Like a typewriter. 
AUTOINCREMENT IN LEFT ENTRY: 
īƒ˜In left entry mode , Autoincrement flag is 
set after each operation display RAM 
address is incremented.
RIGHT ENTRY: 
īƒ˜ In this mode , 8279 display characters 
from Right to left. 
īƒ˜ Like a Calculator. 
AUTOINCREMENT IN RIGHT ENTRY: 
īƒ˜ In right entry mode , Auto increment 
flag is set after each operation display 
RAM address is incremented.
Interfacing with 8279 with 8085

More Related Content

What's hot

Display11 in mp
Display11 in mpDisplay11 in mp
Display11 in mpAisu
 
Programmableperipheralinterface 8255 ppt
Programmableperipheralinterface 8255 pptProgrammableperipheralinterface 8255 ppt
Programmableperipheralinterface 8255 pptsharan Kumar
 
Interfacing 8255
Interfacing 8255Interfacing 8255
Interfacing 8255Anuja Bhakuni
 
Microprocessor Basics 8085-8255 ch-5
Microprocessor Basics 8085-8255 ch-5Microprocessor Basics 8085-8255 ch-5
Microprocessor Basics 8085-8255 ch-5Neelam Kapoor
 
8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijayVijay Kumar
 
Interfacing of 8255 IC By Er. Swapnil Kaware.
Interfacing of 8255 IC By Er. Swapnil Kaware.Interfacing of 8255 IC By Er. Swapnil Kaware.
Interfacing of 8255 IC By Er. Swapnil Kaware.Prof. Swapnil V. Kaware
 
8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijayVijay Kumar
 
IC 8253 - Microprocessor
IC 8253 - Microprocessor IC 8253 - Microprocessor
IC 8253 - Microprocessor Vatsal N Shah
 
Interfacing ics for microprocessor
Interfacing ics for microprocessorInterfacing ics for microprocessor
Interfacing ics for microprocessorTHANDAIAH PRABU
 

What's hot (14)

Display11 in mp
Display11 in mpDisplay11 in mp
Display11 in mp
 
Programmableperipheralinterface 8255 ppt
Programmableperipheralinterface 8255 pptProgrammableperipheralinterface 8255 ppt
Programmableperipheralinterface 8255 ppt
 
8255 PPI
8255 PPI8255 PPI
8255 PPI
 
Interfacing 8255
Interfacing 8255Interfacing 8255
Interfacing 8255
 
Microprocessor Basics 8085-8255 ch-5
Microprocessor Basics 8085-8255 ch-5Microprocessor Basics 8085-8255 ch-5
Microprocessor Basics 8085-8255 ch-5
 
8254 PIT
8254 PIT8254 PIT
8254 PIT
 
8155 GPPI
8155 GPPI8155 GPPI
8155 GPPI
 
8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay
 
Interfacing of 8255 IC By Er. Swapnil Kaware.
Interfacing of 8255 IC By Er. Swapnil Kaware.Interfacing of 8255 IC By Er. Swapnil Kaware.
Interfacing of 8255 IC By Er. Swapnil Kaware.
 
8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay
 
IC 8253 - Microprocessor
IC 8253 - Microprocessor IC 8253 - Microprocessor
IC 8253 - Microprocessor
 
1.ppi 8255
1.ppi 8255 1.ppi 8255
1.ppi 8255
 
8085 lab
8085 lab8085 lab
8085 lab
 
Interfacing ics for microprocessor
Interfacing ics for microprocessorInterfacing ics for microprocessor
Interfacing ics for microprocessor
 

Similar to 8279 d

PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptxPROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptxSanjayV73
 
8279_full.ppt
8279_full.ppt8279_full.ppt
8279_full.pptparul757596
 
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 4 mc.pdf
unit 4 mc.pdfunit 4 mc.pdf
unit 4 mc.pdfssuserdd904d
 
Mod-2 M&M.pptx
Mod-2 M&M.pptxMod-2 M&M.pptx
Mod-2 M&M.pptxTechCook1
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorMuthusamy Arumugam
 
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardCustomizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardBharat Biyani
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecturedeval patel
 
Keypad interfacing 8051 -NANOCDAC
Keypad interfacing 8051 -NANOCDACKeypad interfacing 8051 -NANOCDAC
Keypad interfacing 8051 -NANOCDACnanocdac
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 808582338476
 
1 PageAlarm Clock Design Using PIC18F45E.docx
1  PageAlarm Clock Design Using PIC18F45E.docx1  PageAlarm Clock Design Using PIC18F45E.docx
1 PageAlarm Clock Design Using PIC18F45E.docxmercysuttle
 
Lect 3 ARM PROCESSOR ARCHITECTURE
Lect 3  ARM PROCESSOR ARCHITECTURE Lect 3  ARM PROCESSOR ARCHITECTURE
Lect 3 ARM PROCESSOR ARCHITECTURE Dr.YNM
 
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
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 
Hacking the 2016 Hackaday SuperConference Badge
Hacking the 2016 Hackaday SuperConference BadgeHacking the 2016 Hackaday SuperConference Badge
Hacking the 2016 Hackaday SuperConference Badgeszczys
 
Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310DHEERAJ DHAKAR
 

Similar to 8279 d (20)

PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptxPROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
PROGRAMMABLE KEYBOARD AND DISPLAY INTERFACE(8279).pptx
 
8279_full.ppt
8279_full.ppt8279_full.ppt
8279_full.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 4 mc.pdf
unit 4 mc.pdfunit 4 mc.pdf
unit 4 mc.pdf
 
Mod-2 M&M.pptx
Mod-2 M&M.pptxMod-2 M&M.pptx
Mod-2 M&M.pptx
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
 
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardCustomizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
 
8255.pdf
8255.pdf8255.pdf
8255.pdf
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Keypad interfacing 8051 -NANOCDAC
Keypad interfacing 8051 -NANOCDACKeypad interfacing 8051 -NANOCDAC
Keypad interfacing 8051 -NANOCDAC
 
8085 (1)
8085 (1)8085 (1)
8085 (1)
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 8085
 
1 PageAlarm Clock Design Using PIC18F45E.docx
1  PageAlarm Clock Design Using PIC18F45E.docx1  PageAlarm Clock Design Using PIC18F45E.docx
1 PageAlarm Clock Design Using PIC18F45E.docx
 
Lect 3 ARM PROCESSOR ARCHITECTURE
Lect 3  ARM PROCESSOR ARCHITECTURE Lect 3  ARM PROCESSOR ARCHITECTURE
Lect 3 ARM PROCESSOR ARCHITECTURE
 
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
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
Hacking the 2016 Hackaday SuperConference Badge
Hacking the 2016 Hackaday SuperConference BadgeHacking the 2016 Hackaday SuperConference Badge
Hacking the 2016 Hackaday SuperConference Badge
 
Assembler4
Assembler4Assembler4
Assembler4
 
Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310
 
Pin8086
Pin8086Pin8086
Pin8086
 

More from jemimajerome

Addressing modes-of-8085
Addressing modes-of-8085 Addressing modes-of-8085
Addressing modes-of-8085 jemimajerome
 
8259 updated
8259 updated 8259 updated
8259 updated jemimajerome
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01jemimajerome
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-pptjemimajerome
 
8086 instruction set
8086 instruction set8086 instruction set
8086 instruction setjemimajerome
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkarjemimajerome
 

More from jemimajerome (12)

Addressing modes-of-8085
Addressing modes-of-8085 Addressing modes-of-8085
Addressing modes-of-8085
 
8295
82958295
8295
 
8279 d
8279 d8279 d
8279 d
 
8279
8279 8279
8279
 
8259
8259 8259
8259
 
8259 updated
8259 updated 8259 updated
8259 updated
 
8253,8254
8253,8254 8253,8254
8253,8254
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
 
8086
80868086
8086
 
8086 instruction set
8086 instruction set8086 instruction set
8086 instruction set
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 

Recently uploaded

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
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
🔝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...9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
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
 
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
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
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
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIkoyaldeepu123
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
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
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 

Recently uploaded (20)

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
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
🔝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...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
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
 
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
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
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...
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AI
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
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
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 

8279 d

  • 1. 88227799 KKEEYYBBOOAARRDD AANNDD DDIISSPPLLAAYY IINNTTEERRFFAACCIINNGG Features: īƒ˜It is designed by Intel īƒ˜It is support 64 contact key matrix with two more keys “CONTROL” and “SHIFT” īƒ˜It provides 3 operating modes 1.Scanned keyboard mode 2.Scanned sensor matrix mode 3.Strobed Input mode. īƒ˜It has inbuilt debounce key .
  • 2. īƒ˜It provides 16 byte display RAM to display 16 digits and interfacing 16 digits. īƒ˜It provides two output modes: 1.Left entry (Typewriter type). 2.Right entry (Calculator type). īƒ˜Simultaneous keyboard and display operation facility allows to interleave keyboard and display software. īƒ˜The interrupt output of 8279 can be used to tell CPU that the key press is detected, this eliminates the need of software polling.
  • 5. Cpu interface pins: īƒ˜DB0-DB7 : These are bidirectional data bus lines. The data and command words to and from the CPU are transferred on these lines. īƒ˜ RD, WR ( Input / Output ) READ/WRITE :These input pins enable the data buffers to receive or send data over the data bus. īƒ˜A0(Address lines) : A high on this line indicates the transfer of a command or status information. A low on this line indicates the transfer of data. This is used to select one of the internal registers of 8279.
  • 6.
  • 7. īƒ˜IRQ : This interrupt output lines goes high when there is a data in the FIFO sensor RAM. The interrupt lines goes low with each FIFO RAM read operation but 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 for the circuit. īƒ˜ SL0-SL3-Scan Lines : These lines are used to scan the key board matrix and display digits. These lines can be programmed as encoded or decoded, using the mode control register.
  • 8. Key board Data: īƒ˜RL0 - RL7 - Return Lines : These are the input lines which are connected to one terminal of keys, while the other terminal of the keys are connected to the decoded scan lines. These are normally high, but pulled low when a key is pressed. īƒ˜ SHIFT : The status of the shift input lines is stored along with each key code in FIFO, in scanned keyboard mode. It is pulled up internally to keep it high, till it is pulled low with a key closure. īƒ˜ CNTL/STB- CONTROL/STROBED I/P Mode : In keyboard mode, this lines is used as a control input and stored in FIFO on a key closure. The line is a strobed lines that enters the data into FIFO RAM, in strobed input mode. It has an interrupt pull up. The lines is pulled down with a key closer.
  • 9. Display data: īƒ˜OUT A0 – OUT A3 and OUT B0 – OUT B3 : These are the output ports for two 16*4 or 16*8 internal display refresh registers. The data from these lines is synchronized with the scan lines to scan the display and keyboard. The two 4-bit ports may also as one 8-bit port. īƒ˜ BD – Blank Display : This output pin is used to blank the display during digit switching or by a blanking closure.
  • 11.
  • 13. īƒ˜It consists 4 main section. 1.CPU interface and control section. 2.Scan section 3.Keyboard Section 4.Display section. CPU INTERFACE AND CONTROL SECTION: It consists of 1.Data buffers 2.I/O control 3.Control and timing registers. 4.Timing and control logic.
  • 14. Data Buffers: īƒ˜8-bit bidirectional buffer. īƒ˜Used to connect the internal data bus and external data bus. I/O control: īƒ˜I/O control section uses the A0,CS,RD and WR signals to controls the data flow. īƒ˜The data flow is enabled by CS=0otherwise it is the high impedance state. īƒ˜A0=0 means the data is transferred. īƒ˜A0=1 means status or command word is transferred.
  • 15. īƒ˜I/O control signals listed below A0 RD WR Interpretation 0 1 0 Data is written to 8279from CPU 0 0 1 Data is read from 8279 to CPU 1 1 0 Command word is written to 8279from CPU 1 0 1 Status word is read from 8279 to CPU
  • 16. TIMING AND CONTROL REGISTERS: īƒ˜Store the keyboard and display modes and others operating condition programmed by the CPU. īƒ˜The modes are programmed by sending proper command A0=1. TIMING AND CONTROL: īƒ˜It consist timing counter chain. īƒ˜First counter is divided by N prescalar that can be programmed to give an internal frequency of 100 KHz.
  • 17. īƒ˜The other counter is divide by basic internal frequency .Listed below Parameter Timings Keyboard and time 5.1 msec Keyboard and debounce time 10.3 msec Key scan time 80 Îŧ sec Display scan time 10.3 msec Digit ON time 480 Îŧ sec Blanking time 160 Îŧ sec Internal clock time 10 Îŧ sec
  • 18. SSccaann SSeeccttiioonn īƒ˜It has two modes, 1.Encoded mode 2.Decoded mode. ENCODED MODE: īƒ˜It provide binary count from 0000 to 1111 by four scan lines(SC3-SC0)by active high inputs. īƒ˜It is externally decoded to provide 16 scan lines
  • 19. īƒ˜Display use all 16 lines to interface 16 digit 7 segment display. īƒ˜But keyboard use only 8 scan lines out of 16 lines. īƒ˜DECODED MODE: īƒ˜In this mode ,the internal decoder decodes the least 2 significant bits. īƒ˜It is provide four possible combination from (SC0-SC3) such as 1110 ,1101 ,1011 and 0111. īƒ˜ This four active low outputs line is used to directly to interface 4 –digit 7-segment display ,8*4 matrix keyboard
  • 20. KKeeyybbooaarrdd sseeccttiioonn īƒ˜This is consist of, īƒ˜Return buffers. īƒ˜Keyboard debounce control. īƒ˜FIFO / sensor RAM. īƒ˜FIFO / sensor RAM status. RETURN BUFFERS: īƒ˜8 return lines(RL7-RL0) are buffered and latched by when each row scan in scanned keyboard or sensor matrix mode. īƒ˜In strobed mode ,the contents of return lines are transferred to FIFO Ram.
  • 21. KEYBOARD DEBOUNCE AND CONTROL: īƒ˜It is enabled only when keyboard mode is selected. īƒ˜In this mode , return lines are scanned whether any keys are closed in the row. īƒ˜If debounce circuit is detect any closed switch it wait about 10 msec. īƒ˜It is continued , the status of SHIFT and CONTROL keys are transferred into RAM. īƒ˜FIFO/SENSOR RAM: īƒ˜This is a dual function of 8*8 RAM. īƒ˜
  • 22. īƒ˜ In scanned key board mode and Strobed input mode , It is FIFO. īƒ˜ Each new entry is written into successive RAM position and read in the order of entry. īƒ˜ In sensor matrix mode it is a sensor RAM. īƒ˜ Each sensor RAM is loaded with corresponding sensor RAM status. īƒ˜ FIFO/SENSOR RAM status: īƒ˜ This is used to tell the status of FIFO/SENSOR RAM. īƒ˜ The status of logic also makes IRQ signal is High , When FIFO is empty.
  • 23. DDiissppllaayy sseeccttiioonn:: It consists of, 1.Display RAM. 2.Display Address registers. 3.Display registers. DISPLAY RAM: īƒ˜ It is a 16*8 RAM. īƒ˜Which stores 16 digits display codes. īƒ˜ It can be accessed by CPU directly. īƒ˜ In Decoded mode,8279 uses only first four location of Display RAM. īƒ˜ In Encoded mode,8279 uses only first eight location of Display RAM. īƒ˜ And all 16 location for 16 digits display.
  • 24. DISPLAY ADDRESS REGISTERS: īƒ˜Used to hold address of the byte currently write or read by the CPU and scan count value. īƒ˜In auto increment mode, address in the register is automatically incremented for each write or read. DISPLAY REGISTERS: īƒ˜It is a Two 4-bit registers such as , A and B. īƒ˜They hold the bit patterns of character to be displayed. īƒ˜The content of display registers A and B can B blanked and inhibited individually.
  • 25. OOppeerraattiinngg mmooddeess ī‚—It is two types, 1.Input modes. 2.Display modes. INPUT MODES: īƒ˜It is basically 3 types, 1.Scanned keyboard. 2.Scanned sensor matrix. 3.Strobed mode. SCANNED KEYBOARD: Key board can be scanned in two ways. 1.Encoded Scan 2.Decoded Scan.
  • 26. ENCODED SCAN: īƒ˜In this scan, scan lines (SL2-SL0) are decoded externally to provide 8 scan lines. īƒ˜Additionally it provides 8 return lines. īƒ˜So the size of matrix keyboard is 8*8 (i.e Scan * Return)=64. īƒ˜When the key is pressed , it is stored the status of return lines , Scan lines ,SHIFT and CNTL/STB keys into FIFO RAM. īƒ˜The Scanned keyboard structure is, B7 B6 B5 B4 B3 B2 B1 B0 CNTL SHIFT SCAN RETURN
  • 27. Example: īƒ˜Find the key code for given condition below: CNTL/STB SHIFT keys are open. The pressed keys are to scan lines 2 and return lines 4. SOLUTION: B7 B6 B5 B4 B3 B2 B1 B0 1 1 0 1 0 1 0 0
  • 28. īƒ˜CNTL=1 īƒ˜SHIFT=1 īƒ˜Scan mode=010 (Scan line 2) īƒ˜ Return mode=100 (Return line 4) īƒ˜ Key code =D4 H DECODED SCAN: īƒ˜ In this mode ,internal decoder decodes the least significant bits of scan lines (SC3-SC0). īƒ˜ That is provide the four combination such as 1110,1101,1011 and 0111. īƒ˜So the maximum size of keyboard is 8*4=32. īƒ˜ The key code is similar to encoded code , only bit 5 (B5) is always zero.
  • 29. 2-KEY LOCKOUT: īƒ˜In this mode, the two key depression is not allowed. īƒ˜When any key is depressed, the debounce logic is set and 8279 checks for any key depress next two scans. īƒ˜Three possible condition to avoid debouncing: īƒ˜Condition 1: īƒ˜If other key depression is not found during next two scan, it is a single key is depressed .Then the status of key code is entered into FIFO RAM along with the status of CNTL and SHIFT lines
  • 30. īƒ˜If FIFO RAM is empty , The CPU is entry the data. īƒ˜If FIFO RAM is full , The CPU does not entry the data. Condition 2: īƒ˜If any other key depress is encountered , no entry to the FIFO can occur. īƒ˜When the key is released after that only Entry will be allowed. Condition3: īƒ˜If the two key is pressed in simultaneously in a debounce cycle, both depression is not considered.
  • 31. ī‚—N-KEY ROLLOVER: īƒ˜Each key is depression is treated as independently from all others. SCANNED SENSOR MATRIX: īƒ˜In this mode , image of the sensor matrix is kept in the sensor RAM. īƒ˜The status of sensor switches are input directly to the sensor RAM. īƒ˜ 8279 scans row one by one and store the status of each row in the corresponding memory location. īƒ˜STROBED INPUT MODE: īƒ˜ The data is entered from Returned lines.
  • 32. DDiissppllaayy mmooddeess:: ī‚—It is basically two types, 1.Left entry (Type writer mode). 2.Right entry (Calculator mode). LEFT ENTRY: īƒ˜In this mode , 8279 display characters from left to right. īƒ˜Like a typewriter. AUTOINCREMENT IN LEFT ENTRY: īƒ˜In left entry mode , Autoincrement flag is set after each operation display RAM address is incremented.
  • 33. RIGHT ENTRY: īƒ˜ In this mode , 8279 display characters from Right to left. īƒ˜ Like a Calculator. AUTOINCREMENT IN RIGHT ENTRY: īƒ˜ In right entry mode , Auto increment flag is set after each operation display RAM address is incremented.