How to choose to use LMEM caches or CORE caches?

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

How to choose to use LMEM caches or CORE caches?

Jump to solution
285 Views
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 Kudos
1 Solution
246 Views
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

View solution in original post

0 Kudos
2 Replies
247 Views
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 Kudos
210 Views
Chris-Sun
Contributor II

Hi @lukaszadrapa 

Thank you for your response to my post.

Your response resolved my confusion.
 

Best regards,
Chris

0 Kudos