The invention relates to a method for tuning a filter (5). The filter has at least one variable time constant, by which the location of the pass band (pc) of said at least one filter can be changed. In the method, at least one reference signal is inputted in said filter (5), and the frequency of said at least one reference signal is changed, and/or said at least one time constant of the filter (5) is changed. The method also comprises the steps of measuring the strength of the output signal of the filter (5) and determining, on the basis of the measurement on the strength of the output signal of the filter (5), the location of the pass band of said filter (5).
A communications system comprising a processor, a variable oscillator, a radio frequency (RF) quadrature demodulator, a variable capacitor, a continuous-time, sigma-delta analog-to-digital converter (ADC), and a frequency divider, all integrated on a single semiconductor chip. The ADC samples the RF quadrature demodulator output. The processor sets the communications system frequency by controlling the oscillator, the frequency divider and the variable capacitor.