Can't get LAN8720 fully working

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: Can't get LAN8720 fully working

Postby mikemoy » Wed Jun 26, 2019 7:09 pm

FWIW, my designs use GPIO0 and I didn't have any trouble.
lan.png
lan.png (616.78 KiB) Viewed 6071 times

Jami17
Posts: 20
Joined: Wed Jul 12, 2017 10:55 pm

Re: Can't get LAN8720 fully working

Postby Jami17 » Wed Jun 26, 2019 10:31 pm

GPIO0 works fine here as clock-out, even with a 30cm long programming cable that I initially feared would cause problems.
Have you an extra load connected to it that impairs the waveform?

Volvox
Posts: 21
Joined: Sat Mar 18, 2017 7:54 pm

Re: Can't get LAN8720 fully working

Postby Volvox » Thu Aug 08, 2019 8:35 am

Interesting,
@mikemoy: Do you use the GPIO0 as input with the external clock or the apll out from the ESP?
my problem (with WROOM module) the IO0 (configured as clock out) did not work, the IO16 or 17 (also clocking out the apll for ethernet) is working fine.
Strange behaviour..
@jamie: I have tried CLK line with jumper resistor or with 10 to 30R and no air wiring :) but no improvement, no matter what kind of resistor or other things I placed there. Only difference to other pins is the very short stub to the programming interface, but also without any caps.

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: Can't get LAN8720 fully working

Postby mikemoy » Thu Aug 08, 2019 9:31 am

Interesting,
@mikemoy: Do you use the GPIO0 as input with the external clock or the apll out from the ESP?
Input.

Jami17
Posts: 20
Joined: Wed Jul 12, 2017 10:55 pm

Re: Can't get LAN8720 fully working

Postby Jami17 » Thu Aug 08, 2019 6:07 pm

I'm sorry I have to correct myself. Checking the schematics again I see that IO17 is used as clock output, so not IO0. I mixed it up with the ESP32-CAM that generates 20 MHz at IO0 and that is no problem even with the 30cm programming cable.
I guess I had problems with IO0 and therefore used IO17, but don't remember the details anymore.

Who is online

Users browsing this forum: No registered users and 108 guests