Testing (BBA)
Electrical Tests
Verify 3V3, 5V0, 9V0 power testpoints report correctly.
Verify that 5V0 power led turns on.
Firmware Tests
LED test
Liveliness - verify that Error, Tracking, Heartbeat, CAN_TX/CAN_RX LEDs turn
on.
CAN tests
Loopback - HEARTBEAT CAN message can be sent and received in loopback configuration.
Secondary device - HEARTBEAT CAN message can be sent and received between
two devices.
Irradiance sensor tests
Liveliness - verify that irradiance measurements can be taken from each
irradiance sensor.
Replication - verify that irradiance measurements can be taken at various
operating frequencies and determine message dropout metrics.
Accuracy - verify that the sensors are accurate within a known range of
lighting conditions, with the appropriate calibration function.
Temperature sensor tests
Liveliness - verify that temperature measurements can be taken from each
temperature sensor.
Replication - verify that temperature measurements can be taken at various
operating frequencies and determine message dropout metrics.
Accuracy - verify that the sensors are accurate within a known range of
temperature conditions, with the appropriate calibration function.
System operation tests
Verify that the state machine transitions as expected given all possible inputs.
Verify that mock inputs properly trigger event generators.
Verify that events associated with each event generator execute as expected
CanEG event task: process input CAN messages (SET_MODE, ACK_FAULT,
RTD_CONF, IRR_CONF)
StateMachineEG event task: transitions state and enables required EGs
TempEG event task: performs RTD measurement and outputs result to CAN
IrradEG event task: performs irradiance measurement and outputs result
to CAN
Heartbeat event task: outputs heartbeat CAN message