How does it work?
EEPROM 11 Click is based on the S-34C04AB, an EEPROM memory for DIMM serial presence detection from ABLIC. The EEPROM uses a Schmitt trigger and noise filter on the I2C bus for noise suppression. The S-34C04AB has a timeout function that can reset the I2C interface and return to standby mode. This timeout is typically 30ms. The EEPROM also allows you to write a byte or a page. The page write mode allows up to 16 bytes to be written in a single operation. The IC also has set protection for block n, clear write protection for all blocks, and read protection status for block n. As for reading, you can read a current address, a random read, or a sequential read.
EEPROM 11 Click uses a standard 2-wire I2C interface to communicate with the host MCU, supporting clock frequencies of up to 1MHz. You can set the desired I2C address over three ADDR SEL jumpers, with 0s selected by default.
This Click board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. Also, this Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used as a reference for further development.
Specifications
Type
EEPROM
Applications
Can be used for the development of consumer electronics, office equipment, communication devices, medical equipment, automobile equipment, and more.
On-board modules
S-34C04AB – EEPROM memory for DIMM serial presence detection from ABLIC
Key Features
EEPROM for DIMM serial presence detect, can write 16 bytes per page, long endurance and data retention, JEDEC standard-compliant, low-current operation, write protection, noise suppression, and more
Interface
I2C
Feature
ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V
Pinout diagram
This table shows how the pinout on EEPROM 11 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP1-JP3 | ADDR SEL | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
EEPROM 11 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | – | 3.3 | – | V |
Memory Size | – | – | 4 | Kbit |
Data Retention | 100 | – | – | Years |
Endurance | 106 | – | – | Cycles |
Software Support
We provide a library for the EEPROM 11 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for EEPROM 11 Click driver.
Key functions
-
eeprom11_page_write
EEPROM 11 page write function. -
eeprom11_clear_page
EEPROM 11 page clear function. -
eeprom11_set_page_addr
EEPROM 11 set page address function.
Example Description
This is an example that demonstrates the use of the EEPROM 11 Click board™.
void application_task ( void )
{
err_t error_flag = EEPROM11_OK;
uint8_t rx_data[ 16 ] = { 0 };
uint8_t tx_data[ 16 ] = TX_DATA;
eeprom11_clear_page( &eeprom11, MEMORY_ADDRESS );
Delay_ms( 1000 );
error_flag = eeprom11_page_write( &eeprom11, MEMORY_ADDRESS, tx_data );
if ( EEPROM11_OK == error_flag )
{
log_printf( &logger, " Write data: %s rn", tx_data );
}
else
{
log_error( &logger, " Write operation failed!!! " );
}
Delay_ms( 1000 );
error_flag = eeprom11_generic_read( &eeprom11, MEMORY_ADDRESS, rx_data, 15 );
if ( EEPROM11_OK == error_flag )
{
log_printf( &logger, "Read data: %s rn", rx_data );
}
else
{
log_error( &logger, " Write operation failed!!! " );
}
log_printf( &logger, " - - - - - - - - - - - rn" );
Delay_ms( 2000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio 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.EEPROM11
Additional notes and informations
Depending on the development board you are using, you may need 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 MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE 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.
For more information about mikroSDK, visit the official page.