
Commands
4.3.4 HOST_CMD_GET_RTC
This command does not read anything related to RTC as there is no RTC in the EVM yet one of the data
read from the meter by this command is the temperature. Hence this command is considered a command
to read the temperature of the EVM using the internal temperature sensor on the MSP430i2040
4.3.4.1
Command Format
HOST_CMD_GET_RTC
Command
Respond
LEN
2
10
Offset
Width
Data
Offset
Width
Data
CMDH
0
U8
0x59
0
U8
0x59
CMDL
1
U8
0x00
1
U8
0x80
2
U8(4)
6 bytes dummy data
8
S16
Temperature in 0.01°C
4.3.5 HOST_CMD_ALIGN_WITH_CALIBRATION_FACTORS
This command cause the EVM to reload the calibration factors from flash into the operation of its
measurement activities
4.3.5.1
Command Format
HOST_CMD_ALIGN_WITH_CALIBRATION_FACTORS
Command
Respond
LEN
2
2
Offset
Width
Data
Offset
Width
Data
CMDH
0
U8
0x5A
0
U8
0x5A
CMDL
1
U8
0x00
1
U8
0x80
4.3.6 HOST_CMD_SET_PASSWORD
This command passes from the host to the EVM the password to enable calibration mode which allows
calibration and other functions to be executed. If auto report mode is enabled this command also disable
the auto report mode and sets the EVM to polling mode. In the example code, the password default is
Password 1 = 0x1234, Password 2 = 0x5678, Password 3 = 0x9ABC, Password 3 = 0xDEF0 (the
password can be changed by modifying the entry in emeter-template.h followed by a recompile).
4.3.6.1
Command Format
HOST_CMD_SET_PASSWORD
Command
Respond
LEN
10
2
Offset
Width
Data
Offset
Width
Data
CMDH
0
U8
0x60
0
U8
0x60
CMDL
1
U8
0x00
1
U8
0x80
2
U16
Password 1
4
U16
Password 2
6
U16
Password 3
8
U16
Password 4
27
SLAU587 – August 2014
Serial Communication Commands
Copyright © 2014, Texas Instruments Incorporated