DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

MAX44007(2010) View Datasheet(PDF) - Maxim Integrated

Part Name
Description
Manufacturer
MAX44007 Datasheet PDF : 21 Pages
First Prev 11 12 13 14 15 16 17 18 19 20
Low-Power Digital Ambient Light Sensor
with Enhanced Sensitivity
S
SCL
SDA
SR
P
START
CONDITION
SCL
1
2
CLOCK PULSE FOR
ACKNOWLEDGMENT
8
9
NOT ACKNOWLEDGE
SDA
ACKNOWLEDGE
Figure 4. START, STOP, and REPEATED START Conditions
Figure 5. Acknowledge
Slave Address
The slave address is controlled by the A0 pin. Connect
A0 to either ground or VCC to set the address. Table 10
shows the two possible addresses for the IC.
Acknowledge
The acknowledge bit (ACK) is a clocked 9th bit that the
IC uses to handshake receipt each byte of data when in
write mode (see Figure 5). The IC pulls down SDA dur-
ing the entire master-generated ninth clock pulse if the
previous byte is successfully received. Monitoring ACK
allows for detection of unsuccessful data transfers. An
unsuccessful data transfer occurs if a receiving device
is busy or if a system fault has occurred. In the event of
an unsuccessful data transfer, the bus master can retry
communication. The master pulls down SDA during the
ninth clock cycle to acknowledge receipt of data when
the IC is in read mode. An acknowledge is sent by the
master after each read byte to allow data transfer to
continue. A not acknowledge is sent when the master
reads the final byte of data from the IC, followed by a
STOP condition.
Write Data Format
A write to the IC includes transmission of a START condi-
tion, the slave address with the R/W bit set to 0, one byte
of data to configure the internal register address pointer,
one or more bytes of data, and a STOP condition. Figure
6 illustrates the proper frame format for writing one byte
of data to the IC.
The slave address with the R/W bit set to 0 indicates
that the master intends to write data to the IC. The IC
acknowledges receipt of the address byte during the
master-generated ninth SCL pulse.
The second byte transmitted from the master configures
the IC’s internal register address pointer. The pointer
tells the IC where to write the next byte of data. An
acknowledge pulse is sent by the IC upon receipt of the
address pointer data.
The third byte sent to the IC contains the data that is writ-
ten to the chosen register. The master signals the end of
transmission by issuing a STOP condition.
Read Data Format
To read a byte of data, the register pointer must first be
set through a write operation (Figure 7). Send the slave
address with the R/W set to 0, followed by the address
of the register that needs to be read. After a repeated
start condition, send the slave address with the R/W bit
set to 1 to initiate a read operation. The IC then sends
an acknowledge pulse followed by the contents of the
register to be read. Transmitted data is valid on the rising
edge of the master-generated serial clock (SCL).
Sensor Position
The photo sensitive area of the IC is 0.37mm x 0.37mm
and much smaller than the device itself. When placing
the part behind a light guide, only this sensitive area has
to be taken into account. Figure 8 shows the position and
size of the photo sensitive area within the package.
Table 10. Slave Address
A0
GND
VCC
SLAVE ADDRESS FOR WRITING
1011 0100
1011 0110
SLAVE ADDRESS FOR READING
1011 0101
1011 0111
17

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]