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.

DP83867IR: Issue with CCM_CLK Signal on DP83867I nINT/nPWRDN Pin during reset

Part Number: DP83867IR

Tool/software:

Hi,

We are facing an issue with our design involving the DP83867I PHY. The nINT/nPWRDN pin is connected to the processor's CCM_CLK signal, which initially functions as a clock but is later reconfigured to a GPIO. Here are the specifics:

  • Connection: The nINT/nPWRDN pin of the DP83867I is connected to the processor's CCM_CLK0 signal.
  • Behavior: At reset, the CCM_CLK0 pin outputs a clock signal for approximately 20ms after nRESET_OUT is asserted. After this period, we change the function of CCM_CLK0 to act as a GPIO for our application.
  • Problem: During reset, while the nINT/nPWRDN pin is in nPWRDN mode, it is exposed to the clock signal from CCM_CLK0. After reset, we reconfigure CCM_CLK0 as a GPIO and switch the nINT/nPWRDN pin to function as an interrupt.
  • Concern: We are worried that the clock signal at reset could cause issues with the PHY’s power-down function or interfere when the pin is later switched to interrupt mode.

Could this clock signal cause any problems with the PHY’s behavior, especially during the reset phase or when transitioning the nINT/nPWRDN pin to interrupt mode? Is there a recommended way to mitigate any potential issues caused by the clock signal?

Any insights or guidance would be greatly appreciated!

Thank you for your help!

  • Hi Hamza,

    Thank you for submitting your query, I will gladly assist.

    Yes I believe this will cause some issues, the PHY will go into PWDN mode while the clock is active, however once the GPIO gets configured correctly, the PHY will be able to power on normally. This is a bit messy however and would need to be validated.

    To avoid this confusion entirely, I would recommend keeping the PHY in RESET while the SoC configured the CCM_CLK into a GPIO. Once the SoC is in the desired configuration, it can release the PHY from RESET.

    I hope this helps with your application!

    Regards,

    Alvaro

  • Hi Alvaro,


    Thanks for the helpful answer! As a possible solution, would performing a reset on the PHY via MDIO after the CCM_CLK transitions from a clock to GPIO ensure that the PHY works as expected? We're considering this as a software-based approach to avoid any problems caused by the initial clock signal.

    Looking forward to your advice.

    Regards,

    hamza

  • Hi Hamza,

    The Hardware signals, i.e. PWDN and RESET take priority over MDC/MDIO. The MDIO Reset (Reg 0x1F = 8000) might work, but note that it does not cause the PHY to re-sample the bootstrap pins. Please see this FAQ for more information. The customer would have to validate this to ensure the PHY boots up in the expected configuration.

    The most reliable way to accomplish this would be to hold the PHY in a Hard Reset via the RESET pin, or trigger a Hard Reset after the CCM_CLK is configured correctly.

    Regards,

    Alvaro