Download presentation
Presentation is loading. Please wait.
Published byPaulina Teresa Singleton Modified over 6 years ago
1
Dr. Rabie A. Ramadan Al-Azhar University Lecture 5
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 5
2
Interfacing Memory An address should be placed on the address lines.
The low-order address lines are decoded by the internal decoder of the memory chip, and the addressed register is identified. The high-order address should be decoded to generate a Chip Select signal, and the memory chip is selected by asserting the Chip Select low.
3
Interfacing Memory To read from the addressed register, the should be asserted low to enable the output buffer, and then the data byte from the register will be placed on the I/O lines. To write into the addressed register, the should be asserted low to enable the input buffer, and then data bits from the data lines are stored into the register.
4
How does the Z80 Read from or Write into Memory?
5
Basic Concepts in Memory Interfacing
Interface Function: Be able to select the chip Identify the register Enable the appropriate buffer.
6
Read from the Memory
7
Write into memory register
8
Address Decoding 3 input lines A0-A2 (Memory Select Buffer (MSB))
A3 – A7 are control lines since the address starts at F0H to F7H 3 lines enable only one o/p line 8 memory chips can be controlled A7 A6 A5 A4 A3 A2 A1 A0 1 = F7H
9
Example 1: Interfacing the 2764 EPROM
Used in industry to develop microprocessor-based products. 8k (8192 8) memory chip with 8 data lines Housed in a 28-pin package.
10
Chip Configuration
11
What is the Memory Addresses Range?
1 0000H 1FFFH
12
Interfacing CMOS 6116 Static R/W Memory
This is a 2k static memory chip organized as 2048 8 format. It has 11 address lines (A10-A0), 8 data lines 3 control signals:
13
Chip Configuration
14
Memory Interface What is the addresses range? Assume A12 and A11 are do not care . A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 1 X 8000 87FF -- Address ranges may differ due to the do not care at A12 and A11
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.