DSPRelated.com
Forums

sampling rate

Started by alon andorn June 24, 2003
Hi
Im using sharc 21060 . I need to sample my signal at a rate of 250Hz .

What is much easier and accurate?

Using the codec at 8k sample rate and taking every 32 sample ignoring the
other 31 samples.
or using a timer interrupt.
Thanx yuval



On Mon, 23 Jun 2003, alon andorn wrote:

> Hi
> Im using sharc 21060 . I need to sample my signal at a rate of 250Hz .
>
> What is much easier and accurate?
>
> Using the codec at 8k sample rate and taking every 32 sample ignoring the
other 31 samples.
> or using a timer interrupt.

Taking your 32 samples and averaging them down to one sample will be more
accurate. Using the timer should be easier. How good of an analog filter
do you have going into the codec?

Patience, persistence, truth,
Dr. mike