WIZnet Developer Forum

Socket status always reads the same value

Hello all,

End of last year I’ve started to test the ioLibrary driver for the W5500 chip.
I have managed to get a http client for the W5500.
But I encountered a problem when opening a socket to get connected to a local http/socket server. Every time after the socket open command is given, the socket status is read.
But my SPI function for byte reading always reads 0x01. So this means that the socket is never
initialized!
For this project an atmel SAMD21 is used with the W5500.

Is there someone of you to help me solve this issue?
Any help I will aprreciate.

Max

Maybe you read wrong byte in the sequence. See this post. 0x01 is returned as a response for the first byte written to the W5500.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.