Register addresses for W5500 are not correct #140
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
See #84 I want to break the issue into a smaller part since the original issue has more proposed changes than this.
This issue relates only to the wrong addresses and nothing more. This is important because the Arduino Ethernet Shield 2 uses W5500 chip (no official Arduino shield uses W5100 anymore from what I can tell).
The register addresses for W5500 can be found in the datasheet (v1.0.9) at page 29 / 66 (I posted an image below)
Current w5100.h
Proposed changes to w5100.h
Notice above how
0x0017
to0x0019
0x0019
to0x001B
0x0028
to0x001C
0x0029
to0x001D
0x002A
to0x0028
0x002E
to0x002C
This would fix an issue where
setRetransmissionTime()
has no effect on W5500. Only problem left to solve is to differentiate between RTR address for W5100 and W5500.Quick view at the register map for W5500:

For comparison here are the W5100 registers
The text was updated successfully, but these errors were encountered: