The AM571x TRM explains how the CPTS works with regards to how to fetch the timestamps from the TX / RX packets. It also explains how it can select the clock input. It does not explain very much though what is the underlying programmable oscillator that it uses.
Would a PTP application running on the top of this hardware control the Programmable Real-Time Unit (explained on chapter 30) ? On this case, the PRU outputs a clock that is the clock used on the CPTS?
Aside of that, I need a clock reference that is synchronized to PTP ? What should I use? If it is using the PRU, it looks like the eCAP module could be used for this purpose. Please, i need some help understanding how the underlying system works with regards to PTP and how can I output a clock from it that is synchronous to PTP.
Thank you