46 | 50
© 2021 LeddarTech Inc.
12. Software Syntax
The command syntax reference for the serial port interface is as follows.
Table 30: Software syntax
Cmd
Argument
Range /
Example
Description
Firmware
ver
--
--
Show firmware version
?
--
--
Show command list
Power Supply
30v
dis/enable
0 to 1
30 V power supply (V) - Heater
Example:
30v
Show 30 V power supply status
30v 1
Enable 30 V power supply
24v
dis/enable
0 to 1
24 V power supply (V) - LC cell
Example:
24v
Show 24 V power supply status
24v 1
Enable 24 V power supply
sv
--
--
Show power supply voltages
LC Cell Configuration
f
freq
1000 to 5000
DC balance frequency (Hz)
Example:
f
Show DC balance frequency
f 4000
Set DC balance frequency to 4 kHz
cn
cell_nbr
1 to 8
Number of cells
Example:
cn
Show number of cells
cn 8
Set number of cells to 8
cv
cell_id
voltage
1 to cell_nbr
0.0 to 23.0
Cell voltage
Example:
cv (or cv 0)
Show voltage of all cells
cv 1
Show voltage of cell 1
cv 0 20.0
Set voltage of all cells to 20.0 V
cv 3 2.35
Set voltage of cell 3 to 2.35 V
cdc
cell_id
duty_cycle
1 to cell_nbr
1.0 to 99.0
Cell duty cycle (DC balance)
Example:
cdc (or cdc 0)
Show duty cycle of all cells
cdc 1
Show duty cycle of cell 1
cdc 0 50.5
Set duty cycle of all cells to 50.5%
cdc 3 49.5
Set duty cycle of cell 3 to 49.5%
dco
dis/enable
0 to 1
Auto DC offset (DC balance)
Example:
dco
Show auto dc offset state
dco 0
Disable auto dc offset
LC Cell State Configuration
st
state_id
cell_1_volt
cell_2_volt
…
0 to 2^31
0.0 to 20.0
0.0 to 20.0
…
State table (list of cell voltages)
Example:
st
Show cell voltages of all states
st 165
Show cell voltages of state 165