I recently switched framework from Arduino to ESP IDF. I've been strugling to implement my w5500 SPI_ETH dev board for the simple fact that the featured example (https://github.com/espressif/esp-idf/bl ... ple_main.c) uses an interrupt pin that is not mapped on my board.
The PHY does seem to work because I get a serial print of a Link Up/Link Down when I plug/unplug the Ethernet cable. For an unknown reason, the esp cannot get an IP address from my router.
I tried changing the function
Code: Select all
static void emac_w5500_task(void *arg)
I found this thread (viewtopic.php?t=19018) on the same problem that was solved by connecting the interrupt pin. Is the hardware interrupt pin mandatory considering my code was working on the Arduino framework? What I'm I missing?
Thanks