I am trying to get the MAC address that is stored on the Wiznet w5500 chip.
On page 29 - click here, it has the address of the values. It state that "This block can be selected by the BSB[4:0] value of SPI Frame". Then it lists the addresses of the MAC block from 0x001E to 0x0023.
How do I read these blocks using the SPI library? What does the BSB[4:0] mean?
EDIT 1: I am looking through the Wiznet Arduino library and it looks like there is a way to access the mac address through
-
Page 29 of what? Could you share this document with us please?Mark Smith– Mark Smith2017年02月13日 17:46:23 +00:00Commented Feb 13, 2017 at 17:46
-
@MarkSmith thanks for pointing that out. I added the link.pekasus– pekasus2017年02月13日 17:48:41 +00:00Commented Feb 13, 2017 at 17:48
-
The initial value is 00.00.00.00. The library/sketch sets the MAC address.Mikael Patel– Mikael Patel2017年02月13日 20:52:41 +00:00Commented Feb 13, 2017 at 20:52
-
@MikaelPatel so there is no way to read the MAC into the software? I would have to use a separate MAC as a unique identifier?pekasus– pekasus2017年02月13日 22:08:29 +00:00Commented Feb 13, 2017 at 22:08
-
You can read the SHAR register into the software but the initial value is not unique. Some Ethernet Shields have a sticker with an allocated MAC address to use. See wizwiki.net/forum/viewtopic.php?t=501 and arduino.stackexchange.com/questions/8719/…Mikael Patel– Mikael Patel2017年02月13日 23:34:18 +00:00Commented Feb 13, 2017 at 23:34