0% found this document useful (0 votes)
16 views1 page

Microprocessors and Microcontrollers 67

Uploaded by

harrymainah9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

Microprocessors and Microcontrollers 67

Uploaded by

harrymainah9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Microprocessor and Microcontroller

 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
SL2.3.
 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.

In a microprocessor system, when keyboard and 7-segment LED display is


interfaced using ports or latches then the processor has to carry the following
task.

67

You might also like