AN092
© Kionix 2019 All Rights Reserved
11 July 2019
Page 14 of 27
-
Write 0x01 to Control 5 (CNTL5) to force sleep state (MAN_SLEEP=1). Note, this also clears
the WAKE bit in STAT register to indicate Back-to-Sleep state.
Register Name
Address
Value
CNTL5
0x1F
0x01
-
Write 0x05 to Back-to-Sleep Counter (BTSC) to set the time motion must be absent for 0.1
second before a Back-to-Sleep interrupt is triggered. The following formula is used:
BTSC (counts) = Desired Delay Time (sec) x OBTS (Hz)
BTSC (counts) = 0.1 sec x 50 Hz = 5 counts
Register Name
Address
Value
BTSC
0x4C
0x05
-
Write 0x05 to Wakeup Function Counter (WUFC) to set the time motion must be present for
0.1 second before a Wake-up interrupt is triggered. The following formula is used:
WUFC (counts) = Desired Delay Time (sec) x OWUF (Hz)
WUFC (counts) = 0.1 sec x 50 Hz = 5 counts
Register Name
Address
Value
WUFC
0x4D
0x05
-
Write 0x80 to Wakeup Function Threshold (WUFTH) and 0x00 to Back to Sleep Wakeup
Function Threshold (BTSWUFTH) and 0x80 to Back to Sleep Threshold (BTSTH) to set the
wakeup and back to sleep thresholds to 0.5g.
WUFTH (counts) = Wake-Up Threshold (g) x 256 (counts/g)
WUFTH (counts) = 0.5g * 256 counts/g = 128 (0x80) counts
BTSTH (counts) = Back To Sleep Threshold (g) x 256 (counts/g)
BTSTH (counts) = 0.5g * 256 counts/g = 128 (0x80) counts
Register Name
Address
Value
WUFTH
0x49
0x80
BTSWUFTH
0x4A
0x00
BTSTH
0x4B
0x80
-
Write 0xE0 to Control 1 (CNTL1) to set the accelerometer into operating mode (PC1=1), full
power mode (RES=1), data ready enabled (DRDYE=1), range to ±2g (GSEL=0).
Register Name
Address
Value
CNTL1
0x1B
0xE0