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.

DP83867IS: 1588 SFD Pulses

Part Number: DP83867IS

Tool/software:

Good day,

According to the datasheet and application note the PHY is capable of performing start-of-frame detection and then generating an IEEE1588 indication pulse on the GPIOs based on the Start of Frame Delimiters (SFDs).

https://www.ti.com/lit/ds/symlink/dp83867ir.pdf?ts=1728563015762&ref_url=https%253A%252F%252Fwww.ti.com.cn%252Fproduct%252Fcn%252FDP83867IR

https://www.ti.com/lit/an/snla242/snla242.pdf?ts=1728636845857

I am happy with the configuration and setup for SFD. How will I configure this feature if I have multiple Ethernet ports and PHYs? Is it possible to have one 1588 TX GPIO and one 1588 RX GPIO on my processor for all the PHYs?

  • Hi Nicole,

    Can you help me understand your system topology?

    Are there multiple DP838867 PHYs connected to a single processor?

    If TX/RX SFD of multiple PHYs are connected to the same processor GPIO, the processor will not be able to distinguish which PHY is sending the indication pulse.

    In the case that the processor needs to know which PHY is sending TX/RX SFD pulses, there should be separate GPIOs allocated for each PHY's SFD pins.

    Thank you,

    Evan

  • Hi Evan,

    Yes, we are using 18 DP838876 PHYs connected to one processor. It is not necessary to know which PHY is sending the pulse, as long as the pulse can be decoded. What will happen if two PHYs simultaneously send/receive a message?

  • Hi Nicole,

    Are the SFD pulses on a shared bus direct to processor, or using a mux to switch between PHYs?

    If it is not required to know which PHY is sending the pulse, I believe this can be achieved using additional components to mux and prevent signal contention.

    In the case that SFD pins are routed directly on a shared bus, I'm not clear on what issues could come up during simultaneous transmission.

    Thank you,

    Evan

  • Hi Evan, 

    That is the part I am unsure about. I have not worked with the SFD pulses before. My limitation is the amount of pins available on my mezzanine connector between the PHYs and processor. 

    Using a mux sounds like a good idea, what will be used for the mux select signal? I assume two muxes will be used, one for TX and another for RX, however, the select line can be shared. I am however concerned about the latency that it will introduce. 
    Does the TX pulse come from my processor? 

    An alternative could be to poll the timestamp registers via MDIO. This can introduce a lot of complexity. I could potentially connect all the interrupt pins of the PHYs together and then at least know when to poll. 

  • Hi Nicole,

    I believe the SFD pulse could also act as the mux select, possibly through some logic components to decide which pulse to send to the processor:

    SFD1 SFD2 SEL
    0 0 SFD1
    0 1 SFD2
    1 0 SFD1
    1 1 SFD2

    Something to the effect of this logic, but it may become complex considering there are 18 PHYs.

    Do you have access to an evaluation board for the processor?

    DP83867EVM has breakout jumpers for GPIOs that can be configured for SFD - I'm wondering if we can evaluate the feasibility of multiple SFD pulses driving the line before moving onto more complex HW/SW logic.

    Thank you,

    Evan

  • Thank you Evan. 

  • Of course, please reach out for further questions.

    Thank you,

    Evan