Lines Matching full:i2c
2 :name: I2C V2 timings
5 Retrieve I2C V2 timings at runtime.
9 This sample simply demonstrate the **get_config** API of the stm32 I2C driver.
10 The I2C peripheral configuration is checked regarding the I2C bitrate which can be:
17 In case of the I2C V2, the I2C peripheral of the STM32 microcontrollers have
18 a TIMING register to write in order to generate the correct I2C clock signal.
19 This value depends on the peripheral clock input and the I2C speed.
23 Because the code sequence to calculate the I2C V2 TIMING value is heavy,
33 &i2c {
45 - enable ``i2c`` node in your board DT file.
47 - alias the **i2c-0** to your ``i2c`` node of the board **overlay** file
63 i2c-0 = &i2c2;
75 I2C timing value, report to the DTS :
78 I2C config : I2C_BITRATE_FAST