DSPRelated.com
Forums

DSK5416

Started by jhvdb August 11, 2002
Hi,

I am new to DSPs and decided to get started by using the DSK5416.

I can't seem to get a single sample from the PCM3002 codec. I can
use the plio but want to use the basic PCM3002 methods.
e.g.
>DSK5416_PCM3002_CodecHandle hCodec;
>hCodec = DSK5416_PCM3002_openCodec(0, &setup);
>DSK5416_PCM3002_setFreq(hCodec, 48000);
>DSK5416_LED_init();
>while (!DSK5416_PCM3002_read16(hCodec, data));
>while (!DSK5416_PCM3002_write16(hCodec,*data));
>DSK5416_PCM3002_closeCodec(hCodec);

So my question: How can I read a single sample and write that single
sample back to the codec without using the plio or the loopback
function? I want to do a FIR on per sample basis instead of per
datablock.

Thanks
Johann