Hello,
How can a driver detect whether a w5100s or w5500 is present? Each chip has a different chip version register. Is there a set of register calls that can reliably differentiate between the two chips?
Thanks,
Martin
Hello,
How can a driver detect whether a w5100s or w5500 is present? Each chip has a different chip version register. Is there a set of register calls that can reliably differentiate between the two chips?
Thanks,
Martin
Hello
The W5500 and W5100S chips have a version register.
Both appear when a register value is read, and the
0x51 for the W5100S and 0x04 for the W5500
will be returned.
W5100S
[RO] [0x0080] [0x51]
W5500
[R] [0x0039] [0x04]
Thank youcc
Hi Louis,
Thanks for your reply. May I ask a follow up question?
Assuming that the registers are read immediately after the chip has been reset:
Thanks again,
Martin
Reading the version register of the W5100S chip returns a value of 0x51, and reading the version register of the W5500 chip returns a value of 0x04.
It does not return a value of 0x55 on the W5500.
Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.