2024-10-22 05:54 AM
i am getting sistematically the exact problem described in this post https://github.com/STMicroelectronics/STM32CubeG0/issues/46 at 100kHz I2C frequency. I am using a nucleo with stm32fg031. Even tho i have set up 5 trials, i only get on my analyzer one trial and than i end up with the error. When setting the I2C at 400kHz i no longer get the error from the HAL. How can i get it to work without having to deinit the i2c?
2024-10-22 06:03 AM - edited 2024-10-23 12:21 AM
@kuzi_996 wrote:I am using a nucleo with stm32fg031.
Give details of the rest of your setup - what I2C device? schematic, code, etc
What do you see on an oscilloscope? Compare & contrast at 100kHz & 400kHz...
2024-10-22 12:35 PM
> When setting the I2C at 400kHz i no longer get the error from the HAL
So... set the I2C to 400 kHz? Why do you set it to 100 kHz?