EEPROM 8 Click-Platine
EEPROM 8 Click-Platine
Key Features
- Niedriger Stromverbrauch, Schreibschutz, mehr als eine Million Lese-/Schreib-/Löschzyklen, mehr als 100 Jahre Datenerhaltung, hohe Zuverlässigkeit, hohe Dichte und mehr.
- Basierend auf dem CAV24C512 - 512-Kb elektrisch löschbarer programmierbarer Speicher von ON Semiconductor
- Kann für Verbraucher- und Industrieanwendungen verwendet werden, bei denen zuverlässiger nichtflüchtiger Speicher unverzichtbar ist
- mikroBUS: I2C-Schnittstelle
Das EEPROM 8 Click Board™ ist eine kompakte Zusatzplatine, die eine äußerst zuverlässige nichtflüchtige Speicherlösung enthält. Diese Platine verfügt über den CAV24C512, einen 512 KB großen elektrisch löschbaren programmierbaren Speicher mit verbessertem Hardware-Schreibschutz für den gesamten Speicher von ON Semiconductor. Der CAV24C512 ist intern als 65.536 Wörter mit jeweils 8 Bit organisiert und verfügt über die kompatible serielle I2C-Schnittstelle. Der CAV24C512 kombiniert beispiellose Datenspeicherung mit ausgezeichneter Energieeffizienz. Er hält eine Million Lese-/Schreib-/Löschzyklen des gesamten Speichers mit mehr als 100 Jahren Datenspeicherung aus. Dieses Click Board™ ist für Verbraucher- und Industrieanwendungen geeignet, bei denen zuverlässiger nichtflüchtiger Speicher unerlässlich ist.
Das EEPROM 8 Click Board™ wird von einer mikroSDK-kompatiblen Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dieses Click Board™ wird als vollständig getestetes Produkt geliefert und ist bereit für den Einsatz auf einem System, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does The EEPROM 8 Click Board™ Work?
The EEPROM 8 Click Board™ as its foundation uses the CAV24C512, a 512-Kb EEPROM with an I2C interface and Write Protection Mode from ON Semiconductor. The CAV24C512 is organized as 65,536 words of 8 bits each and benefits from a wide power supply range and 100 years of data retention combining their unprecedented data storage with excellent energy efficiency. It is highly reliable, lasting one million full-memory read/write/erase cycles. On-chip Error Correction Code (ECC) makes this Click board™ suitable for high-reliability applications where dependable nonvolatile memory storage is essential.
The EEPROM 8 Click Board™ communicates with MCU using the standard I2C 2-Wire interface that supports Standard (100 kHz), Fast (400 kHz), and Fast-Plus (1MHz) modes of operation. The CAV24C512 has a 7-bit slave address with the first five MSBs fixed to 1010. The address pins A0, A1, and A2, are programmed by the user and determine the value of the last three LSBs of the slave address, which can be selected by positioning onboard SMD jumpers labelled as ADDR SEL to an appropriate position marked as 0 or 1.
On the other side, the configurable Write Protection function, labelled as WP routed to the PWM pin of the mikroBUS™ socket, allows the user to freeze the entire memory area, thus protecting it from Write instructions.
The EEPROM 8 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | EEPROM |
Applications | The EEPROM 8 Click Board™ can be used for consumer and industrial applications where dependable nonvolatile memory storage is essential |
On-board modules | CAV24C512 - 512-Kb electrically erasable programmable memory from ON Semiconductor |
Key Features | Low power consumption, write protection, more than million read/write/erase cycles, more than 100 years of data retention, high reliability, high density, and more. |
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 EEPROM 8 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 | WP | Write Protect | |
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 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 |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2-JP4 | ADDR SEL | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
EEPROM 8 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Memory Size | - | - | 512 | Kb |
Endurance | 1.000.000 | - | - | Cycles |
Data Retention | 100 | - | - | Years |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the EEPROM 8 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the EEPROM 8 Click Board™ driver.
Key functions
-
eeprom8_write_page
This function writes up to 128 bytes of data starting from the selected register. -
eeprom8_read_random_byte
This function reads one byte data from the desired register. -
eeprom8_read_sequential
This function reads the desired number of bytes starting from the selected register.
Example Description
This example demonstrates the use of the EEPROM 8 Click Board™ by writing specified data to the memory and reading it back.
void application_task ( void )
{
// Reset variables
cnt = 0;
memset( test_read_buffer, 0, sizeof ( test_read_buffer ) );
addr_offset = TEST_MEM_LOCATION;
// Initiate first pass
// filling the eeprom addresses with zeros
if( EEPROM8_ERROR == run_first_pass( &eeprom8, test_write_buffer, test_read_buffer ) )
{
log_error( &logger, " First Pass Failed " );
}
// Initiate second pass
// filling the eeprom addresses with values following arithmetic sequence with difference of 1
if( EEPROM8_ERROR == run_second_pass( &eeprom8, test_write_buffer, test_read_buffer ) )
{
log_error( &logger, " Second Pass Failed " );
}
log_printf( &logger, " rnInitiating new iterationrn " );
Delay_ms( 6000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.EEPROM8
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The EEPROM 8 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the EEPROM 8 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the EEPROM 8 Click Board™ driver.
Key functions
-
eeprom8_write_page
This function writes up to 128 bytes of data starting from the selected register. -
eeprom8_read_random_byte
This function reads one byte data from the desired register. -
eeprom8_read_sequential
This function reads the desired number of bytes starting from the selected register.
Example Description
This example demonstrates the use of the EEPROM 8 Click Board™ by writing specified data to the memory and reading it back.
void application_task ( void )
{
// Reset variables
cnt = 0;
memset( test_read_buffer, 0, sizeof ( test_read_buffer ) );
addr_offset = TEST_MEM_LOCATION;
// Initiate first pass
// filling the eeprom addresses with zeros
if( EEPROM8_ERROR == run_first_pass( &eeprom8, test_write_buffer, test_read_buffer ) )
{
log_error( &logger, " First Pass Failed " );
}
// Initiate second pass
// filling the eeprom addresses with values following arithmetic sequence with difference of 1
if( EEPROM8_ERROR == run_second_pass( &eeprom8, test_write_buffer, test_read_buffer ) )
{
log_error( &logger, " Second Pass Failed " );
}
log_printf( &logger, " rnInitiating new iterationrn " );
Delay_ms( 6000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.EEPROM8
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The EEPROM 8 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
EEPROM 8 Click-Platine
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.