On "Understand Vybrid Architecture" cache access latency
Processor registers 1 cycle
On-chip L1 cache 1-2 cycles
On-chip L2 cache 8 cycles
Main memory, L3, dynamic RAM 30-100 cycles
Back-up memory, hard disk, L4 > 500 cycles
But I used DS-5 to measure cache access latency
I got
L1 cache read hit 32 cycle, write hit 3 cycle
when LDR follows STR it becomes 71 cycle on hit
How does that happen?
Are there more accurate numbers of cache access latency for vybrid VF6xx processor?
I found that data caching was disabled by default, beside SCTLR.C what should I set to enable it?
Solved! Go to Solution.
Hi,
I found some cache-related settings at mqx/source/psp/cortex_a/
vybrid.h, lines 73-109 (this is for running MQX on either the A5 or M4 core). Regarding dcache in coretx-a5, read the "MQX_User_Guide.pdf" document and refer the cache_a5.c (MQX_4_1_1_LINUX_GA/mqx/source/psp/cortex_a/cache_a5.c) file.
To enable/access the data cache, we should have to enable MMC, which is discussed in below thread:
https://community.nxp.com/thread/315672
Thanks,
Timesys Support
timesyssupport can you help to review this case?