-
Notifications
You must be signed in to change notification settings - Fork 0
HP Board
BL-CZY edited this page Sep 4, 2026
·
1 revision
- Board used: STM32f767zi
- Function: Controls relays during precharge state
| sensor | pins | address | wiring_photo | type | extra_info |
|---|---|---|---|---|---|
| shutdown_circuitry_relay | PF13 | - | - | GPIO | - |
| battery_precharge_relay | PE9 | - | - | GPIO | - |
| motor_controller_relay | PE11 | - | - | GPIO | - |
| CAN bus | PD0, PD1 | - | - | CAN | - |
None
| event | action |
|---|---|
| StartPrechargeCommand | Sends PrechargeStarted, close shutdown circuitry relay, send ShutdownCircuitryRelayClosed, wait 10 seconds, close battery_precharge_relay, send BatteryPrechargeRelayClosed, wait 3 seconds, send PrechargeVoltageOk, close motor controller relay, send PrechargeComplete
|
| OpenPrechargeRelaysCommand | Opens battery_precharge_relay, send BatteryPrechargeRelayOpen, close motor_controller_relay, send MotorControllerRelayOpen
|
| StartDischargeCommand | Opens shutdown_circuitry_relay, send ShutdownCircuitryRelayOpen
|
| task | description | sensors_used | EHW Compliance |
|---|---|---|---|
| can_sender | Sends CAN | CAN bus | - |
| high_power_can_receiver | receives CAN and follows the state machine | CAN bus and the relays | - |
| send_heartbeat | Sends heartbeat | - | - |