ST7 I2C Slave Mode Management Application Note AN1042

This application note presents an example of communication using the ST7 I2C peripheral in slave mode. The ST7 microcontroller is used as a slave and can communicate with any master. This slave, through the I2C interface, receives data bytes from the master implementing error management and returns them. This application has been realized with a ST72264,7-bit, general call and 10-bit addressing mode.


ST7 I2C Slave Mode Management Application Note AN1042 - cover page
Brand
STMicroelectronics
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
89 KB
Published
07 August, 2012
Updated
30 September, 2023
Model
ST7
MD5 checksum
18CCC29E992FB0DCBF40FF8120C7F555

About this manual

The document presents a routine for managing the I2C slave mode on the ST7 microcontroller family. It details how the device communicates with any master through the I2C interface, implementing error management and data return mechanisms. The example specifically utilizes the ST72264 model in 7-bit general call and 10-bit addressing modes.

What's inside

  • Introduction
  • ST7 I2C Interface
  • Communication Speed
  • Start, Stop Condition and Acknowledge Generation
  • Transfer Sequencing
  • Slave Event Flags and Interrupt Generation
  • Hardware Configuration
  • I2C Peripheral Basic Drivers
  • Receiving Data on the I2C Bus
  • Sending Data on the I2C Bus

Frequently asked questions

What is the goal of this application note?

The goal is to present a useful example of communication using the I2C peripheral of the ST7 microcontroller as a slave.

Which signals are required for I2C synchronous communication?

Communication requires only two signals: SCL (Serial clock line) and SDA (Serial data line).

Who generates the Start and Stop conditions?

Both the Start and Stop conditions are sent by the master device.

Download PDF (89 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →