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.

TMP107: TMP-107 Sensor stopped responding after few minutes

Part Number: TMP107

Hi ,

We are implementing Temperature data acquisition using Sensor-TMP 107, Micro-TMS570ls1224 and Smaart wire to UART convertor-sn74lvc1t45.  The SCI port of TMS570ls1224 microcontroller is connected to IO1 pin of TMP 107 Sensor through sn74lvc1t45 SMAART wire converter.

Below configurations are used for testing purpose:

UART Configuration:

UART PORT:   SCI2 (NOT LIN mode)

Interrupts: Transmit and receive

Baud Rate: 115200

Stop Bits: 1

Data Length: 8 bit

Parity: Disabled

TMP-107 configuration:

Number sensor connected in Daisy chain: 4

Conversion mode: Continuous

Date Rate: 1 Second.

We are able to configure all temperature sensors and verified the same using reading back the configuration register. In our application we are reading temperature data at every 1 second by sending below commands

Command:  0x55 0x23 0xA0

Response: 0x55 0x23 0xA0 0XDC 0X17 0x28 0x18 0x88 0x19 0x00 0x18

We are able to read the temperature data from all sensor as expected for initial few minutes.

Problem statements:

1)     After few minutes temperature sensors stopped responding.

It has been observed that there is no response from TMP-107 sensors for the above temperature read command after few minutes. We are able to receive only echo the command that is 0x55 0x23 0xA0.

There are no SCI (UART) related error observed during this period i.e. framing error, over run error, parity error.

Please let us know how to fix the above issue.

Looking forward to hear from you as early as possible.

Thanks in advance.

 

  • TI support team will contact you shortly.
  • Hi Lokraj,

    Can you give more details on the failure? For example, do the devices work again after power cycle? Are they permanently broken? Are you moving the devices or cabling? What other commands do you use? At a minimum, you must be using Global Address Init to initially configure the chain. Are you using this command repeatedly? It is bad practice to call this command repeatedly, because the address is stored in EEPROM. You can prematurely wear out the EEPROM if you repeatedly perform Global Address Init.

    Thanks,
    Ren
  • Hi Ren,

    First of all thanks for very quick response.

    We could able to find the root cause of this issue. In our application one of high priority critical section task which is executed in ISR task was blocking SCI receive task. Due to which some bytes are missing in during sciReceive().

    There is no issue with TMP-107. We will definitely able to fix this issue.

    Below are response to your queries:

    do the devices work again after power cycle?

    : Yes

    Are they permanently broken?

    : No

    Are you moving the devices or cabling?

    : No

    What other commands do you use? At a minimum, you must be using Global Address Init to initially configure the chain. Are you using this command repeatedly?

    : Global address init and configuration write performed only once.

    Thanks