EEPROM 5 Click-Platine
EEPROM 5 Click-Platine
Key Features:
- 4 Mbit (512 KBytes) EEPROM, Schreibschutz, mehr als 4 Millionen Schreibzyklen, mehr als 40 Jahre Datenerhaltung, hohe Zuverlässigkeit, hohe Dichte und mehr.
- Basierend auf dem EEPROM 5 Click basiert auf dem M95M04, dem elektrisch löschbaren programmierbaren Speicher, der als 524288 x 8 Bit organisiert ist und über die SPI-Schnittstelle von STMicroelectronics zugänglich ist
- Kann persistente Daten wie Anwendungscode, Kalibrierungstabellen und Benutzerparameter sowie für eine intensive Datenprotokollierung verwenden.
- mikroBUS: SPI-Schnittstelle
Der EEPROM 5 Click Board™ ist eine kompakte Zusatzplatine, die die Speicherlösung mit höchster Dichte enthält. Diese Platine verfügt über den M95M04, den elektrisch löschbaren programmierbaren Speicher mit 4 Mbit, der als 524288 x 8 Bit organisiert ist und über die SPI-Schnittstelle von STMicroelectronics aufgerufen wird. Der M95M04 kombiniert beispiellose Datenspeicherung mit ausgezeichneter Energieeffizienz. Er hält eine Milliarde Lese-/Schreibzyklen des gesamten Speichers mit mehr als 40 Jahren Datenspeicherung aus. Er bietet außerdem eine 512 Byte große Identifikationsseite, die zum Speichern sensibler Anwendungsparameter verwendet werden kann, die im schreibgeschützten Modus dauerhaft gesperrt werden können. Dieses Click Board™ ist für eine Vielzahl von Anwendungen in industriellen Steuerungen und Kommunikationsinfrastrukturen geeignet, bei denen mehr Speicherplatz erforderlich ist.
Das EEPROM 5 Click Board™ wird von einer mikroSDK-kompatiblen Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dieses Click Board™ wird als vollständig getestetes Produkt geliefert und ist bereit für den Einsatz auf einem System, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does The EEPROM 5 Click Board™ Work?
The EEPROM 5 Click Board™ is based on the M95M04, the electrically erasable programmable memory organized as 524288 x 8 bits accessed through the SPI interface from STMicroelectronics. The M95M04 benefit from a wide power supply range of 1.8V to 5.5V, as well as 40 years of data retention, and combines their unprecedented data storage with excellent energy efficiency. It is characterized by high reliability, lasting one billion full-memory read-write cycles capable of writing 512 Bytes in 5ms. With 4Mbit capacity, it allows the capture and storage of more data through the serial SPI bus that enables equipment such as smart meters to intensify data logging for managing grids more effectively and providing more user-friendly billing. This Click board™ also provides high-density non-volatile storage for persistent data such as application code, calibration tables, and user parameters, as well as for intensive data logging.
The EEPROM 5 Click Board™ communicates with MCU using the SPI serial interface that supports the two most common modes, SPI Mode 0 and 3, with a maximum SPI frequency of 10 MHz. In addition to the SPI communication, the EEPROM 5 Click also has two additional pins used for Write Protection and HOLD function routed to the PWM and RST pins of the mikroBUS™ socket.
The HOLD pin, labeled as HLD routed to the RST pin of the mikroBUS™ socket, can be used to pause the serial communication with the M95M04 without having to deselect the device. In Normal operation, the M95M04 is kept selected for the whole duration of the Hold condition. Deselecting the device while it is in the HOLD condition has the effect of resetting the device state. On the other side, the configurable Write Protection function, labelled as WP routed to the PWM pin of the mikroBUS™ socket, allows the user to freeze the size of the area of memory that is protected against Write instructions (as specified by the values in the BP1 and BP0 bits of the STATUS register).
The EEPROM 5 Click Board™ is designed to operate with both 3.3V and 5V logic voltage levels selected via the PWR SEL jumper. It allows for both 3.3V and 5V capable MCUs to use the SPI 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.
SPECIFICATIONS
Type | EEPROM |
Applications | Can be used with persistent data such as application code, calibration tables, and user parameters, as well as for intensive data logging. |
On-board modules | The EEPROM 5 Click Board™ is based on the M95M04, the electrically erasable programmable memory organized as 524288 x 8 bits accessed through the SPI interface from STMicroelectronics. |
Key Features | 4 Mbit (512 Kbytes) of EEPROM, write protection, more than 4 million Write cycles, more than 40-year data retention, high reliability, high density, and more. |
Interface | SPI |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout on the EEPROM 5 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | WP | Write Protect | |
HOLD Function | HLD | 2 | RST | INT | 15 | NC | |
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | PWR SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
EEPROM 5 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 1.8 | - | 5.5 | V |
Maximum Output Current | - | - | 5 | mA |
Memory Size | - | - | 4096 | kbit |
EEPROM Write Endurance | - | - | 4000000 | Write Cycles |
EEPROM Data Retention | 40 | - | - | Years |
Operating Temperature Range | 40 | - | +85 | °C |
Software Support
We provide a library for the EEPROM 5 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions to control EEPROM 5 Click board™. The library performs a standard SPI interface communication.
Key Functions
void eeprom5_enable_memory_write ( uint8_t en_wr_mem )
- Enable memory write function.oid eeprom5_read_memory ( uint32_t addr, uint8_t *p_rx_data, uint8_t n_bytes )
- Read EEPROM memory function.void eeprom5_write_memory ( uint32_t addr, uint8_t *p_tx_data, uint8_t n_bytes )
- Write EEPROM memory function.
Example Description
The application is composed of three sections :
- System Initialization - Initializes SPI, sets RST, CS and PWM pin as outputs, begins to write log.
- Application Initialization - Initialization driver enables - SPI, also write log.
- Application Task - (code snippet) This is an example that demonstrates the use of the EEPROM 5 Click board™. In this example, we write and then read data from EEPROM memory. Results are being sent to the Usart Terminal where you can track their changes. All data logs write on USB uart change approximately every 5 sec.
void application_task ( ) { eeprom5_enable_memory_write( EEPROM5_WRITE_MEMORY_ENABLE ); Delay_ms( 10 ); eeprom5_write_memory( 14, &demo_data[ 0 ], 9 ); mikrobus_logWrite( " Write data : ", _LOG_TEXT ); for ( n_cnt = 0; n_cnt < 9; n_cnt++ ) { mikrobus_logWrite( &demo_data[ n_cnt ], _LOG_BYTE ); } mikrobus_logWrite( "- - - - - - - - - - -", _LOG_LINE ); Delay_ms( 100 ); mikrobus_logWrite( " Read data : ", _LOG_TEXT ); eeprom5_read_memory( 14, &read_data[ 0 ], 9 ); Delay_ms( 1000 ); for ( n_cnt = 0; n_cnt < 9; n_cnt++ ) { mikrobus_logWrite( &read_data[ n_cnt ], _LOG_BYTE ); } mikrobus_logWrite( "---------------------", _LOG_LINE ); Delay_ms( 5000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- SPI
- UART
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
The EEPROM 5 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
EEPROM 5 Click-Platine
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.