cancel
Showing results for 
Search instead for 
Did you mean: 

How to use processor core local RAM of the MCU SPC584C70E3?

FCui
Associate

Dear

I noticed there are 64K core local RAM in the MCU SPC584C70E3. Does this area is used exclusively by the processor core? Can it be used as general SRAM by user code? If can, how to use it? 

Thanks!

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 REPLY 1
Angelo Castello
Associate III

Good morning,

You are right. The device has 64KiB per Core's of local RAM memory mapped and accessible by means of :

0x50800000 0x5080FFFF D-MEM CPU_0

0x52800000 0x5280FFFF D-MEM CPU_2

For your device part number SPC584C70E3 you have only a single Core then only one Local RAM @ 0x52800000

One typical use case is something like this :

char myVar[32] __attribute__ ((section (".dmemcpu2"))) = { ...

You need only to add the section dmemcpu2 into your linker script.

Hoping to meet your request.

Regards,

Angelo