MAC-Adress-Click-Platine
MAC-Adress-Click-Platine
Overview
Das MAC Address Click Board™ bietet eine eindeutige Knotenadresse für Ihre Anwendung. Es verfügt außerdem über 1 Kbit beschreibbaren EEPROM-Speicher. Das MAC Address Click Board™ verfügt über den 24AA025E64 2K I2C Serial EEPROM mit EUI-64-Knotenidentität.
Das MAC Address Click Board™ ist für den Betrieb mit einer Stromversorgung von 3,3 V oder 5 V ausgelegt. Die Platine kommuniziert über die I2C-Schnittstelle mit dem Zielmikrocontroller.
The MAC Address Click Board™ provides a unique node address for your application. It also has 1Kbit of writable EEPROM memory. MAC Address click carries the 24AA025E64 2K I2C Serial EEPROM with EUI-64™ node identity. The click is designed to run on either 3.3V or 5V power supply. MAC Address click communicates with the target microcontroller over I2C interface.
24AA025E64 Features
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.
SPECIFICATIONS
Type | EEPROM |
Applications | Pre-programmed globaly unique node address for your application |
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 |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the MAC Address Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | TX | 14 | NC | ||
NC | 4 | SCK | RX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C data | |
Power supply | +3.3V | 7 | 3.3V | 5V | 10 | +5V | Power supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
JUMPERS AND SETTINGS
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 |
Software Support
Code examples for the MAC Address Click Board™, written for MikroElektronika hardware and compilers are available on Libstock.
CODE SNIPPET
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 }
Software Support
Code examples for the MAC Address Click Board™, written for MikroElektronika hardware and compilers are available on Libstock.
CODE SNIPPET
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 }
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.