Search found 8 matches

by deimos
Fri Jan 22, 2021 6:36 am
Forum: ESP-IDF
Topic: Ethernet basic example - Error: lan8720_pwrctl: power up failed
Replies: 10
Views: 15075

Re: Ethernet basic example - Error: lan8720_pwrctl: power up failed

Hi,

which esp-idf version are you using? I had the same issue: https://github.com/espressif/esp-idf/issues/5425
As far, as I know, the fix is yet not released in all available versions.

Alex
by deimos
Tue Jul 14, 2020 5:08 am
Forum: Hardware
Topic: ESP32 + LAN8720A: problem on boot, goes into download mode
Replies: 5
Views: 6499

Re: ESP32 + LAN8720A: problem on boot, goes into download mode

ha0x2328 wrote:
Mon Jul 13, 2020 8:38 pm
Thank you, do you have an working example schematic without external oscillator?
https://github.com/alexreinert/PCB/blob ... RF-ETH.pdf
by deimos
Mon Jul 13, 2020 1:09 pm
Forum: Hardware
Topic: ESP32 + LAN8720A: problem on boot, goes into download mode
Replies: 5
Views: 6499

Re: ESP32 + LAN8720A: problem on boot, goes into download mode

GPIO5 is propably not the best solution as it is driven high on bootup, which will enable the oscillator which possible pulls the GPIO0 low and enters the download mode. So use a GPIO, which is not a strapping pin or do not use an oscillator at all and use the clock out mode on GPIO17 as clock for t...
by deimos
Fri Jul 10, 2020 10:42 pm
Forum: General Discussion
Topic: Ethernet PHY best practices for low cost design
Replies: 15
Views: 18611

Re: Ethernet PHY best practices for low cost design

This is strange. I would understand if it was the Software Reset bit that was written but in this case it's the Power Down bit which should not trigger a reset (and thus require some delay). The delays mentioned in the datasheet are all in the sub-millisecond range other than the power supply to RS...
by deimos
Fri Jul 10, 2020 12:37 pm
Forum: General Discussion
Topic: Ethernet PHY best practices for low cost design
Replies: 15
Views: 18611

Re: Ethernet PHY best practices for low cost design

It is interesting that the EVB uses GPIO0 for all the problems this can cause. I use GPIO0 so I cannot tell you! As I understood, Olimex did the design at a time where were no support for the clock output on GPIO17 in esp-idf. On the ESP32-PoE-ISO they changed the design and use the GPIO17 instead ...
by deimos
Fri Jul 10, 2020 12:33 pm
Forum: General Discussion
Topic: Ethernet PHY best practices for low cost design
Replies: 15
Views: 18611

Re: Ethernet PHY best practices for low cost design

@deimos: thanks for sharing your issue. I did not find any mention in the datasheet of a register update delay/timing though. Do you think it could be related to a clocking issue (i.e a late startup of the clock or clock stability error) ? It is not an issue on updating register in generel, it is j...
by deimos
Thu Jul 09, 2020 6:00 pm
Forum: General Discussion
Topic: PHY/LAN8710 fault identification
Replies: 2
Views: 3429

Re: PHY/LAN8710 fault identification

Hi,

have a look at https://github.com/espressif/esp-idf/issues/5425
Maybe this solves your problem.

Alex
by deimos
Thu Jul 09, 2020 5:45 pm
Forum: General Discussion
Topic: Ethernet PHY best practices for low cost design
Replies: 15
Views: 18611

Re: Ethernet PHY best practices for low cost design

Hi,

I designed a board using the LAN8720A using the clockout of the ESP on GPIO17.
The hardware works perfectly, but I had a software issue on IDF 4.0.1 (see https://github.com/espressif/esp-idf/issues/5425).

Alex