STM32F103 I2C using DMA with MPU6050 got stuck after some readings?
Hi,
I am using STM32F103 interfaced with MPU6050 over I2C with DMA.
I am using CubeMX generated code.
If I simply use
HAL_I2C_Master_Receive()function then it works fine.
I am reading this for my quadcopter and needs faster loop time so decided to use DMA.
I generate DMA enabled code using CubeMX and use
HAL_I2C_Master_Receive_DMA()function. but then got stuck after 5 readings with constant data.
Googled alot and tried different solution but non of them worked.
Any suggestions? What I am missing?
Thanks,
Ansic
