Carte EEPROM 8 Click
Carte EEPROM 8 Click
Key Features
- Faible consommation d'énergie, protection en écriture, plus d'un million de cycles de lecture/écriture/effacement, plus de 100 ans de conservation des données, haute fiabilité, haute densité, etc.
- Basé sur la mémoire programmable effaçable électriquement CAV24C512 de 512 Ko d'ON Semiconductor
- Peut être utilisé pour les applications grand public et industrielles où un stockage de mémoire non volatile fiable est essentiel
- mikroBUS : interface I2C
Overview
La carte EEPROM 8 Click Board™ est une carte complémentaire compacte qui contient une solution de mémoire non volatile extrêmement fiable. Cette carte comprend le CAV24C512, une mémoire programmable effaçable électriquement de 512 Ko avec protection d'écriture matérielle améliorée pour toute la mémoire d'ON Semiconductor. Organisée en interne en 65 536 mots de 8 bits chacun, la CAV24C512 est dotée de l'interface série I2C compatible. La CAV24C512 combine un stockage de données sans précédent avec une excellente efficacité énergétique. Elle dure un million de cycles de lecture/écriture/effacement de mémoire complète avec plus de 100 ans de conservation des données. Cette carte Click™ convient aux applications grand public et industrielles où un stockage de mémoire non volatile fiable est essentiel.
La carte Click Board™ EEPROM 8 est supportée par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cette carte Click Board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
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.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.