GMP231 uses 7-bit addressing. The address consists of:
- 4-bit device type identifier part (default “0001” for GMP231)
- 3-bit sub address (default “001”)
The full 7-bit default address is “0001001” (09hex). In I2C communication, the address should be provided by the master in the standard way after the I2C start condition, with the read/write bit as the least significant bit (LSB).
0 | 0 | 0 | 1 | 0 | 0 | 1 | R/W |
Device type | Sub-address | Read/write bit (LSB) |
The I2C implementation of the GMP231 also includes the address inside the message frame. The purpose of this is to make the I2C implementation easier, since the I2C address can be lost by the I2C hardware. This address is provided without the read/write bit, with zero as the MSB.
0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
MSB | Device type | Sub-address |
Make sure that there are no addressing conflicts if other I2C devices are put on the same bus. The GMP231 address can be changed. |