-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for Ethernet PHY KSZ8081/RNB and basic example (IDFGH-4775) #6578
Conversation
Thanks for your contribution. |
I can also confirm that this works. |
Well spotted @RJPoelstra! Yes, after I read the datasheet, confirmed that the bit definitions of |
Added support for using KSZ8081 in protocol examples. Tested with icmp_echo and mqtt/tcp. |
Thanks for your contribution, we will close it as we have merged your PR in 98a4c70 |
Can this be backported to a branch like
|
My PR was based on 4.3 and compiling. |
i am using ksz8061 i don't get ip address with in buit example code ethernet folder basic and i have add connectin as GPIO17 - PHY_POWER : clock in |
I derived the driver written for the KSZ8041 to work for the KSZ8081 PHY. Actually required reading the vendor-specific PHY Control Register 1.
Could test it with the basic esp-idf ethernet example and got an IP over DHCP. Tested for 10/100Mbps, Half and Full duplex.
Could test all functions except ksz8081_negotiate(), for which I now only control the auto-negotiation status over the standard bmsr register as Microchip seems to have removed a second register as it was the case for 8041.