On Tue, 03 Feb 2009 09:42:54 +0000 Andy Green <[email protected]> wrote:
> We shouldn't be resetting the highpass filter every sample. > > It should be disabled if we don't use it or allowed to > work across multiple samples if we do. The threshold stuff needs this reset to work, but I suppose we could add a check if the threshold is actually set before resetting the HP filter. I don't think it affects "interrupt-on-every-datum" mode anyway. While I don't have the data sheet available right now, I believe the LIS302DL_REG_FF_WU_SRC_1 is unrelated to the HP filter - I think it's an interrupt ack. // Simon
