Lecture-52 Strobed Output Mode
Lecture-52 Strobed Output Mode
WR
PC3 INTRA
2
PC4, PC5 I/O
Similarly, the functions of the PORT C lines used for group B control
are described below:
PC1 ( OBF B): Output buffer full for PORT B.
PC2 (ACK B): Acknowledge input signal for PORT B.
PC0 (INTR B): Interrupt request for PORT B.
The internal interrupt enable flip-flop INTE F/F can be set/reset using
bit set/reset of PC2.
Group B
Mode 1 Output
8
PORT B PB7-PB0
INTE
B F/F PC2 STBB
PC1 OBFB
WR
PC0 INTRB
1
PC3 I/O
INTRA
WR
OBFA
ACKA
Example-5
Let the data is to be transferred from microprocessor based
system ‘1’ to another system ‘2. Let this data transfer is to done
through 8255A ports programmed in strobed mode. The two systems,
each having 8255A can be connected as shown in figure below:
8255 A GroupA 8255 A GroupA
Output Mode Input Mode
PORT 8 PORT
A A
OBFA STBA
PC7 PC4
1 2
ACKA IBFA
PC6 PC5
INTRA INTRA
PC3 PC3
Fig.9.19 Data Transfer from one System to another System Through 8255A
One of the 8022The output and input ports of the two systems, acting
as data lines, are connected. The OBF of system ‘1’ is connected to
STB of system ‘2’. The IBF of system ‘2’ is connected to ACK of
system ‘1’ through inverter. The interrupt outputs are connected to
any interrupt of the system. Here, they are connected to RST6.5.
INTRA1
WR1
OBFA1
STBA2
IBFA2
ACKA1
INTRA2
RD2
Halt Halt
ISS1 ISS2
Return Return