Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPU6050 DMP support for STM32 #458

Open
BronantheBrobarian opened this issue Jul 23, 2019 · 5 comments
Open

MPU6050 DMP support for STM32 #458

BronantheBrobarian opened this issue Jul 23, 2019 · 5 comments

Comments

@BronantheBrobarian
Copy link

Does anyone have an idea about when the STM32 lib will support DMP?
Is it under development currently?
Any information is greatly appreciated
Thank you

@BronantheBrobarian BronantheBrobarian changed the title MPU605 DMP support for STM32 MPU6050 DMP support for STM32 Jul 23, 2019
@Pluscrafter
Copy link

I have an working example with the STM32 HAL library(created with CubeMX). I'll post the code this evening you just have to change the spi port and the pins for the library. It DMP works but the code is a little tidy.

@Pluscrafter
Copy link

Pluscrafter commented Jul 23, 2019

https://github.com/Pluscrafter/i2cdevlib/tree/master/STM32_HAL/Nucleo-144F722ZE
The KeilMDK isn't a good alternative because you have to give your data to download.

@BronantheBrobarian
Copy link
Author

Hi, thanks for the reply!
Would really appreciate taking a look at the code.
I don't think your link is working though.
I am using the Sparkfun Pro nRF52840 mini dev board and I wanted to use the DMP on the MPU6050.

@Pluscrafter
Copy link

Pluscrafter commented Jul 26, 2019

New link

https://github.com/Pluscrafter/i2cdevlib/tree/master/STM32_HAL/Nucleo-144F722ZE

I'm using a Nucleo F722ZE board.

@josb86
Copy link

josb86 commented Feb 17, 2020

New link

https://github.com/Pluscrafter/i2cdevlib/tree/master/STM32_HAL/Nucleo-144F722ZE

I'm using a Nucleo F722ZE board.

Hi, I need you help whhen I build the project in stm32CubeIde, this show 2 errors, the frist is:

Description Resource Path Location Type
fatal error: MPU6050_.h: No such file or directory stm32f7xx_it.cpp /Nucleo-144F722ZE/Src line 43 C/C++ Problem

Description Resource Path Location Type
make: *** [Src/subdir.mk:66: Src/stm32f7xx_it.o] Error 1 Nucleo-144F722ZE C/C++ Problem

Then I change #include "MPU6050_.h" for #include "MPU6050.h" in stm32f7xxit.cpp

and build again and get another error:

Description Resource Path Location Type
'Sensors' has not been declared stm32f7xx_it.cpp /Nucleo-144F722ZE/Src line 231 C/C++ Problem

if(HAL_GPIO_ReadPin(GPIOC,GPIO_PIN_6)){ // @Suppress("Invalid arguments") // @Suppress("Symbol is not resolved")
Sensors::MPU6050::dataRDY = true;
}

What is worng? I need run this on a nucleo-f746ZG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants