Skip to content

Commit

Permalink
feat: hv debug signals
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzucchi committed Mar 4, 2024
1 parent 559d4ad commit 6e76da2
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions networks/primary/network.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,47 @@
"OPEN_WIRE"
]
},
"HvDebugSignals": {
"type": "bitset",
"items": [
"FEEDBACK_IMPLAUSIBILITY_DETECTED",
"FEEDBACK_IMD_COCKPIT",
"FEEDBACK_TSAL_GREEN_FAULT_LATCHED",
"FEEDBACK_BMS_COCKPIT",
"FEEDBACK_EXT_LATCHED",
"FEEDBACK_TSAL_GREEN",
"FEEDBACK_TS_OVER_60V_STATUS",
"FEEDBACK_AIRN_STATUS",
"FEEDBACK_AIRP_STATUS",
"FEEDBACK_AIRP_GATE",
"FEEDBACK_AIRN_GATE",
"FEEDBACK_PRECHARGE_STATUS",
"FEEDBACK_TSP_OVER_60V_STATUS",
"FEEDBACK_IMD_FAULT",
"FEEDBACK_CHECK_MUX",
"FEEDBACK_SD_END",
"FEEDBACK_SD_OUT",
"FEEDBACK_SD_IN",
"FEEDBACK_SD_BMS",
"FEEDBACK_SD_IMD",
"ERROR_CELL_LOW_VOLTAGE",
"ERROR_CELL_UNDER_VOLTAGE",
"ERROR_CELL_OVER_VOLTAGE",
"ERROR_CELL_HIGH_TEMPERATURE",
"ERROR_CELL_OVER_TEMPERATURE",
"ERROR_OVER_CURRENT",
"ERROR_CAN",
"ERROR_INT_VOLTAGE_MISMATCH",
"ERROR_CELLBOARD_COMM",
"ERROR_CELLBOARD_INTERNAL",
"ERROR_CONNECTOR_DISCONNECTED",
"ERROR_FANS_DISCONNECTED",
"ERROR_FEEDBACK",
"ERROR_FEEDBACK_CIRCUITRY",
"ERROR_EEPROM_COMM",
"ERROR_EEPROM_WRITE"
]
},
"Cellboard": {
"type": "enum",
"items": [
Expand Down Expand Up @@ -777,6 +818,18 @@
"errors": "HvErrors"
}
},
{
"name": "HV_DEBUG_SIGNALS",
"topic": "DASnSTEERnCART",
"priority": 6,
"sending": ["BMS_HV"],
"receiving": ["DAS", "STEER", "HANDCART"],
"description": "Bms Hv debug signals. It sends the error/feedback that sent the bms to safe mode (fatal error or idle)",
"interval": 200,
"contents": {
"debug_signals": "HvDebugSignals"
}
},
{
"name": "HV_FANS_OVERRIDE",
"topic": "BMS_HV",
Expand Down

0 comments on commit 6e76da2

Please sign in to comment.