eeprom6 2.0.0.0
|
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.
We provide a library for the EEPROM 6 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for EEPROM 6 Click driver.
eeprom6_cfg_setup
Config Object Initialization function. eeprom6_init
Initialization function. eeprom6_default_cfg
Click Default Configuration function. eeprom6_write_mem
This function writes a sequential data starting of the targeted 16b register address of the targeted 16-bit register address of the DS28EC20. eeprom6_read_mem
This function reads a sequential data starting from the targeted 16-bit register address of the DS28EC20. This example demonstrates the use of EEPROM6 click board by writing string to a memory at some specific location and then reading it back.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
This example shows capabilities of EEPROM 6 Click board by writting a string into memory location from a specific address, and then reading it back every 5 seconds.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
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 MikroElektronika compilers.