Example: Set compensation temperature - GMP231

GMP231 User Guide

Document code
M211501EN
Revision
E
Language
English (United States)
Product
GMP231
Document type
User guide
Table 1. Set compensation temperature sequence example
Message Bytes (hex) Sent by Content
Master I2C start condition
12 I2C address (write)
82 Set_parameter command
09 Device address
0A Frame length
10 Parameter ID of compensation temperature
00 Temperature 37 °C
00
14
42
0C CRC high
6E CRC lo
I2C repeated start condition
13 I2C address (read)
04 GMP231 Status byte (error active, ACK)
82 Set_parameter command
09 Device address
08 Frame length
10 Parameter ID of compensation temperature
00 Return code: Ok
D1 CRC high
CE CRC lo
Master I2C end condition