MMA8652FC motion detection interrupt with HPF enabled

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MMA8652FC motion detection interrupt with HPF enabled

Jump to solution
1,466 Views
carlodipasquale
Contributor I

Good morning

 

I have many interrupts, as if  HPF filter is bypassed (see log file annexed)

If I see acceleration data, they are filtered correctly (see Z axis).

What's wrong with my settings?

 

Carlo Di Pasquale

Original Attachment has been moved to: Motion_test.txt.zip

Labels (1)
0 Kudos
1 Solution
1,201 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Carlo,

The motion detection function is an analysis of low-pass filtered data only, even if the high-pass filter is enabled (HPF_OUT = 1). I would recommend using the transient detection function instead as it analyzes high-pass filtered data unless the HPF_BYP bit is set. For more information on the transient detection function including example register setting please refer to the AN4071.

I hope it helps.

Regards,

Tomas


PS: If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.

View solution in original post

0 Kudos
1 Reply
1,202 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Carlo,

The motion detection function is an analysis of low-pass filtered data only, even if the high-pass filter is enabled (HPF_OUT = 1). I would recommend using the transient detection function instead as it analyzes high-pass filtered data unless the HPF_BYP bit is set. For more information on the transient detection function including example register setting please refer to the AN4071.

I hope it helps.

Regards,

Tomas


PS: If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.

0 Kudos