SNIS237A December 2024 – April 2025 TMP118
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
To write on the I2C bus, the controller sends a START condition on the bus with the address of the target, as well as the last bit (the R/W bit) set to 0b, which signifies a write. The target acknowledges, letting the controller know the target is present on the bus and ready. After this, the controller starts sending the register pointer and register data to the target until the controller has sent all the data necessary, and the controller terminates the transmission with a STOP condition.
Writes to read-only registers or register locations outside of the register map are ignored. The TMP118 still acknowledges (ACK) when writing outside of the register map. Figure 7-15 shows an example of writing 2-byte data to a single register.