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

Support for MPU6052C #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

amremam2004
Copy link

No description provided.

@Candas1
Copy link
Collaborator

Candas1 commented Apr 18, 2022

Thanks for your contribution.
I might have some sideboards with mpu6052c IMUs, I will give it a try when I can.
I believe this mpu6052c IMU could be on both GD and STM boards.

Have you found more information about this IMU ? Is it having a DMP ?

@Candas1
Copy link
Collaborator

Candas1 commented Apr 18, 2022

ok it seems it has a DMP based on this datasheet

@Candas1
Copy link
Collaborator

Candas1 commented Apr 18, 2022

1650279697961480606153089944135

@Candas1
Copy link
Collaborator

Candas1 commented Apr 18, 2022

I did some checks now, but there is something I don't understood.

The old code seems to work on the STM32F103C8T6 and a MPU6052C IMU.
With a GD32F103C8T6 chip and a MPU6052C IMU, when displaying the euler angles with debug variant, the loop is slow and the angles are all zero, but your commit fixes this.

So your fix is actually specific to boards with GD32F103C8T6 chip and MPU6052C IMU ?

I also tried a board with a GD32F130C6T6 chip and a MPU6052C IMU by flashing the firmware by the other repo, reading the angles is also worked well.

@amremam2004
Copy link
Author

amremam2004 commented Apr 18, 2022 via email

@Candas1
Copy link
Collaborator

Candas1 commented Apr 18, 2022

It doesn't seem to work
image

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

Successfully merging this pull request may close these issues.

None yet

2 participants