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
{{ message }}
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
Routine wizchip_reset within file port\ioLibrary_Driver\src\w5x00_spi.c attempts to use the reset GPIO line, however the rest line has not been initialised.
The line gpio_init(PIN_RST); needs to be inserted as the first line of the wizchip_reset function.
Without correctly initialising the reset line, it is not driven to a sufficient voltage by the RP2040 to bring the w5x00 device out of reset. Therefore when this library is used with an ethernet module that does not provide an explicit pull-up on the reset line (such as the ETH WIZ Click board) the w5x00 device is held permanently in reset making the device unusable.
The text was updated successfully, but these errors were encountered:
Stephen-Bath
changed the title
gpio_init not called for reset line before use
gpio_init not called for reset line before use - device locked in reset
Jun 27, 2023
Routine
wizchip_reset
within fileport\ioLibrary_Driver\src\w5x00_spi.c
attempts to use the reset GPIO line, however the rest line has not been initialised.The line
gpio_init(PIN_RST);
needs to be inserted as the first line of thewizchip_reset
function.Without correctly initialising the reset line, it is not driven to a sufficient voltage by the RP2040 to bring the w5x00 device out of reset. Therefore when this library is used with an ethernet module that does not provide an explicit pull-up on the reset line (such as the ETH WIZ Click board) the w5x00 device is held permanently in reset making the device unusable.
The text was updated successfully, but these errors were encountered: