It shows a basic single master communication between a ST7 mi- crocontroller and an M24Cxx I2C bus EEPROM
The document presents a practical example of implementing communication between an ST7 microcontroller and an external M24Cxx I2C bus EEPROM. It focuses on basic single master mode without error management, utilizing polling for data transmission checks.
The note details the hardware configuration using an ST72264 controller and an M24C08 EEPROM, along with software procedures to initialize the peripheral, generate start/stop conditions, and handle data bytes. It includes a flowchart illustrating the write and read steps between the microcontroller and the EEPROM.
| EEPROM Model | M24C08 |
|---|
The application sets the ST7 I2C peripheral to a maximum of 100KHz because the M24C08 EEPROM is specified with this limit.
Replace the polling waiting loop by an interrupt event.