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

Mag not recognized for Bn-880 gps #106

Open
AlexC176 opened this issue Jan 31, 2021 · 2 comments
Open

Mag not recognized for Bn-880 gps #106

AlexC176 opened this issue Jan 31, 2021 · 2 comments

Comments

@AlexC176
Copy link

AlexC176 commented Jan 31, 2021

Firmware does not recognize the BN-880 compass via the IC2 bus under the SPRacing F3 board. Tried two separate 880 GPS units. Additionally tried 5kohm pull-up resistors on the IC2 bus between the input (3v) and the SDA and SCL lines, no effect. Compass on the BN-880 is a IC HMC5883L. GPS via uart is functioning correctly. I cannot find any setting to control the IC2 bus speed so assume it’s hard coded to a specified default frequency.

@AlexC176
Copy link
Author

AlexC176 commented Jan 31, 2021

Source code under drivers for ic2 looks like the default clock speed is 400khz (with an overclock method to 800khz). INAV has an option to drop to 200khz specifically to address problematic MAG sensors (https://github.com/iNavFlight/inav/releases/tag/1.7.3). Would u360gts consider dropping to a default 200khz given that the OLED and MAG don’t require a fast update rate. If someone could compile the code with the lower bus speed I will test to determine if the issue is resolved that way.

@AlexC176
Copy link
Author

AlexC176 commented Feb 1, 2021

Separate hardware Mag confirmed working ok within the overall hardware system. So it’s not the F3 or wiring.

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

1 participant