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.

AIC10的二次通信读不到寄存器里的值



如题:现在我要读取TLV320AIC10寄存器1的值,主通信已经由DSP的 DXR0发送了DXR0=0x0001,以请求二次通信,但是从DRR0读到的数不是寄存器1里的值,这是为什么?

部分读取程序如下:

//DXR0=0x00007200;                              //二次通信设置DX1读取主AIC10的CR1
while(!(SPCR0 & 0x00020000));             //发送准备就绪
DXR0=0x1200;
while(!(SPCR0 & 0x00000002));            //接收准备就绪
kk=DRR0;                                              //这里应该读到寄存器1的值