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

Discussion Groups | TMS320C54x | Fwd: pcm3002 audio recording prob. in dsk5416

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

Fwd: pcm3002 audio recording prob. in dsk5416 - kabdeslam - Jan 11 7:21:47 2008



--- In c...@yahoogroups.com, "kabdeslam" <kabdeslam@...> wrote:

Forgot to mention that recorded output now looks like a large 
harmonic 
independent of what is recorded.
Is there any user doc for PCM3002 other than PCM3002.pdf (found not 
easy to use in conjunction with DSK 5416 kit)
An extract of the code used to record is the following,

...
while(1)
{
	y=0;
	j=0;
	while(y<SigThr)
	{
		while (!DSK5416_PCM3002_read16(hCodec, &(tmpadd[j])));
		while (!DSK5416_PCM3002_read16(hCodec, &(tmpadd[j])));
		t=tmpadd[j];
                tt=(t>0)?t:-t;
        	y=(31*y+tt);
		y=(y>>5);
        	j++;
        	if(j==0x2000) 	
                      j=0;
	}
...
}
...
(tmpadd is an array Int16 of length 0x2000
SigThr is an empirical Int16 constant threshold for audio detection)

--- In c...@yahoogroups.com, "kabdeslam" <kabdeslam@> wrote:

Hi all,

I am working on simple speech recogn. algorithm using dsk5416 kit.
Was able to record audio thru pcm3002 codec interface but for some
reason recording does not work anymore.
Tried resetting SW, reinstalled CCS DSK v2 IDE, changed microphone 
(labtec plugging into microphone connector J1 of DSK), ...

Nothing seems to work, tried reading PCM3002.pdf codec doc, not easy 
to find easy fix for my problem. Running out of ideas, any help 
appreciated

thank you,

Abdeslam

--- End forwarded message ---

--- End forwarded message ---

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


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