Datasheet

Page 49 /
Confidential
BST-BMA400-DS000-00 | Version 0.1 | November 2017 Bosch Sensortec
© Bosch Sensortec GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
Tap Sensing Interrupt
The tap interrupt is operating on an input data rate of 200Hz.
It can detect single and double taps. For configuration, there are the registers TAP_CONFIG and
TAP_CONFIG_1.
(TAP_CONFIG. tap_sensitivity) allows to modify the threshold for the minimum tap amplitude
(TAP_CONFIG_1. quiet) and (TAP_CONFIG_1. quiet_dt) allow to define the duration of quiet times
between double taps and between taps.
acc_filt1 is the data source for the tap interrupt, so, this filter must be configured to 200Hz ODR if
this interrupt shall be enabled. There are two different interrupts that can be enabled separately:
single tap (INT_CONFIG1.s_tap_int) and double tap detection (INT_CONFIG1.d_tap_int).
The status of the interrupts is available in INT_STAT1.s_tap_int and INT_STAT1.d_tap_int.
With INT12_MAP.tap_int1 the logical OR of both interrupt statuses can be mapped to the
INT1 pin.
INT12_MAP.tap_int2 does the same for the INT2 pin.
Config Register
Comment
TAP_CONFIG.
tap_sensitivity[2:0]
reset default: “000”
modifies the threshold for the minimum tap amplitude The three bits
form an unsigned integer (‘d0.. ‘d7)
TAP_CONFIG.
sel_axis[1:0]
reset default: 00”
Modifies the selection of the data provided to the algorithm
If TAP_CONFIG.sel_axis ==”00” use Z axis data
If TAP_CONFIG.sel_axis ==”01use Y axis data
If TAP_CONFIG.sel_axis ==”1Xuse X axis data
TAP_CONFIG_1.
quiet[3:2]
reset default: “01”
QUIET_TIME = ‘d60 if TAP_CONFIG_1.quiet==”00
QUIET_TIME = ‘d 80 if TAP_CONFIG_1.quiet==”01
QUIET_TIME = ‘d 100 if TAP_CONFIG_1.quiet==”10
QUIET_TIME = ‘d 120 if TAP_CONFIG_1.quiet==”11
TAP_CONFIG_1.
quiet_dt[5:4]
reset default: “00
QUIET_TIME_DT = ‘d4 if TAP_CONFIG_1.quiet_dt==”00
QUIET_TIME_DT = ‘d 8 if TAP_CONFIG_1.quiet_dt==”01
QUIET_TIME_DT = ‘d 12 if TAP_CONFIG_1.quiet_dt==”10
QUIET_TIME_DT = ‘d 16 if TAP_CONFIG_1.quiet_dt==”11”
TAP_CONFIG_1.
tics_th[1:0]
reset default: “10”
TICS_TH= ‘d6 if TAP_CONFIG_1.tics_th=="00"
TICS_TH= ‘d9 if TAP_CONFIG_1.tics_th=="01"
TICS_TH= ‘d12 if TAP_CONFIG_1.tics_th=="10"
TICS_TH= ‘d18 if TAP_CONFIG_1.tics_th=="11"
Confidential and under NDA
Seeed Studio
Confidential and under NDA
Seeed Studio
Confidential and under NDA