English
Language : 

MC3413 Datasheet, PDF (35/47 Pages) List of Unclassifed Manufacturers – Axis Accelerometer
MC3413 3-Axis Accelerometer
Preliminary Datasheet
11.8 TTTRX,TTTRY, TTTRZ X, Y AND Z TAP DURATION AND THRESHOLD
REGISTERS
These 3 registers allow control of both the tap duration settings and tap threshold settings,
depending upon the setting of the THRDUR bit (bit 6) in the TAPEN register (0x09).
When THRDUR=0, the register meaning is as follows:
Addr
0x0A
0x0B
0x0C
Name
Tap X
Quiet-
Duration
Tap Y
Quiet-
Duration
Tap Z
Quiet-
Duration
Description
TAP X Duration
Register
TTTRX[7] TTTRX[6] TTTRX[5] TTTRX[4] TTTRX[3] TTTRX[2] TTTRX[1] TTTRX[0]
POR
Value
R/
W
TAP_X_ TAP_X_ TAP_X_ TAP_X_ TAP_X_ TAP_X_ TAP_X_ TAP_X_
QUIET[3] QUIET[2] QUIET[1] QUIET[0] DUR[3] DUR[2] DUR[1] DUR[0]
0x00 W
TAP Y Duration TAP_Y_ TAP_Y_ TAP_Y_ TAP_Y_ TAP_Y_ TAP_Y_ TAP_Y_ TAP_Y_
Register
QUIET[3] QUIET[2] QUIET[1] QUIET[0] DUR[3] DUR[2] DUR[1] DUR[0]
0x00 W
TAP Z Duration TAP_Z_ TAP_Z_ TAP_Z_ TAP_Z_ TAP_Z_ TAP_Z_ TAP_Z_ TAP_Z_
Register
QUIET[3] QUIET[2] QUIET[1] QUIET[0] DUR[3] DUR[2] DUR[1] DUR[0]
0x00 W
When THRDUR=1, the register meaning is as follows:
Addr
0x0A
0x0B
0x0C
Name
Tap X
Thresh
Tap Y
Thresh
Tap Z
Thresh
Description
TTTRX[7] TTTRX[6] TTTRX[5] TTTRX[4] TTTRX[3] TTTRX[2] TTTRX[1] TTTRX[0]
POR
Value
R/
W
TAP X Threshold TAP_X_TH TAP_X_TH TAP_X_TH TAP_X_TH TAP_X_TH TAP_X_TH TAP_X_TH TAP_X_TH
Register
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
0x00
W
TAP Y Threshold TAP_Y_TH TAP_Y_TH TAP_Y_TH TAP_Y_TH TAP_Y_TH TAP_Y_TH TAP_Y_TH TAP_Y_TH
Register
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
0x00
W
TAP Z Threshold TAP_Z_TH TAP_Z_TH TAP_Z_TH TAP_Z_TH TAP_Z_TH TAP_Z_TH TAP_Z_TH TAP_Z_TH
Register
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
0x00
W
TAP_X_DUR[3:0]
TAP_Y_DUR[3:0]
TAP_Z_DUR[3:0]
This 4-bit value (0 to 15) sets the maximum number of samples an event must qualify as a tap
before it is rejected. For example, if the value is 4, a fast acceleration event which exceeded the
threshold for more than 4 consecutive samples would not trigger a tap event.
TAP_X_QUIET[3:0] This 4-bit value (0 to 15) sets the number of samples to be ignored after successful tap detection.
TAP_Y_QUIET[3:0] Detection is rearmed after the specific number of samples has passed.
TAP_Z_QUIET[3:0]
TAP_X_TH[7:0]
TAP_Y_TH[7:0]
TAP_Z_TH[7:0]
This 8-bit unsigned value sets the minimum magnitude a snap event must reach before a tap is
considered detected. Setting this parameter to a higher value will effectively reject all but the
largest acceleration events as tap. Some experimentation in the final form-factor may be needed to
find an appropriate setting for a particular product.
Table 18. TTTRX, TTTRY and TTTRZ Register Settings
mCube Proprietary.
APS-048-0029v1.7
© 2014 mCube Inc. All rights reserved.
35 / 47