Download XC161-32 - Infineon

Transcript
XC161-32 Derivatives
System Units (Vol. 1 of 2)
General System Control Functions
Segment Address Lines
Pins P0H.4 and P0H.3 (SALSEL) define the number of active segment address lines
during reset. This allows selection of which Port 4 pins drive address lines. Depending
on the system architecture, the required address space is chosen and accessible right
from the start; so, the initialization routine can directly access all locations without prior
programming. The required Port 4 pins are automatically switched to address output
mode. The user initialization code may then exactly select the required configuration by
updating register EBCMOD0.
Table 6-6
Configuration of Segment Address Lines
P0H.4-3 (SALSEL)
Segment Address Lines Directly Accessible Addr. Space
11
Two: A17 … A16
256 Kbytes
(Default without pull-downs)
10
Eight: A23 … A16
12 Mbytes (Maximum)
01
None
64 Kbytes (Minimum)
00
Four: A19 … A16
1 Mbyte
Even if not all segment address lines are enabled on Port 4, the XC161 internally uses
its complete 24-bit addressing mechanism. This allows restriction of the width of the
effective address bus, while still deriving CS signals from the complete addresses.
Default: 2-bit segment address (A17 … A16) allowing access to 256 Kbytes.
Chip Select Lines
Pins P0H.2 and P0H.1 (CSSEL) define the number of active chip select signals during
reset. This allows selection of which Port 6 pins drive external CS signals. The user
initialization code may then exactly select the required configuration by updating register
EBCMOD0.
Table 6-7
Configuration of Chip Select Lines
P0H.2-1 (CSSEL)
Chip Select Lines
Note
11
Five: CS4 … CS0
Default without pull-downs
10
None
–
01
Two: CS1 … CS0
–
00
Three: CS2 … CS0
–
Default: All 5 chip select lines active (CS4 … CS0).
User’s Manual
SCU_X1, V2.2
6-19
V1.0, 2004-02