Tool/software:
Hello ,
I am currently trying to configure the DP83640's RX_SFD_GPIO functionality to utilize GPIO12 (CLOCK_OUT) for pulse reception. To begin, I've disabled the clock output by setting the CLK_OUT_DIS bit to 0 in the PHYCR2 register.
I proceeded by navigating to page 6 after changing the PAGESEL value to 6. Post this, I configured the RX_SFD_GPIO to be on GPIO12 by assigning a value of 12 to the PTP_SFDCFG register (address 0x19). Additionally, I ensured that the PTP_COC (address 0x14) is set to 0.
The setup is intended to capture events when sending Ethernet packets and PTPv2 synchronization messages. Despite following these steps, there is no observable level change on the DP83640's GPIO12 (CLOCK_OUT) pin.
Q-1) Am I missing any additional configurations or specific settings? Any insights into enabling pulse detection on the CLOCK_OUT pin would be appreciated.
Q-2): Does the IEEE 1588 Start Frame Delimiter (SFD) feature activate for any Ethernet frame, or is it specific to valid Ethernet frames containing PTP messages? My assumption is that the RX SFD signal is generated for all Ethernet frames, because how would the system be able to discern if the frame contains PTP data at the very beginning of the frame?
Thanks