SBOA542 November   2022 TMP1826 , TMP1827

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
    1. 1.1 Bus Reset and Response
    2. 1.2 Host Write, Device Read
    3. 1.3 Host Read, Device Write
  4. 2Interfacing TMP1826 With the Host MCU
    1. 2.1 Using GPIO as Host Interface
    2. 2.2 Software Driver for GPIO
    3. 2.3 Using UART as Host Interface
    4. 2.4 Software Driver for UART
    5. 2.5 Using SPI as Host Interface
    6. 2.6 Software Driver for SPI
  5. 3Summary
  6. 4References

Abstract

The TMP1826 and TMP1827 devices are part of the TI portfolio of high-accuracy, single-wire compatible digital output temperature sensors. The TMP182x devices simplify applications by providing a true single-wire bus-powered mode of operation, with multi-drop capability, thereby reducing the requirement for bulky cables and complex routing on space-constrained PCBs. With the dual-bus speed mode and seamless switching between the modes, the single-wire is designed for both short- and long-distance applications, enabling customers to scale their applications with minimal software updates. Because the interface is different from traditional inter-integrated circuit (I2C), universal asynchronous receiver and transmitter (UART), and serial-peripheral interfaces (SPI), this application note provides both design and software references, so that customers can implement the bus protocol on their choice of MCUs using UART, SPI, and general-purpose input/output (GPIO) peripherals. The examples provided show the TMP1826 being interfaced via different interfaces, but the same is applicable to TMP1827 devices as well.