Looking for object for 24AA02E48 MAC address chip
David Buckley
Posts: 12
in Propeller 1
Can't find anything on Github. Anyone got any ideas?
Comments
I just generate a random 32-bits and lock that into EEPROM and set the upper 16-bits of the OUI to $02FF for my WIZNet stuff. No need for a separate chip really.
Where buff was a buffer that was used for some other purpose that I repurposed .
And that's it!
The driver does not consume a cog, it's just a call.
A note that the 24AA02E48, despite having A0/A1/A2 address pins, ignores the A0/A1/A2 address pins, and thus is always addressed at I2C address A0, and so it cannot wired in parallel with the boot EEPROM, as they then have the same address. There are other variants of the chip that do not ignore the A0/A1/A2 address pins.
Seems like an awful lot of bother to go through just for a MAC address for a one-off. Just write an address to upper EEPROM and then there is no need for a special chip unless you are producing a vast quantity, and then there are other ways.
Is this just a one off? All the more reason to not or ever bother with an extra chip!
If it were a big production item it would make sense though.
Or if uniqueness is a must you can buy the chip, take the IP and write it in upper EEPROM. .. no extra HW required ...
I use this code to read the MAC address: You have to connect A=GND and A1=VCC of the 24AA025E48 for this to work. The adress bits are in bits 2..1 of the device select code ($A4). $FA is the internal adress where the MAC is located in the ROM.