The Microchip Technology Inc. 24AA025E64 is a 2Kb Serial EEPROM with a pre-programmed IEEE EUI-64 MAC Address. The device is organized as two blocks of 128 x 8-bit memory with a 2-wire serial interface. Low voltage design permits operation down to 1.7V, with maximum standby and active currents of only 1 uA and 1 mA, respectively. The 24AA025E64 also has a page write capability for up to sixteen bytes of data.
Type | EEPROM |
On-board modules | 24AA025E64 2K I2C Serial EEPROMs with EUI-64™ node identity from Microchip |
Key Features | Pre-programmed globally unique, 64-bit node address; more than 1 Million erase/write cycles |
Key Benefits | 1Kbit of writable EEPROM memory |
Interface | I2C |
Input Voltage | 3.3V or 5V |
Click board size | S (28.6 x 25.4 mm) |
This table shows how the pinout on MAC Address click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Designator | Name | Default Position | Default Option | Description |
---|---|---|---|---|
JP2 | ADD SEL | Down | 0 | I2C slave address A0 (LSB) bit selection 0/1, down position 0, upper position 1. |
JP3 | ADD SEL | Down | 0 | I2C slave address A1 bit selection 0/1, down position 0, upper position 1. |
PWR SEL | PWR SEL | Left | 3.3V | Power Supply Voltage Selection 3V3/5V, left position 3V3, right position 5V |
Code examples for MAC Address click, written for MikroElektronika hardware and compilers are available on Libstock.
The following code reads one byte from EEPROM and transmits data to UART.
01 if( !MACADDRESS_readByte( loop, &read ) ) 02 { 03 LOG( "rn Byte value [ " ); 04 ByteToHex( read, txt ); 05 Ltrim( txt ); 06 LOG( txt ); 07 LOG( " ] succeessfully read from [ " ); 08 ByteToHex( loop, txt ); 09 Ltrim( txt ); 10 LOG( txt ); 11 LOG( " ] address" ); 12 } 13 else 14 { 15 LOG( "rn Read Byte Error" ); 16 } 17 }