Data Sheet

Magnetometer register description LSM9DS1
62/72 DocID025715 Rev 2
8 Magnetometer register description
8.1 OFFSET_X_REG_L_M (05h), OFFSET_X_REG_H_M (06h)
This register is a 16-bit register and represents the X offset used to compensate
environmental effects (data is expressed as two’s complement). This value acts on the
magnetic output data value in order to subtract the environmental offset.
Default value: 0
8.2 OFFSET_Y_REG_L_M (07h), OFFSET_Y_REG_H_M (08h)
This register is a 16-bit register and represents the Y offset used to compensate
environmental effects (data is expressed as two’s complement). This value acts on the
magnetic output data value in order to subtract the environmental offset.
Default value: 0
8.3 OFFSET_Z_REG_L_M (09h), OFFSET_Z_REG_H_M (0Ah)
This register is a 16-bit register and represents the Z offset used to compensate
environmental effects (data is expressed as two’s complement). This value acts on the
magnetic output data value in order to subtract the environmental offset.
Default value: 0.
Table 101. OFFSET_X_REG_L_M register
OFXM7 OFXM6 OFXM5 OFXM4 OFXM3 OFXM2 OFXM1 OFXM0
Table 102. OFFSET_X_REG_H_M register
OFXM15 OFXM14 OFXM13 OFXM12 OFXM11 OFXM10 OFXM9 OFXM8
Table 103. OFFSET_Y_REG_L_M register
OFYM7 OFYM6 OFYM5 OFYM4 OFYM3 OFYM2 OFYM1 OFYM0
Table 104. OFFSET_Y_REG_H_M register
OFYM15 OFYM14 OFYM13 OFYM12 OFYM11 OFYM10 OFYM9 OFYM8
Table 105. OFFSET_Z_REG_L_M register
OFZM7 OFZM6 OFZM5 OFZM4 OFZM3 OFZM2 OFZM1 OFZM0
Table 106. OFFSET_Z_REG_H_M register
OFZM15 OFZM14 OFZM13 OFZM12 OFZM11 OFZM10 OFZM9 OFZM8