± 2g / 4g / 8g / 16g Tri-axis Digital
Accelerometer Technical
Reference Manual
PART NUMBER:
KX132-1211
Rev. 1.0
31-Jul-2019
36 Thornwood Dr.
–
Ithaca, NY 14850
© 2019 Kionix
–
All Rights Reserved
tel: 607-257-1080 – fax:607-257-1146
893-12874-1907311402-0.17
www.kionix.com -
Page
38
of
73
1.18 TILT ANGLE CONTROL REGISTERS (0X37
– 0X39)
The Tilt engine is enabled with TPE bit in CNTL1 register and can be configured via control registers 0x37
– 0x39.
Please refer to
section for detailed information on the Tilt engine. These registers are
On-The-Fly (OTF) registers and can be written to while the KX132-1211 is enabled (PC1 bit in CNTL1 register is set to
“1”) and the change will be accepted with no interruption in the operation.
TILT_ANGLE_LL
Tilt Angle Low Limit: This register sets the low-level threshold for tilt angle detection. The low-level threshold value is
compared against the upper 8 bits of the 4g output value (independent of the actual g-range setting of the device). The
default tilt angle low level threshold is set to 22° from the horizontal. Note that the minimum suggested tilt angle is 10°.
See
AN092 Getting Started
for recommended settings (
).
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
LL7
LL6
LL5
LL4
LL3
LL2
LL1
LL0
Reset Value
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
00001100
Address:
0x37
TILT_ANGLE_HL
Tilt Angle High Limit: This register sets the high-level threshold for tilt angle detection. The high-level threshold is used
by an internal algorithm to eliminate dynamic g-variations caused by the device movement. Instead, only static g-
variation (gravity) caused by the actual tilt changes are used. The high-level threshold value is compared against the
upper 8 bits of the 4g output value (independent of the actual g-range setting of the device). The default tilt angle high
level threshold is set to just above 1g plus some margin of error to account for external factors (e.g. device mounting).
See
AN092 Getting Started
for recommended settings (
).
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
HL7
HL6
HL5
HL4
HL3
HL2
HL1
HL0
Reset Value
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
00101010
Address:
0x38
HYST_SET
Hysteresis Setting: This register sets the hysteresis that is placed in between the Screen Rotation states. The KX132-
1211 ships from the factory with HYST_SET set to ±15° of hysteresis.
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reserved
Reserved
HYST5
HYST4
HYST3
HYST2
HYST1
HYST0
Reset Value
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
00010100
Address:
0x39
Reserved
– these bits are reserved, and their values should not be changed.