W5500 cannot open socket in UDP mode for DHCP

Thanks. I have just realized that it was you having issues with the power supply and PHY being stuck.
Does the current issue happen to the same module? Do you have another module to try?

Have a look at this. While it states about closing the socket, this may well apply to opening the socket. That’s why it would be the best to try another module and see if it works. it if does - this module is an issue, if it does not, we must dig deeper.

If we are going to troubleshoot this module further, can you do two things please:

  • try using socket 0 instead of socket 1;
  • dump all the registers from all the sockets. This would be long list, no need in register names, just hex values with addresses, and attach as file (post would be very log). Let’s see the whole picture, who knows what exactly may cause the issue.