Hi Steve:
On any of the following chips 10F204,12F629 or 16F628... I am trying to sample a slowly varying signal on CIN- and hold the values (36 in all per sampling cycle) in Data memory - except of course not in 10F204.
Since the dv/dt is quite small I felt I needed to "debounce" the threshold to avoid jitter at the trip point (cmcon.6 to be repeatable and stabe during read and write to data memory).
I am working with battery (Li-ion button) and am turning the vref (vrcon) and comaprator(cmcon) ON only with low PRF. So I may have settling time issues also... Sampling cycle is 1sec and PRF is nearly once / hr.
Warrier




Bookmarks