Dual EE Click contains two AT24CM02 EEPROM ICs onboard which gives total of 4MB of memory. Each memory IC can be addressed through the I2C interface with the transfer speed of 400KHz. This Click board™ offers any kind of temporary or permanent data storage for various. embedded electronic devices, as well as simple data logging or even storing various working parameters of a certain module or device. It can also safeguard all of the sensitive data in case of a particular power cycle and it has many other capabilities.
Dual EE Click is supported by a mikroSDK compliant library, which includes functions that simplify software development.
Dual EE 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 EEPROM memory is needed.
Dual EE Click contains 2 EEPROM ICs onboard – the AT24CM02, an I2C serial EEPROM from Microchip. This means that the Ics can have a different I2C address so that users can actually choose which one they would like to use at a particular time. This is achieved by wiring the I2C address selection lines from one of the Ics to the vcc, while the other IC is wired to the gnd. Given this feature, it is important to note that this Click board™ has a total of 4 MB of memory.
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 receiving the device ID byte, the AT24CM02 IC expects two more address bytes, completing the 18bit address word.
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). Given that this Click contains two separate EEPROM Ics this Click board™ has twice as many memory which equals 4 MB.
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.
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 Dual EE Click board™ 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, Mikroe 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: 42.9 x 25.4mm
- Input Voltage: 3.3V or 5V