AN092
© Kionix 2019 All Rights Reserved
11 July 2019
Page 8 of 27
Register Name
Address
Value
BUF_CNTL2
0x5F
0xE2
-
Write 0x3F to Interrupt Control 2 (INC2) to enable all positive and negative directions that can
cause a wakeup event.
Register Name
Address
Value
INC2
0x23
0x3F
-
Write 0xAE to Control 3 (CNTL3) to set output data rate for the wakeup engine (OWUF) to
50Hz.
Register Name
Address
Value
CNTL3
0x1D
0xAE
-
Write 0x60 to Control 4 (CNTL4) to set the counter mode to clear (C_MODE=0), threshold
mode to relative (TH_MODE=1), enable the wakeup function (WUFE=1), disable the back to
sleep function (BTSE=0), set pulse reject mode set to standard operation and set the output
data rate for the back to sleep engine to its default of 0.781Hz.
Register Name
Address
Value
CNTL4
0x1E
0x60
-
Write 0x01 to Control 5 (CNTL5) to put the sensor into sleep mode (MAN_SLEEP=1).
Register Name
Address
Value
CNTL5
0x1F
0x01
-
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 the Wakeup Function Threshold (WUFTH) and 0x00 to Back to Sleep Wakeup
Function Threshold (BTSWUFTH) to set the wakeup threshold to 0.5g.
WUFTH (counts) = Wake-Up Threshold (g) x 256 (counts/g)
WUFTH (counts) = 0.5g * 256 counts/g = 128 (0x80) counts
Register Name
Address
Value
WUFTH
0x49
0x80
BTSWUFTH
0x4A
0x00