
It is widely used for attaching lower-speed peripheral ICs to processors and microcontrollers in short-distance, intra-board communication. I 2C ( Inter-Integrated Circuit, eye-squared- C), alternatively known as I2C or IIC, is a synchronous, multi-master/multi-slave (controller/target), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. Philips Semiconductor, known today as NXP SemiconductorsĠ.1, 0.4, 1.0, 3.4 or 5.0 Mbit/s depending on mode

It must be kept as is, without being modified by the end-user.ģ.Not to be confused with I²S I3C or InterChip USB (IC-USB, HSIC, SSIC). This device tree part is related to STM32 microprocessors.

for STM32MP13x lines lines in stm32mp131.dtsi.Refer to How to configure the DT using STM32CubeMX for more details.ģ.1 DT configuration (STM32 level) Īt device level, the I2C controller is declared as follows: STM32CubeMX can be used to generate the board device tree. See the Device tree for an explanation of the device tree file split. dtsi extension) and board device tree files (. This hardware description is a combination of the STM32 microprocessor device tree files (. The STM32 I2C controller device tree bindings.The Generic device tree bindings for I2C busses.If the peripheral is assigned to another execution context, refer to How to assign an internal peripheral to a runtime context article for guidelines on peripheral assignment and configuration. It is used by the STM32 I2C Linux ® driver that registers relevant information in the I2C framework. The configuration is performed using the device tree mechanism.

how to configure the STM32 external I2C devices present either on the board or on a hardware extension.how to configure the STM32 I2C peripheral.This article explains how to configure the I2C internal peripheral when the peripheral is assigned to Linux ® OS, and in particular: 4 How to configure the DT using STM32CubeMX.3.3.3 Example of a stts751 thermal sensor with SMBus Alert feature enabled.3.3.2 Example of an EEPROM slave device emulator registering on STM32 side.3.3.1 Example of an external EEPROM slave device.3.2.1 I☬ internal peripheral related properties.
