Skip to main content
Visitor II
June 13, 2016
Question

HTS221 I2C STOPS WORKING

  • June 13, 2016
  • 4 replies
  • 1215 views
Posted on June 13, 2016 at 07:51

Hi, I'm using the HTS221 with STM8L052C6. The communication channel is I2C.

I am able to get the humidity data upto 99% RH. but above this after some point of reading the data,the sensor gets hanged and is not recoverable even after circuit is reset. i also found SDA line remains low in this condition.

Any help would be greatly appreciated!

thanks,

unnati

    This topic has been closed for replies.

    4 replies

    Visitor II
    June 15, 2016
    Posted on June 15, 2016 at 10:53

    Hi,

    I need additional information.

    What setting are you using ?One shot?? ODR?? and so on.

    Are you getting  measurements on not controlled environment or on controlled enviroment with RH saturated to 100%?

    After how long the device fails?

    Do you have check only one device or more??

    Regards

    Antonella

    unnati811Author
    Visitor II
    June 17, 2016
    Posted on June 17, 2016 at 13:38

    hi,

    i am getting  measurements on controlled enviroment with RH saturated to 100%.

    i have checked with 2 devices and the same problem occurs for both.

    the device fails approx 15 mins. after reaching 99% RH.

    i read the data from sensor every 10 sec and everytime i initialize and deinitialize the sensor with following settings:

    for initializing HTS221 ,i write CTRL_REG1 = 0x80;   CTRL_REG2 = 0x01;

    for DEINITIALIZING HTS221, i write CTRL_REG1 = 0x00;

    the supply to the sensor is always on.

    regards

    unnati

    Visitor II
    June 20, 2016
    Posted on June 20, 2016 at 14:25

    Hi,

    the used settings seem good.

    You should keep in consideration that in this situation it is very likely to create condensation.

    I guess the failure is related to malfunctions, short circuits and so on of the used interface (board, wiring, etc.) and not to the device itself.

    I reccomend you to pay attention to this aspect.

    Regards

    Antonella

    Visitor II
    May 31, 2018
    Posted on May 31, 2018 at 13:48

    Hi,

    This problem may be related to time and not percent humidity.

    Since ONE-SHOT mode is used and the sensors is being powered down with the PD bit, see topic

    https://community.st.com/0D50X00009XkVvtSAF

    Good luck!