Configure I2C clock speed on STM32L476JG
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-01-23 8:25 PM
Posted on January 24, 2018 at 05:25
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
Labels:
- Labels:
-
STM32L4 series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
