English
Language : 

ALS-PDIC17-79NB-TR8_15 Datasheet, PDF (9/19 Pages) Everlight Electronics Co., Ltd – Digital Ambient Light Sensor
DATASHEET
SMD  I2C Digital Ambient Light Sensor
ALS-PDIC17-79NB/TR8
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 the slave device responds with
an ACK. After sending an ACK, the slave device sends eight bits of data with MSB going first. After receiving
the one byte data, the I2C master terminates this transaction by 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
Ambient light intensity count value can be obtained by reading registers of this device. Ambient light intensity
count is a 15-bit wide number plus a valid bit and hence word (two bytes) read operation is needed, as shown in Figure
16. After receiving the two byte data, the I2C master terminates this transaction by issuing a NACK command to indicate
that the master only wanted to read two bytes from the device. The master generates a stop condition to end this
transaction.
Figure 16 I2C Timing Diagram for Receive Word Format
Revi9sion Copy:rig3ht © 2010, Everlight All Rights Reserved. Release Date : 3.5.2012. Issue No: DRLSe-l0e0a00s0e34Date:2012-03-1w6w1w2.:e0v0e:r3li3g.h0t.com
LifecyclePhase:
Expired Period: Forever