ICM-20690
12.24 REGISTER 41 – I2C SLAVE 1 REGISTER ADDRESS
Register Name: I2C_SLV1_REG
Register Type: READ/WRITE
Register Address: 41 (Decimal); 29 (Hex)
BIT
[7:0]
NAME
I2C_SLV1_REG
FUNCTION
I2C slave 1 register address from where to begin data transfer
12.25 REGISTER 39 – I2C SLAVE 1 CONTROL
Register Name: I2C_SLV1_CTRL
Register Type: READ/WRITE
Register Address: 42 (Decimal); 2A (Hex)
BIT
NAME
FUNCTION
[7]
I2C_SLV1_EN
1 – Enable reading data from this slave at the sample rate and storing data at the
first available EXT_SENS_DATA register, which is always EXT_SENS_DATA_00 for I2C
slave 0.
0 – Function is disabled for this slave.
[6]
I2C_SLV1_BYTE_S
W
1 – Swap bytes when reading both the low and high byte of a word. Note there is
nothing to swap after reading the first byte if I2C_SLV1_REG[0] = 1, or if the last
byte read has a register address lsb = 0.
For example, if I2C_SLV1_REG = 0x1, and I2C_SLV1_LENG = 0x4:
1) The first byte read from address 0x1 will be stored at EXT_SENS_DATA_00,
2) The second and third bytes will be read and swapped, so the data read from
address 0x2 will be stored at EXT_SENS_DATA_02, and the data read from address
0x3 will be stored at EXT_SENS_DATA_01,
3) The last byte read from address 0x4 will be stored at EXT_SENS_DATA_03
0 – No swapping occurs; bytes are written in the order read.
[5]
[4]
I2C_SLV1_REG_DIS When set, the transaction does not write a register value, it will only read data, or
write data
I2C_SLV1_GRP
External sensor data typically comes in as groups of two bytes. This bit is used to
determine if the groups are from the slave’s register address 0 and 1, 2 and 3, etc..,
or if the groups are address 1 and 2, 3 and 4, etc..
0 indicates slave register addresses 0 and 1 are grouped together (odd numbered
register ends the group). 1 indicates slave register addresses 1 and 2 are grouped
together (even numbered register ends the group). This allows byte swapping of
registers that are grouped starting at any address.
3:0
I2C_SLV1_LENG
Number of bytes to be read from I2C slave 1.
12.26 REGISTER 43 – I2C SLAVE 2 PHYSICAL ADDRESS
Register Name: I2C_SLV2_ADDR
Register Type: READ/WRITE
Register Address: 43 (Decimal); 2B (Hex)
BIT
[7]
NAME
FUNCTION
1 – Transfer is a read.
0 – Transfer is a write.
Physical address of I2C slave 2.
I2C_SLV2_RNW
I2C_ID_2
[6:0]
Page 54 of 76
Document Number: DS-000178
Revision: 1.0