-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 detection on REVO board #552
Comments
HMC5883L init failed for some reason. Unfortunately I don't have a REVO to investigate. |
Can you check if #532 fixes the issue for you? |
#532 is not fixing mag detection |
Ok, I definitely need a REVO to investigate. |
here is the PR #563 result : and still some I2C error (11 or 12). |
So, all the reads to the HMC5883L fail. @digitalentity , any idea what might cause that? |
My guess would be the i2c code, not the compass driver. Hard to debug without hardware. Just some $40 more and I can get myself a REVO 😉 |
We need some real hardware to make any further progress on this. Marking it for release 1.3. @urlu75 , can you try using an external compass, to see if that works? |
did not succeed to detect an external mag. The only external mag I have is the same chip as the one on the board... I understood that can be an issue. |
Is this issue still valid in 1.3-RC1? |
quick feedback with 1.3-RC1 : |
Can somebody re-test this with latest |
I can test HMC5883 on Airbot F4 target today. |
@digitalentity I've tested external HMC5883 and AirbotF4. Works fine, mag detected in all tries. |
Also tested on REVO (thanks @sambas). No issues. |
can't get the mag enable on REVO board with RC5.
with RC2 the mag is detected but i2c error count is running. Calibration KO.
with RC3+ MAG is no more detected even with CLI mag_hardware.
1500: 12 MAG_DETECTION (2, 0, 0, 0)
2755: 15 HMC5883L_READ_FAILED
2755: 14 MAG_INIT_FAILED
2755: 4 SENSOR_INIT_DONE
3305: 8 SYSTEM_READY
MAG detection (add mag_hardware=0 from CLI) & calibration succeed with betaflight 3RC12, no i2c error,manually add mag_hardware=0 with CLI.
The text was updated successfully, but these errors were encountered: