-
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
Verify w5500 chip properly (IDFGH-9158) #10554
Verify w5500 chip properly (IDFGH-9158) #10554
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution. I just left few minor comments. Please have a look.
Thanks for the update. Could you also please squash the commits into one to follow contribution rules? |
c4599cc
to
bb2f346
Compare
sha=bb2f346e55f484edc50f68cb26d164d8a79bcf39 |
Hi @reinismu, please, I have the issue with ethernet MAC W5500 on the latest master (after this PR). I have board with this SPI ethernet chip and it is working right. But after updated IDF to latest master, it fails when initilization - read chip ID returns 0x0 instead of 0x4. Please, could you help me, where can be a problem? |
Hi @espzav, |
Hi @reinismu, I bought this: https://www.tme.eu/cz/en/details/w5500/ethernet-interfaces-integrated-circuits/wiznet/ (I can try another board later, which was assmbled in JLCPCB) |
They link to the same datasheet where it mentions that 0x4 is the returned version. Did you check these discussions? |
Thank you, I will try it and check the reset state. |
Hi @reinismu, |
Datasheet says that 0x4 is only value returned. We should verify that we got correct one.
Note: Currently trying to make W5500 work using
esp-idf-svc
in rust. SPI returns garbage data, but no clear error message is returned. So would be nice if we failed fast here.