English
Language : 

OPT3006 Datasheet, PDF (18/41 Pages) Texas Instruments – OPT3006 Ultra-Thin Ambient Light Sensor
OPT3006
SBOS698 – OCTOBER 2016
www.ti.com
Programming (continued)
7.5.1.3 SMBus Alert Response
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
slave devices connected.
The OPT3006 is designed to respond to the SMBus alert response address, when in the latched window-style
comparison mode (configuration register, latch field = 1). The OPT3006 does not respond to the SMBus alert
response when in transparent mode (configuration register, latch field = 0).
The response behavior of the OPT3006 to the SMBus alert response is shown in Figure 22. When the interrupt
line to the processor is pulled to active, the master can broadcast the alert response slave address (0001
1001b). Following this alert response, any slave 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 slave devices simultaneously. If more than one slave attempts to respond, bus
arbitration rules apply. The device with the lowest address wins the arbitration. If the OPT3006 loses the
arbitration, the device does not acknowledge the I2C transaction and its INT pin remains in an active state,
prompting the I2C master processor to issue a subsequent SMBus alert response. When the OPT3006 wins the
arbitration, the device acknowledges the transaction and sets its INT pin to inactive. The master 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 master can obtain
information about the source of the OPT3006 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 master additional
information about the cause of the OPT3006 interrupt. If the master 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.
INT
1
9
1
9
SCL
SDA
0 0 0 1 1 0 0 R/W
1
0
0
0
1 A1 A0 FH(1)
Start By
Master
ACK By
Device
Frame 1 SMBus ALERT Response Address Byte
From
Device
Frame 2 Slave Address Byte(2)
NACK By Stop By
Master Master
(1) FH is the flag high field (FH) in the configuration register (see Table 10).
(2) A1 and A0 are determined by the ADDR pin; see Table 1.
Figure 22. Timing Diagram for SMBus Alert Response
18
Submit Documentation Feedback
Product Folder Links: OPT3006
Copyright © 2016, Texas Instruments Incorporated