Disabling data cache for memory region

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Disabling data cache for memory region

2,019件の閲覧回数
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,871件の閲覧回数
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,921件の閲覧回数
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 件の賞賛
返信