Question about SRAM declaration at XMC4700

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User13334
Level 2
Level 2
Short question I work with a XMC4700 board
Overall, the controller has 352 Kbytes SRAM

from data sheet:

PSRAM 1FFE 8000-1FFF FFFF hex 96 KByte
DSRAM 2000 0000-2001 FFFF hex 128 KByte
CSRAM 2002 0000-2003 FFFF hex 128 KByte

My question, can I use 150 kByte contiguously as GRAM Buffer

Where and how would I have to declare such an area (DSRAM+CSRAM)?


Thank you for your help

EbbeSand
0 Likes
1 Reply
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

The RAM in the XMC4700 is splitted among 3 different ram blocks although linear addressable (see linker file).
You need only to take care that the buffer you declare is 4bytes aligned.

Regards,
Jesus
0 Likes