Hi Everyone,
I have a few questions regarding the GMAC clocking configuration.
In my setup, PTB3 is configured as an output pin for RGMII_TXCLK, and PTC16 is configured as an input pin for RGMII_RXCLK. This configuration is confirmed from the attached Excel sheet.
According to the pin descriptions:
sathishkumar_sunmugavel_0-1760251864899.png
- PTC16 can function as an input for GMAC0_MII_RGMII_RX_CLK.
sathishkumar_sunmugavel_1-1760251936647.png
I am using the RGMII interface, which requires a 125 MHz clock input for both EMAC_CLK_RX and EMAC_CLK_TX. From my understanding, only EMAC_MII_RMII_TX_CLK can be used as the clock input.
If this understanding is incorrect, please clarify how these two clocks should be provided.
sathishkumar_sunmugavel_2-1760252344261.png
Up to this point, everything is clear. However, the table below is a bit confusing as it lists the source, destination clock, and port details.
The IBE bit is set for all the listed ports — could you please explain what this indicates?
PTC16 appears to be used between GMAC_MII_RGMII_RX_CLK and GMAC_TS_CLK but I used PTC16 as RGMII Rx clock pin — could you clarify this connection?
Based on my understanding, PTB3 and PTC16 can be used as the RGMII Tx/Rx clock pins connected to the PHY. Additionally, the clock source EMAC_MII_RMII_TX_CLK is internally connected to EMAC_CLK_RX and EMAC_CLK_TX through MUX7 and MUX8, respectively. However, the information in the table seems inconsistent with this understanding — could you please clarify?
sathishkumar_sunmugavel_3-1760253362178.png
Best Regards,
Sathish.