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.

BQ27750 DataFlash I2C 读写

BQ27750,使用单片机与之进行IIC通信,只能从dataflash中读出数据,但是无法向dataflash中写入数据。

下面是我写入数据的方式

W:chip_address + cmd + reg_address + data

W: 0xAB + 0x3E + 0xe2 + 0x45 + 0 + 0

0xAB:bq27750的写地址

0x3e:datasheet中指明的读写dataflash的命令

0x45E2:Settings --> Configuration --> DA Configuration

0:禁止sleep。

但是,写完后,读出来的总是默认值0x18。

有没有大神指导是怎么回事啊

x 出现错误。请重试或与管理员联系。