Integrated Digital Light Sensor ISL29034 Features The ISL29034 is an integrated ambient and infrared light-to-digital converter with I2C (SMBus Compatible) Interface. Its advanced self-calibrated photodiode array emulates human eye response with excellent IR rejection. The on-chip ADC is capable of rejecting 50Hz and 60Hz flicker caused by artificial light sources. The Lux range select feature allows users to program the Lux range for optimized counts/Lux. • Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16-bits ADC For ambient light sensing, an internal 16-bit ADC has been designed based upon the charge-balancing technique. The ADC conversion time is nominally 105ms and is user selectable from 11µs to 105ms, depending on oscillator frequency and ADC resolution. In normal operation, typical current consumption is 57µA. In order to further minimize power consumption, two power-down modes have been provided. If polling is chosen over continuous measurement of light, the auto-power-down function shuts down the whole chip after each ADC conversion for the measurement. The other power-down mode is controlled by software via the I2C interface. The power consumption can be reduced to less than 0.3µA when powered down. The ISL29034 supports a software brownout condition detection. The device powers up with the brownout bit asserted until the host clears it through the I2C interface. Designed to operate on supplies from 2.25V to 3.63V with an I2C supply from 1.7V to 3.63V, the ISL29034 is specified for operation over the -40°C to +85°C ambient temperature range. • Wide dynamic range1: . . . . . . . . . . . . . . . . . . . . . . . . . 4,200,000 • Integrated noise reduction . . . . . . . . . . . . . . . . . . . . . 50/60Hz • Close to human eye response with excellent IR/UV rejection • Shutdown modes. . . . . . . . . . . . . . . . . . . Software and Automatic • Supply current (typ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57µA • Shutdown current (max) . . . . . . . . . . . . . . . . . . . . . . . . 0.51µA • I2C (SMB compatible) power supply . . . . . . . . . 1.7V to 3.63V • Sensor power supply . . . . . . . . . . . . . . . . . . . . . 2.25V to 3.63V • Operating temperature range. . . . . . . . . . . . . -40°C to +85°C • Small form factor package . . . . . . . 4 Ld 1.5x1.3x0.75 ODFN Applications • Mobile devices: smart phone, PDA, GPS • Computing devices: notebook PC, MacBook, tablets • Consumer devices: LCD-TV, digital picture frame, digital camera • Industrial and medical light sensing Related Literature • AN1591, “Evaluation Hardware/Software Manual for ALS and Proximity Sensor” 1.2 100 1µF 4.7k 1 4.7k VDD SDA 4 SDA 3 SCL ISL29034 MCU SCL NORMALIZED RESPONSE VDD VDD_PULLUP 1.0 AMBIENT LIGHT SENSOR 0.8 HUMAN EYE (PHOTOPIC) 0.6 0.4 0.2 GND 0 300 2 FIGURE 1. ISL29034 TYPICAL APPLICATION DIAGRAM April 9, 2014 FN8370.1 1 400 500 600 700 800 WAVELENGTH (nm) 900 1000 1100 FIGURE 2. NORMALIZED SPECTRAL RESPONSE FOR AMBIENT LIGHT SENSING CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures. 1-888-INTERSIL or 1-888-468-3774 | Copyright Intersil Americas LLC 2013, 2014. All Rights Reserved Intersil (and design) is a trademark owned by Intersil Corporation or one of its subsidiaries. All other trademarks mentioned are the property of their respective owners. ISL29034 Block Diagram VDD 1 IREF COMMAND REGISTER fOSC R 500kΩ 3 SCL CMD I2C/SMB Register PHOTODIODE ARRAY LIGHT DATA PROCESS INTEGRATING ADC 4 SDA DATA REGISTER ISL29034 2 GND Pin Configuration Pin Descriptions ISL29034 (4 LD ODFN) TOP VIEW VDD GND 1 4 2 3 PIN NUMBER PIN NAME 1 VDD Positive supply 2 GND Ground pin 3 SCL I2C serial clock. 4 SDA I2C serial data. SDA SCL DESCRIPTION Ordering Information PART NUMBER (Notes 2, 3) ISL29034IROZ-T7 (Note 1) ISL29034IROZ-EVALZ PACKAGE Tape & Reel (RoHS Compliant) TEMP RANGE (°C) -40 to +85 4 Ld ODFN PKG. DWG. # L4.1.5x1.3 Evaluation Board NOTES: 1. Please refer to TB347 for details on reel specifications. 2. These Intersil Pb-free plastic packaged products employ special Pb-free material sets; molding compounds/die attach materials and NiPdAu plate - e4 termination finish, which is RoHS compliant and compatible with both SnPb and Pb-free soldering operations. Intersil Pb-free products are MSL classified at Pb-free peak reflow temperatures that meet or exceed the Pb-free requirements of IPC/JEDEC J STD-020. 3. For Moisture Sensitivity Level (MSL), please see device information page for ISL29034. For more information on MSL please see tech brief TB477. Submit Document Feedback 2 FN8370.1 April 9, 2014 ISL29034 Absolute Maximum Ratings Thermal Information VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +4.0V I2C Bus (SCL, SDA) Pin Voltage . . . . . . . . . . . . . . . . . . . . . . . . . -0.2V to 4.0V I2C Bus (SCL, SDA) Pin Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <10mA Input Voltage Slew Rate (Max) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.1V/µs ESD Ratings Human Body Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3kV Thermal Resistance (Typical) θJA (°C/W) 4 Ld ODFN Package (Note 4) 287 Maximum Junction Temperature (TJMAX). . . . . . . . . . . . . . . . . . . . . . . +90°C Storage Temperature Range. . . . . . . . . . . . . . . . . . . . . . . .-40°C to +100°C Operating Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40°C to +85°C Pb-Free Reflow Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . see TB493 CAUTION: Do not operate at or near the maximum ratings listed for extended periods of time. Exposure to such conditions may adversely impact product reliability and result in failures not covered by warranty. NOTE: 4. θJA is measured with the component mounted on a high effective thermal conductivity test board in free air. See Tech Brief TB379 for details. Electrical Specifications PARAMETER VDD = 3.0V, TA = +25°C, 16-bit ADC operation, unless otherwise specified. DESCRIPTION VDD Power Supply Range IDD Supply Current IDD1 Supply Current when Powered Down TEST CONDITIONS MIN (Note 7) MAX (Note 7) UNITS 3.63 V 57 85 µA 0.24 0.51 µA 3.63 V TYP 2.25 VI2C Supply Voltage Range for tint ADC Integration/Conversion Time FI2C I2C I2 C Software disabled or auto power-down Interface 1.7 16-bit ADC data Clock Rate Range DATA_0 Count Output When Dark DATA_F Full Scale ADC Code %/Value Part-to-Part Variation (3σ population) E = 0 Lux, Range 0 (1k Lux) 105 ms 400 kHz 1 E = 300 Lux, Cold White LED Range 0 (1k Lux) 5 Counts 65535 Counts ±5 % ADCR0 Light Count Output with LSB of 0.015 Lux/Count E = 300 Lux, Fluorescent light (Note 5), ALS Range 0 (1k Lux) ADCR1 Light Count Output with LSB of 0.06 Lux/Count E = 300 Lux, Fluorescent light (Note 5), ALS Range 1 (4k Lux) 5100 Counts ADCR2 Light Count Output with LSB of 0.24 Lux/Count E = 300 Lux, Fluorescent light (Note 5), ALS Range 2 (16k Lux) 1400 Counts ADCR3 Light Count Output with LSB of 0.96 Lux/Count E = 300 Lux, Fluorescent light (Note 5), ALS Range 3 (64k Lux) 366 Counts ADC_IRR0 Infrared Count Output Range 0 (1k Lux) ADC_IRR1 Infrared Count Output Range 1 (4k Lux) 481 ADC_IRR2 Infrared Count Output Range 2 (16k Lux) 148 ADC_IRR3 Infrared Count Output Range 3 (64k Lux) 42 ISDA SDA Current Sinking Capability 15000 1402 4 20473 1997 5 25000 Counts 2598 mA NOTES: 5. 550nm green LED is used in production test. The 550nm LED irradiance is calibrated to produce the same DATA count against an illuminance level of 300 Lux fluorescent light. 6. 850nm IR LED is used in production test. 7. Compliance to datasheet limits is assured by one or more methods: production test, characterization and/or design. Submit Document Feedback 3 FN8370.1 April 9, 2014 ISL29034 I2C Interface Specifications F SYMBOL VDD = 3.0V, TA = +25°C, 16-bit ADC operation, unless otherwise specified. PARAMETER VIL SDA and SCL Input Buffer LOW Voltage VIH SDA and SCL Input Buffer HIGH Voltage VHys (Note 8) SDA and SCL Input Buffer Hysteresis VOL (Note 8) SDA Output Buffer LOW Voltage (open-drain), Sinking 4mA CPIN (Note 8) SDA and SCL Pin Capacitance TEST CONDITIONS MIN (Note 7) TYP MAX (Note 7) UNITS 0.55 V 1.25 V V 0.05 x VDD 0 TA = +25°C, f = 1MHz, VDD = 5V, VIN = 0V, VOUT = 0V 0.4 V 10 pF fSCL SCL Frequency 400 kHz tIN Pulse Width Suppression Time at SDA and SCL Any pulse narrower than the max spec is Inputs suppressed 50 ns tAA SCL Falling Edge to SDA Output Data Valid 900 ns tBUF Time the Bus Must be Free Before the Start of a New Transmission 1300 ns tLOW Clock LOW Time 1300 ns tHIGH Clock HIGH Time 600 ns tSU:STA START Condition Setup Time 600 ns tHD:STA START Condition Hold Time 600 ns tSU:DAT Input Data Setup Time 100 ns tHD:DAT Input Data Hold Time 30 ns tSU:STO STOP Condition Setup Time 600 ns tHD:STO STOP Condition Hold Time 600 ns tDH Output Data Hold Time 0 ns tR (Note 8) SDA and SCL Rise Time 20 + 0.1 x Cb ns tF (Note 8) SDA and SCL Fall Time 20 + 0.1 x Cb ns Cb (Note 10) Capacitive Loading of SDA or SCL Total on-chip and off-chip RPU (Note 8) SDA and SCL Bus Pull-up Resistor Off-chip Maximum is determined by tR and tF. For Cb = 400pF, max is about 2kΩ ~ 2.5kΩ For Cb = 40pF, max is about 15kΩ ~ 20kΩ 400 pF 1 kΩ NOTES: 8. Limits should be considered typical and are not production tested. 9. These are I2C specific parameters and are not tested, however, they are used to set conditions for testing devices to validate specification. 10. Cb is the capacitance of the bus in pF. Submit Document Feedback 4 FN8370.1 April 9, 2014 ISL29034 SDA vs SCL Timing tHIGH tLOW tF SCL tHD:STO tR tSU:DAT tSU:STA tHD:DAT tSU:STO tHD:STA SDA (INPUT TIMING) tAA tDH tBUF SDA (OUTPUT TIMING) FIGURE 3. I2C BUS TIMING SCL SDA 8TH BIT OF LAST BYTE ACK tWC STOP CONDITION START CONDITION FIGURE 4. I2C WRITE CYCLE TIMING Submit Document Feedback 5 FN8370.1 April 9, 2014 ISL29034 Typical Performance Curves 1.2 1.1 NORMALIZED SENSITIVITY NORMALIZED RESPONSE 1.0 1.0 AMBIENT LIGHT SENSOR 0.8 HUMAN EYE 0.6 0.4 0.2 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 300 400 500 600 700 800 900 1000 0.0 -90 1100 -75 -60 -45 -30 -15 0 15 30 ANGULAR OFFSET (°) WAVELENGTH (nm) 75 90 1000 14 1000 LUX RANGE ALS MEASURED LUX (LUX) ALS READING (COUNTS) 60 FIGURE 6. NORMALIZED RADIATION PATTERN FIGURE 5. NORMALIZED SPECTRAL RESPONSE FOR AMBIENT LIGHT SENSING AND IR SENSING 12 45 10 8 6 4 800 1000 LUX RANGE 600 400 200 2 0 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90 100 TEMPERATURE (°C) FIGURE 7. TEMPERATURE TEST IN DARK CONDITION Submit Document Feedback 6 0 0 200 400 600 800 1000 T-10 LUX METER (LUX) FIGURE 8. ALS TRANSFER FUNCTION UNDER F2 LIGHT SOURCE FN8370.1 April 9, 2014 ISL29034 Principles of Operation Serial Interface Photodiodes and ADC The ISL29034 supports the Inter-Integrated Circuit (I2C) bus data transmission protocol. The I2C bus is a two-wire serial bidirectional interface consisting of SCL (clock) and SDA (data). Both the wires are connected to the device supply via pull-up resistors. The I2C protocol defines any device that sends data onto the bus as a transmitter and the receiving device as the receiver. The device controlling the transfer is a master and the device being controlled is the slave. The transmitting device pulls down the SDA line to transmit a “0” and releases it to transmit a “1”. The master always initiates the data transfer, only when the bus is not busy, and provides the clock for both transmit and receive operations. The ISL29034 operates as a slave device in all applications. The serial communication over the I2C interface is conducted by sending the most significant bit (MSB) of each byte of data first. The ISL29034 contains two photodiode arrays, which convert light into current. A typical spectral response for ambient light sensing is shown in Figure 5 on page 6. After light is converted to current during the light signal process, the current output is converted to digital by a built-in 16-bit Analog-to-Digital Converter (ADC). An I2C command reads the ambient light intensity in counts. The converter is a charge-balancing integrating type 16-bit ADC. The chosen method for conversion is best for converting small current signals in the presence of an AC periodic noise. A 105ms integration time, for instance, highly rejects 50Hz and 60Hz power line noise simultaneously. The integration time of the built-in ADC is determined by the internal oscillator, and the n-bit (n = 4, 8, 12, 16) counter inside the ADC. A good balancing act of integration time and resolution (depending on the application) is required for optimal results. The ADC has I2C programmable range select to dynamically accommodate various lighting conditions. For very dim conditions, the ADC can be configured at its lowest range (Range 0) in the ambient light sensing. Low-Power Operation The ISL29034 initial operation is at the power-down mode after a supply voltage is provided. The data registers contain the default value at 0. When the ISL29034 receives an I2C command to do a one-time measurement from an I2C master, it will start the ADC conversion with light sensing. It will go to the power-down mode automatically after one conversion is finished and keep the conversion data available for the master to fetch anytime afterwards. The ISL29034 will continuously do ADC conversion with light sensing if it receives an I2C command of continuous measurement. It will continuously update the data registers with the latest conversion data. It will go to the power-down mode after it receives the I2C command of power-down. Ambient Light and IR Sensing There are four operational modes in ISL29034: Programmable ALS once with auto power-down, programmable IR sensing once with auto power-down, programmable continuous ALS sensing and programmable continuous IR sensing. These four modes can be programmed in series to fulfill the application needs. The detailed program configuration is listed in “Command-I Register (Address: 0x00)” on page 10. When the part is programmed for ambient light sensing, the ambient light with wavelength within the “Ambient Light Sensing” spectral response curve in Figure 14 is converted into current. With ADC, the current is converted to an unsigned n-bit (up to 16 bits) digital output. When the part is programmed for infrared (IR) sensing, the IR light with wavelength within the “IR Sensing” spectral response curve in Figure 14 is converted into current. With ADC, the current is converted to an unsigned n-bit (up to 16-bits) digital output. Submit Document Feedback 7 Start Condition During data transfer, the SDA line must remain stable while the SCL line is HIGH. All I2C interface operations must begin with a START condition, which is a HIGH-to-LOW transition of SDA while SCL is HIGH (refer to Figure 11). The ISL29034 continuously monitors the SDA and SCL lines for the START condition and does not respond to any command until this condition is met (refer to Figure 11). A START condition is ignored during the power-up sequence. Stop Condition All I2C interface operations must be terminated by a STOP condition, which is a LOW-to-HIGH transition of SDA while SCL is HIGH (refer to Figure 11). A STOP condition at the end of a read/write operation places the device in its standby mode. If a stop is issued in the middle of a Data byte, or before 1 full Data byte + ACK is sent, then the serial communication of the ISL29034 resets itself without performing the read/write. The contents of the array are not affected. Acknowledge An acknowledge (ACK) is a software convention used to indicate a successful data transfer. The transmitting device releases the SDA bus after transmitting 8-bits. During the ninth clock cycle, the receiver pulls the SDA line LOW to acknowledge the reception of the eight bits of data (refer to Figure 11). The ISL29034 responds with an ACK after recognition of a START condition followed by a valid Identification Byte, and once again, after successful receipt of an Address Byte. The ISL29034 also responds with an ACK after receiving a Data byte of a write operation. The master must respond with an ACK after receiving a Data byte of a read operation. Device Addressing Following a START condition, the master must output a Device Address byte. The 7 MSBs of the Device Address byte are known as the device identifier. The device identifier bits of the ISL29034 are internally hard-wired as “1000100”. The LSB of the Device Address byte is defined as a read or write (R/W) bit. When this R/W bit is a “1”, a read operation is selected and when “0”, a write operation is selected (refer to Figure 9). The master generates a START condition followed by Device Address byte 1000100x (x as R/W) and the ISL29034 compares it with the internal device identifier. Upon a correct comparison, the device outputs an acknowledge FN8370.1 April 9, 2014 ISL29034 (LOW) on the SDA line (refer to Figure 11). 1 0 0 0 1 0 0 R/W DEVICE ADDRESS BYTE A7 A6 A5 A4 A3 A2 A1 A0 REGISTER ADDRESS BYTE D7 D6 D5 D4 D3 D2 D1 D0 DATA BYTE The ISL29034 then begins an internal write cycle of the data to the volatile memory. During the internal write cycle, the device inputs are disabled and the SDA line is in a high impedance state, so the device will not respond to any requests from the master (refer to Figure 10). BURST WRITE The ISL29034 has a burst write operation, which allows the master to write multiple consecutive bytes from a specific address location. It is initiated in the same manner as the byte write operation, but instead of terminating the write cycle after the first Data byte is transferred, the master can write to the whole register array. After the receipt of each byte, the ISL29034 responds with an acknowledge, and the address is internally incremented by one. The address pointer remains at the last address byte written. When the counter reaches the end of the register address list, it “rolls over” and goes back to the first Register Address. FIGURE 9. DEVICE ADDRESS, REGISTER ADDRESS, AND DATA BYTE Write Operation BYTE WRITE In a byte write operation, the ISL29034 requires the Device Address byte, Register Address byte, and the Data byte. The master starts the communication with a START condition. Upon receipt of the Device Address byte, Register Address byte, and the Data byte, the ISL29034 responds with an acknowledge (ACK). Following the ISL29034 data acknowledge response, the master terminates the transfer by generating a STOP condition. SIGNAL FROM MASTER DEVICE SIGNAL AT SDA S T DEVICE ADDRESS A BYTE R T 1 0 0 0 1 0 0 0 ADDRESS BYTE A C K SIGNALS FROM SLAVE DEVICE S T O P DATA BYTE A C K A C K FIGURE 10. BYTE WRITE SEQUENCE 8th CLK SCL FROM MASTER 9th CLK HIGH IMPEDANCE SDA FROM TRANSMITTER SDA FROM RECEIVER START DATA STABLE DATA CHANGE DATA STABLE ACK STOP FIGURE 11. START, DATA STABLE, ACKNOWLEDGE, AND STOP CONDITION Submit Document Feedback 8 FN8370.1 April 9, 2014 ISL29034 Read Operation The ISL29034 has two basic read operations: Byte Read and Burst Read. BYTE READ Byte read operations allow the master to access any register location in the ISL29034. The Byte read operation is a two step process. The master issues the START condition, and the Device Address byte with the R/W bit set to “0”, receives an acknowledge, then issues the Register Address byte. After acknowledging receipt of the register address byte, the master immediately issues another START condition and the Device Address byte with the R/W bit set to “1”. This is followed by an acknowledge from the device and then by the 8-bit data word. The master terminates the read operation by not responding with an acknowledge and then issuing a stop condition (refer to Figure 12). BURST READ The master terminates the read operation by not responding with an acknowledge but issuing a STOP condition (refer to Figure 13). For more information about the I2C standard, please consult the Phillips™ I2C specification documents. Power-On Reset The Power-On Reset (POR) circuitry protects the internal logic against powering up in the incorrect state. The ISL29034 will power-up into Standby mode after VDD exceeds the POR trigger level and will power-down into Reset mode when VDD drops below the POR trigger level. This bidirectional POR feature protects the device against ‘brown-out’ failure following a temporary loss of power. The POR is an important feature because it prevents the ISL29034 from starting to operate with insufficient voltage, prior to stabilization of the internal bandgap. The ISL29034 prevents communication to its registers and greatly reduces the likelihood of data corruption on power-up. Burst read operation is identical to the Byte Read operation. After the first Data byte is transmitted, the master now responds with an acknowledge, indicating it requires additional data. The device continues to output data for each acknowledge received. S T A DEVICE ADDRESS WRITE R T 1 0 0 0 1 0 0 0 SIGNAL FROM MASTER DEVICE SIGNAL AT SDA ADDRESS BYTE A C K SIGNALS FROM SLAVE DEVICE S T A DEVICE ADDRESS READ R T 1 0 0 0 1 0 0 1 A C K DATA BYTE S T O P A C K FIGURE 12. BYTE ADDRESS READ SEQUENCE SIGNAL FROM MASTER DEVICE SIGNAL AT SDA S T A R T DEVICE ADDRESS WRITE S T A DEVICE R ADDRESS READ T 1 0 0 0 1 0 0 1 ADDRESS BYTE 1 0 0 0 1 0 0 0 A C K SIGNALS FROM SLAVE DEVICE A C K DATA BYTE 2 DATA BYTE 1 A C K A C K DATA BYTE n A C K S T O P (“n” is any integer greater than 1) FIGURE 13. BURST READ SEQUENCE Submit Document Feedback 9 FN8370.1 April 9, 2014 ISL29034 TABLE 1. REGISTER MAP REGISTER ADDRESS REGISTER BITS NAME DEC HEX B7 B6 B5 COMMAND-I 0 0x00 OP2 OP1 OP0 COMMAND-II 1 0x01 DATALSB 2 0x02 D7 D6 D5 DATAMSB 3 0x03 D15 D14 ID 15 0x0F BOUT RESERVED B4 B3 B2 B1 B0 DEFAULT ACCESS 0x00 RW RESERVED RESERVED RES1 RES0 RANGE1 RANGE0 0x00 RW D4 D3 D2 D1 D0 0x00 RO D13 D12 D11 D10 D9 D8 0x00 RO 1 0 1 1x101xxx RW RESERVED Register Description TABLE 4. OPERATING MODES BITS Following are detailed descriptions of the control registers related to the operation of the ISL29034 ambient light sensor device. These registers are accessed by the I2C serial interface. For details on the I2C interface, refer to “Serial Interface” on page 7. B7 B6 B5 0 0 0 Power-down the device (Default) 0 0 1 The device measures ALS only once every integration cycle. This is the lowest operating mode. (Note 11) All the features of the device are controlled by the registers. The ADC data can also be read. The following sections explain the details of each register bit. All RESERVED bits are Intersil used bits ONLY. The value of the reserved bit can change without notice. 0 1 0 IR once 0 1 1 Reserved (DO NOT USE) 1 0 0 Reserved (DO NOT USE) 1 0 1 Measures ALS continuously Decimal to Hexadecimal Conversion 1 1 0 Measures IR continuous To convert decimal value to hexadecimal value, divide the decimal number by 16, and write the remainder on the side as the least significant digit. This process is continued by dividing the quotient by 16 and writing the remainder until the quotient is 0. When performing the division, the remainders, which will represent the hexadecimal equivalent of the decimal number, are written beginning with the least significant digit (right) and each new digit is written to the next most significant digit (the left) of the previous digit. Consider the number 175 decimal. 1 1 1 Reserved (DO NOT USE) TABLE 2. DECIMAL TO HEXADECIMAL QUOTIENT REMINDER HEX NUMBER 175/16 10 = A 15 = F 0xAF REGISTER BITS B6 B5 B4 COMMAND-I 0x00 OP2 OP1 OP0 B3 B2 TABLE 5. COMMAND-II REGISTER BITS REGISTER BITS Reg. Addr B2 B1 (Hex) B7 B6 B5 B4 B3 NAME B1 RESERVED RESERVED B0 DFLT (Hex) RES1 RES0 RANGE1 RANGE0 0x00 FULL SCALE LUX RANGE [B1:B0] TABLE 3. COMMAND-I REGISTER ADDRESS NAME Command-II Register (Address: 0x01) The Command-II register consists of ADC control bits. In this register, there are two range bits and two ADAC resolution bits. The default register value is 0x00 at power-on. Command-I Register (Address: 0x00) ADDR (HEX) B7 NOTE: 11. Intersil does not recommend using this mode COMMAND-II 0x01 DIVISION OPERATION B0 DFLT (Hex) 0x00 The full scale Lux range has four different selectable ranges. The range determines the full scale Lux range (1k, 4k, 16k, and 64k). Each range has a maximum allowable Lux value. Table 6 lists the possible values of FSR. TABLE 6. RANGE REGISTER BITS The Command-I register consists three operation mode bits. The default register value is 0x00 at power-on. Command-I Register (Address: 0x0 Operation Mode Bits[7:5]) The ISL29034 has different operating modes. These modes are selected by setting B7 to B5 bits on register address 0x00. The device powers up on a disable mode. Table 4 lists the possible operating modes. Submit Document Feedback 10 RANGE SELECTION B1 B0 FULL SCALE LUX RANGE (LUX) 0 0 0 1,000 1 0 1 4,000 2 1 0 16,000 3 1 1 64,000 FN8370.1 April 9, 2014 ISL29034 Integration Time ADC Resolution [B3:B2] ID Register (Address: 0x0F) B2 and B3 determine the ADC’s resolution and the number of clock cycles per conversion. Changing the number of clock cycles does more than just change the resolution of the device; it also changes the integration time, which is the period the device’s analog-to-digital (A/D) converter samples the photodiode current signal for a measurement. Table 7 lists the possible ADC resolution. Only 16bit ADC resolution can reject better 50/60Hz noise flickering light source. . B2 NUMBER OF CLOCK CYCLES n-BIT ADC 0 0 216 0 1 212 = 4,096 12 1 0 28 = 256 8 1 1 24 = 16 4 = 65,536 16 ID REGISTER BITS B7 B6 0x0F BOUT RESERVED B5 B4 B3 B2 B1 B0 1 0 1 DFLT RESERVED 1x101xxx The ID register has three different types of information. All RESERVED bits on the ISL29034 are Intersil used bits only. Bit0 to Bit2 and Bit6 are RESERVED bits where their value might change without any notification to the user. It is advised when using the identification bits to identify the device in a system the software should mask the Bit0 to Bit2 and Bit6 to Bit7 to properly identify the device. DEVICE ID BITS [B5:B3] Integration Time The ISL29034 provides 3-bits to identify the device in a system. These bits are located on register address 0x0F, Bit3 to Bit5. The identification bit value for the ISL29034 is xx101xxx. The device identification bits are read only bits. It is important to notice that Bit7 is a status bit for brownout condition (BOUT). TABLE 8. INTEGRATION TIME OF n-BIT ADC n # ADC BITS INTEGRATION TIME (ms) 4 0.022 8 0.352 12 5.6 16 105 BROWNOUT STATUS BIT TO BOUT [B7] Bit7 on register address 0x0F is a status bit for brownout condition (BOUT). The default value of this bit is “BOUT = 1” during the initial power-up, which indicates the device may possibly have gone through a brownout condition. Therefore, the status bit should be reset to “BOUT = 0” by an I2C write command during the initial configuration of the device. Data Registers (Addresses: 0x02 & 0x03) TABLE 9. ADC REGISTER BITS The default register value is 0xA8 at power-on. REGISTER BITS Reg. Addr (Hex) B7 B6 B5 B4 B3 B2 B1 B0 DFLT (Hex) DATALSB 0x02 D7 D6 D5 D4 D3 D2 D1 D0 0x00 DATAMSB 0x03 D15 D14 D13 D12 D11 D10 D9 D8 0x00 NAME ADDR NAME (Hex) RESERVED BITS [B2:B0] AND [B6] TABLE 7. ADC RESOLUTION DATA WIDTH B3 TABLE 11. ID REGISTER BITS Applications Information Figure 14 is a normalized spectral response of various type of light sources for reference. 1.0 TABLE 10. ADC DATA REGISTERS ADDRESS (hex) CONTENTS 0x02 D0 is LSB for 4-, 8-, 12- or 16-bit resolution; D3 is MSB for 4-bit resolution; D7 is MSB for 8-bit resolution 0x03 D15 is MSB for 16-bit resolution; D11 is MSB for 12-bit resolution Submit Document Feedback 11 0.9 NORMALIZED INTENSITY The ISL29034 has two 8-bit read-only registers to hold the upper and lower byte of the ADC value. The upper byte is accessed at address 0x03 and the lower byte is accessed at address 0x02. For 16-bit resolution, the data is from D0 to D15; for 12-bit resolution, the data is from D0 to D11; for 8-bit resolution, the data is from D0 to D7 and for 4-bit resolution, the data is from D0 to D3. The registers are refreshed after every conversion cycle. The default register value is 0x00 at power-on. FLUORESCENT 0.8 0.7 0.6 HALOGEN 0.5 INCAND. SUN 0.4 0.3 0.2 0.1 0 350 550 750 950 WAVELENGTH (nm) FIGURE 14. NORMALIZED SPECTRAL RESPONSE OF LIGHT SOURCES FN8370.1 April 9, 2014 ISL29034 Calculating Lux Noise Rejection The ISL29034’s ADC output codes, DATA, are directly proportional to Lux in the ambient light sensing. Electrical AC power worldwide is distributed at either 50Hz or 60Hz. Artificial light sources vary in intensity at the AC power frequencies. The undesired interference frequencies are infused on the electrical signals. This variation is one of the main sources of noise for the light sensors. Integrating type ADC’s have excellent noise-rejection characteristics for periodic noise sources whose frequency is an integer multiple of the conversion rate. By setting the sensor’s integration time to an integer multiple of periodic noise signal, the performance of an ambient light sensor can be improved greatly in the presence of noise. In order to reject the AC noise, the integration time of the sensor must to adjusted to match the AC noise cycle. For instance, a 60Hz AC unwanted signal’s sum from 0ms to k*16.66ms (k = 1,2...ki) is zero. Similarly, setting the device’s integration time to be an integer multiple of the periodic noise signal greatly improves the light sensor output signal in the presence of noise. (EQ. 1) E cal = α × DATA Where, Ecal is the calculated Lux reading. The constant α is determined by the Full Scale Range and the ADC’s maximum output counts. The constant is independent of the light sources (fluorescent, incandescent and sunlight) because the light sources IR component is removed during the light signal process. The constant can also be viewed as the sensitivity (the smallest Lux measurement the device can measure). Range α = ---------------------------Count max (EQ. 2) Where, Range is defined in Table 6 on page 10. Countmax is the maximum output counts from the ADC. Suggested PCB Footprint The transfer function used for n-bits ADC becomes: (EQ. 3) Range E cal = ------------------- × DATA n 2 Where, n = 4, 8, 12 or 16. This is the number of ADC bits programmed in the command register. 2n represents the maximum number of counts possible from the ADC output. Data is the ADC output stored in the data registers (02 hex and 03 hex). Enhancing EV Accuracy The device has on chip passive optical filter designed to block (reject) most of the incident Infra Red. However, EV measurement may be vary under differing IR-content light sources. In order to optimize the measurement variation between differing IR-content light sources, ISL29034 provides IR channel which is programmed at COMMAND-1 (Reg0x0) to measure IR level of differing IR-content light sources. The ISL29034’s ADC output codes, DATA, are directly proportional to the IR intensity received in the IR sensing. DATA IR = β × E IR (EQ. 4) Then EV accuracy can be found in Equation 5: EV Accuracy = KxDATA EV + β × DATA IR (EQ. 5) Here, DATAEV is the received ambient light intensity ADC output codes. K is a resolution of visible portion. Its unit is Lux/count. The typical values of K is 0.82. DATAIR is the received IR intensity. The constant β changes with the spectrum of background IR, such as A, F2 and D65 (Notes 8, 9 and 10). The β also changes with the ADC’s range and resolution selections. A typical β for range1 and range2 is -11292.86 and range3 and range4 is 2137.14 without IR tinted glass. Submit Document Feedback 12 It is important that users check the “Surface Mount Assembly Guidelines for Optical Dual Flat Pack No Lead (ODFN) Package” before starting ODFN product board mounting: TB477 Board Mounting Considerations For applications requiring the light measurement, the board mounting location should be reviewed. The device uses an Optical Dual Flat Pack No Lead (ODFN) package, which subjects the die to mild stresses when the printed circuit (PC) board is heated and cooled, which slightly changes the shape. Because of these die stresses, placing the device in areas subject to slight twisting can cause degradation of reference voltage accuracy. It is normally best to place the device near the edge of a board, or on the shortest side, because the axis of bending is most limited in that location. Layout Considerations The ISL29034 is relatively insensitive to layout. Like other I2C devices, it is intended to provide excellent performance even in significantly noisy environments. There are only a few considerations that will ensure best performance. Route the supply and I2C traces as far as possible from all sources of noise. Use two power-supply decoupling capacitors, 1µF and 0.1µF, placed close to the device. Soldering Considerations Convection heating is recommended for reflow soldering; direct-infrared heating is not recommended. The plastic ODFN package does not require a custom reflow soldering profile, and is qualified to +260°C. A standard reflow soldering profile with a +260°C maximum is recommended. FN8370.1 April 9, 2014 ISL29034 Temperature Coefficient Digital Inputs and Termination The limits stated for temperature coefficient (TC) are governed by the method of measurement. The “Box” method is usually used for specifying the temperature coefficient. The overwhelming standard for specifying the temperature drift of a reference is to evaluate the maximum voltage change over the specified temperature range. This yields ppm/°C, and is calculated using and is calculated using Equation 4: The ISL29034 digital inputs are guaranteed to CMOS levels. The internal register is updated on the rising edge of the clock. To minimize reflections, proper termination should be implemented. If the lines driving the clock and the digital inputs are 50Ω lines, then 50Ω termination resistors should be placed as close to the sensor inputs as possible, connected to the digital ground plane (if separate grounds are used). V HIGH – V LOW 6 TC = ---------------------------------------------------------------------------------- × 10 V NOMINAL × ( T HIGH – T LOW ) Typical Circuit (EQ. 6) where: VHIGH is the maximum reference voltage over the temperature range. A typical application for the ISL29034 is shown in Figure 15. The ISL29034’s I2C address is internally hard-wired as 1000100. The device can be tied onto a system’s I2C bus together with other I2C compliant devices. VLOW is the minimum reference voltage over the temperature range. VNOMINAL is the nominal reference voltage at +25°C. THIGH - TLOW is the specified temperature range (°C) 100 VDD VDD_PULLUP 1µF 4.7k 1 4.7k VDD SDA 4 SDA ISL29034 MCU SCL 3 SCL GND 2 FIGURE 15. ISL29034 TYPICAL CIRCUIT Submit Document Feedback 13 FIGURE 16. 4 LD ODFN SENSOR LOCATION OUTLINE FN8370.1 April 9, 2014 ISL29034 Revision History The revision history provided is for informational purposes only and is believed to be accurate, but not warranted. Please go to web to make sure you have the latest revision. DATE REVISION April 9, 2014 FN8370.1 CHANGE Initial Release About Intersil Intersil Corporation is a leading provider of innovative power management and precision analog solutions. The company's products address some of the largest markets within the industrial and infrastructure, mobile computing and high-end consumer markets. For the most updated datasheet, application notes, related documentation and related parts, please see the respective product information page found at www.intersil.com. You may report errors or suggestions for improving this datasheet by visiting www.intersil.com/ask. Reliability reports are also available from our website at www.intersil.com/support For additional products, see www.intersil.com/en/products.html Intersil products are manufactured, assembled and tested utilizing ISO9001 quality systems as noted in the quality certifications found at www.intersil.com/en/support/qualandreliability.html Intersil products are sold by description only. Intersil Corporation reserves the right to make changes in circuit design, software and/or specifications at any time without notice. Accordingly, the reader is cautioned to verify that data sheets are current before placing orders. Information furnished by Intersil is believed to be accurate and reliable. However, no responsibility is assumed by Intersil or its subsidiaries for its use; nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Intersil or its subsidiaries. For information regarding Intersil Corporation and its products, see www.intersil.com Submit Document Feedback 14 FN8370.1 April 9, 2014 ISL29034 Package Outline Drawing L4.1.5x1.3 4 LD 1.5X1.3 OPTICAL DUAL FLAT NO-LEAD (ODFN) Rev 5, 4/12 1.50 (0.55) A 6 PIN #1 INDEX AREA B 6 PIN 1 INDEX AREA 1 4 1.30 0.50 0.25 ±0.07 4 3 2 (4X) 0.10 0.10 M C A B 3X 0 . 40 ± 0 . 10 TOP VIEW BOTTOM VIEW SEE DETAIL "X" (0.55) 0.10 C (3x0.60) 0.70 ±0.05 (0.75) C BASE PLANE SEATING PLANE 4 1 (0.50) 0.08 C SIDE VIEW 2 3 (4 x 0.25) (1.30) C TYPICAL RECOMMENDED LAND PATTERN 0 . 2 REF 5 0 . 00 MIN. 0 . 05 MAX. DETAIL "X" NOTES: 1. Dimensions are in millimeters. Dimensions in ( ) for Reference Only. 2. Dimensioning and tolerancing conform to AMSE Y14.5m-1994. 3. Unless otherwise specified, tolerance : Decimal ± 0.05 4. Dimension applies to the metallized terminal and is measured between 0.18mm and 0.32mm from the terminal tip. 5. Tiebar shown (if present) is a non-functional feature. 6. The configuration of the pin #1 identifier is optional, but must be located within the zone indicated. The pin #1 indentifier may be 7. This package not defined by JEDEC, but MO-229 can be used as a general reference. either a mold or mark feature. Submit Document Feedback 15 FN8370.1 April 9, 2014