
Commands
4.3.12 HOST_CMD_GET_CALIBRATION_PHASE_n
This command reads the calibration value from the EVM.
NOTE:
Only CMDH = 0xD6 is supported by this EVM.
4.3.12.1 Command Format
HOST_CMD_GET_CALIBRATION_PHASE_n
Command
Respond
LEN
2
30
Offset
Width
Data
Offset
Width
Data
CMDH
0
U8
0xD5 + n
0
U8
0xD5 + n (n = 1, 2, 3)
0xdp
0x80 | 0xdp,
CMDL
1
U8
(always 0x00 in this
1
U8
d=device[0..7], p = phase[1..15]
EVM)
2
S16
Voltage channel dc offset
4
U16
Inlet capacitance in 1/64 µF
6
S32
Current channel dc offset
10
U32
Voltage channel ac offset
14
U32
Current channel ac offset
18
S16
Phase correction in 1/1024 Ts
20
U16
Vrms scaling factor
22
U16
Wire resistance in 1/256
Ω
24
U16
Irms scaling factor
26
U16
Reserved
28
U16
Power scaling factor
4.3.13 HOST_CMD_SET_CALIBRATION_EXTRAS
This commands the EVM to set the extra calibration values with the values listed. Make sure the flash
page contains the calibration values is read, saved and erase before executing this command.
4.3.13.1 Command Format
HOST_CMD_SET_CALIBRATION_EXTRAS
Command
Respond
LEN
10
2
Offset
Width
Data
Offset
Width
Data
CMDH
0
U8
0xD5
0
U8
0xD5
CMDL
1
U8
0x00
1
U8
0x80
2
U16
Calibration status
4
U16
Intercept temperature
6
U16
Temperature intercept
8
U16
Temperature slope / degree
31
SLAU587 – August 2014
Serial Communication Commands
Copyright © 2014, Texas Instruments Incorporated