This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Syncing hardware clocks to PTP time

Part Number: TDA4VM

Hello again Team,

Thank you for your help with my related question on accessing PTP time across cores.  That was related to using PTP time on different cores at application level.

After some more thought on my design, I think a simpler option might be to synchronize hardware timers to PTP time, and then have the cores just use them.

e.g. if I set the CPTS modules of both the CPSW2G and the CPSW9G to use the same physical clock source (i.e. set their RCLK to be the same), and then a PTP stack on EthFw disciplines the CPTS of the CPSW9G, CPSW2G will also automatically be synced to PTP time.

Does this make sense? If so, what would be the best RCLK source to use? CPTS0_RFT_CLK?

And then could I set GTC0 to also use this same clock source, and have it be synced to PTP time too?

In other words, I'd like to lock both CPTS clocks and the GTC0 clock to each other, and then be able to adjust this common time on one core.  Is this possible?

Thanks very much,

-JP