Onboarding
Author: Karan Thakkar
Relevant coding background to understand firmware
C++ reference and language: cppreference.com PlatformIO: platformio.org — helpful for faster prototyping and device management.
FreeRTOS official site and API reference: freertos.org
Debugging & diagnostics
- TBD (openCD?)
Relevant hardware background to understand firmware
Teensy 4.1: PJRC Teensy 4.1 - MCU board used in our stack
CAN protocol: Video
Custom PCBs
CCM
Controls all the sensor inputs + outputs and perform motor control calculations.
PCC
Automates the battery precharge sequence to mimize instaneous capacitor charging.
Codebase overview
Here is our codebase: https://github.com/Anteater-Electric-Racing/embedded
fsae-vehicle-fw
Contains all vehicle firmware for CCM (sensor interfacing + motor controls)
fsae-pcc
Contains all firmware for PCC sequence.