This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMP102 one-shot model problem

Other Parts Discussed in Thread: TMP102

Hi,

I am using TMP102 and I want it to work in the One-shot model. While now ,when I write 0x61A0 into the configuration register, when I try to read the value of the configuration register, it is 0xE1A0.  According to the page 9 of the document for TMP102, after each conversion, the OS bit would be 1. 

Then how could I write 1 to OS again, if OS bit is 1?  I need to write 1 to OS bit every time I want to trigger a conversion.

 

Thanks

Si

  • Hi,

    I just figure it out . And I would post my way here in case someone else may need it someday.

    To make it work in the one-shot mode, after each conversion, the OS is 1. And it will not change to 0 unless you change it manully. So, every time you want to trigger a conversion. Write a 0 to OS bit first, then write a 1 to OS bit, then change the pointer register back to the temp register. Then you can read it.

     

    They have to been done every time you want  get a new data!!!

     

    Thanks

    SiLi

  • SiLi,

    I am glad to hear this worked out for you. Thank you for sharing your findings.