TI E2E Community (Beta)
Welcome to the TI E2E (Engineer-to-Engineer) Community! We invite you to freely and openly interact with your peer Engineers, TI Engineers, and other experts in order to ask questions, share knowledge, explore ideas, and help solve problems.
More Search Options

TMP102 shut down mode

rated by 0 users
Not Answered This post has 0 verified answers | 3 Replies | 3 Followers

Not Ranked
12 Posts
Community Member
andy posted on 27 Aug 2009 4:48 AM

Hello,

I am using TMP102. Reading a temp value or writing low or high limits is aslo working perfectly. But when I am trying to put this sensor in Shut down mode with One shot/ conversion ready then it stops providing temp value.

Will anyone plz tell me, what is missing in my code?

Here is the code

I2c.Start(SLAVE_ADDRESS);
I2c.putc(0x01);   //Write to config. reg
I2c.putc(0xE1);  //Value to be written OS = 1 and SD = 1
I2c.Stop();

I am writing this value just on init or do I need to write it again and again.

 

Thanx

Andy

 

 

All Replies

Top 75 Contributor
67 Posts
Texas Instruments Employee

Are you still addressing and reading the temperature registers?  In SD mode the TMP102 will not provide a new temperature conversion value until another OS read is performed.  Is this your question?

Not Ranked
12 Posts
Community Member

Yes. After setting SD mode I am addressing and reading the RXBUF every 2sec.

What do you mean by another OS read? Is it different than normal RXBUF read?

Not Ranked
2 Posts
Texas Instruments Employee

andy:

I am writing this value just on init or do I need to write it again and again.

Yes, you will have to write OS=1 to the configuration register each time you want it to wake up and measure temperature. Otherwise, while in Shutdown mode, the device is idle. 

Page 1 of 1 (4 items) |

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY TI. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.