W5500 Not responding for the SPI_Read
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 Not responding for the SPI_Read
by Eugeny ·
With this block you instruct W5500 to give information from reg #9 in common register block (SHAR0). Address=0x0009, OPmode=1 (fixed length 1), operation=read, block select=0.
with this block you instruct W5500 to write data to register #9. Address=0x0009, block select=0, operation=write, fixed length 1 mode.
So you seem confused read and write operations, and that’s why you get 0x00 in return (for SPI write command).
RE: W5500 Not responding for the SPI_Read
by Kei ·
Hi.
@Eugeny already explained to you well.
What you are currently trying to read is SHAR.
It is normal for the 0x00 (reset value) to be read because you have never entered a value in this register in your code.
In the data sheet below, it is helpful if you look at the Address phase and the Control phase, and the reset value of each address.
http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:w5500_ds_v108e.pdf