Versions Compared

Key

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

...

  • 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

      • EE_POWER_MAIN_SEQUENCE_CONFIRM_DCDC

        • Ack with status ok if DCDC has switched to the main battery

        • Ack with status invalid if DCDC has not switched

      • EE_POWER_MAIN_SEQUENCE_CONFIRM_AUX_STATUS

        • Ack with status ok if Aux is ok (temp and volt)

        • Ack with status invalid if Aux is not ok