1 CMA3000-D0x Accelerometer
2 =========================
8 CMA3000-D0X Product Family Specification 8281000A.02.pdf
9 <http://www.vti.fi/en/>
11 :Author: Hemanth V <hemanthv@ti.com>
17 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and
21 Its the low power mode where interrupts are generated only
22 when motion exceeds the defined thresholds.
25 This mode is used to read the acceleration data on X,Y,Z
26 axis and supports 400, 100, 40 Hz sample frequency.
29 This mode is intended to save system resources.
32 Chip supports defining threshold values for above modes
33 which includes time and g value. Refer product specifications for
36 CMA3000 chip supports mutually exclusive I2C and SPI interfaces for
37 communication, currently the driver supports I2C based communication only.
38 Initial configuration for bus mode is set in non volatile memory and can later
39 be modified through bus interface command.
41 Driver reports acceleration data through input subsystem. It generates ABS_MISC
42 event with value 1 when free fall is detected.
44 Platform data need to be configured for initial default values.
59 G range in milli g i.e 2000 or 8000
62 Default Operating mode
65 Motion detect g range threshold value
68 Motion detect and free fall time threshold value
71 Free fall g range threshold value
76 Input driver version is 1.0.0
77 Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
78 Input device name: "cma3000-accelerometer"
83 Event type 3 (Absolute)
106 Register/Platform parameters Description
107 ----------------------------------------
112 1: 100 Hz Measurement mode
113 2: 400 Hz Measurement mode
114 3: 40 Hz Measurement mode
115 4: Motion Detect mode (default)
116 5: 100 Hz Free fall mode
117 6: 40 Hz Free fall mode
122 2000: 2000 mg or 2G Range
123 8000: 8000 mg or 8G Range
127 X: X * 71mg (8G Range)
128 X: X * 18mg (2G Range)
132 X: (X & 0x70) * 100 ms (MDTMR)
133 (X & 0x0F) * 2.5 ms (FFTMR 400 Hz)
134 (X & 0x0F) * 10 ms (FFTMR 100 Hz)
138 X: (X >> 2) * 18mg (2G Range)
139 X: (X & 0x0F) * 71 mg (8G Range)