![Intel 80C196NU Скачать руководство пользователя страница 270](http://html1.mh-extra.com/html/intel/80c196nu/80c196nu_user-manual_2072209270.webp)
13-13
INTERFACING WITH EXTERNAL MEMORY
Figure 13-5. Example System for Setting Up Chip-select Outputs
The location and size of an address range are specified by the ADDRCOMx register and the
ADDRMSKx register (see Figure 13-2 and Figure 13-3). The 8-Kbyte SRAM is assigned to ad-
dress range 7E000–7FFFFH and uses chip-select output 2. The 12 most-significant bits of the
base address (7E000H) are written to the BASE19:8 bits in the ADDRCOM2 register, which then
contains 07E0H.
The address range for CS2# is 8 Kbytes or 2
13
bytes (n = 13). The number of bits to be set in
MASK19:8 of ADDRMSK2 is 20 – n = 7. After the 7 most-significant bits of MASK19:8 are set,
ADDRMSK2 contains 0FE0H. Results for CS0# and CS1# are found similarly (see Table 13-9).
Table 13-8. BUSCON
x Registers for the Example System
Chip-
select
Output
Multiplexing
Bus Width
Wait States
Contents of
BUSCON
x
0
Demultiplexed
16 bits
0
C0H
1
Demultiplexed
8 bits
3
83H
2
Demultiplexed
8 bits
0
80H
CS0#
CS2#
A19:0
AD15:0
RD#
WR#
CS1#
8XC196
CE#
D7:0
A2:0
0 WS
80000–FFFFFH
82510
UART
Flash
256K×16
SRAM
8K×8
CE#
A17:0
D15:0
0 WS
7E000–7FFFFH
A12:0
D7:0
CE#
WE#
OE#
WE#
OE#
AD7:0
A2:0
A18:1
AD15:0
Txd
Rxd
A12:0
AD7:0
A2433-03
3 WS
01E00–01EFFH
Содержание 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: ......