STMicroelectronics AN971 Application Note I2C Communication Between ST7 and M24Cxx EEPROM

It shows a basic single master communication between a ST7 mi- crocontroller and an M24Cxx I2C bus EEPROM


STMicroelectronics AN971 Application Note I2C Communication Between ST7 and M24Cxx EEPROM - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
7
File format
PDF
File size
70 KB
Published
07 August, 2012
Updated
30 September, 2023
MD5 checksum
90BB97BA257E32E2755BFF0968319E47

About this manual

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.

What's inside

  • Introduction
  • ST7 I2C Interface
  • Communication Speed
  • Start Stop Condition and Acknowledge Generation
  • Hardware Configuration
  • Initialize the I2C Peripheral
  • Initiating a Communication on the I2C Bus
  • Sending a Data Byte on the I2C Bus
  • Receiving a Data Byte on the I2C Bus
  • Communicating with the I2C EEPROM

Specifications

EEPROM ModelM24C08

Frequently asked questions

What is the maximum I2C clock speed for the M24C08 EEPROM?

The application sets the ST7 I2C peripheral to a maximum of 100KHz because the M24C08 EEPROM is specified with this limit.

How can the polling software be adapted for interrupt management?

Replace the polling waiting loop by an interrupt event.

Download PDF (70 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →