Giter VIP home page Giter VIP logo

mcube_mc36xx_arduino_driver's People

Contributors

cphuangf avatar mcubejerry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mcube_mc36xx_arduino_driver's Issues

Issue regarding FIFO

When FIFO is enabled to store the initial 3 samples and discard the remaining, were the samples in the output register constant? Iam facing an issue where, despite enabling fifo and setting the threshold value to 3, the output registers are getting updated....Is there a way to enable this feature where the output register values remain constant after reading the samples?

esp-idf support

Hi,

Is it possible to use this library in ESP-IDF? Or is there any other library for MC3635 sensor in ESP-IDF? I cannot find any.

Bests,

MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_X, 5)

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.

Changing Sniff parameters requires power cycle before changes take effect

Hi. If I change the values for SniffThreshold or SniffDetectCount, the changes won't take effect until I power cycle the MC3630. I have tried using the RESET and RELOAD commands but that does not help. It seems I have to cut the power to the MEMSIC chip and then reapply the power before the next time I make these changes and then the new changes take effect.

The calls I am using are:

MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_X, 5);
MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_Y, 5);
MC36XX_acc.SetSniffThreshold(MC36XX_AXIS_Z, 5);

MC36XX_acc.SetSniffDetectCount(MC36XX_AXIS_X, 3);
MC36XX_acc.SetSniffDetectCount(MC36XX_AXIS_Y, 3);
MC36XX_acc.SetSniffDetectCount(MC36XX_AXIS_Z, 3);

If I change the 5 or the 3 to different numbers, the changes will not take effect. Only a power cycle seems to work. Is there something I can do to get around this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.