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.
我用DSP28335的IIC与PCF8563通信时,PCF8563的SDA线上没有应答信号产生。部分程序如下:
void ack() //检测I2C应答信号程序
{
SET_SDA(1);//SDA为输入状态
delay(1000);
IIC_SCL = 1;//SCL为1
delay(1000);
while(IIC_SDA != 1);//检测I2C应答信号
IIC_SCL = 0;//SCL为0
delay(1);
//SET_SDA(0);
IIC_SDA = 0;
//delay(1000);
}