Memory Interfacing PDF
Memory Interfacing PDF
Interfacing
Slides-3
Dr. Ritika
Department of Computer
Application
8085 interfacing with memory Chips
Microprocessor need to access memory quite frequently to read
instructions and data stored in memory; the interface circuit enables that
access.
The interface process involves designing a circuit that will match the memory
requirements with the microprocessor signal.[Memory has certain signal
requirements to read from and write into memory. Similarly
Microprocessor initiates the set of signals when it wants to read from
and write into memory].
*
Memory Structure and its Requirements
Figure Shows:
2048 registers
●
*
Memory Structure and its Requirements
Figure Shows:
8 input lines
●
*
Address Decoding and Memory Addresses
●EPROM Address Lines A11-A0 are connected to memory
chip.
*
Interfacing Circuit
Fig :
*
Interfacing Circuit
Fig: Interfacing Circuit using 3x8 Decoder to interface 2732 EPROM.
● The 8085 address lines A11-A0 are connected to the pins A11-A0 of the memory chip.
● Decoder decode A15-A12 and output O0 is connected to CE’ which is asserted only
when A15-A12 is 0000 (A15 low enables decoder and input 000 asserts the output O0).
*
Interfacing 6116 Memory Chip with 2K
Registers
● 11 Address lines A10-A0 to decode 2048K registers.
● Address lines A15-A11 are connected to decoder(which is enabled by IO/M’ signal in
addition to the address lines A15 and A14).
● RD’ and WR’ signals are directly connected to memory chip.
● MEMR’ and MEMW’ need not to be generated separately (this technique save two gates).
● Memory Address Ranges from 8800H to 8FFFH.
● A13-A11(001) activate output O1 of decoder which is connected to CE’ of memory chip
and it is asserted only when IO/M’ is low.
● 8 Address lines.
● One CE’.
● Includes 256x8 memory locations
● 5 Control and status signals (IO/M’, ALE, RD’,
● Internal latch for de-multiplexing
WR’ and RESET). ● CE’, MEMR and MEMW’ control
signals
*
Interfacing the 8155 Memory Segment
●8205, a 3x8 Decoder, decodes the
address lines A15-A11, O4 enables the
memory chip. Control and status signals from
8085 are connected to the respective signals
of memory chip.