eeprom13 2.1.0.0
|
EEPROM 13 Click is a compact add-on board that contains a highly reliable, nonvolatile memory solution. This board features the M24M01E, an electrically erasable programmable memory with enhanced hardware write protection for entire memory from STMicroelectronics. Its memory size of 1Mbit is organized as 128K words of 8bits each, with a page size of 256 bytes and an additional 256 bytes of identification page. The identification page can be used to store sensitive application parameters, which can be (later) permanently locked in read-only mode.
We provide a library for the EEPROM 13 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 13 Click driver.
eeprom13_cfg_setup
Config Object Initialization function. eeprom13_init
Initialization function. eeprom13_memory_write
This function writes a desired number of data bytes starting from the selected memory address. eeprom13_memory_read
This function reads a desired number of data bytes starting from the selected memory address. eeprom13_hw_write_enable
This function disabled hardware write protection of the entire memory. This example demonstrates the use of EEPROM 13 click board. The demo app writes specified data to the memory and reads it back.
The demo application is composed of two sections :
The initialization of I2C module, log UART, and additional pins.
The demo application writes a desired number of bytes to the memory and then verifies if it is written correctly by reading from the same memory location and displaying the memory content. Results are being sent to the UART Terminal, where you can track their changes.
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.