MMA8652FC motion detection interrupt with HPF enabled

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MMA8652FC motion detection interrupt with HPF enabled

跳至解决方案
1,478 次查看
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

标签 (1)
0 项奖励
1 解答
1,213 次查看
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 项奖励
1 回复
1,214 次查看
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 项奖励