hi, my requirement is to measure a frequency up to 100 kHz using comparator and pca in c8051f005(silicon labs). frequency is given to input of microcontroller comparator so that to overcome a noise in it. Enable a pca at rising edge and disable at falling edge of input frequency so that i can calculate a frequency with respective to it. But problem is comparator is measuring only up to 1 kHz. so is it possible to measure up to 100 khz? system clock is 12 MHz.