Disabling data cache for memory region

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

Disabling data cache for memory region

1,908 次查看
nxf92571
NXP Employee
NXP Employee

Hello,

I'm working with S32k358 uC and I'd like to disable data cache for memory region. In block diagram I see tree SRAM blocks SRAM0, SRAM1, SRAM2. Is it possible to disable data cache for SRAM2 and keep data cache for SRAM 0 and SRAM1?

Thank you,

Vladimir

0 项奖励
回复
2 回复数

1,760 次查看
StephenDu
NXP Employee
NXP Employee

hi, 

Yes, it's easy to do this, just remove the macro: D_CACHE_ENABLE/I_CACHE_ENABLE in the related project, commonly in the project properties -> C/C++ Build -> Settings -> Tool Settings -> Standard S32DS C Compiler -> Preprocessor.

0 项奖励
回复

1,810 次查看
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi @StephenDu ,

Could you please provide an update on the progress of this support request?

Thanks in advance,
Luis

0 项奖励
回复