MCC Cpu-to-CPU interrupt cycle time

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

MCC Cpu-to-CPU interrupt cycle time

跳至解决方案
5,805 次查看
hjk
Contributor III


Hi,

I am now using TWR-VF65SG10, and I try to measure the cycle time of MCC cpu-to-cpu interrupt,

How much cycle it takes between M4 triggers an interrupt and A5 receives an event?

Since I can't use Streamline, and SSH into the target board, is there any way I could measure the cycle time or can some provide me a number ?

Thank you

1 解答
4,945 次查看
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 项奖励
11 回复数
4,946 次查看
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 项奖励
4,947 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

jiri-b36968​  can you comment here?

0 项奖励
4,944 次查看
hjk
Contributor III

Hi jiri-b36968​,

I've read your comments, I have a few question

1. Are those number of first comment from AN4947 ?

2. You mentioned that the conclusion of 664 MB/s is based on theory, is that the result of calculation of those number mentioned above?

3. How did you get the number of 7MB/s ? is that a real target board's result ?

Thanks,

0 项奖励
4,947 次查看
jiri-b36968
NXP Employee
NXP Employee

Hello a a,

1. Yes. Also those numbers come from designers.

2. Yes. It is theoretical throughput of HW - more in the thread.

3. It was real test on real board (debug target, release can be faster as mentioned in the thread).

/Jiri

0 项奖励
4,947 次查看
hjk
Contributor III

Hi jiri-b36968​,

For third question, can I get more detailed information?

Like how much time does it spend on semaphore locking, and interrupt handling?

If I have only ARM energy probe and CMSIS-DAP from board, how can I do in DS-5 to get that more information?

Thanks,

0 项奖励
4,948 次查看
jiri-b36968
NXP Employee
NXP Employee

Hello a a,

the test details are here https://community.nxp.com/thread/384093#comment-612762

Semaphore is peripheral like any other. Please check AN4947. For interrupt handling please look at ARM Information Center

To measure event you can use internal timers of ARM or you can use GPIO toggling + oscilloscope.

/Jiri

4,947 次查看
timesyssupport
Senior Contributor II

Hi,
    As far as I checked the reference manual contains no information regarding the CPU to CPU cycle time. And I am not aware other than streamline how to find the cycle time. To make us understand the problem could you please tell us why you looking for cycle time?

Thanks,
Timesys support.

0 项奖励
4,948 次查看
hjk
Contributor III

Hi,

I want to know the overhead of CPU to CPU interrupt, when one core tries to use the MCC API to  trigger the interrupt to the other core.

Is the overhead of triggering hardware interrupt is too small to be neglected, then I can just calculate the API execution cycle time?

Thanks

0 项奖励
4,948 次查看
timesyssupport
Senior Contributor II

Hi,

Unfortunately, I do not know the time it takes on the hardware side for the CPU-to-CPU interrupt to trigger. karinavalencia​, can the NXP Vybrid hardware team comment here?

Thanks,

Timesys Support

4,948 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ can you help to review this case?

0 项奖励