13-7
INTERFACING WITH EXTERNAL MEMORY
13.3.1 Defining Chip-select Address Ranges
This section describes the ADDRCOMx and ADDRMSKx registers and how to set them up for
a desired address range. The ADDRCOMx register (Figure 13-2) and ADDRMSKx register (Fig-
ure 13-3) control the assertion of each chip-select output CSx#. The BASE19:8 bits in the
ADDRCOMx register determine the base address of the address range. The MASK19:8 bits in
the ADDRMSKx register determine the size of the address range.
ADDRCOM
x
x
= 0–5
Address:
Reset State:
Table 13-4
The address compare (ADDRCOM
x
) register specifies the base (lowest) address of the address
range. The base address of a 2
n
-byte address range must be on a 2
n
-byte boundary.
15
8
—
—
—
—
BASE19
BASE18
BASE17
BASE16
7
0
BASE15
BASE14
BASE13
BASE12
BASE11
BASE10
BASE9
BASE8
Bit
Number
Bit
Mnemonic
Function
15:12
—
Reserved; for compatibility with future devices, write zeros to these bits.
11:0
BASE19:8
Base Address Bits
These bits are the 12 most-significant bits of the base address of the
address range assigned to chip-select
x
.
Figure 13-2. Address Compare (ADDRCOM
x) Register
Table 13-4. ADDRCOM
x Addresses and Reset Values
Register
Address
Reset Value
ADDRCOM0
1F40H
0F20H
ADDRCOM1
1F48H
X000H
ADDRCOM2
1F50H
X000H
ADDRCOM3
1F58H
X000H
ADDRCOM4
1F60H
X000H
ADDRCOM5
1F68H
X000H
Summary of Contents for 80C196NU
Page 1: ...8XC196NP 80C196NU Microcontroller User s Manual...
Page 2: ...8XC196NP 80C196NU Microcontroller User s Manual August 1995 Order Number 272479 002...
Page 18: ...1 Guide to This Manual...
Page 19: ......
Page 31: ......
Page 32: ...2 Architectural Overview...
Page 33: ......
Page 48: ...3 Advanced Math Features...
Page 49: ......
Page 56: ...4 Programming Considerations...
Page 57: ......
Page 72: ...5 Memory Partitions...
Page 73: ......
Page 106: ...6 Standard and PTS Interrupts...
Page 107: ......
Page 144: ...7 I O Ports...
Page 145: ......
Page 165: ......
Page 166: ...8 Serial I O SIO Port...
Page 167: ......
Page 183: ......
Page 184: ...9 Pulse width Modulator...
Page 185: ......
Page 196: ...10 Event Processor Array EPA...
Page 197: ......
Page 225: ......
Page 226: ...11 Minimum Hardware Considerations...
Page 227: ......
Page 239: ......
Page 240: ...12 Special Operating Modes...
Page 241: ......
Page 255: ......
Page 256: ...13 Interfacing with External Memory...
Page 257: ......
Page 303: ......
Page 304: ...A Instruction Set Reference...
Page 305: ......
Page 373: ......
Page 374: ...B Signal Descriptions...
Page 375: ......
Page 390: ...C Registers...
Page 391: ......
Page 447: ......
Page 448: ...Glossary...
Page 449: ......
Page 458: ...Index...
Page 459: ......