POWER_READ_TEMP_CMD
First byte is command, second byte is which temperature thermistor to read.
POWER_READ_SOLAR_CURRENT_CMD
First byte is command, second byte is which current from the solar panels to read.
POWER_READ_LOAD_CURRENT_CMD
First byte is command, second byte is which load current to read.
POWER_READ_MSB_VOLTAGE_CMD,
Main system bus voltage
POWER_GET_BATTERY_SOC_CMD
Receive state of charge estimate
POWER_GET_SA_CHARGE_STATE_CMD,
Receive solar array charge state
POWER_GET_BOOT_COUNT_CMD,
Receive boot count
POWER_FRAM_GET_OPMODE_CMD,
Get operating mode stored in non-volatile storage
POWER_FRAM_GET_SOC_CMD,
Get SOC stored in non-volatile storage
POWER_FRAM_GET_BOOT_COUNT_CMD,
Receive stored boot count
POWER_SET_LOAD_OFF_CMD,
Turn off a load switch. The second byte designates which load switch
POWER_SET_LOAD_ON_CMD,
Turn on a load switch. The second byte designates which load switch
POWER_SET_SOLAR_OFF_CMD,
Turn off a load switch connected to the solar arrays. The second byte designates which load switch
POWER_SET_SOLAR_ON_CMD,
Turn off a load switch connected to the solar arrays. The second byte designates which load switch
POWER_SET_POW_MODE_CMD,
Set power board into a specified power mode. Second byte of this command is which power mode to set
Payload commands will change based on LiBus payload
ADCS_GET_MEASUREMENT_GYRO_CMD
Receive a single gyroscope measurement
ADCS_GET_MEASUREMENT_MAGNETOMETER_CMD
Receive a single magnetometer measurement
ADCS_SUN_SENSOR_SELECT_CMD
Used to switch between primary and backup sun sensors. Second byte in this command is which sun sensor to select
ADCS_GET_MEASUREMENT_SUN_CMD
Receive a single sun sensor measurement
ADCS_GET_SUN_POINTING_TM_CMD
Commands spacecraft to generate and transmit sun pointing telemetry
Earth vector, sun vector, sun sensor pixel values
ADCS_GET_ECLIPSE_TIME_CMD
Replies with next scheduled eclipse time
ADCS_SET_TR_STATE_CMD
Used to activate/deactivate torque rods remotely.
ADCS_SET_TR_POLARITY_CMD
Used to set the polarity of torque rods
ADCS_SET_TR_PWM_CMD
Used to directly set the PWM of torque rods.
Requires 2 additional input parameters - which torque rod to set and the PWM value to set to
ADCS_SET_GYRO_I2C_ADDRESS_CMD
Used to switch between primary and backup IMU - backup IMU has a different address
ADCS_SET_ECLIPSE_TIME_CMD
Schedules the next eclipse time
ADCS_PING_CMD
Send and receive a single byte to ADCS over SPI.
ADCS_SPI_SYNC_CMD
As SPI is a synchronous protocol, this transmits empty frames until ADCS is synchronized with CDH.
CDH_SCHEDULE_TTT_CMD
Schedules a time-tagged task. Any command in this document can be scheduled as a time-tagged task. This command has two arguments:
Time to execute task
Task to execute and task parameters (if applicable)
CDH_SET_TIME_CMD
Sets the current time on CDH to a specified time provided
CDH_SET_DEPLOYMENT_STARTUP_STATE_CMD
Set CDH into deployment state
CDH_SET_DETUMBLING_STARTUP_STATE_CMD
Set CDH into detumbling state
CDH_CLEAR_REBOOT_REASON_CMD
If a uncommanded reboot occurs, a flag is held until cleared with this command
CDH_FORCE_FW_STATE_CMD
Force a firmware update state
CDH_SET_FW_ARM_TIMEOUT_CMD
Adjust the remote update timeout time
CDH_WATCHDOG_DISABLE_CMD
Disable the hardware watchdog
CDH_RQST_PWR_RESET_LOAD_CMD
Requests that the power subsystem power-cycles the CDH board
CDH_FW_IDLE_CMD
Set the IDLE state
CDH_FW_RX_FW_CMD
Set the RX_FW state
CDH_FW_PRE_VER_CMD
Run the pre-verify routine
CDH_FW_ARM_CMD
Arm CDH for update
CDH_FW_EXECUTE_CMD
Begin update
CDH_FW_EXECUTE_CONFIRM_CMD
Confirm update
CDH_FW_POST_VER_CMD
Verify update version is correct after update
CDH_GET_TIME_CMD
Replies with the current time on CDH
CDH_DOWNLOAD_LOG_FILE_CMD
Downloads a log file stored in non-volatile storage. Requires an argument for which filename to download
CDH_LIST_FILES_CMD
Lists files currently stored in non-volatile storage
CDH_LIST_FW_CMD
Lists firmware images stored in boot rom
CDH_GET_SPACECRAFT_STATUS_CMD,
CDH_GET_HW_STATUS_CMD,
CDH_FW_PUT_DATA_CMD,
CDH_FW_GET_STATE_CMD,
CDH_CHECKSUM_FILE_CMD,
CDH_MV_FILE_CMD,
CDH_RM_FILE_CMD,
CDH_CP_FILE_CMD,
CDH_CHECKSUM_PGRM_FLASH_CMD,
CDH_CP_TO_PGRM_FLASH_CMD,
CDH_GET_SW_VER_CMD,
CDH_GET_DES_VER_CMD,
CDH_GET_SPI_DIR_CMD,
CDH_GET_FS_FREE_SPACE_CMD,
CDH_FW_UPDATE_SPI_DIR_CMD,
CDH_FW_CREATE_SPI_DIR_CMD,
CDH_WRITE_PROG_FLASH_CMD,
CDH_ERASE_PROG_FLASH_CMD,
CDH_RESET_FW_MNGR_CMD,
CDH_FW_SET_CHECKSUM_CMD,
CDH_FW_SET_DESVER_CMD,
CDH_FORMAT_FS_CMD,
CDH_RESET_SYSTEM_CMD,
CDH_FW_RX_PROGRESS_CMD,
CDH_FW_PUT_DATA_2_CMD,
CDH_CHECKSUM_FILE_PART_CMD,
CDH_FILE_WRITE_CMD,
CDH_FILE_INSERT_CMD,
CDH_FILE_DELETE_CMD,
ADCS_CMD_PING = 1,
Pings AODCS, replies with a ping
ADCS_CMD_SET_PWM_TORQUE_ROD_1, ADCS_CMD_SET_PWM_TORQUE_ROD_2, ADCS_CMD_SET_PWM_TORQUE_ROD_3,
Gives a PWM value to set on the desired torque rod
ADCS_CMD_SET_ON_TORQUE_ROD_1, ADCS_CMD_SET_ON_TORQUE_ROD_2, ADCS_CMD_SET_ON_TORQUE_ROD_3
Turns on torque rod 3
ADCS_CMD_SET_OFF_TORQUE_ROD_1, // 8
Turns off torque rod 1
ADCS_CMD_SET_OFF_TORQUE_ROD_2, // 9
Turns off torque rod 2
ADCS_CMD_SET_OFF_TORQUE_ROD_3, // 10
Turns off torque rod 3
ADCS_CMD_SET_POLARITY_TORQUE_ROD_1, // 11
Sets the polarity of torque rod 1
ADCS_CMD_SET_POLARITY_TORQUE_ROD_2, // 12
Sets the polarity of torque rod 2
ADCS_CMD_SET_POLARITY_TORQUE_ROD_3, // 13
Sets the polarity of torque rod 3
ADCS_CMD_SET_PWM_COUNTER_TORQUE_ROD, // 14
Sets the PWM timer counter value
ADCS_SELECT_SS1, ADCS_SELECT_SS2, ADCS_SELECT_SS3, ADCS_SELECT_SS4
Selects which sun sensor to use
ADCS_CMD_GET_MEASUREMENT_SUN_SENSOR
ADCS_SET_GYRO_I2C_ADDRESS
ADCS_GET_GYRO_MEASUREMENT
ADCS_CMD_GET_MEASUREMENT_GYRO_1, ADCS_CMD_GET_MEASUREMENT_GYRO_2
Returns a single measurement from the selected gyro
ADCS_CMD_GET_MEASUREMENT_MAGNETOMETER_1, ADCS_CMD_GET_MEASUREMENT_MAGNETOMETER_2
Returns a single measurement from the selected magnetometer
ADCS_SPI_PORT_TOGGLE
ADCS_SYNC_SPI
A dummy message to repeatedly transmit if SPI happens to get out of sync
ADCS_ACK=55,
ADCS_SPI_CMD_ERROR = 75,