-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
ESP32 Serial1 not working with the Sparkfun Mpu9250 DMP Library #2111
Comments
Hi there, Did you manage to get the Sparkfun DMP library working with the ESP32? |
@mehtajainam I used the RTIMU library which worked great when correctly setup. I would send you the modified library if I knew a way. |
Ah alright. I was having issues getting the Sparkfun DMP library to compile for the Feather ESP32 board. Managed to get it working yesterday though - there was a missing min function in the library... |
Dear mehtajainam, could you explain what it takes to make Sparkfun DMP work on ESP32? Thanks! |
@alexandresvifpb just add these lines into inv_mup.c #ifdef ESP32 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
@yo90bosses @mehtajainam Could you help with the connections for this library? Does the DMP functioning need an additional interrupt pin with SDA and SCL? |
Hardware:
Board: NodeMCU_32
Core Installation/update date: 27/Aug/2018
IDE name: Arduino IDE
Flash Frequency: 80Mhz
PSRAM enabled: ?
Upload Speed: 115200
Computer OS: Windows 10
Description:
I'm using the ESP32 and if I use a different Library for the MPU9250 such as the one from BolderFlight then it works flawlessly. But when I use the sparkfun DMP Library with the DMP then it too works fine except for the serial1 where I have an SBUS receiver hooked up. It looks as if when the first bytes are recieved it works but after the first complete set of data I don't get anymore readings from the serial1. Everything else keeps working except for Serial1. And as I said other libraries for the mpu9250 do work with Serial1.
Also the Mpu9250 is connected over I2C
Sketch: (leave the backquotes for code formatting)
Debug Messages:
The text was updated successfully, but these errors were encountered: