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.
The I2C expansion chip of PCA9544A, after the value of its register is modified, why does it read out unchanged? The device address is 0x70, and the register I read and write is 0x0
The software is to open the I2C bus, and then read the device address is X70. The read and write register is 0x00. No matter what data I write, the read value is 0xf0
We are now going to modify the value of the register. We wrote and returned that the write was successful. However, when reading, it is still 0xf0
Does this pin hang have any effect?
This device does not have register numbers. The function ql_i2c_read() first writes the byte 0x00, but this write changes the control register.
You cannot use this library to access the PCA9544A.
You need to be able to do an I²C read without a preceding (register number) write. Use a different I²C library, or program your microcontroller directly. (I do not know which controller or OS you are using.)