Ethernet example fails to discover DHCP assigned address

PeterR
Posts: 617
Joined: Mon Jun 04, 2018 2:47 pm

Re: Ethernet example fails to discover DHCP assigned address

Postby PeterR » Wed Jul 04, 2018 1:45 pm

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.
& I also believe that IDF CAN should be fixed.

Who is online

Users browsing this forum: Baidu [Spider] and 36 guests