Page 2 of 2

Re: Ethernet example fails to discover DHCP assigned address

Posted: Wed Jul 04, 2018 1:45 pm
by PeterR
Had misread https://github.com/OLIMEX/ESP32-EVB/tre ... H_PHY_demo
OLIMEX were saying that other boards used GPIO 17 to power control the PHY and so CLOCK and so GPIO strapping.

Examining schematics and OLIMEX use RTS/DTR to control strapping.
I disabling GPIO power control configuration option but that did not improve.

PS
For those using PHY power strapping control then I believe the following is wrong:

Code: Select all

static void phy_device_power_enable_via_gpio(bool enable)
{
   ....
   // Allow the power up/down to take effect, min 300us
    vTaskDelay(1);
    
We need to use vTaskDelay(2) as the tick may happen immediately after the GPIO control.