Tool/software:
Hi,
Can you help to provide the solution for AM6254 that how to configure the CPSW MAC TX delay, and how to configure the PHY RX delay, thanks.
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.
Tool/software:
Hi,
Can you help to provide the solution for AM6254 that how to configure the CPSW MAC TX delay, and how to configure the PHY RX delay, thanks.
Hello Zhang Liang,
how to configure the CPSW MAC TX delay
Please note, the MAC TX delay is fixed to approximately 2ns and cannot be adjustable. It should meet the specs in the AM62x datasheet. You can check this depending on whether you are using RGMII or RMII mode.
how to configure the PHY RX delay, thanks
This will depend on what Ethernet PHY driver you are using. For instance, if you are using Linux OS, on our AM62x EVM which uses the DP83867 PHY driver, the Linux DP83867 PHY driver is able to configure the PHY RX delay based on what was specified in the Linux device tree settings.
DP83867 PHY Driver: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/net/phy/dp83867.c?h=ti-rt-linux-6.6.y-cicd
DTS line where PHY RX delay was specified: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am625-sk.dts?h=ti-rt-linux-6.6.y-cicd#n222
Let us know if you have follow-up questions.
-Daolin