Search found 45 matches

by RobinC
Sun Feb 26, 2017 2:55 pm
Forum: Hardware
Topic: ESP32 ethernet, SPI, JTAG pin questions
Replies: 13
Views: 27682

Re: ESP32 ethernet, SPI, JTAG pin questions

Followup: got both tlk110 and lan8720 working. Key for me was physically routing CRS/DV to GPIO27. I'm using the onboard crystal/oscillator on the phy eval boards and haven't tried generating a clock from the ESP32.

Robin
by RobinC
Sun Feb 26, 2017 2:29 pm
Forum: Hardware
Topic: EMAC receive not working
Replies: 48
Views: 80215

Re: EMAC receive not working

Success on LAN8720 as well. Lack of CRS/DV was due to non-populated resister R10 on the eval board which is inline between phy and CRS pin on rmii connector. Once I populated that resister, it all just worked. Rudy, I had already used the mapping of GPIO27 to EMAC_RX_DV in the example but went back ...
by RobinC
Sun Feb 26, 2017 3:38 am
Forum: Hardware
Topic: EMAC receive not working
Replies: 48
Views: 80215

Re: EMAC receive not working

Success on the tlk110!!! I ran the CRS pin from the eval board to the esp32 GPIO27. Lot's of debug turned on in lwip: ethernetif_input: IP input tcpip_thread: PACKET 0x3ffbf790 dhcp_discover(): set request timeout 500 msecs ethernet_input: dest:24:0a:c4:00:9f:c9, src:00:0c:29:5a:72:1c, type:800 ip_i...
by RobinC
Sun Feb 26, 2017 1:23 am
Forum: Hardware
Topic: EMAC receive not working
Replies: 48
Views: 80215

Re: EMAC receive not working

Hey www220, that is very good to hear. Could you list your ping connects between the ESP32 and the phy? Also, what modifications did you make to the ethernet example code?

Thanks
by RobinC
Sun Feb 26, 2017 1:16 am
Forum: Hardware
Topic: EMAC receive not working
Replies: 48
Views: 80215

Re: EMAC receive not working

I have the Microchip/SMSC LAN8720A eval board wired up to the stock ESP32 dev board. No hardware changes were needed to the phy board. I duplicated the TLK110 functions for the 8720 and customized to match. The esp-idf source uses phy address 31 so I changed it to 0 for the 8720. The ESP32 sees the ...
by RobinC
Fri Feb 24, 2017 1:49 am
Forum: Hardware
Topic: EMAC receive not working
Replies: 48
Views: 80215

Re: EMAC receive not working

Hi Joey. There have been some changes to the pins used for EMAC in the git repository. I'm going to try those even though the only material change was to add a GPIO to shut down the PHY power so GPIO0 would work at boot. I also have a TLK110 eval board that I'm going to modify for 50MHz rmii and try...
by RobinC
Wed Feb 22, 2017 9:23 pm
Forum: Hardware
Topic: ESP32 ethernet, SPI, JTAG pin questions
Replies: 13
Views: 27682

Re: ESP32 ethernet, SPI, JTAG pin questions

push
1++

Does anyone in Espressif have any details on actually getting the emac to work with rmii (specifically with 50MHz clock out to clock the rmii)?
by RobinC
Tue Feb 14, 2017 11:33 pm
Forum: Hardware
Topic: EMAC receive not working
Replies: 48
Views: 80215

Re: EMAC receive not working

Rudi, I looked at the olimex schematics (available on github) and they did some interesting things with function routing. Some of the choices they made are not per the pin/function specs of the ESP32. Have you tried the ethernet on your new board? It looks like CR1 is not populated and they are prov...
by RobinC
Tue Feb 14, 2017 9:42 pm
Forum: Hardware
Topic: EMAC receive not working
Replies: 48
Views: 80215

Re: EMAC receive not working

Thanks Rudy. That is very interesting.
by RobinC
Tue Feb 14, 2017 2:17 pm
Forum: Hardware
Topic: EMAC receive not working
Replies: 48
Views: 80215

Re: EMAC receive not working

Hi Rudi. You cannot ping until you have an IP address. The code above is taken directly from the example from the distribution on github.