Skip to main content
Visitor II
August 5, 2024
Question

Re: Problem with reading MPU-6500 by STM32

  • August 5, 2024
  • 3 replies
  • 1243 views

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.

    This topic has been closed for replies.

    3 replies

    Super User
    August 5, 2024
    Graduate II
    August 5, 2024

    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.

    Super User
    August 5, 2024

    Note that the MPU-6500 is not recommended for new designs:

    https://invensense.tdk.com/products/motion-tracking/6-axis/mpu-6500/