This application note describes how to implement an I2C communication software interface for devices without an I2C peripheral. The software can perform I2C master transmitter and master receiver functions. The master chosen here is a ST72324 and the slave is an EEPROM (M24C08).
The document provides a C language program to implement I2C master transmitter and receiver functions using the ST72324 microcontroller. It details how to manage start/stop conditions, acknowledge generation, and error handling without hardware support.
The note includes specific characteristics such as a clock frequency of 62.5 kHz and outlines the hardware configuration required for communication with an EEPROM slave device like the M24C08.
| Clock Frequency (Fscl) | 62.5 kHz |
|---|---|
| SCL Pin | PA7 |
| SDA Pin | PA6 |
The ST72324 microcontroller is chosen as the master.
An EEPROM M24C08 is used as the slave.