We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2019-10-31
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Storage
Downloaded: 4352 times
Not followed.
License: MIT license
ReRAM Click features ReRAM (Resistive Random Access Memory) module which contains the cell array made of 524.288 words x 8 bits, which totals 4 Mbits of data.
Do you want to subscribe in order to receive notifications regarding "ReRAM click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "ReRAM click" changes.
Do you want to report abuse regarding "ReRAM click".
Library Description
Library contains functions for getting temperature and humidity. Library contains functions for getting and setting user register. Library contains functions for changing resolution and soft reset. Library contains functions for enabling/disabling heater and OTP.
Key functions:
T_RERAM_RETVAL reram_send_cmd( uint8_t cmd_code )
- This function allows user to send a desired command.T_RERAM_RETVAL reram_read_mem( uint32_t memAddr, uint8_t *dataOut, uint16_t nBytes )
- This command allows user to read RAM.T_RERAM_RETVAL reram_write_mem( uint32_t memAddr, uint8_t *dataIn, uint16_t nBytes )
- This command allows user to write RAM.Examples description
The application is composed of three sections :
Note : Write Enable Latch is reset after the following operations: After 'wrdi' command recognition. The end of writing process after 'wrsr' command recognition. The end of writing process after 'write' command recognition.
Data will not be written in the protected blocks of the ReRAM array.
Upper 1/4 goes from address 0x60000 to 0x7FFFF.
Upper 1/2 goes from address 0x40000 to 0x7FFFF.
The entire ReRAM array goes from address 0x00000 to 0x7FFFF.
void applicationTask()
{
process();
}
Additional Functions :
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.