-
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
lan8720_reset_hw() out of spec, doesn't pull low for >100us (IDFGH-3584) #5528
Comments
github-actions
bot
changed the title
lan8720_reset_hw() out of spec, doesn't pull low for >100us
lan8720_reset_hw() out of spec, doesn't pull low for >100us (IDFGH-3584)
Jul 1, 2020
@brianbienvenu Well spotted! Will fix it ASAP. |
mahavirj
pushed a commit
to espressif/esp-afr-sdk
that referenced
this issue
Jul 16, 2020
espressif-bot
pushed a commit
that referenced
this issue
Jul 18, 2020
Thanks for reporting and sorry for slow turnaround, the fix is available at 5a99038. Feel free to reopen if the issue still happens. |
espressif-bot
pushed a commit
that referenced
this issue
Aug 3, 2020
espressif-bot
pushed a commit
that referenced
this issue
Sep 10, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lan8720_reset_hw()
doesn't contain any delay when pulsing the reset pin low. In the real world, this makes a ~250ns wide negative pulse. The chip in production LAN8720A datasheet asks for t_rstia >100us:The datasheet for the EOL SMSC LAN8720 also specified
T11.1 Reset Pulse Width >100us
.I first noticed this issue in v4.0.1, it's unchanged in master today:
https://github.com/espressif/esp-idf/blob/master/components/esp_eth/src/esp_eth_phy_lan8720.c#L262
I added a busy wait
ets_delay_us(100);
to resolve this issue:The text was updated successfully, but these errors were encountered: