SBOS929A December 2018 – December 2021 OPT3004
PRODMIX
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 target devices connected.
The OPT3004 is designed to respond to the SMBus alert response address, when in the latched window-style comparison mode (configuration register, latch field = 1). The OPT3004 does not respond to the SMBus alert response when in transparent mode (configuration register, latch field = 0).
The response behavior of the OPT3004 to the SMBus alert response is shown in Figure 8-4. When the interrupt line to the processor is pulled to active, the controller can broadcast the alert response target address (0001 1001b). Following this alert response, any target 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 target devices simultaneously. If more than one target attempts to respond, bus arbitration rules apply. The device with the lowest address wins the arbitration. If the OPT3004 loses the arbitration, the device does not acknowledge the I2C transaction and its INT pin remains in an active state, prompting the I2C controller processor to issue a subsequent SMBus alert response. When the OPT3004 wins the arbitration, the device acknowledges the transaction and sets its INT pin to inactive. The controller 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 controller can obtain information about the source of the OPT3004 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 controller additional information about the cause of the OPT3004 interrupt. If the controller 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.