Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 11 months ago.
Reset & the WIZnet library
In the WIZnetInterface class, one of the parameters is the reset pin (e.g.
WIZnetInterface eth(&spi, PB_6, PB_4); spi, cs, reset
).
However, the library will only actually work if I leave this pin unconnected. Is this supposed to work like this?
Thanks,
Alex
Question relating to:
1 Answer
11 years, 10 months ago.
Sometimes it may works without reset input but In the library code, mbed's GPIO is applied to the reset input of Wiznet chip.
void WIZnet_Chip::reset() { reset_pin = 1; reset_pin = 0; wait_us(500); 500us (w5500) reset_pin = 1; wait_ms(400); 400ms (w5500) ...
if it's not working, I think you'd better checking if there is any conflict with reset pin.
I'm using a st nucleo 401re board with the Arduino Ethernet shield (based on the W5100). I have had to jumper the ICSP header to the SPI pins on the nucleo board, but I have left the RESET of the ICSP header unconnected (as when I wire it up to any pin on the nucleo board it doesn't work).
I *think* that the Arduino Ethernet shield asserts reset when the reset pin is taken low. From my understanding of the WIZnet library this is opposite to what the library does - am I correct?
Thanks,
Alex
posted by 16 May 2014same with me. I left the reset pin open (nc) and i deleted the reset part of the driver. Heiko
posted by 16 May 2014