Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_X, 5) #1

Open
tangtangdn opened this issue Feb 24, 2021 · 0 comments
Open

MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_X, 5) #1

tangtangdn opened this issue Feb 24, 2021 · 0 comments

Comments

@tangtangdn
Copy link

Hello, I am using MC3635. Could anyone know what is the acceleration threshold (unit: g) when 5 is set here? I did not find the corresponded value for the threshold to the acceleration at the low power mode in the datasheet (only a table for high precision mode is listed in the AP-012 document).
In addition, the threshold will be compared with the SNIFF delta count (Current Sample to Previous Sample or Current Sample to Baseline described in Section 7.13 in the datasheet). Is it possible to set a threshold and compare it with the absolute acceleration (not the delta count) at any time? I would like to generate an interrupt when the acceleration is up to 2g, no matter what the speed when entering the SNIFF mode.
Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant