This is a snapshot of the Charger code for F1.50 (The iteration of car 14 raced in ASC 2022) that I (Joe) contributed on. This also includes code that I mentored younger members on. This is the state that I left the charger code when I left the team
This directory contains firmware for the charger board and interfacing all necessary peripherals.
- All high level logic for the charger state machine.
- Encapsulates skylab code for communicating with BMS.
- (skylab is UMNSVP's custom CAN protocol wrapper)
- BxCan level driver for CAN2 network.
- Hardware drivers for communicating with the EVSE.
- Main executable for the charger.
- Hardware drivers for reading the PWM duty cycle on the control pin of the J1772 connector.
- Encapsulates all communication with the thunderstruck AC/DC convertors.
- Hardware timer initalization.