Closed danieltang3434 closed 1 year ago
ESP32-EVB and ESP32-POE have different Ethernet clock circuit - it is not surprising that the code that works on ESP32-EVB doesn't run on ESP32-POE without changes! Good news is that only few changes for the pins for the Ethernet are required!
ESP32-EVB uses external clock generator, while ESP32-POE uses internal clock generator and power enable/disable pin.
For ESP32-POE the two pins are:
The reason for this difference is that ESP32-EVB has a lot of hardware (since the design was research, evaluation and development) and the external generator saves one GPIO pin. ESP32-POE has less hardware and more available pins, so it is not a problem to switch to the more common Ethernet circuit with internal clock and GPIO for power enable and disable.
When I try to initialize and start using the ethernet on Olimex ESP32-PoE, I encounter with the error message below:
The platform/framework/tool that I using is: PlatformIO, Arduino Framework, Visual Studio Code Editor.
Code snippet:
The board cannot connect to Internet and the LAN cable has been tested with other board such as "Olimex ESP32-EVB" and it is working, so probably not the LAN cable issue. Can anyone help to point out any false parts? Thank you so much.