[From QnA]W5200 Sn_CR command execution
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: [From QnA]W5200 Sn_CR command execution
by hjjeon0608 ·
Dear customer.
Thanks for your interest in W5200.
I think you write wrong address.
Please, try to read Chip version register.
It is because our example source code is designed by using offset address from base address.
So if you set wrong base address, you write or read wrong registers.
Thanks.
WIZnet.
RE: [From QnA]W5200 Sn_CR command execution
by hjjeon0608 ·
Thank you for the hint. Quite simple really.
SPDR = (uint8_t)(addr & 0xFF00) >> 8;
is not the same as:
SPDR = (uint8_t)((addr & 0xFF00) >> 8);
Regards.