I have an application in which I am not using the Alert function/pin of the TMP275. I'm wondering if it is possible to use it as a general purpose output in the following way.
I would set the T(high) limit register to its max value; set the T(low) limit register to its min value. Alert should never be asserted. Set Thermostat Mode (TM) to '0' for comparator mode.
I would like to use the temp sensor by setting Shut Down (SD) mode = 1, and only initiating conversions on demand by writing a '1' to the One Shot (OS) bit of the configuration register.
Under these circumstances, would writing values to the Polarity bit (POL) of the config register cause the Alert pin to change state (when POL=0, Alert=1, and POL=1, Alert=0, since Alert is not asserted)?
Does Shut Down mode shut down the POL function?
I suspect that this will work fine. I am currently looking into this and will get back to you soon.
Best Regards,Chris FeatherstoneLinear Characterization EngineerHigh Performance Linear Products
I have built up a test circuit with the TMP275 and programmed it in the following way:
I also set the T(high) and T(low) registers to their maximum and minimum values respectively.
I was successfully able to have Alert = 1 when POL = 0 and Alert = 0 when POL = 1.
The Shut Down mode does not shut down the POL function.
Thanks so much for taking the time to check this out in detail. It looks like this approach will work, which is excellent! Gives me that 1 bit of output that will keep me from adding a lot of unnecessary HW.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content 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. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. 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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.