XMC4500 Tips of the day: The on chip memories of XMC4500.

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

cross mob
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
The on chip memories of XMC4500 consist of the following

• 16 KB on-chip boot ROM
• 64 KB on-chip high-speed program memory
• 64 KB on-chip high speed data memory
• 32 KB on-chip high-speed communication
• 1024 KB on-chip Flash Memory with 4 KB instruction cache
0 Likes
4 Replies
Not applicable
hi
How to use 64 KB on-chip high speed data memory?
0 Likes
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi XMC4500,

Thank you for your interest in this topic. The 64KB On chip high speed data memory, refers to DSRAM which is used for general data storage during your software programming. Variables will be mapped to the DSRAM if it is not declared as a constant.

Best Regards
Travis
0 Likes
User5327
Level 4
Level 4
Hi
And how to use 64 KB on-chip high speed program memory?
(Is it possible to use it for variables or arrays?)

BR
0 Likes
Not applicable
Hi Koumak,

Yes, it is possible. You just need to mapped your variable or array to the DSRAM location when you declare it.
If you are using DAVE3, you may want to check out the example on "FunctionLocated_in_RAM' in DAVE Example Portal
(Search keyword "Code in RAM")
0 Likes