Re: Problem with reading MPU-6500 by STM32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-05 8:28 AM
I can get the right WHO_I_AM(0x70) from mpu6500 by i2c,but I cant read other register or write other register.I cant read the gyroscope/accelerometer . whats more ,i changed some mpu6500,and it doesnt work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-05 8:55 AM
So what investigation / testing / debugging have you done to find what's wrong?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-05 9:01 AM
Which STM32? They make a handful these days..
Did you explicitly start the device? Most IMU need to be configured in a mode of operation and started.
Perhaps look at other examples of use, say GitHub for Flight Controller type code, etc.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-05 9:21 AM
Note that the MPU-6500 is not recommended for new designs:
https://invensense.tdk.com/products/motion-tracking/6-axis/mpu-6500/
A complex system designed from scratch never works and cannot be patched up to make it work.
