Hello, The answer is quite simple, as a matter of fact. A sample is no more than a measurement of the voltage. The sample rate is the number of times that this measurement is done during a second. Now, if you want a sample rate of 500 Hz, but the codec gives you only 2 kHz, all you have to do is to use one out of four samples. Let the codec run at 2 kHz, and instead of reading every sample, you read one, ignore the three after, and then read the next. And so on. This will work 100% nice if you make sure that the input signal is filtered so there are no signal above 250 Hz (simple Nyquist theorem). Good luck, Eli --- In c54x@y..., Marlo Flores <marlo_ti@y...> wrote: > I've just read the manual (slas131e) of the tlc320ad50 > codec (the codec on my dsk) and found out that > > fs = MCLK/(512*N), > > where MCLK is the master clock frequency=8.192 MHz, N > integer from 1 to 8. With these, I can only get back > to the same old sampling rates 2 kHz,...16kHz. > > seems there's no other way...or is there? > |