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.

tmp124 reading

Other Parts Discussed in Thread: TMP124, CC430F6137, TMP122

Hi. I have a problem reading the temperature value from tmp124. I don't understand how to configure. I try to explain: tmp124 has 1 pin I/O while microcontroller cc430f6137 have (as normally SPI) MISO and MISO. To read the value from tmp124 is enough to enable or ihave to send a read command? in this case how can i connect a single I/O to either MISO and MOSI.

Thanks all

Dan

  • Hello,

    i just did a quick look into the datasheet, page 5.

    COMMUNICATING WITH THE TMP122
    The TMP122/TMP124 converts continuously. If CS is brought
    low during a conversion the conversion process continues, but
    the last completed conversion is available at the output register.
    Communication with the TMP122/TMP124 is initiated by
    pulling CS low. The first 16 clocks of data transfer will return
    temperature data from the temperature sensors. The 16-bit
    data word is clocked out sign bit first, followed by the MSB. Any
    portion of the 16-bit word may be read before raising CS. If the
    user wishes to continue with CS low, the following 16 clocks
    transfer in a READ or WRITE command. READ and WRITE
    commands are described in Tables I and II.

     

    didnt read it, but i guess it is all explained.

    Greetings, Seb.

**Attention** This is a public forum