s32k144 Question about Cache operation after VLPS->RUN mode transition

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

s32k144 Question about Cache operation after VLPS->RUN mode transition

Jump to solution
564 Views
Hirofumi
Contributor II

I use cache enable using below cmd after reset.

LMEM->PCCRMR = 0x80000000U;/*Only R0 region is cacheable*/
LMEM->PCCCR = 0x85000001U;

Other LMEM register is used reset value.

[Questions]

When cache is enable and MCU transitions to VLPS->RUN,

Do I need to any register operation for chache ?

0 Kudos
1 Solution
530 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

The content of memories (including the cache memory) is retained. Let me share some screenshots from the reference manual:

lukaszadrapa_0-1667809480593.png

 

lukaszadrapa_1-1667809492929.png

Regards

Lukas

 

View solution in original post

0 Kudos
3 Replies
549 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Hirofumi 

this configuration is kept during the VLPS, no configuration is needed.

Regards,

Lukas

0 Kudos
535 Views
Hirofumi
Contributor II

Hi lukas,

Thank you for supporting.

Will the data that was read into chche memory be keep in VLPS mode?
If no, Should I need to execute invalidate cmd after transit VLPS -> RUN?

0 Kudos
531 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

The content of memories (including the cache memory) is retained. Let me share some screenshots from the reference manual:

lukaszadrapa_0-1667809480593.png

 

lukaszadrapa_1-1667809492929.png

Regards

Lukas

 

0 Kudos