swieeprom
2.0.0.7
|
SWI EEPROM Click is a compact add-on board that provides a highly reliable memory solution. This board features the AT21CS01, a single-wire serial EEPROM with a unique, factory-programmed 64-bit serial number from Microchip Technology.
We provide a library for the ${ALIAS_NAME} 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.
swieeprom_init
SWI EEPROM initialization function. swieeprom_write_data_to_memory
SWI EEPROM write data to memory. swieeprom_read_data_from_memory
SWI EEPROM read data from memory. This application shows capability of SWI EEPROM Click board.
It checks if device is present, initializes it and show it's functionality to read from memory and write to memory.
The demo application is composed of two sections :
Initialization of log and communication pin. Checks if device
is present and then it's slave address, and checks communication
with checking devices ID.
Sends WRITE_DATA_STRING to the device, starting from START_MEMORY_ADDRESS.
Then reads that written data and checks if it matches with written data. After that clears that same data and then reads it again to check if data is cleared.
This application is written for Legacy profiles for ARM{STM32F407ZG},
PIC{PIC18F97J94}, PIC32{PIC32MX975F512L} and specificly for Mikrobus 1.
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.
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.