...
Validation Steps | Status | Blockers | |
---|---|---|---|
IO expander | Verify PCA expanders are able to communicate with STM
| ||
Outputs | Verify outputs all enable/disable as expected
| ||
Output isense read | Verify Mux select allows for output current values to be read:
| ||
AUX Valid pins | Ensure AUX valid low when no AUX supply connected
Ensure AUX Valid high when aux is connected
| ||
DCD Valid pins | Ensure DCDC valid low when no DCDC supply connected
Ensure AUX Valid high when DCDC is connected
|
Output Config and Power FSM Validation
For the outputs, CAN TX indicates a message we expect to see, LOG indicates an expected printed message, OUTPUT indicates the expected output group to be set
Validation Steps |
---|
Initial Conditions |
---|
Outputs | |
---|---|
|
| Check for each power state, ensure only the correct outputs are set
|
| N/A | See Power Distribution Design doc for expected outputs | ||
| On startup, output group enabled is POWER_FSM_OUTPUT_OFF | Initial Power On | Initial state is Power FSM OFF (BMS and Centre Console Outputs Enabled) LOG: STATE = POWER_OFF | |
| Both centre console messages
should cause a transition to TRANSMIT_BMS_CLOSE_RELAYS. After 3sec with no relay message, we should return to POWER_OFF | From POWER_OFF send | CAN TX: relay_request_set_relays == EE_RELAY_STATE_CLOSED LOG: STATE = BMS_RELAYS after 3 seconds LOG: STATE = POWER OFF OUTPUT: POWER_OFF | |
| If PD receives a PWR_CTL_EVENT_BTN and then a relays_closed state from BMS, we should transition to POWER_ON | From POWER_OFF send and battery_relay_info_state == EE_RELAY_STATE_CLOSED | CAN_TX:
LOG: Transitioned to DRIVE STATE OUTPUT: POWER_ON | |
| Both centre console messages
should cause a transition to POWER_OFF | From POWER_ON, send either of the two PWR_CTL_EVENTS to the controller board | CAN_TX:
LOG: Transitioned to OFF STATE OUTPUT: POWER_OFF | |
| A successful transition to POWER_DRIVE from POWER_OFF requires the following in order:
| Start in POWER_OFF, send 3 messages described | CAN_TX:
| |
POWER_DRIVE to POWER_OFF |