Sn_MR register returns 0 after a while
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: Sn_MR register returns 0 after a while
by hjjeon0608 ·
Hi,
Socket mode register is not written??
Mode register value cannot be changed itself.
RE: Sn_MR register returns 0 after a while
by Ralph ·
Hi hjjeon0608,
thank you for your reply!
→ Socket mode register is not written??
The mode register is written via the following instruction, the value is: (protocol | flag)
[color=#FF0000]IINCHIP_WRITE(Sn_MR(s),protocol | flag);[/color]
So when we directly read back the mode register after writing we expect, that we read back the same value we’ve wrote before. What obviously works in most of the cases but randomly the mode register returns 0.
→ Mode register value cannot be changed itself.
What excactly do you mean with this statment, can you please explain.
Thanks a lot
Ralph