Read Resolution; Set Cwake Sampling Rate; Read Cwake Sampling Rate; Set Sniff Sampling Rate - Mcube MC3635 Quick Start Manual And Demo

Hide thumbs Also See for MC3635:
Table of Contents

Advertisement

MC3635 3-Axis Accelerometer

4.6 READ RESOLUTION

Read the current resolution with:
MC36XX_acc.GetResolutionCtrl();
It returns: 0 for 6-bit | 1 for 7-bit | 2 for 8-bit | 3 for 10-bit | 4 for 12-bit | 5 for 14-bit.

4.7 SET CWAKE SAMPLING RATE

Set the accelerometer CWake mode sampling rate with:
MC36XX_acc.SetCWakeSampleRate(MC36XX_CWAKE_SR_DEFAULT_54Hz);

4.8 READ CWAKE SAMPLING RATE

Read the current CWake sampling rate with:
MC36XX_acc.GetCWakeSampleRate();
It returns sampling rate from 14 ~ 600 Hz.

4.9 SET SNIFF SAMPLING RATE

Set the accelerometer sniff mode sampling rate with:
MC36XX_acc.SetSniffSampleRate(MC36XX_SNIFF_SR_DEFAULT_7Hz);

4.10 READ SNIFF SAMPLING RATE

Read the current sniff sampling rate with:
MC36XX_acc.GetSniffSampleRate();
This returns sampling rate from 0.4 ~ 600 Hz.

4.11 CONFIG SNIFF MODE

Set the threshold values used by the SNIFF logic for activity detection:
MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_X,5);
All three axes could be configured separately with different threshold value.
Set the threshold values used by the SNIFF logic for activity detection:
MC36XX_acc.SetSniffDetectCount(MC36XX_AXIS_X,3);
For each axis, a delta count is generated and compared to the threshold. When the delta
count is greater than the threshold, a SNIFF wakeup event occurs. There is a unique sniff
mCube Proprietary.
© 2020 mCube Inc. All rights reserved.
EV3635B Quick Start Guide and Demo
APS-045-0018v1.2
13 / 20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents