About the culation of registers' adress
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: About the culation of registers' adress
by Eugeny ·
Where did you find it?
RE: RE: About the culation of registers' adress
by jiang1xia ·
W5500_IO_BASE is 0, and WIZCHIP_SREG_BLOCK(0) is 1.
1<<3=0x8
So i summed them and get 0x00_0008
RE: About the culation of registers' adress
by Eugeny ·
Because bits [7:0] of resulting value you have (0x08) correspond to control phase byte, and this byte’s bits [7:3] correspond to field BSB[4:0], and its value of 1 corresponds to the base of socket 0 registers.