If I set CPCSRCR0[SRAMSZ] to be 00010 (128 Kbytes), does that mean 128 Kbytes can be used as SRAM and the rest of L3 can be used as cache? Thanks!
Yes, the remaining part, not used to SRAM, will be used for cache (including stashing, if enabled).
Note - setting only CPCSRCR0[SRAMSZ] is not enough to enable SRAM, please do not forget CPCSRCR0[SRAMEN].
Have a great day,
Alexander
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------