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.

ti davinci ccs3.3下aic23音频驱动问题

Other Parts Discussed in Thread: TVP5150

1.

现有成品的davinci dm365终端系统,

带linux系统运行起来可以采集到aic23编码的数据,

但是在ccs 3.3下执行aic23的裸机程序

单步调试发现在I2C读时,如下,

Int16 EVMDM365_I2C_read( Uint16 i2c_addr, Uint8* data, Uint16 len )中

do

{

printf("i2c I2C_ICSTR & ICSTR_ICRRDY:%dn",I2C_ICSTR & ICSTR_ICRRDY);

if ( timeout-- < 0 )

{

EVMDM365_I2C_reset( );

return -1;

}

} while ( ( I2C_ICSTR & ICSTR_ICRRDY ) == 0 );// Wait for Rx Ready

while处死循环,

但是执行ccs3.3下的tvp5150的裸机程序的I2C控制部分可以读写数据

还有aic23读出的数据是tvp5150最后写的数据而不是自己写的,

重新修改tvp5150写入的对应reg的数据,也不能修改,

指教下,谢谢!

2.

ccs3.3下执行aic23的裸机程序,采集到line in一次声音,

后面断电重新执行aic23的程序后就一直采集不到声音

检查了line in输入设备是好的,程序也没有修改.

望指教下,谢谢!