This product is no longer in stock
EERAM 3.3V click is a static RAM (SRAM) memory click board™ with the unique feature - it has a backup non-volatile memory array, used to store the data from the SRAM array. Since the SRAM is not able to maintain its content after the power loss, the non-volatile EEPROM backup can be a very handy addition that can be used to preserve the data, even after the power loss event. This is a very useful feature when working with critical or sensitive applications. The memory backup procedure can be executed both automatically and manually. When it is set to work in the manual mode, the onboard capacitor will act as a power source with enough power to complete the backup cycle. The power-on backup restore mode is also available, taking only about 25ms to complete.
EERAM 3.3V click offers combined benefits from both SDRAM and EEPROM worlds. The SDRAM array has zero cycle delay while reading or writing data and infinite read and write cycles, While the EEPROM endures more than one million store cycles and data retention prediction for more than 200 years. With these features, EERAM 3.3V click can be used for a wide range of different applications as the additional memory used to store some sensitive intermediate results of complex calculations, or it can be simply used as the additional semi-volatile SDRAM, for any embedded application. It can be also used to store factory default values, that can be restored on a reset or demand.
The click board™ uses the 47L16, an I2C serial chip with 16 Kbit and EEPROM backup, from Microchip. The memory cells are organized into 2048 bytes, each 8bit wide. The data is read and written by the I2C serial communication bus, routed to the respective pins of the mikroBUS™ (SCL and SDA pins). To access the device, the first byte sent from the host MCU should be the I2C slave address. In most cases, the master I2C device will be the host MCU itself. The slave IC2 address depends on the state of the hardware address pins on the EERAM 3.3V click. These pins are routed to the onboard SMD jumpers, labeled as A1 and A2, so they can be pulled either to a HIGH or to a LOW logic level. Besides the address pins, the I2C slave address is determined by the section of the device that needs to be accessed. There are two sections, accessed by a different slave address: SRAM section and the CONTROL REGISTER section. The datasheet of the 47l16 contains more information on these addresses and how to access certain groups of registers. However, provided click library functions allow easy and transparent operation with the EERAM 3.3V click. The provided example application demonstrates the usage of these library functions, and it can be used as a reference for future custom application development.
The EERAM 3.3V click can backup or restore its content, utilizing the integrated EEPROM non-volatile array, which is not directly accessible. There are several ways to achieve this:
The store to EEPROM/backup function will not be executed if the SDRAM content has not been changed since the last time it was written to EEPROM. This is tracked by the AN bit of the status register.
The click board uses only 3.3V power rail from the mikroBUS™. The I2C lines are pulled to a HIGH logic level by the onboard resistors, so the device is ready to be used with 3.3V MCUs, right out of the box. Although the EERAM 3.3V click is designed to work only with 3.3V MCUs, there is also a 5V alternative version of this device. More information can be found on the product page of the EERAM 5V click.
Provides an additional RAM memory for a wide range of embedded applications, especially useful if retaining of the working parameters is required upon the power failure or power off cycle
The 47C16 I2C, a serial EERAM from Microchip
EERAM 3.3V click features 16 Kb of SRAM, with the automatic or manual backup and recall to/from the integrated EEPROM, upon power-down
Click board size
S (28.6 x 25.4 mm)
This table shows how the pinout on EERAM 3.3V click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
|NC||5||MISO||SCL||12||SCL||SCL I2C line|
|NC||6||MOSI||SDA||11||SDA||SDA I2C line|
|Designator||Name||Default Position||Default Option||Description|
|JP1||A1||Left||0||Address select 1|
|JP2||A2||Left||0||Address select 2|
|SW1||SW1||Down||OFF||Automatic/manual data store and recall|
|LD1||PWR||LED||Power Indication LED|
We provide a library for EERAM 3.3V click on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided click library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.
void eeram3v3_read (uint16_t address, uint8_t * pDataOut, uint8_t countOut);- Reads the data from the selected SRAM address onwards.
void eeram3v3_write (uint16_t address, uint8_t * pDataIn, uint8_t countIn);- Writes the data to SRAM memory array.
The application is composed of three sections:
mikrobus_logWrite("Writing MikroE to SRAM memory, from address 0x0150:",_LOG_LINE);
eeram3v3_write (0x0150, wrData, 9);
mikrobus_logWrite("Reading 9 bytes of SRAM memory, from address 0x0150:",_LOG_LINE);
mikrobus_logWrite("Data read: ",_LOG_TEXT);
The full application code, and ready to use projects can be found on our Libstock page.
Other mikroE Libraries used in the example:
Additional notes and information
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
This 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.
For more information about mikroSDK, visit the official page.