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.

CC3200控制DAC7574的问题

Other Parts Discussed in Thread: DAC7574, CC3200

提问:我通过CC3200与DAC7574连接后,通过I2C给DAC发送数据。为什么DAC输出一直都是0

CC3200与DAC共地,为了避免程序的问题,我特意用了两块CC3200通过I2C相互发送数据,最后得到的 结果也是对的。可是一换成DAC7574,就一点反应都没有。

一开始以为是芯片可能坏了,换了几块芯片后还是同样的问题。(DAC7574的输出没加任何负载,地址中A0\A1都是接地  所以是0x98)

下面是我试过的数据写法,N种都试过了,就是没有输出。

     ucDataA[0]=0x10;
     ucDataA[1]=0xFF;
     ucDataA[2]=0xFF;
     iRetVal=I2C_IF_Write(0x98,&ucDataA[0],3,0);

     //ucData[0]=0x10;
     //iRetVal=I2C_IF_Write(0x98,&ucData[0],1,0); 
     //ucDataA[0]=0x80;
     //ucDataA[1]=0x80;
     //iRetVal=I2C_IF_Write(0x98,&ucDataA[0],2,0);

上面程序写进去,DAC都没有输出。