AnsweredAssumed Answered

stm32f0DISC board i2c device communication problem

Question asked by joohyun lee on Mar 28, 2018
Latest reply on Mar 28, 2018 by R V

I'm using stm32f051R8Tx(stm32f0discovery) and I'm trying to connect with i2c devices

I used HAL-driver that CUBEMX provides and i succeeded  to communicate with i2c LCD device(LCD1602A).

LCD works really well.

However, I also used mpu6050, i2c gyro sensor, in a same code, I cannot get this thing work.

I used debug session and it seems like acknowledge problem.

 

there are some people who have similar issues and they solved this problem with shifting address to the left.

so I tried address left shifting as well but mine doesn't work. 

 

anybody can help? 

Outcomes