AnsweredAssumed Answered

LPC546 SRAMX Uses

Question asked by Matt Lang on Jan 22, 2019
Latest reply on Jan 22, 2019 by jeremyzhou

I am developing on the LPC54605 MCU and I am reading about the SRAMX. I was wondering what this is commonly used for? What benefits can this have?

 

The Users Manual says:
"This RAM can be used, for example, as the location for the program stack, common data, or any other use where a
separate access away from the Main SRAM has an advantage."

 

1) What advantage would putting the program stack in SRAMX be?

2) What advantage would putting "common data" on the SRAMX be?

3) The SRAMX is on the local busses I-CODE D-CODE. Does this mean it much faster to execute code from this SRAM than the other SRAM banks? Or is this used specifically for the XIF with SPIFI?

4) I also read the SRAMX is cleared on startup, is this true? It is cleared by hardware on startup without the C environment startup code clearing it?

 

Thanks,

Matt

Outcomes