Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Main Functionalities

  • Check the status of AUX Battery

    • Voltage

    • Temperature

  • Check the status of DCDC

...

  • needs to communicate with the:

    • front end distribution

    • rear end distribution

    • BMS Carrier?

Modules:

  • power_selection_fsm:

    • tells if the power selection board is on/off

  • power_selection_fault_monitor:

    checks for faults across the boards

    • centre console

  • DCDC sends a message

    • Confirm ack status

    • I acknowledge it and turn on

    • Confirm DCDC status

  • when receive can message, there’s a pointer, and then set that point to the ACK message

Modules:

  • aux_dcdc_monitor_init

    • It periodically checks aux voltage and temp, and broadcasts it over CAN

    • CAN_TRANSMIT_AUX_BAT_DATA(u16 temp, u16 volt, u16 status )

      • First bit of status is aux ov

      • Second bit is aux uv 

      • Third bit is aux ot 

      • Fourth bit is aux ut

      • Fifth bit is dcdc (is on main if set)

    • It also responds to CAN_TRANSMIT_POWER_ON_MAIN_SEQUENCE

      • Do a check and then set the ack_reply