Tool/software:
Hello ,
I have a few questions for DP83640's Synchronous Ethernet Mode.
1-) do we need to set anything other than SYNC_ENET_EN bit to become ptp slave for the Synchronous Ethernet Mode
2-) After we set SYNC_ENET_EN bit , how can we know if the synchronization is done ? I guess there should be couple of messages exchanged between ptp master and ptp slave, how can we know if the initial synchronization is done ?
3-) once we synchronized to the PTP master , now we have synchronized ptp counter in DP83640, but how can we synchronize a mcu timer counter to DP83640's ptp counter ? Do we need any int -gpio pin? or this can be done without using gpio or int pins?
4-) I want to set our device as PTP master once the current PTP master is gone , so my device is going to be transitioned from PTP slave to PTP master... if we clear the SYNC_ENET_EN bit , since my ptp counters/timer already set to the previous PTP Master , can i assume if the internal PTP counter value is still valid (assume there is 0 drift) , what i am trying to say clearing SYNC_ENET_EN causes any counter or state reset ?
5-) Once we clear the SYNC_ENET_EN bit , i assume we need to follow up the PTP protocol on the software , right ?