Part Number: AM3358
Tool/software: Code Composer Studio
We would like to use the PTP 1 PPS output to synchronize with a master. In the Linux Processor SDK documentation I came across this note:
Known Issue: On AM335x/AM437x, the current PPS implementation has the possibility of failing to correctly synchronize PPS output to a master (only the PPS output is affected, the PTP functionality still succeeds). This appears as the slave PPS being offset from the master PPS signal on an order of 40-100ms either on starting PPS or after running for an extended period of time. As a workaround, if PPS output is observed to be offset, then to temporarily stabilize PPS output for measurement, bring down and then bring back up the ethernet interface in use to reset PTP/PPS (e.g. ifconfig eth1 down/ifconfig eth1 up). If the PPS output is successful, then the output is valid and can be used to measure jitter.
I also see that there has been some recent changes to the PTP PPS source code in the Git repository. Do those source code changes possibly address the above issue? If not, is there a way with software only to recognize if the PPS is synchronized to a master and determine if the Ethernet interface needs to be brought down and back up?