Skip to content

Patch to wait for WIZnet W5100 reset #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion libraries/Ethernet/utility/w5100.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ void W5100Class::init(void)
SPI.begin();
initSS();

writeMR(1<<RST);
writeMR(1<<RST); //Issue a software reset to the W5100 chip.
delay(100); //Wait for the chip to physically reset (it takes 10ms but manufacturer request 100ms).
//Continue with the setup of the internal registers:
writeTMSR(0x55);
writeRMSR(0x55);

Expand Down