Why is there periodic success when continuously reading SHT31?

Why is there periodic success when continuously reading SHT31?

Parents
  • Hello,

    I am not sure why this is happening. Can you share the overlay file? I will take a look. How are you powering the DK and the sensor? I doubt if this is because of any power issue. I also recommend power cycling the board and sensor to clear the I2C bus if it's stuck. Have you tried probing the I2C lines? If so, what does it show?

    Kind Regards,

    Abhijith

  • Every 1000ms, you can get the following data normally

    when it is less than 1000ms, the data in the second chapter will appear,
    you can't get the data again until the last successful i2c communication is 1000ms away.

    For faster communication I created a github based on the lbs add sht3x project.

    github.com/.../nrf52_lbs_with_sht3x

    You can refer to the configuration and overlay files there.

    You can try to change the sleep value in line 284 of main.c. If the sleep is less than 1000ms, an error occurs.

Reply Children
No Data
Related