Skip to content

LAN8742 initialisation #5036

@NickB1

Description

@NickB1

Hardware:

Core Installation version: 1.0.6
IDE name: Arduino IDE

Description:

I'm trying to use the LAN8742 Phy, it should be compatible with LAN8720 software.
When trying to run the ETH_LAN8720 example I get the following error:

Timed out waiting for PHY register 0x3 to have value 0xc0f0(mask 0xfff0). Current value 0xc131

Register 3 is the identifier 2 register, the LAN8742 has identifier 0xC131 vs the LAN8720 which has 0xC0F0.
I looked for a location to change this value to be able to pass the check and do some further testing but can't seem to find it in the core.

The only check I can find in the ESP-IDF is the following:
https://github.com/espressif/esp-idf/blob/6e776946d01ec0d081d09000c36d23ec1d318c06/components/esp_eth/src/esp_eth_phy_lan8720.c#L429
But not sure if this is the one that's used in the Arduino core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions