Unit 3bbb
Unit 3bbb
Unit 3bbb
Dynamic RAM
Whenever a large capacity memory is required in a
microcomputer system, the memory subsystem is generally
designed using dynamic RAM because there are various
advantages of dynamic RAM.
E.g. higher packing density, lower cost and less power
consumption.
A typical static RAM cell may require six transistors while the
dynamic RAM cell requires only a transistors along with a
capacitor.
The charge stored in capacitor tends to discharge which giving
rise to the possibility of data loss
the data stored in a dynamic RAM cell must be refreshed after
a fixed time interval regularly. The process of refreshing the
data in RAM is called as Refresh cycle.
Problem:
Interface an input port 74LS245 to
read the status SW1 to SW8.the
switches, when shorted, input a 1
else input a 0 to the microprocessor
system. Store the status in register
BL. The address of the port is 0740H.
Problem:
Design an interface of an input port 74LS245 to
read the status of switches SW1 to SW8,and
an output port 74LS373 with 8086. Display
the number of a key that is pressed, i.e. from
1 to 8 on a 7-seg display with help of the
output port. Write an ALP for this task, assume
that only one key is pressed at a time. Draw
the schematic of the required hardware. The
input port address is 0008H and the output
port address is 000AH
MOV BL, 00
MOV CL,00
XOR AX,AX
IN AL, 08H
INC CL
REPEAT:
RCR AL
JC XX
INC CL
JMP YY
NEXT:
MOV AL, CL
OUT 0AH, AL
HLT
8255 Architecture
Pin Diagram
ACK
(Acknowledge) This control input, when falls to
logic low level, acknowledges that the previous
data byte is received by the destination and next
byte may be sent by the processor. This signal
enables the internal tristate buffers to send the
next data byte on port A.
INTE1 (A flag associated with OBF) This
can be controlled by bit set/reset mode
with PC6.