Problem using cache

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

Problem using cache

537件の閲覧回数
biafra
Senior Contributor I

Hi everyone,

I'm using MCUXpresso 10.2.1 with a custom board based on MK66FN2M0.

I developed an application that is working fine, but on some operations it's a little time consuming. I've enabled the cache memory with LMEM module, but I haven't seen any speed gain.

I've used the following statement:

LMEM_EnableCodeCache( LMEM, true );

Do some other configurations are needed?

Many thanks

Biafra

1 返信

431件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi Biafra,

This function is enough to enable 8k I/D cache. Cache will not dramatically increase the speed. But it really work. I spent some time to test by Coremark. The total ticks drop from 1727 to 1574 after I enable cache.

Regards,

Jing