Memory Interfacing in 8051
Memory Interfacing in 8051
8051
What is External Memory Interfacing?
ABSOLUTE DECODING
LINEAR DECODING
ABSOLUTE DECODING
In this technique, all the higher address lines are decoded to select the memory chip,
and the memory chip is chosen only for the logic levels defined in these high-order
address lines and no other logic levels will select the chip.
LINEAR DECODING
Linear decoding –
Individual high-order address lines can be used to pick memory chips in
compact systems, eliminating the need for hardware for decoding logic. Linear
decoding is the term for this method.
Partial decoding is another name for this process.
It lowers the cost of encoding and circuitry, but it has the disadvantage of
requiring multiple addresses (shadow addresses).
The addressing of RAM using the linear encoding technique is seen in Figure
10. After inversion, A is a line attached to the chip select signal of the EPROM
and then to the chip select signal of the RAM. As a result, EPROM is selected
when the status of A line is “empty,” and RAM is selected when the status of
the A15 line is “one.” Since the other address lines aren’t used to generate
chip pick signals, their status isn’t taken into account.
PROBLEM