EasyManua.ls Logo

Mcube MC3635 - Page 11

Mcube MC3635
20 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MC3635 3-Axis Accelerometer EV3635B Quick Start Guide and Demo
mCube Proprietary. APS-045-0018v1.2 11 / 20
© 2020 mCube Inc. All rights reserved.
You will see the output from the serial terminal showing the current range scale and resolution
of the sensor in the first three lines followed by two lines of output sensor data at some output
data rate which depict “raw count" data for line 1: X: 18 Y: 24 Z: 1015 with 8G range, 14bit
ADC resolution.
Line 2 indicates the SI units for measuring acceleration as X: 0.17 m/s^2 Y: 0.23 m/s^2 Z:
9.72 m/s^2.
This demo also includes the example for FIFO and Sniff interrupt mode. Those could be
enabled by modify the definition below. These two examples must be run separately.
#define ENABLE_FIFO_WAKEUP 1
#define ENABLE_SNIFF_SHAKE_WAKEUP 0
Default input pin for interrupt is pin 8 and default FIFO threshold is 3 samples. FIFO size could
be set to maximum 32 samples or just enable FIFO to FIFO_FULL mode.
#define INTERRUPT_PIN 8
#define FIFO_SIZE 3