一:Individual I2C write operations without problems
二:I2C read operation exception, written according to the underlying case of tii, a TRANSACTION SEND EXCEPTION.
But looking at it with a logic analyzer, I see that none of the written registers match the 0X0F register I passed in, and there are no read operations.
三:By write operation and then read operation, the first read is fine, the second re-read is abnormal.
normal:
abnormal:
Why is it an exception after a read operation? I have a sensor that is NACK after a read operation.
Is it necessary to do something to restore the I2C state after a read operation