-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
test board: wire buttons to the analog inputs #172
Comments
Another more fully fleshed-out option for this is to have a second MCU and CAN interface on the test board. The ECU-under-test can accept commands to toggle outputs over CAN, whole broadcasting the state of the inputs. Test board MCU applies stimulus (analog input voltage, digital inputs, crank/cam signal), and checks that CAN reports the right thing. Then the test MCU can toggle each output over CAN, checking that the pin changes as expected. That way we could just turn on a single green light that says "board ok" instead of having to check every output manually. |
(but that's of course a bunch more work, and only a required thing at scale) |
I tend to think pre-programmed chip like the one found on the discovery. Let is automagically smash a program into MRE and do some tests. |
Why not connect outputs, to inputs and let the MRE push the buttons? Similar to AV6, AV8, AV9, and AV10. |
@mck1117 says "one idea I had for a test board I had: wire buttons to the analog inputs, and LEDs to outputs. Write firmware that just reads inputs and writes them to each output, That way you can just press buttons and make sure exactly one LED turns on."
we have the outputs. We have JLC soldering switches for us. I think that's a great idea!!!
The text was updated successfully, but these errors were encountered: