How to choose to use LMEM caches or CORE caches?

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

How to choose to use LMEM caches or CORE caches?

跳至解决方案
296 次查看
Chris-Sun
Contributor II
I am currently using the Cache feature of S32K3x in my RTD.
The Cache is divided into two types: CACHE_IP_LMEM (LMEM caches) and CACHE_IP_CORE (CORE caches). Different APIs are used to enable, disable, clean, and invalidate the Cache.
However, I have not been able to find the specific implementation of the APIs when using CACHE_IP_LMEM (such as Cache_Ip_Invalidate).
1.png
 
 
1. What is the difference between LMEM caches and CORE caches in S32K3x? Where can I find an explanation for each?
2. How do I choose between using LMEM caches or CORE caches in S32K3x?
3. Where can I find the specific API implementation for using LMEM caches in RTD?"
 
The version information:
 

S32DS: 3.5

RTD: S32K3_RTD_3_0_0_D2303_ASR_REL_4_7_REV_0000_20230331

Best regards,
Chris

0 项奖励
1 解答
257 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Chris-Sun 

This is just a compatible design of RTD driver to cover other chips‘ Lmem module. There is no Lmem in S32K3.

You can find in the source files:

lukaszadrapa_0-1712150447240.png

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
2 回复数
258 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Chris-Sun 

This is just a compatible design of RTD driver to cover other chips‘ Lmem module. There is no Lmem in S32K3.

You can find in the source files:

lukaszadrapa_0-1712150447240.png

Regards,

Lukas

0 项奖励
221 次查看
Chris-Sun
Contributor II

Hi @lukaszadrapa 

Thank you for your response to my post.

Your response resolved my confusion.
 

Best regards,
Chris

0 项奖励