We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aaca2f commit a0f5a2eCopy full SHA for a0f5a2e
libraries/Ethernet/src/utility/w5100.cpp
@@ -35,9 +35,11 @@ void W5100Class::init(void)
35
SPI.setClockDivider(SPI_CS, 21);
36
SPI.setDataMode(SPI_CS, SPI_MODE0);
37
#endif
38
+ SPI.beginTransaction(SPI_ETHERNET_SETTINGS);
39
writeMR(1<<RST);
40
writeTMSR(0x55);
41
writeRMSR(0x55);
42
+ SPI.endTransaction();
43
44
for (int i=0; i<MAX_SOCK_NUM; i++) {
45
SBASE[i] = TXBUF_BASE + SSIZE * i;
0 commit comments