EEPROM 3 Click provides 2 Mbit (2,097,152 bits) of Electrically Erasable Programmable Read Only Memory, organized in bytes. In other words, this Click board™ is an EEPROM memory medium with the capacity of 256 KB. The used EEPROM module has outstanding endurance, with 1,000,000 write cycles and data retention period of over 100 years. The EEPROM module on this Click features Schmitt trigger inputs for better noise protection, self-timed write cycles, it has a dedicated write protect pin for hardware protection of stored data, and error detection and correction logic scheme that ensures reliable data output, staying transparent to the host controller.

EEPROM 3 Click is aimed towards industrial and commercial applications, which require low voltage and low power operational capabilities. It can be used for any kind of temporary or permanent data storage for various embedded electronic devices, simple data logging, storing various working parameters of a module or device, safeguarding the sensitive data in case of a power cycle, and other similar applications where reliable EEPROM memory is needed.

The EEPROM module used on the EEPROM 3 Click is the AT24CM02, an I2C serial EEPROM from Microchip, with the memory cell density of 2 megabits (Mbit). The EEPROM density is usually expressed in bits, so exactly 2,097,152 bits are organized in units or words of 8 bits, which gives 262,144 bytes of data memory. Furthermore, the EEPROM is organized in so-called pages. One page holds 256 bytes and there are 1024 pages (1024 pages x 256 bytes = 262,144 bytes total). Having insight into how the memory cells are organized, is important for Write and Erase operations. The I2C pins are routed to the mikroBUS™ so the communication is easy and straightforward. Both 100KHz and 400KHz transfer speeds are supported by the AT24CM02 IC, as well as the 1MHz Fast Mode Plus (FM+) I2C communication, for the MCUs with I2C modules that can support that speed.

This Click board™ uses the I2C communication protocol. Therefore, every data transaction event is initiated by the host MCU, transmitting the I2C START condition, followed by the AT24CM02 device ID byte. Upon the receiving of the device ID byte, the AT24CM02 IC expects two more address bytes, completing the 18bit address word.

The AT24CM02 IC supports Byte write instruction, which allows one single byte to be written during the write cycle. After successful write cycle, the AT24CM02 IC sends an I2C Acknowledge signal (ACK) and the controller then terminates the I2C communication with the I2C STOP condition.

When using a Page write instruction, 256 bytes will be written during one write cycle. It is possible to write less than 256 bytes, but if there is still incoming data when the end of the page is reached, the write pointer will roll over to the beginning of the same page, overwriting the content there. The special care should be taken to the page alignment.

Data Read is initiated the same way as the Data Write, except that the R/W bit is set to 1. There are several read modes available, including current address read, random address read and sequential address read. These modes are selected by the host MCU action. For example, a sequential read is performed by the ACK condition sent from the MCU after the successful byte read. If the host MCU responds with the NACK condition, the sequence reading will be terminated, the address pointer will not be incremented any further, and the communication can then be terminated with the I2C STOP condition.

Whenever I2C communication is suspended, after receiving the I2C STOP signal, or after receiving the NACK signal, the device reverts to the Standby mode, which minimizes the power consumption of the AT24CM02 IC, making it a good choice for applications that require low power consumption.

One of the key features of the AT24CM02 IC is the Error Detection and Correction scheme (EDC), which allows error correction by utilizing six additional bits, internally assigned to a group of four bytes. This protection scheme is capable of correcting some types of bit errors, staying transparent to the end user. The bit comparison and error correction are done internally.

The EEPROM 3 Click offers a selection between 3.3V and 5V operation, with the onboard SMD jumper, labeled as PWR SEL. This allows both 3.3V and 5V MCUs to be interfaced with this Click board™.

The attached device datasheet contains an in-depth explanation of all the mentioned functions. However, MikroElektronika provides a library with functions that make the final code clean and readable, simplifying working with this device. These functions internally employ the aforementioned communication mechanism and expose only a simple and clean interface to the user. The provided example code demonstrates the functionality of these functions. It can be used as a reference point for a custom development.

  • Interface: I2C
  • Compatibility: mikroBUS™
  • Dimensions: 28.6 x 25.4mm
  • Input Voltage: 3.3V or 5V

MIKROE EEPROM 3 Click Product Help and Resources


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.