This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

利用McASP发送中断方式完成音频输入信号的直接输出



       用OMAPL137开发板做音频的直通功能,测试后采用轮询方式可以完成,但是基于中断的方式却没有声音,麻烦大神看下程序哪里有问题。附件中是AIC3106、McASP和中断的配置程序,下边是主程序和中断服务程序:

/* interrupt service routine */

interrupt void interrupt4(void)
{
Int32 sample;

sample = input_sample(); // read L + R samples from ADC
output_sample(sample); // write L + R samples to DAC

return;
}

/* ------------------------------------------------------------------------ *
* *
* main( ) *
* *
* ------------------------------------------------------------------------ */
int main( void )
{
/* Initialize BSL */
EVMC6747_init( );
/* Call evmc6747_intr function */
evmc6747_intr( );
while(1);
}

非常感谢!