Datasheet

Table Of Contents
13.1.11 MAG_CFG_A (D4h)
External magnetometer coordinates (Y and Z axes) rotation register (r/w)
Table 301. MAG_CFG_A register
0
(1)
MAG_Y_
AXIS2
MAG_Y_
AXIS1
MAG_Y_
AXIS0
0
(1)
MAG_Z_
AXIS2
MAG_Z_
AXIS1
MAG_Z_
AXIS0
1. This bit must be set to ‘0’ for the correct operation of the device.
Table 302. MAG_CFG_A description
MAG_Y_AXIS[2:0]
Magnetometer Y-axis coordinates rotation (to be aligned to accelerometer/gyroscope axes orientation)
(000: Y = Y; (default)
001: Y = -Y;
010: Y = X;
011: Y = -X;
100: Y = -Z;
101: Y = Z;
Others: Y = Y)
MAG_Z_AXIS[2:0]
Magnetometer Z-axis coordinates rotation (to be aligned to accelerometer/gyroscope axes orientation)
(000: Z = Y;
001: Z = -Y;
010: Z = X;
011: Z = -X;
100: Z = -Z;
101: Z = Z; (default)
Others: Z = Y)
13.1.12 MAG_CFG_B (D5h)
External magnetometer coordinates (X-axis) rotation register (r/w).
Table 303. MAG_CFG_B register
0
(1)
0
(1)
0
(1)
0
(1)
0
(1)
MAG_X_
AXIS2
MAG_X_
AXIS1
MAG_X_
AXIS0
1. This bit must be set to ‘0’ for the correct operation of the device.
Table 304. MAG_CFG_B description
MAG_X_AXIS[2:0]
Magnetometer X-axis coordinates rotation (to be aligned to accelerometer/gyroscope axes orientation)
(000: X = Y;
001: X = -Y;
010: X = X; (default)
011: X = -X;
100: X = -Z;
101: X = Z;
Others: X = Y)
LSM6DSO
Page 0 - Embedded advanced features registers
DS12140 - Rev 2
page 132/172