Reply by abba...@yahoo.com October 3, 20072007-10-03
Hello everybody,
I have a TMS320C6416 DSK and I wanna acquire sound samples via its AIC23 codec. A CD player send sound to "LINE IN". But my interrupt function never is called. With polling, the execution can not pass the "comm_poll" function.

This is my simple program:
*************************

void main()
{
comm_intr();
F=fopen("f:\\BoardSam2.h","w");
printf("started");
while(1); //wait until a new sample
}

and this is my interrupt function:
**********************************
interrupt void c_int11()
{
int x0;
cou++;
x=input_sample();
output_sample(x);
if (cou<100000) //writing 100000 samples in a file
fprintf(F,"%i,\n",x);
else if (cou=0000)
{
fclose(F);
printf("\nDone");
}
}

could you help me?