Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

DescriptionRear Power Distribution
Target releaseMSXIV
Epic
Document owner


Project leadsArshan Khanifar
Team membersArshan Khanifar Gerry Shebib

Goals

<put summary of project here>

Background and strategic fit

CAN Communication

Requirements

Meeting Notes

Things that it powers:

  • BMS
  • rear lights
  • strobe light
  • motor controller interface
  • solar sense

When on aux:

  • BMS
  • Rear lights

How it works:

  • GPIO
  • I2C

Questions

QuestionAnswer
How do you control the rear lights?

The lights are controlled by the GPIO pins of the MCP23008 I/O expanders. These I/O expanders are accessible over the I2C bus. The two which control the rear lights are address 0x20 and 0x22.

The expander at 0x20 is used to set the diagnostic selection pins for the strobe light (GP1), rear brake lights (GP2), and rear turning lights (GP3)  - active high. 

The expander at 0x22 is used to enable each of the rear lights (GP2-7) - active high.

I/O Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/MCP23008-MCP23S08-Data-Sheet-20001919F.pdf

Power Switch Datasheet: https://www.infineon.com/dgdl/Infineon-BTS7200-2EPA-DS-v01_00-EN.pdf?fileId=5546d462636cc8fb016421e548a61215

How to control the power of each board?
What are the incoming CAN messages?
What are the outgoing CAN messages?
How do you manage power when the car turns on?
How do you manage power when the car turns off? 
What is still powered when there's been a BMS fault?
  • No labels