-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32 ETH no ETH.end / disable #5949
Comments
Hello @Typhoor, are you able to propose changes in PR? |
Looks related: #6188 |
Hello, I have the same problem, I would like to disable the Ethernet but I can't find any way to do it, do you have an idea? |
I think there is a way to do that |
it works but then impossible to restart the Ethernet because of the emac allocation |
Hello, for version 3.0.0 Networking was refactored. Can you please give it a try? I am for now closing this ticker as it is quite old, if needed, you can reopen it. |
When we call ETH.begin(
ETH_PHY_LAN8720,
ETH8720_PHY_ADDR,
SMI_MDC_PIN,
SMI_MDIO_PIN,
POWER_PIN,
ETH_CLOCK_GPIO0_IN
); It fails to start with this message.
The reason we want to stop and start is to apply hostname and configured static ip changes. |
@hitecSmartHome here is the fix: #11048 |
Thank you! Will check it out! |
I want do
end
orstop
the ETH/ethernet component to conserve energy:In ETH.H/CPP there is a
begin
method but no corresspondingend
method.In the underlying Espressif esp-idf there is a
esp_eth_start
and a correspondingesp_eth_stop
.I'm using WT32_ETH01 and/or Olimex ESP32 POE mostly both are using the LAN 8720 PHY
Some have power pin some have not.
I observe that power raises from 60-80mA to 150mA when starting ETH (ethernet), but there is no way back.
Workaround so far is the set some static (flash/eeprom) markers and then reboot (not activating Ethernet).
But this disturbes the other working tasks...
The text was updated successfully, but these errors were encountered: