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 a module depending on the type of message.
- rear_power_distribution_bms_carrier: Used to turn the power to the BMS Carrier on/off
- rear_power_distribution_motor_controller_interface: Used to turn the power to the Motor Controller Interface/Pre-Charge on/off
- rear_power_distribution_lights: Used to turn the power to the Rear Lights on/off
- rear_power_distribution_simple_peripherals: Used to determine simple functions asked by the Centre Console
- Determines if DC-DC is connected
- Turns the switches on/off
All modules are responsible for determining if there are any faults and acting accordingly.