Hi,
the following items shall be considered using the low pass filter:
1. the latency (time from starting the acquisition, or changing the input multiplexer, till a valid output value is available (digital post processing chain needs to settle / be "filled") (equivalent to the delay an analog filter introduces).
latency = 4 + 3*IIR +3*Avger + N_LPF The N_LPF is the number of coefficients used. E.g. the default LPF has 16 (15 last coeff is 0x0000).
In the NXP demo software the latency has to be adopted:
// --------------------------------------------------------------------
//! \brief VSENSE list of channels to convert...
TYPE_VSENSE_LIST const vList[] = {
// ch , avg , latency
CH_VSENSE2 , 1, 12,
CH_VSENSE1 , 1, 12, 2. the gain of the LPF has to be equal to 1. This means the the sum of the used coefficients must equal to 1. Otherwise you have an gain <>1
Hope this helps?