BTS7200 smoke test user guide

The BTS7200 smoke test,smoke_bts7200, allows read and log current measurements. This smoke test was written specific to power distribution. To properly use the smoke test, user will need to customize projects/smoke_bts7200/src/main.c in firmware_xiv.

Running the smoke test

Once the BTS7200s have been connected to the power distribution board and the smoke test has been customized accordingly, simply do

 

make program PROJECT=smoke_bts7200

Customizing the smoke test

The smoke test can be performed on a single or multiple BTS7200

Configureable item:

  • CURRENT_MEASURE_INTERVAL_MS: wait time between each set of readings

  • IS_FRONT_POWER_DISTRO: set to true for front and false for rear power distribution

  • s_test_channels: set of channels to be tested, contains the indices of the BTS7200 in front/rear HW config

Index

Front

Rear

Index

Front

Rear

0

Left and Right camera

Solar sense and telemetry

1

Driver and Rear display

Strobe and Brake light

2

Left and Right driver display

Rear Left and Right turn light

3

Front Left and Right turn light

Left and Right brake light

4

Main and Rear Pi

Rear camera and Spare 10

5

5V spare 1 and 5V spare 2

Spare 1 and Spare 2

6

Spare 2 and Centre console

Spare 3 and Spare 4

7

Steering and Pedal

Spare 8 and Spare 9

For example, with s_test_channels[] = { 0, 3 } and IS_FRONT_POWER_DISTRO = true, the test will read and log from the front left, right camera + left, right turn light, which corresponds to index 0 and 3 from the table.