Skip to content

STM32 library for the MPU-9250 enabling its digital motion process (DMP) features using I2C interface.

License

Notifications You must be signed in to change notification settings

CrackAndDie/MPU9250-DMP-STM32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

MPU9250

MPU-9250 Digital Motion Processor (DMP) for STM32

Advanced STM32 library for the Invensense MPU-9250 inertial measurement unit (IMU), which enables the sensor's digital motion processing (DMP) features. Along with configuring and reading from the accelerometer, gyroscope, and magnetometer, this library also supports the chip's DMP features like:

  • Quaternion calculation
  • Pedometer
  • Gyroscope calibration
  • Tap detection
  • Orientation dtection

This library uses I2C bus, not SPI!

Repository Contents

  • /src - Source files for the library (.c, .h).
    • /src/util - Source and headers for the MPU-9250 driver and dmp configuration. These are available and adapted from Invensene's downloads page.

How To Use

  • Open file stm32_mpu9250_i2c.c and change the extern I2C_HandleTypeDef hi2c2; line by writing there your I2C Handler and everywhere in the file.
  • In the file also change SDA and SCL pins and ports defines.
  • Similar usage examples you can find here.

License Information

This product is open source!

Please review the LICENSE file for license information.

This is a modified SparkFun repository, here is their license.

About

STM32 library for the MPU-9250 enabling its digital motion process (DMP) features using I2C interface.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages