-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
[Bug] CUAV 6X board detection sometimes fails on v1.14.x #22901
Comments
@julianoes The dn will fluctuate because of noise. Would you capture the values on your HW when it is good an bad and post them here. |
I remember seeing values between 15 and 21 but I don't have it set up anymore. |
hmm both those values fall in the 1 bucket. |
|
Can you print it here |
Ok I can see that dn scaling is seeing 15 as a 0 @CUAVcaijie What tolerance R's did you use? |
Describe the bug
Sometimes, the board version/revision check for the CUAV 6X fails. I observe this about 1 in 5 reboots, only with v1.14.x.
When it happens, the baros and mag are not getting initialized.
FYI @davids5, @CUAVcaijie
To Reproduce
ver all
You can also add a break point in:
PX4-Autopilot/platforms/nuttx/src/px4/stm/stm32_common/board_hw_info/board_hw_rev_ver.c
Line 335 in 32aa326
And check
dn
. It changes slightly on every reboot.Expected behavior
Correct:
Failed:
Screenshot / Media
No response
Flight Log
No flying required
Software Version
v1.14.0
Flight controller
CUAV 6X
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: