Skip to main content
ACan.1
Associate II
March 1, 2020
Solved

I can not read I2C data although I get HAL_OK value from HAL_I2C_IsDeviceReady() function.

  • March 1, 2020
  • 1 reply
  • 825 views

Hi Everyone,

I am trying to read temperature value from MPU6050 sensor. I could not read it. I tried to read WHO_AM_I signal, I could'nt read it as well. Value should be 114 but i am getting 5.

Does anyone has any idea what to check, how to fix? I am using STM32 Nucleo board.

Thank you.

Regards

This topic has been closed for replies.
Best answer by ACan.1

Problem is solved, I didnt wake slave up correctly.

1 reply

ACan.1
ACan.1AuthorBest answer
Associate II
March 1, 2020

Problem is solved, I didnt wake slave up correctly.