Lecture-43 Intel 8255A: Programming and Operating Modes
Lecture-43 Intel 8255A: Programming and Operating Modes
We may allocate any address to 8255. Let us assume A15- A11 bits to
be 00000 for generating the chip select signal along with IO/
= 1.
Example:
Configure 8255 A in following I/O mode.
PORT A; Input; POET B: output
PCU output; PCL: Input
Input strobe
is HIGH and
PC1
Fig shows the timing diagram under strobed input mode. The
pay device that is inputting the data puts the data at PORT A (or
PORT B) pins and then sends a low strobe to indicate to the 8255
that data is available. This loads the data into the concerned input
port buffer. The 8255A acknowledges receiving the data by sending
IBF HIGH back to the peripheral device. When the externally
generated strobe signal goes back to HIGH, the INTR is set high
(provided, if the INTE f/f was initially set to enable the interrupts). This
INTR signal interrupts the CPU (provided the concerned interrupt of
8085 been unmasked earlier). The 8085 CPU when ready, reads
(input) the data into assumable by generating a low
reset to low disabling the interrupt at the start of low
reset to low at the instant of
. The INTR is
. The IBF is