utomm / STM32_HAL_MPU6050_DMP

STM32 MPU6050 lib and DMP lib with an example.
GNU General Public License v3.0
17 stars 2 forks source link

STM32_HAL_MPU6050_DMP

Implemented MPU6050 DMP by STM32CubeMX HAL lib using CPP with the latest DMP Firmware Version 6.12. The code is modified from STM32_DMP_Driver and arduino lib I2Cdevlib-MPU6050.

headers

MPU6050_6Axis_MotionApps20.h Based on an old InvenSense DMP driver with Detailed comments

MPU6050_6Axis_MotionApps_V6_12.h DMP Firmware Version 6.12 Latest as of today with many features and bug fixes:

Just include either of them

Example

Connection:

stm32 arduino pin
PB8 A5 SCL
PB9 A4 SDA
PB6 0 TX(USB-RX)
PB7 1 RX(USB-TX)

Code generated by CubeMX and remains similar to arduino example MPU6050_DMP6