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.

TMP007 EVM comp mode

Other Parts Discussed in Thread: TMP007

My customer is trying to get the TMP007 EVM alert mode to clear.   Can this mode be tested on the EVM?  See below:  

I would like to test the TMP007 in comp mode.  My goal is to have the software set up the sensor…and have the alert pin control the heater.  The demo GUI I have does not seem to allow “COMP mode” as described below.  Is this possible with the demo?  Could someone provide the “magic settings” that enable this mode of operation?

  

7.4.2 Alert Modes: Interupt (INT) and Comparator (COMP)

The INT mode maintains the alert condition until a host controller clears the alert condition by reading the status

register. This mode is useful when an external microcontroller is actively monitoring TMP007 as part of a thermal

management system. The COMP mode asserts the ALERT pin and flags whenever the alert condition occurs,

and deasserts the ALERT pin and flags without external intervention when the alert condition is no longer present

This mode is often used to notify an external agent of an alert condition.

When servicing an alert from the TMP007, in some cases it may be useful to validate the alert condition by

checking the status of the nDV, MEM_CRPT, and DATA_OVF flags.

20

 Regards,

Aaron

  • Hi Aaron,

    We received your question. Allow us some time for reviewing it and we will get back to you soon.

    Mayrim

  • Hi Aaron,

    Thank yo for your question...you have identified a few gaps in our documentation.  I will work on getting the documentation fixed for the future, but for now let me assist you with your question.  Yes, the TMP007EVM can be configured to use the Alert pin as you described.  The TMP007 on the EVM board must be configured differently from its default settings.  This is easily accomplished with the GUI.  Please launch the GUI and click on the "Programmers Page" in the selection pane on the left hand side of the GUI display.  Once you are on the Programmers Page you will see the various registers.  Click on the "Configuration Register" in the "Block/Register Name" pane.  Set bit 5 to a 1...you do this by checking the box in the "W" column the click on then "Write Register" button.  Repeat this also for bit 8 in the Configuration Register.  Next, select the "Mask/En" register...set bits 13 and 15 to a "1" again do so by checking the box in the "W" column then press the "Write Register" button.  One last step...the way the device works is to clear the Alert pin in the COMP mode the temperature must pass below the object temperature limit...so set the Object Temperature High Limit Register and the Object Temperature Low Limit Register to the desired value.  They can be set to the same value or you can add a few degrees of hysteresis should you desire.  Again make sure you click on the "Write Register" button to write to the device.  Now the device is configured in the manner that you requested.  This is easily demonstrated by the LED on the TMP007EVM daughterboard.  If you are interested to connect this alert signal to your microcontroller you may do so by connecting a wire from the TMP007EVM daughterboard from the hole labelled "DRDY".  Of course you will also need to connect the ground from the EVM to your microcontroller ground...the ground on the TMP007EVM daughterboard is either of the large square pads on the edge of the EVM daughterboard.  Should you choose to wire this EVM to your microcontroller also ensure that the power supply voltages are compatible.  The power supply used on the TMP007EVM is 3.3V.  Please let me know if this porcedure is working for you...I have the EVM running and it works properly for me after I changed the settings as described above.

  • Ed,

    Thank you very much!  Per the customer.

    "Nailed it…thanks"

     - Aaron