Report
5 years, 1 month 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:

This is WIZnet Ethernet Interface using Hardware TCP/IP chip, W5500, W5200 and W5100. One of them can be selected by enabling it in wiznet.h. ethernet, tcp/ip, w5100, W5200, W5500, Wiznet
Comment on this question

1 Answer

5 years, 1 month 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 Alex Shenfield 16 May 2014

same with me. I left the reset pin open (nc) and i deleted the reset part of the driver. Heiko

posted by Heiko Greiner 16 May 2014

Heiko - did you get the SD card working also? That was going to be my next job :)

posted by Alex Shenfield 20 May 2014

but In the library code, mbed's GPIO is applied to the reset input of Wiznet chip.

Which is the "reset input of the Wiznet chip"???

posted by Cristian Fuentes 26 Jan 2016

To post an answer, please log in.