Vybrid Cortex-A5 cache access latency

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

Vybrid Cortex-A5 cache access latency

Jump to solution
3,428 Views
hjk
Contributor III


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?

Labels (4)
0 Kudos
1 Solution
3,013 Views
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

View solution in original post

0 Kudos
3 Replies
3,014 Views
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!
0 Kudos
3,014 Views
timesyssupport
Senior Contributor II

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

3,014 Views
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ can you help to review this case?

0 Kudos