I can not read I2C data although I get HAL_OK value from HAL_I2C_IsDeviceReady() function.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-01 4:40 AM
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
Solved! Go to Solution.
Labels:
- Labels:
-
I2C
This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-01 8:16 AM
Problem is solved, I didnt wake slave up correctly.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-03-01 8:16 AM
Problem is solved, I didnt wake slave up correctly.
