OpenDTU icon indicating copy to clipboard operation
OpenDTU copied to clipboard

Add connection check for W5500 to prevent bootloops

Open LennartF22 opened this issue 5 months ago • 0 comments

Besides some minor improvements, this PR adds a simple connection check for the W5500 before its initialization continues to prevent bootlops in case the W5500 is configured but not (properly) connected.

The check consists of reading the version of the W5500, which should always be 0x04, and checking that the interrupt line is driven high.

LennartF22 avatar Sep 28 '24 01:09 LennartF22