Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

DSK5416 - jhvdb - Aug 11 15:49:00 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




(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )