CAN Setup + Python UI
In the V0 firmware, only internal loopback was configured for CAN. V1 firmware requires a CAN adaptor as USB->SLCAN had not been configured, but should work without the setup steps.
Check the instructions for the UI usage and variable nomenclature here, as V1 directly references the debug variables.
Download V1 firmware
Download CAN UI
Here, CAN was configured to send parameters and telemetry from both a computer using a CANAble and through another board. If only using two nodes (one sender, one receiver), the $120\Omega$ switch should be turned ON on both sides. Therefore, the resistance from CANH to CANL should be $60\Omega$.
Setup Documentation
- USB to CAN Adapter
CANH Pin 1, CANL Pin 2
For my connectors, yellow is CANH, black is CANL, red is GND.
In NVIC, interrupt priority is set to ADC before FDCAN1: