AnsweredAssumed Answered

i2c on fast mode hangs on stm32f103cb

Question asked by Zawyer on Mar 15, 2016
Latest reply on Mar 15, 2016 by Zawyer
When reading data from an MPU6050 on standard mode (100khz) everything goes well, but when switching to fast mode 400khz the program just hangs, debugger shows an infinite loop on line 3935 of stm32f1xx_hal_i2c.c

Attached screenshot from that part of the code and my clock config on CubeMX in case that's relevant



Is there something else to be done?

By switching I mean changing the setting on CubeMX and recompiling
I'm using the default 'blocking' i2c functions supplied by the hal driver (not interrupt based, not dma, those aint working for me either u.u but first things first)
Cube version: 4.13.0