03-23-2012 02:43 PM
You could speed up the output of the counter and drop samples in software. Lets say you wanted to get two samples during the high tick of a 1 second period (sorry for the crude drawing):
If we sample at 4 Hz, we can get use the first two sample clock ticks during the high time of the 1 second period. Then in software we can average those two samples and disregard the next two samples. In your case, if you sample at 200Hz, the first 100 samples will correlate to the high time of a 1 Hz signal and the next 100 samples will correlate to the low time.
03-23-2012 03:02 PM
That's a very good way to do it. Thanks for your comprehensive answer, Steven. I will check it, soon.
This means that, again, multiple sampling at each clock high tick is not possible. Right?
Hosa