Building Trusted Firmware for EV and Connected Mobility Applications
The integration testing module called test_battery_and_motor.c demonstrates first sets up a state with charging off and the motor enabled. Then it initiates charging and verifies that the motor goes to the disabled state.
The module then simulates an overvoltage condition, verifies that an…