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.

TMP126EVM: Can we integrate TMP126EVM with open source development boards like Arduino or ESP32 or Raspberry Pi

Part Number: TMP126EVM
Other Parts Discussed in Thread: TMP126, ENERGIA

Hi, support team

My customer has the questions as follow:

Can we integrate TMP126EVM with open source development boards like Arduino or ESP32 or Raspberry Pi?
Are there any connecting probes that can withstand for extreme temperatures?

Thanks so much.

Best regards,
Yuki

  • Dear Yuki - 

    Thanks for the post - the EVM is made to have the TMP126 detached by breaking the board end off, at the header, to then connect to another MCU as you desire. 

    We have interfaced this part to other MSP430/SimpleLink LaunchPads and Ardunio/Energia (I used Uno Rev 3 for Arduino/Energia example, and used pin 8 for chip select, pin 11 for MOSI, pin 12 for MISO and pin 13 for SCLK) - I also found with that hardware and long jumper wires, going over 4MHz clock speed is not recommended, so keep your wires as short as you can if you are wanting to run higher clock speeds.

    Below is working snippet to help you get started. 

    //TMP126//
    unsigned char byte1;
    unsigned char byte2;
    digitalWrite(CS126, LOW);
    SPI.transfer(0x01);
    SPI.transfer(0x00); //address
    byte1 = SPI.transfer(0x00); //(was 0xFF)
    byte2 = SPI.transfer(0x00); //(was 0xFF)
    digitalWrite(CS126, HIGH);
    // Serial.print("TMP126 TEMP:");
    // Serial.println(byte1, HEX);
    // Serial.println(byte2, HEX);
    float t126 = (((int16_t) byte1 << 8 | byte2) >> 2) * 0.03125;
    Serial.print(",");
    Serial.print(t126);