English
Language : 

ALS-PDIC17-57B-TR8_15 Datasheet, PDF (10/21 Pages) Everlight Electronics Co., Ltd – Digital Ambient Light Sensor
DATASHEET
SMD  I2C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Communication Format
ALS-PDIC17-57B is capable of working as an I2C slave. Address of this device on I2C bus is always 0x29
(hexadecimal number 29). Registers of the slave device can be programmed by sending commands over I2C bus.
Figure 14 shows an I2C write operation. To write to an internal register of the slave device a command must be sent
by an I2C master. As illustrated in Figure 14, the I2C write command begins with a start condition. After the start condition,
seven bits of address are sent with MSB going first. RD / WRn (=Low) command bit follows the address bits. Upon
receiving a valid address the slave device responds by driving SDA low for an ACK. After receiving an ACK, I2C master
sends eight bits of data with MSB first. Upon receiving eight bits of data the slave device generates an ACK. I2C master
terminates this write command with a stop condition.
Figure 14 I2C Timing Diagram for Send Byte Format
Figure 15 shows an I2C read command sent by the master to the slave device. I2C read command begins with a
start condition. After the start condition seven bits of address are sent by the master with MSB going first. After the address
bits, RD / WRn command bit is sent. For a read command the RD / WRn bits is high. Upon receiving the address bits and
RD / WRn command bits
of data with MSB going
the slave device responds with an
first. After receiving the one byte
ACK.
data,
After sending an ACK, the
the I2C master terminates
slave device sends
this transaction by
eight bits
issuing a
NACK command to indicate that the master only wanted to read one byte from the device. The master generates a stop
condition to end this transaction.
Figure 15 I2C Timing Diagram for Receive Byte Format
Revi1si0on Copy:rig2ht © 2010, Everlight All Rights Reserved. Release Date : 5.27.2013. Issue No:RDLeSl-e0a00s0e04D9 atRe:e2v.2013-06-0w4w0w8.:e0v6e:r0li7g.h0t.com
LifecyclePhase:
Expired Period: Forever