Seminar Topics & Project Ideas On Computer Science Electronics Electrical Mechanical Engineering Civil MBA Medicine Nursing Science Physics Mathematics Chemistry ppt pdf doc presentation downloads and Abstract

Full Version: C6713 audio in/out
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,
I am chinny, working in some leading DSP based company. I use to guide ME/phd candidates for completing their academic projects. so, far i was handling microcontrollers and entered into DSP processors recently. since, i tried to work with c6713 dsk with ccs 3.1 and currently, i am trying for signal processing with it. i want to give input as speech through mic in using mcbsp and i get it back. based on this codec, i have developed code,
void main()
{
DSK6713_AIC23_CodecHandle hcodec;
int l_input,r_input,l_output,r_output;
DSK6713_init();
hcodec = DSK6713_AIC23_openCodec(0, &config);
DSK6713_AIC23_setFreq=DSK6713_AIC23_Freq_48KHZ;
while(1)
{
while(!DSK6713_AIC23_read(hcodec,&l_input));
while(!DSK6713_AIC23_read(hcodec,&r_input));
r_output=r_input;
l_output=l_input;
while(!DSK6713_AIC23_write(hcodec,l_output));
while(!DSK6713_AIC23_write(hcodec,r_output));
}
DSK6713_AIC23_closeCodec(hcodec);
}

i have initialized, codec and configured data's for input, but i am not able to hear my voice. how could i sort this error?

regards,
chinny
A PC is required to run Code Composer Studio, which is required to compile and download code to run the DSP. (Note: This is the same Lab. As Lab.1 in the Labs set in real time).

[Image: 1501328991]