sfuphantom / hercules-phantom-lib

A common firmware library for all Team Phantom PCBs based off of the TMS570LS1224/1227 Hercules line
0 stars 0 forks source link

Unify halcogen projects between VCU and BMS #6

Open rafguevara14 opened 8 months ago

rafguevara14 commented 8 months ago

The VCU and BMS run on the same hardware design. There is no reason not to configure all hardware upfront and never worry about configuration again until a new design is made

rafguevara14 commented 7 months ago

1227 and 1224 microcontrollers use the same reference manual so should have the same pin configurations

rafguevara14 commented 7 months ago

The only differences between VCU and a launchpad is dedicated hardware. The launchpad does not have the following:

ManojBR105 commented 7 months ago

The VCU and BMS run on the same hardware design. There is no reason not to configure all hardware upfront and never worry about configuration again until a new design is made

  • [x] Run 1227 code on launchpad and see if it works. Use PhantomRelease1 branch
  • [ ] Test ECAP module with PWM so that merging can work (FUTURE WORK)

Simulation Mode works as expected, one change that was required was to switch PC_UART to scilin port instead of sci port, as the USB to UART on launchpad is connected to scilin port

ManojBR105 commented 7 months ago

1227 and 1224 microcontrollers use the same reference manual so should have the same pin configurations

image If 1227 and 1224 are set up with the same configuration with EMAC and FlexRay modules disabled, they have similar output from HalCoGen. Except, 1227 comes with extra EMAC header files, which are not used and won't affect correctness.

rafguevara14 commented 5 months ago

@ManojBR105 Once you finish moving this info to the google doc, we can close this issue!