Control Panel Demonstration
Table 19. Data From MSP430F2122 (continued)
Byte
Name
Description
Units
Number
3
Ext Thermistor, MSB
Thermistor voltage
4
Ext Thermistor, LSB
5
VCOUT, MSB
VCOUT voltage
6
VCOUT, LSB
7
VIOUT1, MSB
VIOUT1 voltage (current)
8
VIOUT1, LSB
Counts from 10-bit A/D converter
9
VIOUT2, MSB
VIOUT2 voltage
10
VIOUT2, LSB
11
VREF, MSB
VREF voltage
12
VREF, LSB
13
1/2 x DVCC, MSB
DVCC voltage
14
1/2 x DVCC, LSB
To convert to mV, divide the 10-bit value by 1024 and multiply by the reference voltage (VREF) of 3000
mV.
5.23 Example of I2C Communications from MSP430F2122
The software continuously accesses the MSP430 registers during polling. An example of this appears in
Table 20. Example of a Device Connect Command
I2C_W:
25
1F
84
I2C_R:
25
1F
91
I2C_W:
21
16
13
I2C_R:
40
0
0
2
30
1
9E
0
77
0
77
3
FF
2
2B
I2C_W:
21
15
1A
I2C_R:
40
0
0
2
30
3
36
0
AC
0
AB
3
FE
2
2F
I2C_W:
21
14
1D
I2C_R:
40
0
0
2
30
3
33
0
DB
0
DA
3
FF
2
2E
I2C_W:
21
13
8
I2C_R:
40
0
0
2
30
3
26
1
5
0
FA
3
FE
2
30
I2C_W:
21
12
0F
I2C_R:
40
0
0
2
30
3
32
1
22
1
21
3
FF
2
2F
I2C_W:
21
11
6
I2C_R:
40
0
0
2
30
3
35
1
45
1
44
3
FF
2
2E
I2C_W:
21
10
1
I2C_R:
40
0
0
2
30
3
2F
1
64
1
64
3
FE
2
30
I2C_W:
23
0
25
I2C_R:
40
0
0
2
2F
3
30
1
81
1
81
3
FF
2
2F
I2C_W:
21
16
13
I2C_R:
40
0
0
2
2F
1
9E
1
D6
1
D6
3
FF
2
2F
I2C_W:
21
15
1A
I2C_R:
40
0
0
2
30
3
36
1
E9
1
E8
3
FF
2
2F
I2C_W:
21
14
1D
I2C_R:
40
0
0
2
30
3
34
1
F9
1
F9
3
FF
2
2E
I2C_W:
21
13
8
I2C_R:
40
0
0
2
30
3
26
2
6
2
7
3
FF
2
2F
30
bq76925EVM Evaluation Module
SLUU514
–
July 2011
Copyright
©
2011, Texas Instruments Incorporated