Disabling data cache for memory region

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

Disabling data cache for memory region

1,913 Views
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 Kudos
Reply
2 Replies

1,765 Views
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 Kudos
Reply

1,815 Views
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 Kudos
Reply