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

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

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

跳至解决方案
1,552 次查看
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 项奖励
回复
1 解答
1,518 次查看
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 项奖励
回复
3 回复数
1,537 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Hirofumi 

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

Regards,

Lukas

0 项奖励
回复
1,523 次查看
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 项奖励
回复
1,519 次查看
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 项奖励
回复