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).
|
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 |