English
Language : 

PIC24EP256GU810-I Datasheet, PDF (123/622 Pages) Electronic Film Capacitors, Inc. – 16-Bit Microcontrollers and Digital Signal Controllers with High-Speed PWM, USB and Advanced Analog
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
EXAMPLE 4-2: EXTENDED DATA SPACE (EDS) WRITE ADDRESS GENERATION
EA<15> = 0
(DSWPAG = Don’t Care)
16-Bit DS EA
Byte
Select
Generate
No EDS Access 0
EA
PSV Address
EA<15>
1
EA
DSWPAG<8:0>
9 Bits
15 Bits
24-Bit EDS EA
Note: DS read access when DSRPAG = 0x000 will force an address error trap.
Byte
Select
The paged memory scheme provides access to
multiple 32-Kbyte windows in the EDS and PSV
memory. The Data Space Page registers DSxPAG, in
combination with the upper half of data space address
can provide up to 16 Mbytes of additional address
space in the EDS and 12 Mbytes (DSRPAG only) of
PSV address space. The paged data memory space is
shown in Example 4-3.
The Program Space (PS) can be accessed with
DSRPAG of 0x200 or greater. Only reads from PS are
supported using the DSRPAG. Writes to PS are not
supported, so DSWPAG is dedicated to DS, including
EDS, only. The data space and EDS can be read from
and written to using DSRPAG and DSWPAG,
respectively.
 2009-2012 Microchip Technology Inc.
DS70616G-page 123