Skip to main content
Suhas Kudale
Associate
March 24, 2017
Question

STC3100, read to Control register is not returning the proper value

  • March 24, 2017
  • 1 reply
  • 555 views
Posted on March 24, 2017 at 09:12

Hi all. I need a help regarding I2C write operation on one of the register of STC3100. There are two configurable registers, one is 'Mode register' and other is 'Control register'.I noticed that writing to the Control register is not working. When I write a value on control register, lets say 0x12 or any value,and then whenever I try to read that register it gives value as 0x10 everytime. Could you explain why it is happening so?

    This topic has been closed for replies.

    1 reply

    Maarten Weyn
    Visitor II
    July 13, 2017
    Posted on July 13, 2017 at 12:49

    0x02 is a self clearing bit (see page 15 of the manual) so you will always read it as 0.