-
Notifications
You must be signed in to change notification settings - Fork 0
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
CarbonixCubeOrange: fix inverted pwr monitor pins #127
CarbonixCubeOrange: fix inverted pwr monitor pins #127
Conversation
Will test on my IronBird today and merge the code if working. |
Thanks for the PR @robertlong13 |
@@ -2,6 +2,12 @@ | |||
|
|||
include ../CubeOrange/hwdef.dat | |||
|
|||
# Invert the logic for the Brick and Aux valid pins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
recommended to put in the board detail
"Inverted the logic for the Brick and Aux valid pins for board version CX13042008 F and below"
That screenshot looks better. I had error in the pixhawk carrier table with only Lipo - should be 3 not 1, 1 was with my test setup where I didn't have valid power on the Vservo line. I have correct it now in the confluence page. Ill add your ironbird test result there. |
fb70833
to
0ec0670
Compare
0ec0670
to
c346964
Compare
The existing hwdef does have these pins defined but has them defined as inverted logic. The net names in the CX13042008 schematic suggest they were intended to be inverted logic too, but the chip in question pulls low when the voltage is not detected, and floats and pulls high when the voltage is detected. This PR just redefines them to use the uninverted logic that the hardware has implemented. This isn't due to the migration to 4.3; it's always been messed up (I'm assuming). We should add a comment in the schematic explaining this error in the labelling, and that we have compensated for it in software, but I don't think we should change the behavior in future revisions. Easier and better to keep all the board behaviors the same. |
Needs testing on hardware