
13-1
CHAPTER 13
INTERFACING WITH EXTERNAL MEMORY
The device can interface with a variety of external memory devices. Six chip-selects can be indi-
vidually programmed for bus width, the number of wait states, and a multiplexed or demulti-
plexed address/data bus. Other features of the external memory interface include ready control
for inserting additional wait states, a bus-hold protocol that enables external devices to take con-
trol of the bus, and two write-control modes for writing words and bytes to memory. These fea-
tures provide a great deal of flexibility when interfacing with external memory devices.
In addition to describing the signals and registers related to external memory, this chapter discuss-
es the process of fetching the chip configuration bytes and configuring the external bus. It also
provides examples of external memory configurations and chip-select setup.
13.1 INTERNAL AND EXTERNAL ADDRESSES
The address that external devices see is different from the address that the device generates inter-
nally. Internally, the device has 24 address lines, but only the lower 20 address lines (A19:0)
are implemented with external pins. The absence of the upper four address bits at the external pins
causes different internal addresses to have the same external address. For example, the internal
addresses FF2080H, 7F2080H, and 0F2080H all appear at the 20 external pins as F2080H. The
upper nibble of the internal address has no effect on the external address.
The address seen by an external device also depends on the number of address lines that the ex-
ternal system uses. If the address on the external pins (A19:0) is F2080H, and only A17:0 are con-
nected to the external device, the external device sees 32080H. The upper four address lines
(A19:16) are implemented by the EPORT. Table 13-1 shows how the external address depends
on the number of EPORT lines used to address the external device.
Table 13-1. Example of Internal and External Addresses
EPORT Lines
Connected to the
External Device
Internal Address
Address on the
Device Pins
Address Seen by
External Device
A16
x
F2080H
F2080H
12080H
A17:16
x
F2080H
F2080H
32080H
A18:16
x
F2080H
F2080H
72080H
A19:16
x
F2080H
F2080H
F2080H
Содержание 80C196NU
Страница 1: ...8XC196NP 80C196NU Microcontroller User s Manual...
Страница 2: ...8XC196NP 80C196NU Microcontroller User s Manual August 1995 Order Number 272479 002...
Страница 18: ...1 Guide to This Manual...
Страница 19: ......
Страница 31: ......
Страница 32: ...2 Architectural Overview...
Страница 33: ......
Страница 48: ...3 Advanced Math Features...
Страница 49: ......
Страница 56: ...4 Programming Considerations...
Страница 57: ......
Страница 72: ...5 Memory Partitions...
Страница 73: ......
Страница 106: ...6 Standard and PTS Interrupts...
Страница 107: ......
Страница 144: ...7 I O Ports...
Страница 145: ......
Страница 165: ......
Страница 166: ...8 Serial I O SIO Port...
Страница 167: ......
Страница 183: ......
Страница 184: ...9 Pulse width Modulator...
Страница 185: ......
Страница 196: ...10 Event Processor Array EPA...
Страница 197: ......
Страница 225: ......
Страница 226: ...11 Minimum Hardware Considerations...
Страница 227: ......
Страница 239: ......
Страница 240: ...12 Special Operating Modes...
Страница 241: ......
Страница 255: ......
Страница 256: ...13 Interfacing with External Memory...
Страница 257: ......
Страница 303: ......
Страница 304: ...A Instruction Set Reference...
Страница 305: ......
Страница 373: ......
Страница 374: ...B Signal Descriptions...
Страница 375: ......
Страница 390: ...C Registers...
Страница 391: ......
Страница 447: ......
Страница 448: ...Glossary...
Страница 449: ......
Страница 458: ...Index...
Страница 459: ......