made it work using the TI IIR filter, working great with a sine wave