W5500 - Data read always returns zero
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 - Data read always returns zero
by Eugeny ·
When you perform reading OR writing, first three SPI cycles return 01 02 03 on the MISO line as discussed here. Do you see these 01-02-03 when reading registers?
Can you post your scope readings so that we can see the whole access cycle - for writing and for reading?
Edit: scope images are too small. Please upload larger images.
Update as far as I can see on these small images you change value on MOSI line with posedge of CLK, and it must be wrong. W5500 samples MOSI on its clock rising edge, thus you must set up the data on the previous falling edge of the clock.
RE: RE: W5500 - Data read always returns zero
by Rami ·
Thank you very much for your help, you are right, I have changed the SPI MODE and it works well now.
Sorry for the small images, unfortunately this is the best what can my oscilloscope offer me!