2018-01-23 08:25 PM
I am trying to read data from an I2C peripheral. This peripheral requires the I2C clock to be at 100kHz. When probing with a scope, the SCL line shows 400kHz. From the STM32CubeL4 I2C examples, the I2C_timing register is set to 0x00D00E28. How can I make it so that the clock speed is 100kHz?
I've opened up the CubeMX tool and used the configuration tool to generate a timing value. However, it seems like no matter what value I set for this register, the I2C clock is always running at 400kHz.
#stm32l4-hal-i2c