2016-03-14 06:35 PM
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?Notes: 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
2016-03-15 11:31 AM
Just noted if read 6 bytes only, at 290khz, there's no problem at all!