Datasheet
XC164-32
Derivatives
Functional Description
Data Sheet 19 V1.1, 2006-08
RH7) so-called General Purpose Registers (GPRs).
The upper 256 bytes of the DPRAM are directly bitaddressable. When used by a GPR,
any location in the DPRAM is bitaddressable.
1024 bytes (2 × 512 bytes) of the address space are reserved for the Special Function
Register areas (SFR space and ESFR space). SFRs are wordwide registers which are
used for controlling and monitoring functions of the different on-chip units. Unused SFR
addresses are reserved for future members of the XC166 Family. Therefore, they should
either not be accessed, or written with zeros, to ensure upward compatibility.
In order to meet the needs of designs where more memory is required than is provided
on chip, up to 12 Mbytes (approximately, see Table 3) of external RAM and/or ROM can
be connected to the microcontroller. The External Bus Interface also provides access to
external peripherals.
Table 3 XC164CS Memory Map
1)
1) Accesses to the shaded areas generate external bus accesses.
Address Area Start Loc. End Loc. Area Size
2)
2) The areas marked with “<” are slightly smaller than indicated, see column “Notes”.
Notes
Flash register space FF’F000
H
FF’FFFF
H
4 Kbytes
3)
3) Not defined register locations return a trap code.
Reserved (Acc. trap) FE’0000
H
FF’EFFF
H
60 Kbytes –
Reserved for EPSRAM F8’1800
H
FD’FFFF
H
378 Kbytes –
Emul. Program
SRAM
4)
4) The Emulation PSRAM (EPSRAM) realizes a 2
nd
access path to the PSRAM with a different timing.
F8’0000
H
F8’17FF
H
6 Kbytes 2
nd
way to PSRAM
Reserved for PSRAM E0’1800
H
F7’FFFF
H
< 1.5 Mbytes Minus PSRAM
Program SRAM E0’0000
H
E0’17FF
H
6 Kbytes Maximum
Reserved for program
memory
C4’0000
H
DF’FFFF
H
< 2 Mbytes Minus Flash
Program Flash/ROM C0’0000
H
C3’FFFF
H
256 Kbytes –
Reserved BF’0000
H
BF’FFFF
H
64 Kbytes –
External memory area 40’0000
H
BE’FFFF
H
< 8 Mbytes Minus reserved
segment
External IO area
5)
20’0800
H
3F’FFFF
H
< 2 Mbytes Minus TwinCAN
TwinCAN registers 20’0000
H
20’07FF
H
2 Kbytes –
External memory area 01’0000
H
1F’FFFF
H
< 2 Mbytes Minus segment 0
Data RAMs and SFRs 00’8000
H
00’FFFF
H
32 Kbytes Partly used
External memory area 00’0000
H
00’7FFF
H
32 Kbytes –










