Problem using cache

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

Problem using cache

588 次查看
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 回复

482 次查看
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