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

Using GPIO as Host Interface

All MCUs provide software configurable GPIO for input and output functions. Figure 2-1 shows an example of an MCU which supports a bidirectional open-drain pin. The example illustrated is perhaps the simplest method to interface the TMP1826 to an MCU since only a bus pullup resistor is required.

Figure 2-1 Bidirectional GPIO Interface for TMP1826

Figure 2-2 shows an example of an MCU which supports GPIO with only an input or output function. In such an implementation, a bus pulldown transistor or a push pull to open-drain driver like the SN74LVC1G07 device is required along with the bus pullup resistor.

Figure 2-2 Push-Pull GPIO Interface for TMP1826