TEC200 Command API
Public serial command reference for TEC200 V1 firmware.
Firmware V1 documentation · V1.0-rc54-2d701ce
Koheron products currently ship with firmware V0.x by default. Firmware V1 is under active development and is not publicly available yet.
Contact us if you would like early access or want to evaluate V1 firmware on your device.
This page lists product-specific and feature-specific public serial commands for TEC200 firmware. Universal commands are listed in the common command API.
Common commands
| Command | Description | Type | Unit | Default | Min | Max |
|---|---|---|---|---|---|---|
IDN? |
Identify device | R | ||||
bdid |
Board ID | R/W | ||||
brate |
UART Baud rate | R/W | baud | |||
ecrc |
EEPROM configuration CRC | R | ||||
err |
Error code | R | ||||
errclr |
Clear errors | W | ||||
errlist |
List supported error codes | R | ||||
errmsk |
Error mask | R/W | ||||
fmt% |
Active binary status fields | R | ||||
fmtlist |
Supported binary status fields | R | ||||
fmtseq |
Sequencer-writable command schema | R | ||||
logerr |
Binary status snapshot on last error | R | ||||
memr |
Read framed binary user memory page | R | ||||
model |
Board model | R/W | ||||
muxon |
UART multiplexing | R/W | ||||
profiler |
MCU load profile | R | ||||
regs |
Sequencer registers | R/W | ||||
save |
Save configuration in EEPROM | R/W | ||||
seqerr |
Sequencer error diagnostics | R | ||||
seqstat |
Sequencer execution status | R | ||||
sequ |
Sequenced memw execution | R/W | ||||
serial |
Serial number | R | ||||
stmsk |
Active binary status mask | R/W | ||||
tboard |
Board temperature | R | °C | |||
tms |
Time since startup | R | ms | |||
userdata |
Read/Write user data | R/W | ||||
usrmode |
User mode | R/W | ||||
version |
Firmware version | R |
TEC commands
| Command | Description | Type | Unit | Default | Min | Max |
|---|---|---|---|---|---|---|
itec |
Monitored TEC current | R | A | |||
kprop |
Proportional Gain | R/W | V/°C | 0.27 | 0.0 | 100.0 |
ntccal |
NTC Calibration | R/W | ||||
rtact |
Laser Thermistor | R | Ω | |||
rtmax |
Maximum thermistor resistance. If almode set to TPROT, ALM is raised above this value. | R/W | Ω | 15000.0 | 500.0 | 1000000.0 |
rtmin |
Minimum thermistor resistance. If almode set to TPROT, ALM is raised below this value. | R/W | Ω | 5000.0 | 500.0 | 200000.0 |
rtset |
Laser Thermistor Setpoint | R/W | Ω | 10000.0 | rtmin |
rtmax |
tact |
Laser Temperature | R | °C | |||
tder |
Differential Time | R/W | 1/s | 0.0 | 0.0 | 1000.0 |
tecfs |
TEC Sampling Rate | R/W | Hz | |||
tecon |
Disable | Enable TEC Current | R/W | 0 | 1 | ||
tint |
Integral Time | R/W | s | 1.21 | 0.0 | 10000.0 |
tmax |
Maximum Temperature Setpoint | R/W | °C | |||
tmin |
Minimum Temperature Setpoint | R/W | °C | |||
tmodgain |
TEC Modulation Gain | R/W | 0.0 | -100000.0 | 100000.0 | |
tset |
Temperature Setpoint | R/W | °C | 25.0 | -40.0 | 125.0 |
vtmax |
Maximum TEC voltage | R/W | V | |||
vtmin |
Minimum TEC Voltage | R/W | V |
Product-specific commands
| Command | Description | Type | Unit | Default | Min | Max |
|---|---|---|---|---|---|---|
ain |
Analog input voltage | R | V | |||
almode |
Set the ALM mode | R/W | ||||
ibus |
Input supply current | R | A | 4.0 | ||
intmode |
Set the INT pin mode | R/W | ||||
rcable |
TEC cable resistance | R/W | Ω | 0.0 | 0.0 | 100.0 |
rtec |
TEC resistance | R | Ω | |||
tdithon |
Enable TEC voltage dithering | R/W | 0 | 1 | ||
tecmode |
TEC mode | R/W | ||||
tilim |
TEC current limit | R/W | A | 4.2 | 0.1 | 4.2 |
tjunc |
Driver junction temperature | R | °C | 120.0 | ||
tmauto |
Auto TEC mode | R/W | 1 | 0 | 1 | |
ttol |
Temperature-stability tolerance | R/W | °C | 0.01 | 0.0 | 100.0 |
vbus |
Input supply voltage | R | V | |||
vdauto |
Automatic voltage drop compensation | R/W | 1 | 0 | 1 | |
vdfac |
Voltage drop factor | R/W | 1.0 | 1.0 | 10.0 | |
vdrop |
H-bridge voltage drop | R/W | V | 0.2 | 0.0 | 1.0 |
vstec |
VSTEC voltage | R/W | V | 3.5 | ||
vston |
Enable VSTEC output | R/W | 0 | 0 | 1 | |
vtec |
Set TEC voltage | R/W | V | 0.0 | ||
vtinton |
VTEC integrator | R/W | 0 | 0 | 1 | |
vtmon |
Monitored TEC voltage | R | V |