Hi customer,
Check the I2C bus wave, then check whether the I2C slave(sensor) give ACK?
If the slave didn't ACK, it means the I2C baudrate or the wave or the data didn't meet the slave demand, you also need to check the slave datasheet.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------