AnsweredAssumed Answered

K82: L1 Code and System caches

Question asked by Eugene Hiihtaja on Oct 5, 2018
Latest reply on Oct 28, 2018 by Jing Pan

Hello !

 

In K82 SDk you have fsl_cache.c driver what manipulate with L1 Code and System caches.

 

But it never ever used in any SDK example .

 

Only pflash example ( erase/write internal Flash memory ) invalidate L1 code cache

(  L1CACHE_InvalidateCodeCache(); ), even cache is not enabled at all ( ? ).

 

 - Does this some K82 specific cache peripheral or it more like ARM generic ?

 

- At what point I should enable System and Code cache if I have MPU enabled environment ?

 

- In what other use cases I should enable/disable/invalidate both caches ?

 

- Is any cache manipulation need on case of go in/out to Low power modes ?

 

Is any application note exists about usage of this type of caches ?

 

Thank you !

 

Regards,

Eugene

Outcomes