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.

BQ27621-G1写操作

采用I2C通信,I2C没有问题,在其他芯片使用过。当写第一个字节的时候读不到应答,函数退出。但后面的几个字节能读到应答,请问是什么情况

    I2C_Put(0XAA,0X00,0X00)//发送一个字节;
    I2C_Put(0XAA,0X01,0X80);
    I2C_Put(0XAA,0X00,0X00);
    I2C_Put(0XAA,0X01,0X80);

    I2C_Put(0XAA,0X00,0X01);
    I2C_Put(0XAA,0X01,0X00);
    I2C_Gets(0XAA,0X00,2,buf);//读两个字节