W5500 Variable SPI mode not working
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: W5500 Variable SPI mode not working
by becky ·
Hello,
The above code appears to be written and read in variable mode on the SHAR register. Therefore, it is correct that the written value should be read.
When you write “0x0A 0x0B 0x0C 0x0D 0x0E”, the Read value is 0x55 0x05 0x0C 0x0D 0x00 0x00?
I want you to tell me more clearly what value you have written and what value you read.
3. Data length is fixed in fixed mode, like the above image. Is it correct to write data of the same size as data length after writing addr and control?
RE: RE: W5500 Variable SPI mode not working
by dhanunjay ·
Hi Becky,
I have tried the spi communication in all the modes possible, the above results specific for the mode. I don’t get what your asking in the 3rd question, as far as i understood we can write 4bytes of data (without considering the addr and control byte) in the FDM_LEN4_ mod.
RE: W5500 Variable SPI mode not working
by becky ·
It is right that you understood.
Tell me again what your problem is.
I understand that you tried to write and read data in each mode, which worked well for fixed mode 2byte and 4byte but read the other values in the other modes.
So I asked if you were writing the appropriate size data for each mode.
In addition, I recommend that you verify that the mode settings are correct.
Please refer to datasheet 14-17page
http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:w5500_ds_v108e.pdf
Thank you