You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chip type detection such as W5100Class::isW5100()W5100Class::isW5500() and so on fails except in case of power on reset of W5500, due to W5100Class::softReset() returns 0. softReset() will succeed always when PoE receiver module is not equipped.
Solution
Increase wait count to 200 ms in W5100Class::softReset(), such as:
uint8_tW5100Class::softReset(void)
{
uint16_t count=0;
//Serial.println("WIZnet soft reset");// write to reset bitwriteMR(0x80);
// then wait for soft reset to completedo {
uint8_t mr = readMR();
//Serial.print("mr=");//Serial.println(mr, HEX);if (mr == 0) return1;
delay(1);
} while (++count < 200);
return0;
}
I'm not sure it's really OK to 200.
The text was updated successfully, but these errors were encountered:
7n2jju
changed the title
W5100Class::softReset() failes always when PoE module.
W5100Class::softReset() failes always when PoE module equipped.
Dec 5, 2022
Hardware
Problem
Chip type detection such as
W5100Class::isW5100()
W5100Class::isW5500()
and so on fails except in case of power on reset of W5500, due toW5100Class::softReset()
returns0
.softReset()
will succeed always when PoE receiver module is not equipped.Solution
Increase wait count to 200 ms in
W5100Class::softReset()
, such as:I'm not sure it's really OK to 200.
The text was updated successfully, but these errors were encountered: