Hello again Team,
We are wanting to implement a design using 2 PTP time domains.
One will be the CPTS time from the CPSW2 (currently accessible on the A72 via linux PTP tools, thanks to existing driver support).
The other will be the CPTS time from the CPSW9 (currently accessible on RTOS MAIN-R via TimeSync API).
We ideally would like access to both time domains on both the A72 and MAIN-R. So my questions are:
1. What would be the best way to access CPTS time of CPSW9 in linux user space on the A72? My current thinking is that this would require custom driver code on the A72, which registers Time Sync Router callbacks from CPTS on MAIN-R, calculates the clock relationships, and exposes a device in /dev/ptpN? Does this make sense?
2. And then accessing CPTS time of CPSW2 on MAIN-R. I think the only way to do this is to (similarly to the previous case) write some code on the MAIN-R side which registers TSR callbacks from the CPTS of the A72. The clock relationship can then be calculated, and an abstraction of the clock can be used by applications. Does this make sense? Can one use the TSR "backwards" in this way (from A72 to MAIN-R)?
Thanks very much