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 a module 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_peripheralsthe type of message.
- 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./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. Functions that this takes care of are determining
- 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.