This application note gives an example of how to use the STR71x I2C peripheral to communi- cate with an I2C Protocol-Compatible Electrically Erasable Programmable Read Only Mem- ory (EEPROM).
This document describes a method for using the STR71x microcontroller's I2C peripheral to communicate with an I2C-compatible EEPROM, specifically the M24C08. It covers the capabilities of the STR71x I2C interface, including multi-master and slave functions, and standard/fast mode speeds.
The guide provides specific hardware configuration details for connecting two M24C08 chips to a single bus using address pins E0, E1, and E2. It also outlines software implementation steps in C language for write operations (including START/STOP conditions), waiting for write completion, and read operations involving byte reception and ACK handling.
| I2C Interface Speed Modes | Standard (0-100KHz) and Fast I2C (100-400KHz) |
|---|---|
| I2C Interface Count | Two interfaces: I2CO and I2C1 |
The M24C08 EEPROM from STMicroelectronics.
A maximum of 16 bytes.