SBOSA15A september 2022 – may 2023 TMP1827
PRODUCTION DATA
If using GPIO for communication is not possible due to any reason, it is also possible to use UART peripheral that is available on most host controllers to interface with the TMP1827. UART is a push-pull full duplex bus and to interface with TMP1827, it requires a buffer with open-drain driver like the SN74LVC1G07.
The input of the buffer is connected to the UART transmit pin and the output of the buffer is connected to the SDQ pin on the TMP1827. The output of the buffer is also connected to the UART receive pin on the host. As the output is open-drain, it requires a pullup resistor which can be calculated in Equation 2 as VPUR > 2.0 V. Substituting the value for VPUR = 3.3 V, VOL(MAX) = 0.4 V, VIH(MIN) = 2.64 V and IPU(MIN) = 300 µA, the RPUR value selected must be greater than 725 Ω and less than 2.2 kΩ.
In software, the application must adjust its baud rate so that it can send bus reset to the device by sending 00h. The start bit of the UART frame which is always 0, provides the required falling edge for data sent to the TMP1827. When sending a logic high to the device, the UART shall send FFh to the TMP1827 and, when sending a logic low to the device, the UART shall send C0h. As UART is a full duplex bus, the host must flush its receive buffers during a transmit operation.
When receiving data from the TMP1827, the host shall send FFh and the device when transmitting a logic high will detect and release the bus, while when transmitting a logic low will detect and hold the bus low. As a result, the host shall receive a FFh for a logic high and F0h for a logic low depending on the baud rate configured.