Hello,
I am reposting this inquiry as the previous ones got locked due to inactivity.
I'm encountering what appears to be some sort of jitter with the SOF/SyncManager on my Sitara EtherCAT Slave Controller. I'd like to understand if there is an easy way to perform diagnostic on the Slave Controller. Specifically we are looking for a direct way to measure the SOF signal. Our setup is as follows.
Master:
- TMDXIDK5718
- Running Acontis Master Stack
- Bus Cycle 220us
- Controls Time from SOF/SyncManager to Sync0 via reference clock System Time Register 0x0910
- Expected time from SOF to Sync0 is set to 55us
Slave
- TMDXIDK5718
- Running PRU-ICSS EtherCAT Slave Stack
- Sync0 cycle 220us
- Sync1 cycle 220us
We're currently only tracing timings using a GPIO toggle in the interrupt handlers for Sync0/Sync1/SyncManager. We're currently measuring time from SyncManager to Sync0 as ~36us when the expected value is 55us resulting in about 20us jitter from SOF to SyncManaer. When Acontis has measured this timing on an EL9800 board, they do not see such a delay, although they are directly measuring the SOF signal, and not the SyncManager interrupt. Any guidance on how to measure SOF on the Sitara would be of great help.
For reference I'm basing my understanding of SOF timing from this beckhoff documentation.
https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_io_intro/1446579467.html&id=
Regards,
Marvin