Professional Documents
Culture Documents
09 Chapter 3
09 Chapter 3
8085 .
Avaav a3isi03y
only.
execution of instructions.
CPU .
PARITY (P) : The parity status flag is set to '1' when the
arithmetic operation.
a. Address bus
X1 czz 1 40 ........I Vcc
it desires to access.
They are used for the least significant 8-bits of the memory
machine cycle. Again they are used for data during second
memory.
goes low the data on the data bus is written into the
of 6MHZ.
CLK OUT: This signal can be used as the system clock for
other devices.
i) INTR
v) TRAP
devices.
(f) SERIAL I/O PORTS : The 8085 has two signals to implement
SID AND SOD : SID is a data line for serial input where as
2. ARITHMETIC GROUP
3. LOGICAL GROUP
accumulator.
and machine control. Egs are : IN, OUT, PUSH, POP, HLT etc.
in the figure(3.4).
" begin
end"
when the fetch cycle starts the contents of the
»D01D 1V3GI
TIME ------- ^
W- -FC -------------- -------------- EC
1
C
-
4
*
KO
m
: ETCH, EXECUTE AND INSTRUCTION CYCLES
RECEIVE INSTRUCTION
FROM MEMORY
XD0131V3CII
TIME
"begin
execute instruction;
end"
the instruction.
>13013 1V3QI
TIME
>DO~D 1V3QI
TIME -£►
The I/O ports may be used to reduce the chip count and
few control lines. The data transfer lines may be used for
input or output or both which are within the chip and are
(D ll - DI8)
INTEL 8212
STROBE
CLEAR(CLR)
(STB)
are enabled and the input data latching occurs using the
is latched using the STB signal and the output buffers are
The INT line goes low when the port is in the input mode and
(c)control mode.
port.
portC. The port 'C has been further divided into two 4-bit
and 8255A.
READ (RD) : When RD goes low the 8255A sends out data or
word 8255A.
Ao
PBo - PB7
A1
c
RD vcc
WR GND
GRDUP A
PDRT C I/D
UPPER PC7-PC4
BI-DIRECTIONAL <4)
DATA BUS 1
8 -B IT INTERNAL
c
DATA
BUS
BUFFER DATA BUS
D 7-D o
\/
k GRDUP B .
J PDRT C l
\ I/D
v/ LOWER PC3-PCO
/\ j
(4 )
RD - READ GRDUP B
CONTROL GRDUP
WR - WRITE I/O
PDRT B PB7-PBo
A1 - CDNTRDL
(8)
Ao-
RESET- LDGIC
S3
lines namely RD, WR, RESET, CS, AO and Al. It accepts input
from the CPU address and control buses and inturn issues
write logic, receives CONTROL WORD from the internal data bus
allowed.
MODE 2.
45
a specified port.
signals.
output ports.
structure.
IR1
CS —
A
RD — V cc
WR —
GND
Ao —
INT
CASo-CAS2 INTA
SP / EN —
buffer.
IRo
IR1
IR2
IR3
IR4
IR5
IR6
IR7
CONTROL LOGIC: This block has two pins namely INT (Interrupt)
high.
8259 .
high.
the IMR and the ISR. It resolves the priority and sets the
bus. The CALL address is the vector memory location for the
data transfer.
while programming the controller, the CPU sends data for the
7s
V
D o -D 7
DACKo
CS
DRQ1
CLK
RESET DACK1
<
7S
A o -A 3
7
S
DRQ2
\
£7
^
V
A 4 -A 7
7
DACK2
TTdr
I/DW DAQ3
READY DACK3
HRQ AEN
HRQA ADSTB
ME MR TC
IC M W MARK
DMA CHANNELS: The 8257 has four identical channels, each with
channel has two 16-bit registers, one for the memory address
where data transfer should begin, and the second for a 14-
bit count. Bits D15 and D14 of the count register specify
DACKo
DRQ1
DACK1
DRQ2
DACK2
DRQ3
DACK3
follows:
2) When the DRQ has been received and the channel enabled,
3) In the next cyle, the MPU relinquishes the buses and sends
peripheral.
compatible with 8085, 8086, 8088, and 8748 system. The I.C
the CPU.
8251A.
8251A.
data.
tranmission.
TXD
Do-D7 <^I
TXRDY
CS
TXE
CLK
INTEL 8251A
RESET TXC
RD
RXD
WR
RXRDY
c/5 RXC
"dsr
SYNDET /gRKDET
DTR
V cc
CTS
RTS GND
transmission.
are received.
parallel word received from the MPU into serial bits and
D 7-D o
■N TRANSMIT TXD
BUFFER
reset-
CLK -
READ /
WRITE
c/5- TXRDY
CONTROL TRANSMIT
RD -
TXE
LOGIC CONTROL
TXC
Ur -
TT
cs -
asa ■
RECEIVE RXD
BUFFER
am •
MODE M
c
- S13
CONTROL
•sia
RXRDY
RECEIVE
RXC
CONTROL
SYNDET
INTERNAL
DATA BUS
When the RXD line goes low, the control logic assumes
it as a START bit, waits for half a bit time, and samples the
synchronous mode, two i/p signals and one o/p signal are
chips are Intel 8253 and 8254. The 8253 operates in the
namely,
pins are,
2) and each counter has two input signals - CLOCK (CLK) and
lines.
Ao
CLK1
A1 INTEL 8253
GATE1
RD
□UT1
WR CLK2
V cc GATE2
□ UT2
GND
FIG 3.18 ■
. SCHEMATIC DIAGRAM DF INTEL 8 2 5 3
CLKo
GATEo
OUTo
CLK1
GATE1
□UT1
CLKP
GATE2
□UT2
clock of 8253 should be less than 2.6 MHz, since the clock
N.Then the counter decrements count, and the output goes low
is kept high. In this mode the output remains high for (N-
high .
for N/2 clock pulses and then goes low for next N/2
the output of the counter becomes high after the mode is set
the first negative edge of the clock after the rising edge of
the GATE input, on terminal count the output goes low for
59
components.
of the board.
S/H amplifier enters the hold mode and the A/D conversion
process begins.
CHANNEL ADDRESS
V
DAT0-DAT7
connecting the jumper wires. The data sent out by the jdp
P2 (ANALDG RETURN)