Hi Øystein,
The embedded motion detection function does not use the high-pass filtered data available in the data registers 0x01 – 0x06 when HPF_OUT = 1. Instead, there is the transient detection function working with high-pass filtered data by default (HPF_BYB = 0). Please take a closer look at our AN4070 and AN4071 for more information and example settings. I would recommend using the transient detection function and experiment with both the threshold and debounce counter settings to eliminate unwanted events like pulses etc.
I hope it helps.
Regards,
Tomas
PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.