English
Language : 

PIC24F16KL402 Datasheet, PDF (33/260 Pages) Microchip Technology – Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F16KL402 FAMILY
4.2 Data Address Space
The PIC24F core has a separate, 16-bit wide data
memory space, addressable as a single linear range.
The data space is accessed using two Address
Generation Units (AGUs); one each for read and write
operations. The data space memory map is shown in
Figure 4-3.
All Effective Addresses (EAs) in the data memory space
are 16 bits wide and point to bytes within the data space.
This gives a data space address range of 64 Kbytes or
32K words. The lower half of the data memory space
(that is, when EA<15> = 0) is used for implemented
memory addresses, while the upper half (EA<15> = 1) is
reserved for the Program Space Visibility (PSV) area
(see Section 4.3.3 “Reading Data From Program
Memory Using Program Space Visibility”).
Depending on the particular device, PIC24F16KL402
family devices implement either 512 or 1024 words of
data memory. If an EA points to a location outside of
this area, an all zero word or byte will be returned.
4.2.1 DATA SPACE WIDTH
The data memory space is organized in
byte-addressable, 16-bit wide blocks. Data is aligned in
data memory and registers as 16-bit words, but all the
data space EAs resolve to bytes. The Least Significant
Bytes (LSBs) of each word have even addresses, while
the Most Significant Bytes (MSBs) have odd
addresses.
FIGURE 4-3:
DATA SPACE MEMORY MAP FOR PIC24F16KL402 FAMILY DEVICES(3)
Implemented
Data RAM
MSB
Address
0001h
07FFh
0801h
09FFh(1)
0BFFh(2)
1FFFh
7FFFh
8001h
MSB
LSB
SFR Space
Data RAM
Unimplemented
Read as ‘0’
LSB
Address
0000h
07FEh
0800h
SFR
Space
09FEh(1)
Near
Data Space
0BFEh(2)
1FFEh
7FFFh
8000h
Program Space
Visibility Area
FFFFh
FFFEh
Note 1:
2:
3:
Upper data memory boundary for PIC24FXXKL10X/20X devices.
Upper data memory boundary for PIC24FXXKL30X/40X devices.
Data memory areas are not shown to scale.
DS31037B-page 33
 2011 Microchip Technology Inc.