Reading the IP-Address from the Register
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: Reading the IP-Address from the Register
by Eugeny ·
Franz-Peter, you give insufficient information. Code is not clear for me.
Which IP address (which register exactly) you want to read, and, also important - when - at which stage of W5500/socket progress?
RE: Reading the IP-Address from the Register
by Coccoliso ·
Hi,
It should be the low leve SPI communication routines for a something embed TI …
are you sure that the CPU alone give the clock cycles needed?
If communication is handled by the MPU HW you do not need to move the clock but perhaps not knowing it is better to take a look
I would have some doubts about it … search the internet for an SPI routine already done for your MPU SPI.
Take care to set MPU SPI in this manner :
- clock idle low
- on rising edge
- set sample on end
and these settings are on all SPI regardless of used CPU.
Another problem could be the W5500 reset routine, once you’ve set and enabled the SPI hold down the RST for at least half a second before you communicate with the W5500 (or test for the RDY pin if you have a free I/O pin)
Then instead of reading the IP address registry try to read the version register (see manual) that you know what needs to return.