Intel MCS48 User Manual page 363

Family of single chip microcomputers
Hide thumbs Also See for MCS48:
Table of Contents

Advertisement

8279/8279-5
HARDWARE
DESCRIPTION
The
8279
is
packaged
in
a
40
pin DIP.
The
following
is
a functional description
of
each
pin.
No.
Of
Pins
Designation
Function
SHIFT
The
shift
input status
is
stored
along
with the
key
position
on
key
closure
in
the
Scanned
8
DB0-DB7
1
CLK
1
RESET
1
CS
1
Ao
2
RD,
WR
1
IRQ
2
V
ss
V
cc
4
SL0-SL3
8
RL0-RL7
Bi-directional
data
bus.
All
data
and
commands
between
the
CPU
and
the
8279
are
trans-
mitted
on
these
lines.
Clock from system used
to
gen-
erate
internal
timing.
A
high
signal
on
this
pin resets
the 8279. After being reset the
8279
is
placed
in
the following
mode:
1)
16
8-bit
character display
left
entry.
2)
Encoded
scan
keyboard—
2
key
lockout.
Along
with
this
the
program
clock prescaler
is
set to
31.
Chip
Select.
A
low on
this
pin
enables
the interface functions
to
receive or transmit.
Buffer
Address.
A
high
on
this
line
indicates the signals
in
or
out are interpreted as a
com-
mand
or
status.
A
low
indicates
that
they
are
data.
Input/Output read
and
write.
These
signals
enable
the data
buffers
to either
send
data
to
the external
bus
or receive
it
from
the external bus.
Interrupt
Request.
In
a
keyboard
mode,
the
interrupt
line
is
high
when
there
is
data
in
the
FIFO/
Sensor
RAM. The
interrupt
line
goes
low
with
each
FIFO/
Sensor
RAM
read
and
returns
high
if
there
is
still
informa-
tion
in
the
RAM.
In
a
sensor
mode,
the
interrupt
line
goes
high
whenever
a
change
in
a
sensor
is
detected.
Ground
and power
supply
pins.
Scan
Lines
which
are
used
to
scan
the
key switch
or
sensor
matrix
and
the display
digits.
These
lines
can be
either
en-
coded
(1
of 16)
or
decoded
(1
of
4).
Return
line
inputs
which
are
connected
to
the
scan
lines
through
the
keys
or
sensor
switches.
They
have
active
in-
ternal
pullups
to
keep
them
high
until
a
switch closure
pulls
one
low.
They
also
serve as
an
8-bit
input
in
the
Strobed
Input
mode.
No. Of
Pins
Designation Function
Keyboard
modes.
It
has
an
active internal
pullup
to
keep
it
high
until
a switch closure
pulls
it
low.
CNTL/STB
For
keyboard
modes
this line
is
used
as a control input
and
stored
like
status
on
a
key
clo-
sure.
The
line
is
also the
strobe
line
that
enters the data
into
the
FIFO
in
the
Strobed
Input
mode.
(Rising Edge).
It
has an
active
internal
pullup
to
keep
it
high
until
a switch closure
pulls
it
low.
These two
ports are the
outputs
for
the 16 x 4 display
refresh
registers.
The
data
from
these
outputs
is
synchronized
to
the
scan
lines
(SL0-SL3)
for multi-
plexed
digit
displays.
The two
4
bit
ports
may
be blanked
inde-
pendently.
These two
ports
may
also
be considered
as
one
8
bit
port.
BD
Blank
Display.
This output
is
used
to
blank thedisplay during
digit
switching or
by
a display
blanking
command.
OUT
Ao-OUT
A3
OUT
Bo-OUT
B3
PRINCIPLES
OF
OPERATION
The
following
is
a description
of
the
major elements
of
the
8279
Programmable
Keyboard/Display
interface device.
Refer
to
the block
diagram
in
Figure
1
.
I/O
Control
and
Data Buffers
The
I/O control section
uses
the
CS,
Ao,
RD
and
WR
lines
to
control
data flow
to
and
from
the various
internal
registers
andbuffers.
All
data flow
to
and from
the
8279
is
enabled by CS.
The
character
of
the information, given or
desired
by
the
CPU,
is
identified
by
Ao.
A
logic
one
means
the information
is
a
command
or
status.
A
logic
zero
means
the information
is
data.
RD
and
WR
determine
the
direction of
data flow
through
the
Data
Buffers.
The
Data
Buffers are
bi-directional buffers that
connect
the
internal
bus_to the
external bus.
When
the chip
is
not
selected
(CS
=
1),
the devices are
in
a high
impedance
state.
The
drivers input
during
WR»CS
and
output during
RD«CS.
Control
and Timing
Registers
and Timing
Control
These
registers store
the
keyboard and
display
modes
and
other operating conditions
programmed
by
the
CPU. The
modes
are
programmed
by
presenting
the
proper
command
on
the data
lines
with
Ao
=
1
and
then sending
a
WR. The
command
is
latched
on
the
rising
edge
of
WR.
8-73
00742A

Advertisement

Table of Contents
loading

Table of Contents