MIKROE EEPROM 6 Click

EEPROM 6 Click is a compact add-on board that contains a serial EEPROM memory that operates from the 1-Wire interface. This board features the DS28EC20, a 20480-bit EEPROM organized as 80 memory pages of 256 bits each from Analog Devices. As a specific feature, blocks of eight memory pages can be write-protected or put in “EPROM-Emulation” Mode, where bits can only be changed from a 1 to a 0 state. It communicates with MCU at 15.4kbps or 90kbps over the 1-Wire protocol and has a 64-bit registration number that ensures error-free device selection. This Click board™ is suitable for applications like device authentication, data for self-configuration of central office switches, wireless base stations, or other modular-based rack systems.

EEPROM 6 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development.

EEPROM 6 Click is based on the DS28EC20, a 20Kb of data EEPROM with a fully featured 1-Wire interface in a single chip from Analog Devices. The memory is organized as 80 pages of 256 bits each. In addition, the device has one page for control functions such as permanent write protection and EPROM-Emulation mode for individual 2048-bit (8-page) memory blocks. A volatile 256-bit memory page called the scratchpad acts as a buffer when writing data to the EEPROM to ensure data integrity. Data is first written to the scratchpad, from which it can be read back for verification before transferring it to the EEPROM.

Each DS28EC20 has its own unalterable and unique 64-bit registration number. The registration number guarantees unique identification and is used to address the device in a multidrop 1-Wire net environment. In addition to the EEPROM, the device has a 32-byte volatile scratchpad. Writes to the EEPROM array are a two-step process. First, data is written to the scratchpad and then copied into the main array. The user can verify the data in the scratchpad before copying.

The protocol for accessing the DS28EC20 through the 1-Wire interface consists of additional steps:

  • Initialization sequence - It consists of a reset pulse transmitted by the MCU followed by the presence pulse transmitted by the DS28EC20, which gives the MCU information that the DS28EC20 is on the bus and is ready to operate.
  • ROM Function Command - Once the MCU has detected a presence, it can issue one of the seven ROM function commands that the DS28EC20 support.
  • Memory Function Command - Commands necessary for accessing the memory of the DS28EC20.
  • Transaction/Data - The idle state for the 1-Wire bus is high. If for any reason a transaction needs to be suspended, the bus MUST be left in the idle state if the transaction is to resume. If this does not occur and the bus is left low for more than 16μs (Overdrive speed) or more than 120μs (Standard speed), one or more devices on the bus can be reset.

The EEPROM 6 Click communicates with MCU using the 1-Wire interface that supports both a Standard and Overdrive communication speed of 15.4kbps (max) and 90kbps (max), respectively. If not explicitly set into the Overdrive mode, the DS28EC20 communicates at Standard speed. The 1-Wire communication line is routed to the SMD jumper labeled as GP SEL, which allows routing of the 1-Wire communication either to the PWM pin or to the AN pin of the mikroBUS™ socket. These pins are labeled as GP0 and GP1 respectively, the same as the SMD jumper positions, making the selection of the desired pin simple and straightforward.

This Click board™ is designed to be operated with both 3.3V and 5V logic voltage levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the 1-Wire 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.

  • Interface: 1-Wire
  • Compatibility: mikroBUS™
  • Dimensions: 28.6 x 25.4mm
  • Input Voltage: 3.3V or 5V
  • Supply Voltage: Min. -0.5V, Max. 6V
  • Memory Size: 20 Kb
  • Write/Erase Cycles (Endurance): 200k cycle
  • Operating Temperature Range: Min. -40°C, Max. +85°C

Comments

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.