Versions Compared

Key

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

...

  • prv_fault_check(): check fresh data for faults

  • prv_periodic…(): periodically reads AFEs for data

  • cell_sense_init(): begins periodic checks, inits SPI

  • Fault thresholds (from the LG MJ1 datasheet)

    • Undervoltage: 2.5V

    • Overvoltage: 4.2V

    • Overtemp while charging: 45C

    • Overtemp while discharging: 60C

Passive_balance

  • prv_periodic_balance(): periodically checks which cells are highest and raises event for AFEs to balance those cells

  • passive_balance_init(): inits periodic balance

...