Setting CPCSRCR0[SRMSZ] bit in T1040RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting CPCSRCR0[SRMSZ] bit in T1040RDB

576 Views
hv
Contributor II

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!

0 Kudos
Reply
2 Replies

514 Views
alexander_yakov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

514 Views
hv
Contributor II

Yes, I remembered the CPCSRCR0[SRAMEN] bit.

Thanks!

0 Kudos
Reply