Setting CPCSRCR0[SRMSZ] bit in T1040RDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Setting CPCSRCR0[SRMSZ] bit in T1040RDB

480 次查看
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 项奖励
回复
2 回复数

418 次查看
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 项奖励
回复

418 次查看
hv
Contributor II

Yes, I remembered the CPCSRCR0[SRAMEN] bit.

Thanks!

0 项奖励
回复