Measuring Latency Between A-core and M-core over IPCF

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

Measuring Latency Between A-core and M-core over IPCF

901 Views
Karthik_7
Contributor IV

Hello,

I am working on the RDB3 board using BSP43 and the GoldVIP M-core package.

I have built an application using IPCF for communication between the A-core and M-core, where I share some ROS topic information bidirectionally.

As part of this system, I plan to transmit safety-critical, time-sensitive data over IPCF. To validate its performance, I would like to measure the one-way latency between the cores during this communication.

Initially, I considered embedding a timestamp on the A-core side and sending it to the M-core, which would then compute the difference upon reception. However, I’m currently unable to find a common hardware timer accessible from both cores to enable accurate measurement.

Could you please advise if there is a shared or synchronized timer available across A-core and M-core on this platform? Additionally, I would appreciate any guidance on how to use it effectively for latency measurement.

Best regards,
Karthik Mallya M

Labels (1)
0 Kudos
Reply
3 Replies

857 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @Karthik_7 

Thanks for the reply.

As far as I know, sorry that there is not direct examples/documents that meets your request, you may try implementing it refer to the related contents in RM.

 

BR

Chenyin

0 Kudos
Reply

887 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @Karthik_7 

Thanks for the post.

About the requirements, from my opinion, at least the STM and RTC are suitable for the application scenario to test the latency you mentioned,  since they could both be accessed from both M and A cores.

 

BR

Chenyin

0 Kudos
Reply

870 Views
Karthik_7
Contributor IV

Hello @chenyin_h ,

Thank you for the quick response,

Could you please let me know, is there any document or examples already available to use these timers, 

Regards
Karthik Mallya M

0 Kudos
Reply