Skip to content

A sample Arduino Core for ESP32 sketch of a gateway from PC UART or TCP/IP server on one side, and Serial2 UART on the other

Notifications You must be signed in to change notification settings

dok-net/wt32-eth01-uart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an Arduino Core for ESP32 sketch to build your own firmware for the WT32-ETH01 boards.

HW modification

The WT32-ETH01, at least until version 1.4, doesn't reset the PHY. This can result in a hanging PHY on occasion, which cannot be remedied by a reset of the ESP32, but only by a full power cycle. The verified fix proposed here utilized the 50MHz oscillator-enable toggling performed by the standard IDF implementation to the PHY reset line as well. This makes sure that resetting the ethernet library also completely initializes the PHY as well.

In order to support full HW reset of the PHY, amend the WT32-ETH01 hardware according to the following steps:

Connect IO16_OSC_EN, hence EN of OSC50MHZ, to nRST of the RTL8720 PHY.

Steps:

  • Completely remove R43
  • Solder a lead from either pad connected to the trace between C18 and R43 to either pad at the trace between R50 and OSC50MHZ EN

The finished modification should be like this photo of the result

About

A sample Arduino Core for ESP32 sketch of a gateway from PC UART or TCP/IP server on one side, and Serial2 UART on the other

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages