
Introduction
The number of sensors connected to a main device acting as a controller has steadily increased in the last couple of years.
Managing multiple sensors is becoming more complex with heterogeneous serial interfaces like the still widespread, low-cost
I
2
C, SPI, capable of handling more bandwidth, or the traditional UART, and extra signals (GPIOs) for interrupt and/or power
modes.
A high level of hardware and software integration, power efficiency, high speed, cost effectiveness, and fast time-to-market are
required. For this reason, in 2017, the MIPI Alliance introduced a new serial interface called improved inter-integrated circuit
(
I3C). The MIPI I3C standard is defined by the MIPI specification, version 1.1.1. I3C supports the new features and maintains
some backward compatibility with
I
2
C.
The new series of STM32 MCUs integrate the I3C peripheral, supporting the set of required features in SDR mode, as defined
by the MIPI specification v1.1.1.
The purpose of this application note is to provide some I3C examples based on STM32CubeMX, to cover most of the I3C
communication modes available on STM32 microcontrollers and provide recommendations for the correct use of the I3C
peripheral.
This application note starts with an I3C bus overview, followed by a description of the I3C features, and a use case based on
STM32CubeMX for communicating only with I3C targets via an I3C mixed bus through dynamic address assignment, CCC
commands, data exchange with sensors (LSM6DSO and LIS2DW12) in private or direct mode, and the management of in-band
interrupts from targets.
Table 1. Applicable products
Type Products
Microcontroller STM32H5 series, STM32H7R3/7S3 line, STM32H7R7/7S7 line
Introduction to I3C for STM32 MCUs
AN5879
Application note
AN5879 - Rev 3 - June 2024
For further information contact your local STMicroelectronics sales office.
www.st.com