cancel
Showing results for 
Search instead for 
Did you mean: 

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

ACan.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
ACan.1
Associate II

Problem is solved, I didnt wake slave up correctly.

View solution in original post

1 REPLY 1
ACan.1
Associate II

Problem is solved, I didnt wake slave up correctly.