Hi,
I'm working on Ethernet with the RT1170, and I used the SDK example "lwip_ping_bm_cm7." I'm working on a custom board with a different Ethernet module (DP83848QSQE/NOPB) on board. I configured all the pins and the physical address correctly, and I enabled the preprocessor "BOARD_NETWORK_USE_100M_ENET_PORT."
However, it shows "PHY Initialization failed."
Can anyone please help with this?
@kerryzhou #rt1176 #ethernet
What happens in the code when you debug ?
Normally its a good idea to at least get some idea of what's wrong
here where, it is hanging
Yes, then work your way backwards from there (check "pcMessage" etc) and find out exactly why the operation ends up in an assert. Just plain debugging
We identified the issue: the example code uses the PHY driver for the "ksz8081" because the EVK board comes with the "ksz8081" Ethernet chip. However, my custom board uses the "DP8384Q" chip. Therefore, we need to change the PHY layer drivers to support the "DP8384Q."
My questions are:
Helloo, I hope you are well.
1. Unfortunately, we don’t have the driver for that PHY.
2. I could not say if they can be integrated directly.
3. Modifying the PHY part is enough for that layer of the stack.
Best regards,
Omar
Hi,
Actually, I'm asking about the file "fsl_phy_h." Is this file related to the KSZ8081 or the RT1170 controller? Are any modifications needed in this file if we change our Ethernet module?
Thank you,
The fsl_phy is related to RT1170 PHY controller. Ideally it should not be modified but it will depend on the your phy requirements.
Best regards,
Omar