How to choose to use LMEM caches or CORE caches?

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

How to choose to use LMEM caches or CORE caches?

ソリューションへジャンプ
604件の閲覧回数
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 解決策
565件の閲覧回数
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 返答(返信)
566件の閲覧回数
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 件の賞賛
返信
529件の閲覧回数
Chris-Sun
Contributor II

Hi @lukaszadrapa 

Thank you for your response to my post.

Your response resolved my confusion.
 

Best regards,
Chris