Search found 181 matches

by ESP_ondrej
Wed Jul 19, 2023 7:10 am
Forum: ESP-IDF
Topic: No RMII Traffic Despite Properly Configured PHY
Replies: 9
Views: 3143

Re: No RMII Traffic Despite Properly Configured PHY

I do see this event fire in my logs so it appears this is working. Just for my own edification, what does this event specifically signify? It signify that link between KSZ8081 and your PC was negotiated and is up, i.e. PHY MDI link status, check details here . In any case, this tells you that the P...
by ESP_ondrej
Wed Jul 19, 2023 6:14 am
Forum: General Discussion
Topic: ESP-IDF Ethernet Basic Example not working with ESP32S3 and W5500-EVB
Replies: 7
Views: 2755

Re: ESP-IDF Ethernet Basic Example not working with ESP32S3 and W5500-EVB

Try to reduce SPI frequency and use wires as short as possible with matching length.
by ESP_ondrej
Tue Jul 18, 2023 8:40 am
Forum: ESP-IDF
Topic: No RMII Traffic Despite Properly Configured PHY
Replies: 9
Views: 3143

Re: No RMII Traffic Despite Properly Configured PHY

For further debugging, try to switch PHY to loopback mode. You need to write simple application. The best approach is to not use LwIP for this. Just initialize Ethernet without ESP-NETIF init and register your own Rx callback function using `esp_eth_update_input_path`. Then check with oscilloscope i...
by ESP_ondrej
Tue Jul 18, 2023 8:21 am
Forum: ESP-IDF
Topic: No RMII Traffic Despite Properly Configured PHY
Replies: 9
Views: 3143

Re: No RMII Traffic Despite Properly Configured PHY

I checked the internal documentation and this EMACCSTATUS_REG register is optional and is present only when the MAC is configured for the SGMII, RGMII, or SMII PHY interface. Therefore you cannot get correct data from it when in RMII mode. If you need to know PHY speed or duplex, use: esp_eth_ioctl(...
by ESP_ondrej
Tue Jul 18, 2023 7:34 am
Forum: ESP-IDF
Topic: enc28j60: no mem for receive buffer
Replies: 7
Views: 2356

Re: enc28j60: no mem for receive buffer

Do you implemented some custom application or you just run the Ethernet? If you have your application, please check that you properly handle memory, i.e. you free heap when you no more need it.
by ESP_ondrej
Mon Jul 17, 2023 8:10 am
Forum: ESP-IDF
Topic: No RMII Traffic Despite Properly Configured PHY
Replies: 9
Views: 3143

Re: No RMII Traffic Despite Properly Configured PHY

What IDF version do you use? Could you please provide logs?
by ESP_ondrej
Fri Jul 14, 2023 8:01 am
Forum: General Discussion
Topic: ESP-IDF Ethernet Basic Example not working with ESP32S3 and W5500-EVB
Replies: 7
Views: 2755

Re: ESP-IDF Ethernet Basic Example not working with ESP32S3 and W5500-EVB

I see that you've mentioned the CS is pulled low on the board. However, would it be possible to connect CS to the GPIO? I have this type https://www.amazon.de/-/en/TECNOIOT-USR-ES1-W5500-Ethernet-Converter/dp/B07RGLN436 of W5500 module and when I connect the CS to GND it does not work.... It theoret...
by ESP_ondrej
Wed Jul 12, 2023 8:44 am
Forum: General Discussion
Topic: ESP-IDF Ethernet Basic Example not working with ESP32S3 and W5500-EVB
Replies: 7
Views: 2755

Re: ESP-IDF Ethernet Basic Example not working with ESP32S3 and W5500-EVB

Please make sure you also connected the W5500 interrupt output to your ESP32.
by ESP_ondrej
Wed Jul 12, 2023 8:41 am
Forum: General Discussion
Topic: bridge ethernet and wifi but with IP
Replies: 1
Views: 1554

Re: bridge ethernet and wifi but with IP

Try this one https://github.com/espressif/esp-idf/tr ... ork/bridge. I merged the update to support WiFi just yesterday so please wait few days to be synchronized to GitHub. Here you could find more info and work in progress version: https://github.com/espressif/esp-idf/issues/5697
by ESP_ondrej
Tue Jun 13, 2023 8:13 am
Forum: ESP-IDF
Topic: w5500 and be sure module works in any time.
Replies: 11
Views: 6620

Re: w5500 and be sure module works in any time.

I'm glad to hear you were able to resolve your issue. However, I'm bit sad about your negative experience. Therefore, I would like to provide clarification to some topics. that code doesn't appear anywhere in any example within any version of the IDF that I could find. Of course it doesn't appear an...