ZHCSQM3 December 2022 OPT3005
PRODUCTION DATA
The SMBus alert response provides a quick identification for which device issued the interrupt. Without this alert response capability, the processor does not know which device pulled the interrupt line when there are multiple sensor devices connected.
The OPT3005 is designed to respond to the SMBus alert response address, when in the latched window-style comparison mode (configuration register, latch field = 1). The OPT3005 does not respond to the SMBus alert response when in transparent mode (configuration register, latch field = 0).
The response behavior of the OPT3005 to the SMBus alert response is shown in Figure 8-4. When the interrupt line to the processor is pulled to active, the host can broadcast the alert response sensor address (0001 1001b). Following this alert response, any sensor devices that generated an alert identify themselves by acknowledging the alert response and sending their respective I2C address on the bus. The alert response can activate several different sensor devices simultaneously. If more than one sensor attempts to respond, bus arbitration rules apply. The device with the lowest address wins the arbitration. If the OPT3005 loses the arbitration, then the device does not acknowledge the I2C transaction and the INT pin remains in an active state, prompting the I2C host processor to issue a subsequent SMBus alert response. When the OPT3005 wins the arbitration, the device acknowledges the transaction and sets the INT pin to inactive. The host can issue that same command again, as many times as necessary to clear the INT pin. See the Interrupt Reporting Mechanism Modes section for additional details of how the flags and INT pin are controlled. The host can obtain information about the source of the OPT3005 interrupt from the address broadcast in the above process. The flag high field (configuration register, bit 6) is sent as the final LSB of the address to provide the host additional information about the cause of the OPT3005 interrupt. If the host requires additional information, the result register or the configuration register can be queried. The flag high and flag low fields are not cleared upon an SMBus alert response.