4.5 Address Byte

Following the Start condition, the host must transmit an 8-bit address byte to the MCP9808. The address for the MCP9808 temperature sensor is ‘0011,A2,A1,A0’ in binary, where the A2, A1 and A0 bits are set externally by connecting the corresponding pins to VDD1’ or GND ‘0’. The 7-bit address, transmitted in the serial bit stream, must match the selected address for the MCP9808 to respond with an ACK. Bit 8 in the address byte is a read/write bit. Setting this bit to ‘1’ commands a read operation, while ‘0’ commands a write operation (see Figure 4-1).

Figure 4-1. Device Addressing.

See Table 3-2.