HS300X I2C issue

I have been able to read temperature and humidity from the sensor, but now I am trying to read from the non-volatile memory but I can't get any data out. From my understanding of the datasheet, I think my captured data looks correct but there must be something I am missing here. I have attached my capture of my attempt to read register 0x06 for review.

Thank you,

James

  • Hi James,

    Thanks for the request. We are working on your issue and will update you soon.

    Regards:

    R.K

  • Hi James,

    Thanks for the patience. By looking deeper into the query, we suspect that there is a timing issue. You have not entered into the programming mode since the following bytes are both FF. Please ensure that to send the programming mode command 10ms within startup of the sensor. Meaning that, when you connect the power, you need to immediately send the command to start the programming mode. Moreover, we are also looking into deeper. Meanwhile please share the code and I2C timing diagram for new measurements, for better understanding?

    Regards:

    Raja.

  • Hi James,

    We have tested at our end and got the success byte 0x81.Please see the timing diagram:

    As mentioned earlier, that you are not getting into the programming mode since his timing after starting up is probably not correct. If you entered the programming mode correctly and read the register values, you will get the success byte 0x81.

    Regards:

    Raja