cancel
Showing results for 
Search instead for 
Did you mean: 

Vibration on the ISM330DHCX example or configuration using C driver

ttron
Associate

I just like to configure the ISM330DHCX for vibration measurement. Is that an example or a sample code(using its C driver ) of it somewhere. Please give me a pointer. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @ttron ,

You can look at our official driver on Github.

Hope this helps :)

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
ttron
Associate

Let me expand on that: able to

1. Set a desire ODR

2. Set a threshold to wake up or trigger an interrupt (INT1). That's generate an interrupt if the acceleration above certain threshold (like > 10mg, etc).

3. Use stream FIFO

 

 

Did you check out:

https://www.st.com/en/mems-and-sensors/ism330dhcx.html#tools-software

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Federica Bossi
ST Employee

Hi @ttron ,

You can look at our official driver on Github.

Hope this helps :)

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.