Search found 202 matches

by ESP_ondrej
Mon Sep 30, 2024 9:14 am
Forum: ESP IoT Solution
Topic: ESP32 WROOVER IE LAN8720 Ethernet Connection Problem
Replies: 2
Views: 379

Re: ESP32 WROOVER IE LAN8720 Ethernet Connection Problem

Might be HW issue with your board. Could you please try to debug using https://github.com/espressif/esp-eth-dr ... phy_tester ? Ideally, run the pytest script. However, just note it was tested on Linux so far so you need to be on Linux.

Once you done, let me know the results.
by ESP_ondrej
Wed Sep 25, 2024 8:09 am
Forum: ESP-IDF
Topic: KSZ8863 Ethernet Driver (beta) failing in I2C client mode
Replies: 4
Views: 811

Re: KSZ8863 Ethernet Driver (beta) failing in I2C client mode

Go over https://ww1.microchip.com/downloads/en/ ... 03048A.pdf, identify the clock mode you use in your HW setup and properly configure the example in Kconfig.
by ESP_ondrej
Wed Sep 25, 2024 8:05 am
Forum: ESP-IDF
Topic: KSZ8863 Ethernet Driver (beta) failing in I2C client mode
Replies: 4
Views: 811

Re: KSZ8863 Ethernet Driver (beta) failing in I2C client mode

Hi, it seems to be more like a HW problem of your setup. 8 inches (~20 cm) long wires are too long. RMII CLK is 50 MHz so signal integrity is an concern, see https://resources.pcb.cadence.com/blog/2019-mii-and-rmii-routing-guidelines-for-ethernet I have experience that ~5 cm log wires still work OK ...
by ESP_ondrej
Tue Sep 24, 2024 8:07 am
Forum: ESP32 Arduino
Topic: Help with ETH - unable to get IP address DHCP
Replies: 2
Views: 623

Re: Help with ETH - unable to get IP address DHCP

That W5500 error messages indicate that there is something wrong with SPI communication. How is your W5500 connected to ESP32-S3? Is it custom board or via wires? What Arduino version do you use? Is other device connected to the same SPI bus?
by ESP_ondrej
Wed Sep 11, 2024 6:24 am
Forum: ESP-IDF
Topic: ENOMEM when sending udp packet to disconnected address
Replies: 1
Views: 422

Re: ENOMEM when sending udp packet to disconnected address

What IDF version do you use? And what do you mean by "the device is not connected to the network"? Do you mean the cable is unplugged from WT-32-S1? Could you please be more specific about your setup?
by ESP_ondrej
Mon Sep 09, 2024 7:29 am
Forum: ESP-IDF
Topic: Adding new Ethernet Phy to IDF v3
Replies: 1
Views: 470

Re: Adding new Ethernet Phy to IDF v3

IDFv3 is super old and has completely different structure of the Ethernet driver. It would be probably easier to start writing the whole new driver for KS8863 rather than trying to modify the current one, I'm afraid... The only recommendation is to upgrade to higher IDF version. If you are developin...
by ESP_ondrej
Tue Aug 27, 2024 9:43 am
Forum: ESP-IDF
Topic: Unable to start DHCP server on ethernet port
Replies: 3
Views: 1196

Re: Unable to start DHCP server on ethernet port

Sorry for late and short answer. However, I'm super busy with other tasks... Try to go over ESP-NETIF documentation or go over examples. If you don't find anything, I think stopping and starting the netif with different configuration should work. Here is example https://github.com/espressif/esp-idf/...
by ESP_ondrej
Mon Aug 19, 2024 12:59 pm
Forum: ESP-IDF
Topic: Unable to start DHCP server on ethernet port
Replies: 3
Views: 1196

Re: Unable to start DHCP server on ethernet port

Here https://github.com/espressif/esp-eth-dr ... rver.c#L48 is example how to configure DHCP Server. Please don't use `ESP_NETIF_AUTOUP`. That's reserved for WiFi AP mode.
by ESP_ondrej
Tue Aug 13, 2024 6:46 am
Forum: ESP-IDF
Topic: Ping session starts, no callbacks or results
Replies: 6
Views: 1804

Re: Ping session starts, no callbacks or results

I don't know details about your code so I cannot give you much more detailed answer. However, you need to free memory allocated for Ethernet frames (https://github.com/espressif/esp-idf/bl ... esp.c#L337)
by ESP_ondrej
Mon Aug 12, 2024 7:19 am
Forum: ESP-IDF
Topic: Ping session starts, no callbacks or results
Replies: 6
Views: 1804

Re: Ping session starts, no callbacks or results

Once you open tap interface for specific ethertype, these frames are then only accepted by the tap interface. They are not passed to the IP stack. It's described at: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/network/esp_netif.html#e-esp-netif-l2-tap-interface Please l...