Multiplexer:
- Datasheet: MCP23008
Functional Block Diagram:
<insert block diagram>
Modules
- rear_power_distribution_can:
- Receive can messages
- Sends can messages
- main: This module only contains a main loop where it receives message from rear_power_distribution_can and passes them to the next three modules depending on which one is asked for by the message: rear_power_distribution_bms_carrier, rear_power_distribution_motor_controller_interface, rear_power_distribution_simple_peripherals.
- rear_power_distribution_bms_carrier: Used to turn the power to the BMS Carrier on or off.
- rear_power_distribution_motor_controller_interface: Used to turn the power to the Motor Controller Interface/Pre-Charge on or off.
- rear_power_distribution_simple_peripherals: Used to determine simple functions asked by the Centre Console. Functions that this takes care of are determining if DC-DC is connected, or turning the switches on or off.
All modules are responsible for determining if there are any faults and acting accordingly.