ESP32-C3 and W5500 Link Up Issue
Posted: Wed Jun 12, 2024 3:21 pm
Hi everyone!
I am using ESP32-C3 DevKitM-1 with esp-idf-v5.2 I am having trouble with running basic Ethernet example, with W5500 external module. I have connected ESP32-C3 board and W5500 module: SPI, Interrupt, Reset and Power (3V3). Of course, I made appropriate changes in the sdkconfig (via menuconfig), regarding all pin assigments, to match my setup. W5500 module is connected to my local Ethernet switch, with a standard Ethernet cable.
I can compile and run my code, it starts, I get the "Ethernet Started" event but I can't get the "Link Up" event, and also LED's on W5500 RJ45 connector are all off. This is the shortened output from my ESP terminal:
My source code is just the basic Ethernet example, where I had to edit only GPIO assignments, to match my connection setup. From the terminal output, it seems that my code is communicating with W5500, and SPI connection is fine.
I can confirm that Ethernet cable is fine, that my switch (on the other side of W5500) fully supports auto negotiation and 10/100 operation.
Did anyone else has similar issues while trying to make W5500 module work with ESP devices?
Thanks in advance!
I am using ESP32-C3 DevKitM-1 with esp-idf-v5.2 I am having trouble with running basic Ethernet example, with W5500 external module. I have connected ESP32-C3 board and W5500 module: SPI, Interrupt, Reset and Power (3V3). Of course, I made appropriate changes in the sdkconfig (via menuconfig), regarding all pin assigments, to match my setup. W5500 module is connected to my local Ethernet switch, with a standard Ethernet cable.
I can compile and run my code, it starts, I get the "Ethernet Started" event but I can't get the "Link Up" event, and also LED's on W5500 RJ45 connector are all off. This is the shortened output from my ESP terminal:
I (305) main_task: Calling app_main()
I (325) esp_eth.netif.netif_glue: c2:4e:30:f0:ef:b4
I (325) esp_eth.netif.netif_glue: ethernet attached to netif
I (335) eth_example: Ethernet Started
My source code is just the basic Ethernet example, where I had to edit only GPIO assignments, to match my connection setup. From the terminal output, it seems that my code is communicating with W5500, and SPI connection is fine.
I can confirm that Ethernet cable is fine, that my switch (on the other side of W5500) fully supports auto negotiation and 10/100 operation.
Did anyone else has similar issues while trying to make W5500 module work with ESP devices?
Thanks in advance!