DSPRelated.com
Forums

Sampling Rate for c5402 DSK

Started by Junhong February 24, 2003
Hi,

I encounter a problem with the changing the sampling rate of the onboard
codec in C5402 DSK board.

I try to set the sampling frequency at 16Khz... but when I test it and found
out that it cut off at 4Khz instead of 8Khz.... I try to change to other
sampling rate, but it still seems to be cutoff at 4kHz.

Can anyone advise?

Regards,
Jun Hong




Jun Hong-

How do you set the sampling rate? Using your own code, or CCS library? We
found in
2001 that using CCS to initialize the AD50 and setting some of its register
values,
including sampling rate, was not always consistent, so we used some asm. code to
do
it. It's in the C54x archive:

http://groups.yahoo.com/group/c54x/message/436

You might try that and see if you can get it to work.

Jeff Brower
DSP sw/hw engineer
Signalogic

Junhong wrote:
>
> Hi,
>
> I encounter a problem with the changing the sampling rate of the onboard
> codec in C5402 DSK board.
>
> I try to set the sampling frequency at 16Khz... but when I test it and found
> out that it cut off at 4Khz instead of 8Khz.... I try to change to other
> sampling rate, but it still seems to be cutoff at 4kHz.
>
> Can anyone advise?
>
> Regards,
> Jun Hong