ZOPT3100 Data Sheet Revision 1.01

Data Sheet
Rev. 1.01 / September 2013
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Mobile Sensing ICs
Smart and Mobile
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Brief Description
ALS Features
The ZOPT3100 Sensor IC integrates an ambient
light sensor (ALS), a color sensor (CS), and a proximity sensor (PS), as well as an LED driver on a
single chip. The device is connected by an I²C™*
interface to a microcontroller. Other I²C™ or SMBus
devices can be connected to the same interface.
The device has a programmable interrupt with
hysteresis to respond to events and reduce the
microcontroller tasks.








The device allows adjusting the brightness as well
as the color of the display panel. This device can
also measure distance in parallel with ALS and CS
measurements in order to deactivate the touch
screen during phone calls.
CS Features




Features






Dynamic range : 0.006 lux to 32,000 lux
ALS measurement uses CS green filtered values
Temperature compensation
CS/ALS output resolution: 14 to 18 bits
Linear output code
50ms conversion rate for 14-bit resolution
50Hz/60Hz light flicker immunity
Fluorescent light flicker immunity

5 integrated photodiodes (1 proximity diode and
4 diodes for white, green, blue, and red channels)
5 analog-to-digital converters (ADCs) to measure
PS in parallel to ALS/CS
I²C™ capable of standard mode (100kHz) or fast
mode (400kHz) communication; 1.8V logic
compatible
Programmable interrupt function for ALS (green
channel) and PS with upper and lower thresholds
PS measurement parallel to ALS/CS measurements
Many measurement modes: PS+ALS+CS,
ALS+CS, PS+ALS, PS only, ALS only, CS only

Temperature compensation
CS/ALS output resolution: 14 to 18 bits
Linear output code
50ms conversion rate for 14-bit resolution
50Hz/60Hz light flicker immunity
Fluorescent light flicker immunity
Physical Characteristics




Wide operation temperature: -40 to +90 °C
Wide supply voltage: 2.4 to 3.6 V
Low supply current: < 200µA
(LED driver excluded)
Low standby current: < 2µA
ZOPT3100 Application Circuit
VDD
PS Features






High ambient light suppression
Built-in LED driver and detector
Detection of movement (in/out)
Cancelation of crosstalk (lowest PS value is
stored and subtracted from output value to
memorize the reflection quantity)
Programmable pulsed LED driver: up to 125mA
output current
11-bit resolution
* I2C is a trademark of NXP.
LED VDD
3.3V
3.3V
VDD
VDD
SCL
SDA
INT
PWM
SCL
SDA
INT
SEL
AGND
LED_GND
ZOPT3100
VSS
Microcontroller
For more information, contact ZMDI via [email protected].
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00 — September 13, 2013. All rights reserved. The material contained herein may not be reproduced, adapted, merged,
translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
ZOPT3100
Block Diagram
Applications
 Cellular phones
 Notebooks
 Consumer devices
Ordering Information
Product Sales Code
Description
Package
ZOPT3100AC6B
ZOPT3100 die — Temperature Range: -40 to +90 °C
Unsawn wafer
ZOPT3100 KIT
ZOPT3100 Evaluation Kit, including Evaluation Board,
cable, and 1 IC sample
Kit
Sales and Further Information
www.zmdi.com
[email protected]
Zentrum Mikroelektronik
Dresden AG
Global Headquarters
Grenzstrasse 28
01109 Dresden, Germany
ZMD America, Inc.
1525 McCarthy Blvd., #212
Milpitas, CA 95035-7453
USA
Central Office:
Phone +49.351.8822.0
Fax
+49.351.8822.600
USA Phone +855.275.9634
Phone +408.883.6310
Fax
+408.883.6358
European Technical Support
Phone +49.351.8822.7.772
Fax
+49.351.8822.87.772
DISCLAIMER: This information applies to a product under development. Its characteristics and specifications are subject to change without notice.
Zentrum Mikroelektronik Dresden AG (ZMD AG) assumes no obligation regarding future manufacture unless otherwise agreed to in writing. The
information furnished hereby is believed to be true and accurate. However, under no circumstances shall ZMD AG be liable to any customer,
licensee, or any other third party for any special, indirect, incidental, or consequential damages of any kind or nature whatsoever arising out of or
in any way related to the furnishing, performance, or use of this technical data. ZMD AG hereby expressly disclaims any liability of ZMD AG to any
customer, licensee or any other third party, and any such customer, licensee and any other third party hereby waives any liability of ZMD AG for
any damages in connection with or arising out of the furnishing, performance or use of this technical data, whether based on contract, warranty,
tort (including negligence), strict liability, or otherwise.
European Sales (Stuttgart)
Phone +49.711.674517.55
Fax
+49.711.674517.87955
Zentrum Mikroelektronik
Dresden AG, Japan Office
2nd Floor, Shinbashi Tokyu Bldg.
4-21-3, Shinbashi, Minato-ku
Tokyo, 105-0004
Japan
ZMD FAR EAST, Ltd.
3F, No. 51, Sec. 2,
Keelung Road
11052 Taipei
Taiwan
Phone +81.3.6895.7410
Fax
+81.3.6895.7301
Phone +886.2.2377.8189
Fax
+886.2.2377.8199
Zentrum Mikroelektronik
Dresden AG, Korea Office
U-space 1 Building
11th Floor, Unit JA-1102
670 Sampyeong-dong
Bundang-gu, Seongnam-si
Gyeonggi-do, 463-400
Korea
Phone +82.31.950.7679
Fax
+82.504.841.3026
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00— September 13, 2013. All rights reserved. The material contained herein may not be reproduced, adapted, merged,
translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
LEGAL NOTICE:
Products sold by ZMDI are covered exclusively by the ZMDI’s standard warranty, patent indemnification, and
other provisions appearing in ZMDI’s standard "Terms and Conditions." ZMDI makes no warranty (express,
statutory, implied and/or by description), including without limitation any warranties of merchantability and/or
fitness for a particular purpose, regarding the information set forth in the materials pertaining to ZMDI
products or regarding the freedom of any products described in such materials from patent and/or other
infringement. ZMDI assumes no liability for application assistance or customer product design. Customers
are responsible for their products and applications using ZMDI components.
ZMDI products are intended for use in consumer and commercial applications only. Applications
requiring extended temperature range, unusual environmental requirements, or high reliability
applications, such as military, medical life-support or life-sustaining equipment, are subject to prior
written agreement with ZMDI and product qualification for such applications.
ZMDI reserves the right to discontinue production and change specifications and prices, make corrections,
modifications, enhancements, improvements and other changes of its products and services at any time
without notice.
Please note that values specified as typical may differ from product to product. The values listed under “Min”
or “Max” are guaranteed by design or test.
Contents
1 IC Characteristics ......................................................................................................................................... 7 1.1. Absolute Maximum Ratings................................................................................................................... 7 1.2. Operating Conditions............................................................................................................................. 7 1.3. Electrical Parameters ............................................................................................................................ 8 1.4. Irradiance Responsivity at Characteristic Wavelengths ...................................................................... 10 2 Typical Device Parameters ........................................................................................................................ 11 3 Detailed Description ................................................................................................................................... 15 3.1. Block Diagram of the ZOPT3100 ........................................................................................................ 15 3.2. Application Circuit................................................................................................................................ 16 3.3. Pad Description ................................................................................................................................... 16 3.4. Modes of Operation ............................................................................................................................. 17 3.5. Conversion Control State Machine...................................................................................................... 17 3.5.1. Start Up after Power-On or Software Reset ................................................................................. 17 3.5.2. Standby Mode ............................................................................................................................... 17 3.5.3. ALS/CS and PS Operation............................................................................................................ 17 3.6. Color / Ambient Light Sensor............................................................................................................... 18 3.6.1. Gain Modes, Resolution, and Measurement Time ....................................................................... 19 3.7. Proximity Sensor Description .............................................................................................................. 20 Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
4 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.7.1. Operation Principle........................................................................................................................ 20 3.7.2. LED Driver..................................................................................................................................... 21 3.8. Interrupt Features ................................................................................................................................ 22 3.8.1. ALS Interrupt ................................................................................................................................. 23 3.8.2. PS Interrupt ................................................................................................................................... 23 3.8.3. I²C™ Interface............................................................................................................................... 25 3.8.4. I²C™ Address Decoding ............................................................................................................... 25 3.8.5. I²C™ Register Read...................................................................................................................... 26 3.8.6. Register Write ............................................................................................................................... 26 3.8.7. I2C™ Interface—Bus Timing ......................................................................................................... 27 3.9. Summary of Internal Registers ............................................................................................................ 28 3.10. Detailed Description of Registers ........................................................................................................ 29 3.10.1. CS_ALS_CTRL ............................................................................................................................. 29 3.10.2. PS_CTRL ...................................................................................................................................... 30 3.10.3. PS_LED ........................................................................................................................................ 30 3.10.4. PS_N_PULSES............................................................................................................................. 31 3.10.5. PS_MEAS_RATE.......................................................................................................................... 31 3.10.6. CS_ALS_MEAS_RATE ................................................................................................................ 32 3.10.7. PART_ID ....................................................................................................................................... 33 3.10.8. CS_ALS_PS_STATUS ................................................................................................................. 33 3.10.9. PS_DATA...................................................................................................................................... 34 3.10.10. CS_DATA_RED ............................................................................................................................ 34 3.10.11. CS_DATA_GREEN....................................................................................................................... 35 3.10.12. CS_DATA_BLUE .......................................................................................................................... 35 3.10.13. CS_DATA_WHITE ........................................................................................................................ 36 3.10.14. INT_CFG....................................................................................................................................... 36 3.10.15. PS_THRES_UP ............................................................................................................................ 37 3.10.16. PS_THRES_LOW ......................................................................................................................... 37 3.10.17. PS Intelligent Cancellation Level .................................................................................................. 38 3.10.18. ALS_THRES_UP .......................................................................................................................... 38 3.10.19. ALS_THRES_LOW ....................................................................................................................... 39 3.10.20. ALS_THRES_VAR........................................................................................................................ 39 3.10.21. INT_PST ....................................................................................................................................... 40 4 Ordering Information .................................................................................................................................. 41 5 Related Documents.................................................................................................................................... 41 6 Document Revision History ........................................................................................................................ 41 Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
5 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
List of Figures
Figure 2.1 Figure 2.2 Figure 2.3 Figure 2.4 Figure 2.5 Figure 2.6 Figure 2.7 Figure 2.8 Figure 2.9 Figure 2.10 Figure 2.11 Figure 2.12 Figure 2.13 Figure 2.14 Figure 2.15 Figure 3.1 Figure 3.2 Figure 3.3 Figure 3.4 Figure 3.5 Figure 3.6 Figure 3.7 Figure 3.8 Figure 3.9 Figure 3.10 Figure 3.11 Figure 3.12 Figure 3.13 Spectral Response ....................................................................................................................... 11 ALS Sensitivity vs. Angle of Incidence ......................................................................................... 11 ALS Linearity of all Gain Ranges (Default 14-Bit Mode) .............................................................. 11 ALS vs. Temperature at 1000Lux ................................................................................................. 12 ALS vs. Voltage at 1000Lux ......................................................................................................... 12 ALS Typical Dark Count vs. Temperature .................................................................................... 12 Standby Current vs. Temperature ................................................................................................ 12 Active Current vs. Supply Voltage ................................................................................................ 13 Normalized Active Current vs. Temperature ................................................................................ 13 PS Count vs. Distance for Several LED Pulse Numbers ............................................................. 13 Relative PS Code Variation vs. Ambient Light ............................................................................. 13 Relative PS Code Variation over Temperature (including typical IR-LED) .................................. 14 Relative PS Code Variation over VDD ......................................................................................... 14 PWM Output Driver Characteristic................................................................................................ 14 Output Low Level vs. Sink Current for SDA and INT.................................................................... 14 Simplified ZOPT3100 IC Block Diagram ...................................................................................... 15 Typical Application Circuit............................................................................................................. 16 Main State Machine ...................................................................................................................... 18 LED Pulse Modulation .................................................................................................................. 20 Proximity Sensor Measurement Principle..................................................................................... 21 Connection of Proximity IR Diode (Principle Architecture) ........................................................... 22 Interrupt Unit ................................................................................................................................. 22 ALS Interrupt Source Generator ................................................................................................... 23 PS Interrupt Source Generator ..................................................................................................... 24 PS Interrupt Behavior ................................................................................................................... 24 I²C™ Register Read ..................................................................................................................... 26 I²C™ Register Write...................................................................................................................... 27 Bus Timing .................................................................................................................................... 27 List of Tables
Table 3.1 Table 3.2 Table 3.3 Table 3.4 Table 3.5 Table 3.6 Table 3.7 Table 3.8 Table 3.9 Table 3.10 Pad Description............................................................................................................................. 16 Modes of Operation ...................................................................................................................... 17 ALS Gain Ranges ......................................................................................................................... 19 Programmable Settings for IR LED Pulse Modulation and LED Current ..................................... 20 PS Measurement Time ................................................................................................................. 21 Duration of PS Accumulation Phase ............................................................................................ 21 Supported I²C™ Clock Frequencies ............................................................................................. 25 I²C™ Address ............................................................................................................................... 25 Bus Timing Characteristic............................................................................................................. 27 Register Overview ........................................................................................................................ 28 Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
6 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
1
IC Characteristics
1.1.
Absolute Maximum Ratings
The absolute maximum ratings are stress ratings only. The device might not function or be operable above the
recommended operating conditions given in section 1.2. Stresses exceeding the absolute maximum ratings might
also damage the device. In addition, extended exposure to stresses above the recommended operating
conditions might affect device reliability. ZMDI does not recommend designing to the “Absolute Maximum
Ratings.”
Parameter
Symbol
Maximum input supply voltage (VDD pad)
Max.
Units
4.0
V
-0.5
4.0
V
-0.5
4.5
V
T AMB_MAX
-40
90
°C
T STOR
-45
95
°C
I IN
-100
100
mA
V I2C
Maximum voltage on PWM pad
V LED
Maximum operating temperature range
Storage temperature
Maximum input current into any pad except
supply pads (latch-up)
Electrostatic Discharge Protection1)
1.2.
Min.
V DD-GND
Maximum voltage on SCL, SDA and INT pads
1)
Conditions
V HBM
Voltage to LED_GND
Human Body Model,
JESD22-A114
2000
V
HBM: C = 100pF charged to V HBM with resistor R = 1.5k in series, valid for all pads.
Operating Conditions
Parameter
Symbol
Conditions
Min.
Typ.
Max.
Units
Voltage supply on VDD pad
V DD
2.4
3.6
V
Ambient operating temperature range
T AMB
-40
90
°C
2.3
4.5
V
External supply for external LED
Data Sheet
September 13, 2013
V EXT_LE
D
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
7 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
1.3.
Electrical Parameters
V DD = 2.8V, T AMB = -40°C to +90°C, unless otherwise noted.
Symbol
Conditions
ALS active mode current 1)
I ALS
Maximum selectable dutycycle
175
µA
CS active mode current 1)
I CS
Maximum selectable dutycycle
250
µA
PS active mode current 2)
I PS
Maximum selectable dutycycle
120
µA
Parameter
Min.
Typ.
Max.
Unit
Current Consumption
I2C™ Interface
I²C™ signal input high
V I2Chigh
1.3
VDD
V
I²C™ signal input low
V I2Clow
0
0.4
V
Characteristics ALS/CS
Spectral response
See Figure 2.1.
Gain range 1 in Lux
G1
2
32768
Lux
Gain range 5 in Lux
G5
0.4
6554
Lux
Gain range 10 in Lux 3)
G 10
0.2
3277
Lux
Gain range 20 in Lux 3)
G 20
0.1
1638
Lux
10
%
10
%
Green LED 538nm
response; T AMB = +25°C
Calibrated Lux error in gain range 1
Light source matching
Fluorescent / incandescent
light in
ALS RGB Mode
Color temperature accuracy
±1000
K
Minimum integration time
t INTmin
With 50/60 Hz rejection
50
ms
Maximum integration time
t INTmax
With 50/60 Hz rejection
800
ms
18
Bit
±5
%
ALS/CS output resolution
RES ALS-
14
CS
50/60 Hz flicker noise error
Dark level count on RGB Cannels3)
Data Sheet
September 13, 2013
0 Lux, T AMB = +25°C,
18-bit range
0
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
Lux
8 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Parameter
Symbol
Conditions
Min.
Typ.
Max.
Unit
850
940
nm
25
125
mA
-10
+10
%
100
kHz
Characteristics PS
Center wavelength
LED pulse current
I PULSE
LED current accuracy
Frequency of PS LED pulse
f PULSE
60
Number of PS LED pulses
N PULSE
1
Duty ratio of PS LED pulses
D PULSE
Integration time
t INT
32
50
Configurable through PWM
pulse count and frequency
settings
0.01
Measurement resolution
%
0.5
ms
11
4 pulses, 60kHz PWM,
850nm
Sensor sensitivity on chip surface
1
Ambient light tolerance on IC surface
Voltage drop on LED driver
60
Bit
2047
40
V LEDdriver
uW/
cm²
kLux
550
700
mV
5
10
msec
Conversion Timing
Wake-up time from Standby Mode
t WAKE-STB
From Standby to Active
Mode (measurement can
start)
Timing accuracy 5)
-25
+25
%
Measurement repeat rate ALS
50
2000
ms
Measurement repeat rate PS
6.25
400
ms
1)
For ALS/CS, the maximum duty cycle is selected with 50ms measurement time (default), 50ms repeat rate.
2)
For PS, the maximum duty cycle is selected with 32 LED pulses with a 6.25ms repeat rate.
3)
Values valid up to 60°C.
4)
Temperature Compensation is available only on RGB channels. The White Channel is not temperature compensated.
5)
All specifications related to timing can vary by this value; for example, a repeat rate of 50ms could vary up to 62.5ms.
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
9 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
1.4.
Irradiance Responsivity at Characteristic Wavelengths
The following table provides the specifications for irradiance responsivity in units of counts/(μW/cm2)
Test conditions are V DD = 3.0V, T AMB = 25°C, gain mode = 1, output resolution = 14-bit
Red Channel 1)
Test Conditions
Min.
Typ.
Max.
Green Channel 1)
Min.
Typ.
Max.
Blue Channel 1)
Min.
Typ.
Max.
White Channel
Min.
Typ.
Max.
λ D =470nm (see note 2)
0%
16%
18%
54%
71%
107%
1.91
2.39
2.87
λ D =530nm (see note 3)
15%
46%
83%
86%
0%
14%
2.92
3.64
3.64
λ D =625nm (see note 4)
84%
114%
0%
17%
0%
14%
3.46
4.32
4.32
1)
The percentage shown represents the ratio of the respective red, green, or blue channel value to the white channel value.
2)
The 470nm input irradiance is supplied by a blue LED with spectral bandwidth (50% irradiance) of 25nm.
3)
The 530nm input irradiance is supplied by a green LED with spectral bandwidth (50% irradiance) of 33nm.
4)
The 615nm input irradiance is supplied by a red LED with spectral bandwidth (50% irradiance) of 18nm.
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
10 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
2 Typical Device Parameters
(V DD = 3.0V, default power-up setting, unless otherwise noted.)
Figure 2.1 Spectral Response
Figure 2.2 ALS Sensitivity vs. Angle of Incidence
1.1
0.900
1
0.800
0.9
0.8
0.700
Normalized Counts
Spectral Response
1.000
0.600
0.500
0.400
0.300
0.7
0.6
0.5
0.4
0.3
0.200
0.2
0.100
0.1
0.000
0
300
400
500
600
700
800
900
1000
1100
Wavelength
R
G
B
W
‐90 ‐80 ‐70 ‐60 ‐50 ‐40 ‐30 ‐20 ‐10 0
10 20 30 40 50 60 70 80 90
Angle of incidence [deg]
human‐eye
Proximity
ALS channel
Cosine reference
Figure 2.3 ALS Linearity of all Gain Ranges
(Default 14-Bit Mode)
18000
16000
14000
Output Count
12000
10000
8000
6000
4000
2000
0
0
2000
4000
6000
8000
10000
Lux
X1
Data Sheet
September 13, 2013
X5
X10
X20
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
11 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Figure 2.5 ALS vs. Voltage at 1000Lux
3.0%
3.0%
2.0%
2.0%
1.0%
1.0%
relative dev. [%]
relative dev. [%]
Figure 2.4 ALS vs. Temperature at 1000Lux
0.0%
‐1.0%
‐2.0%
0.0%
‐1.0%
‐2.0%
‐3.0%
‐3.0%
‐40
‐20
0
20
40
60
80
2.4
Temperature [°C]
Gain 1
Gain 5
3
3.6
Supply voltage [V]
Gain 10
Gain 20
Gain 1 Gain 5 Gain 10 Gain 20 Figure 2.6 ALS Typical Dark Count vs. Temperature Figure 2.7 Standby Current vs. Temperature
10
1.8
9
1.6
8
1.4
Standby Current [µA]
7
Count
6
5
4
3
1.2
1
0.8
0.6
0.4
2
0.2
1
0
0
‐40
‐25
‐15
‐5
5
15
25
35
Temperature [°C]
Data Sheet
September 13, 2013
45
55
65
75
85
‐40
25
85
Temperature [°C]
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
12 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Figure 2.9 Normalized Active Current vs.
Temperature
Figure 2.8 Active Current vs. Supply Voltage
ALS/CS: default setting, PS: 8 pulses, 6.25ms repeat rate
1.2
250
normalized current consumption
1.15
Current Consumption [µA]
200
150
100
50
1.1
1.05
1
0.95
0.9
0.85
0.8
0
2.4
2.7
3
3.3
‐40
3.6
25
ALS
CS
ALS
PS
Figure 2.10 PS Count vs. Distance for Several LED
Pulse Numbers
2250
10
2000
9
1750
8
1500
7
1250
6
1000
750
PS
5
4
500
3
250
2
0
CS
Figure 2.11 Relative PS Code Variation vs. Ambient
Light
rel. dev [%]
Count
85
Temperature [°C]
Supply voltage [V]
1
0
2
4
6
8
10
Distance [cm]
8
Data Sheet
September 13, 2013
16
32
12
14
16
0
1000
3000
5000
7000
9000
11000
13000
15000
Ambient Light [Lux]
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
13 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Figure 2.13 Relative PS Code Variation over VDD
Figure 2.12 Relative PS Code Variation over
Temperature (including typical IR-LED)
5
4%
4
3
2
0%
rel. deviation [%]
rel. deviation [%]
2%
‐2%
‐4%
1
0
‐1
‐2
‐6%
‐3
‐8%
‐4
‐10%
‐5
‐40
‐20
0
20
40
60
80
2.4
2.6
2.8
Temperature
Figure 2.14 PWM Output Driver Characteristic
3.2
3.4
3.6
Figure 2.15 Output Low Level vs. Sink Current for
SDA and INT
140
250
120
200
100
LOW Level [mV]
LED Driver Current [mA]
3
Vdd [V]
80
60
40
150
100
50
20
0
0
0
0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
5
10
15
20
LOW Level Input Current [mA]
4.5
PWM‐pin supply voltage [V]
25 mA
Data Sheet
September 13, 2013
50 mA
75 mA
100 mA
125 mA
INT | VDD 2.4
INT | VDD 3.0
INT | VDD 3.6
SDA | VDD 2.4
SDA | VDD 3.0
SDA | VDD 3.6
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
14 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3 Detailed Description
The ZOPT3100 contains different photodiodes for proximity, red, green, blue, and white color current
measurement. The photodiode currents are converted to digital values by ADCs. The ZOPT3100 also includes a
driver circuit for an external proximity LED, as well as some peripheral circuits such as an internal oscillator, a
current source, voltage reference, and internal fuses to store trimming information.
3.1.
Block Diagram of the ZOPT3100
Figure 3.1 Simplified ZOPT3100 IC Block Diagram
VDD
2.4 to 3.6V
Regulator
ADC
Main State Machine
Fuses
ADC
ADC
ADC
CS/ALS
FSM
Reference
Interrupt
FSM
INT
Register File
SDA
Bandgap
I²C
PS
FSM
SCL
SEL
Dual
Slope ADC
11 Bit
POR
IR LED
PWM
OSC
IR LED
Driver
LED GND
AGND
= Analog Block
Data Sheet
September 13, 2013
= Digital Block
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
15 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.2.
Application Circuit
Figure 3.2 Typical Application Circuit
3.3.
Pad Description
Table 3.1
Pad Description
Number
Pad Name
I/O Type
1
PWM
OUT
2
SEL
IN
3
LED_GND
GROUND
LED Driver Ground
4
AGND
GROUND
Analog Ground
5
INT
OUT
6
SCL
IN
I2C™ serial clock line
7
SDA
IN/OUT
I2C™ serial data line
8
VDD
SUPPLY
Digital/analog power supply
Data Sheet
September 13, 2013
Description
External LED driver pad
I2C™ slave address selector pad
Interrupt pad
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
16 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.4.
Modes of Operation
Table 3.2
Modes of Operation
ALS / CS
Standby
Active
PS
Mode
Number
Mode Name
1
Standby
2
CS+PS
CS

3
ALS+PS
ALS

4
CS only
CS

5
ALS only
ALS

6
PS only
3.5.
3.5.1.
Standby

Active



Conversion Control State Machine
Start Up after Power-On or Software Reset
The main state machine is set to “Start State” during power-on or software reset. As soon as the reset is released,
the internal oscillator is started and the SEL pad is checked for the user-selected I²C™ address programming
(see section 3.8.4). Once the address detection is completed, the ZOPT3100 reads the programmed trim values
from the internal fuse block and enters Standby Mode as soon as the Idle State is reached.
NOTE: As long as the I²C™ address detection is not finished the device will respond with NACK to any I²C™
command and ignore any request to avoid response on a wrong I²C™ address.
3.5.2.
Standby Mode
Standby Mode is the default mode after power-up. In this state, the oscillator, all internal support blocks, and the
ADCs are switched off but I²C™ communication is fully supported.
3.5.3.
ALS/CS and PS Operation
ALS/CS measurements can be activated by setting the CS_ALS_EN bit to 1 (see sections 3.8.6 and 3.10.1). If the
Color mode bit is also set to 1, all four color sensor ADCs will be activated. If the Color mode bit is set to 0, only
the ADCs that are required for the ambient light sensing (green and white) will be activated.
A PS measurement can be activated by setting the PS_EN bit to 1 (see section 3.10.2).
As soon as the PS and/or the ALS/CS sensors become activated through an I²C™ command, the internal support
blocks are powered on. Once the voltages and currents are settled (typical after 5ms), the state machine checks
for trigger events from a measurement scheduler to start ALS/CS or PS conversions according to the selected
measurement repeat rates (see sections 3.10.6 and 3.10.5).
Once PS_EN or CS_ALS_EN is changed back to 0, a running conversion on the respective channel will be
completed and the relevant ADCs and support blocks will move to power-down state.
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
17 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Figure 3.3 Main State Machine
Start
Check Sel Pin
Fuse Read
Idle
PS_EN=1 ||
CS_ALS_EN==1
PS_EN=0
CS_ALS_EN==0
Priority 1
Check PS
Wait for Osc.
Powerup
Priority 1
Check ALS/
CS
PS_EN=1
Priority 2
Precharge
PS
Clear Register
Priority 2
CSS_ALS_EN=1
Do ALS/CS
Light
(ADC ms)
Do PS
(12.5ms)
3.6.
Color / Ambient Light Sensor
The Color/Ambient Light Sensor can be operated in either ALS Mode (white and green channel active) or in Color
Sensing Mode (white, blue, green, and red channels active). It can be operated independently and in parallel to
the Proximity Sensor.
The output of the Color Sensor can be used to calculate the correlated color temperature (CCT) of the received
light and to improve the accuracy of the ambient light measurement. Respective formulas and algorithms are
described in detail in the application notes ZOPT3100_CCT_v*.pdf and ZOPT3100_ALS-RGB_v*.pdf.
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
18 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.6.1.
Gain Modes, Resolution, and Measurement Time
There are four gain modes to compensate the loss of light due to the phone cover. The microcontroller can
calculate the ambient light in Lux by multiplying the ADC count value of the green channel with the appropriate
output scaling coefficient.
Depending on the ADC measurement time, the resolution of the ADC is adjusted. All ADCs of the color sensor
use the same gain and measurement time settings.
Table 3.3
ALS Gain Ranges
Gain Mode
Gain Mode
1
5
Effective Output
Resolution
Measurement
Time
Minimum
Detection
Maximum
Detection
Result
Resolution
Minimum
Detection
Maximum
Detection
Result
Resolution
Bit
(ms)
(Lux)
(Lux)
(Lux/Step)
(Lux)
(Lux)
(Lux/Step)
14 (default)
50
2
32768
2.0000
0.4
6554
0.4000
15
100
1
32768
1.0000
0.2
6554
0.2000
16
200
0.5
32768
0.5000
0.1
6554
0.1000
17
400
0.25
32768
0.2500
0.05
6554
0.0500
18
800
0.125
32768
0.1250
0.025
6554
0.0250
Gain Mode
Gain Mode
10
20
Effective Output
Resolution
Measurement
Time
Minimum
Detection
Maximum
Detection
Result
Resolution
Minimum
Detection
Maximum
Detection
Result
Resolution
Bit
(ms)
(Lux)
(Lux)
(Lux/Step)
(Lux)
(Lux)
(Lux/Step)
14 (default)
50
0.2
3277
0.2000
0.1
1638
0.1000
15
100
0.1
3277
0.1000
0.05
1638
0.0500
16
200
0.05
3277
0.0500
0.025
1638
0.0250
17
400
0.025
3277
0.0250
0.0125
1638
0.0125
18
800
0.0125
3277
0.0125
0.00625
1638
0.0063
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
19 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.7.
Proximity Sensor Description
3.7.1.
Operation Principle
The Proximity Sensor measures the amount of reflected IR light power from a target object. The IR transmitter is
realized with an external infrared LED (peak wavelength of 850nm or 940nm) that must be placed close beside
the ZOPT3100. The IR LED is controlled via the PWM output pad of the IC as described below.
The IR receiver is integrated on-chip. Its analog output signal is converted to a digital value by an on-chip ADC.
The conversion result is stored in an output register that can be read out by an external MCU.
A programmable cancelation value can be automatically subtracted from the PS conversion result to correct the
optical IR light crosstalk effect in the package. The external microcontroller must determine the appropriate
cancelation value during system start-up.
The Proximity Sensor can be operated independently and in parallel to the Color/Ambient Light Sensor.
IR LED pulse modulation and LED current are programmable as follows (see section 3.10.3 and 3.10.4):
Table 3.4
Programmable Settings for IR LED Pulse Modulation and LED Current
Setting
LED Current
Number of LED Pulses
Pulse Period
Symbol
Range of Settings
I PWM
25 to 125mA
N PULSES
1 to 32
t PER
1/100kHz to 1/60kHz
Figure 3.4 LED Pulse Modulation
The duty cycle of LED pulse modulation is always fixed at 50%.
The measurement cycle of the Proximity Sensor is divided into two phases:


Light accumulation phase
ADC conversion phase
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
20 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Figure 3.5 Proximity Sensor Measurement Principle
The measurement time consists of the accumulation phase and the conversion phase (see Table 3.5). The
duration of the accumulation phase depends on the selected number of pulses and the selected pulse frequency
(see Table 3.6). The duration of the conversion phase is fixed at 391µs (varies with the tolerance of the oscillator).
Table 3.5
PS Measurement Time
Measurement Time
Measurement
Resolution
PS
Table 3.6
11
Accumulation
De-integration
/Conversion
N PULSE *t PULSE
391µs
Total measurement time depends
on number and frequency of LED
pulses sent
Duration of PS Accumulation Phase
Pulse Frequency
t ACCUM MIN (1 pulse)
t ACCUM MAX (32 pulses)
60kHz (default)
16.7µs
534.4µs
70kHz
14.3µs
457.6µs
80kHz
12.5µs
400.0µs
90kHz
11.1µs
355.2µs
100kHz
10.0µs
320.0µs
3.7.2.
Comments
LED Driver
The LED driver is used to generate a PWM signal for the externally connected LED that is used for the proximity
measurement.
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
21 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Figure 3.6 Connection of Proximity IR Diode (Principle Architecture)
2.3...4.5V
PWM
PWM
Current
adjust
3.8.
LED_GND
Interrupt Features
The ZOPT3100 generates independent ALS and PS interrupt signals that can be multiplexed and output to the
INT pad (see Figure 3.7). The interrupt conditions are always evaluated after completion of a new conversion on
the ALS and PS channels.
The PS Logic Output Mode has priority over any other interrupt signal. If selected (PS_LOGIC_MODE=1; see
section 3.10.14), no ALS interrupt can be signaled at the INT pad.
Both ALS and PS interrupts are active low.
Figure 3.7 Interrupt Unit
ps_thres_up
ps_thres_low
ps_persist
ps_logic_mode
IntUnit
ps_logic
ps_data
PSIntSrcGen
ps_int_source
1
als_data
ALSIntSrcGen
als_thres_up
als_thres_low
als_thres_var
als_persist
Data Sheet
September 13, 2013
als_int_source
0
int
als_int_en
ps_int_en
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
22 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.8.1.
ALS Interrupt
The ALS interrupt is enabled by ALS_INT_EN=1 (see section 3.10.14). It can function as either threshold
triggered (ALS_VAR_MODE=0) or variance trigged (ALS_VAR_MODE=1).
The ALS threshold interrupt is enabled with ALS_INT_EN=1 and ALS_VAR_MODE=0. It is set when the ALS
data (green channel) is below the lower or above the upper ALS threshold (see sections 3.10.18 and 3.10.19) for
a specified number of consecutive measurements (1+ALS_PERSIST; see section 3.10.21).
The ALS variance interrupt is enabled with ALS_INT_EN=1 and ALS_VAR_MODE=1. It is set when the absolute
value of the difference between previous and current ALS data is above the decoded ALS variance threshold (see
section 3.10.20) for a specified number of consecutive measurements (1+ALS_PERSIST).
The ALS interrupt source generator is shown in Figure 3.8.
Figure 3.8 ALS Interrupt Source Generator
The als_int_source signal is also stored in the CS_ALS_PS_STATUS register as flag bit ALS interrupt status (see
section 3.10.8). The ALS interrupt status flag bit is cleared by reading the CS_ALS_PS_STATUS register. A
cleared ALS interrupt status flag will also clear the interrupt signal on the INT pad.
3.8.2.
PS Interrupt
The PS interrupt is enabled with PS_INT_EN=1 (see section 3.10.14). It triggers when the PS conversion result is
above the upper or below the lower PS threshold (see sections 3.10.15 and 3.10.16) for a specified number of
consecutive measurements (1+PS_PERSIST; see section 3.10.21).
The ps_logic signal is set to 0 if the PS data is below the lower PS threshold, and it is set to 1 it if the PS data is
above the upper PS threshold.
There are two options to indicate a PS interrupt signal on the INT pad of the ZOPT3100: as a continuous logic
signal (PS_LOGIC_MODE=1; see section 3.10.14) or as an edge-triggered interrupt signal
(PS_LOGIC_MODE=0), which is cleared with the next read-out of the CS_ALS_PS_STATUS register.
The PS interrupt source generator is shown in Figure 3.9.
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
23 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Figure 3.9 PS Interrupt Source Generator
The ps_int_source and the ps_logic signals are also stored in the CS_ALS_PS_STATUS register as the flag bits
PS interrupt status and PS logic signal status respectively (see section 3.10.8) . The PS interrupt status flag is
cleared by reading the CS_ALS_PS_STATUS register. The PS logic signal status flag always retains the value of
the ps_logic signal.
Figure 3.10 PS Interrupt Behavior
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
24 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.8.3.
I²C™ Interface
The ZOPT3100 is equipped with an I²C™ interface for control and data communication. The chip always operates
as a slave. The device offers three different 7-bit slave addresses that are selectable via the SEL pad. A
read/write bit must be appended to the slave address by the master device to properly communicate with the
device.
The interface is compatible with standard mode (100kHz) and fast mode (400kHz) communication.
Table 3.7
Supported I²C™ Clock Frequencies
Mode
Frequency
Transient Noise Filter
Standard
100kHz
50ns
Fast
400kHz
50ns
The I²C™ circuitry is always active (Standby or Active Mode of ZOPT3100). As long as the SEL pad is not yet
decoded, the device will respond with “NACK” to any request and ignore the possible commands. The attempt to
read or write to non-existing addresses will also be answered with “NACK.”
3.8.4.
I²C™ Address Decoding
The I²C™ address decoding is done during start up after power-on-reset or a software reset. Three different I²C™
addresses can be selected through the definition of the logic level at the “SEL” pad (see Table 3.8).
I²C™ Address
Table 3.8
I²C™ Address
SEL Pad Terminal Level
7 Bits
Write
Read
V DD
1010 011x BIN
A6 HEX
A7 HEX
Floating (default)
1010 010x BIN
A4 HEX
A5 HEX
GND
1010 001x BIN
A2 HEX
A3 HEX
The SEL pin read cycle is only be executed once after power-on-reset or software reset.
Note: A change of the input level at the SEL pad during operation (after ZOPT3100 initialization)
cannot be detected.
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
25 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.8.5.
I²C™ Register Read
The chip’s registers can be read individually or in block read mode. When two or more bytes are read in block
read mode, reserved register addresses are skipped and the next valid address is referenced. If the last valid
address has been reached, but the master continues with the block read, the address counter in the ZOPT3100
will not roll over and the ZOPT3100 returns 00 HEX for every subsequent byte read.
The block read operation is the only way to ensure correct data read out of multi-byte registers and to avoid
splitting of results with HIGH and LOW bytes originating from different conversions. During block read access on
ALS/CS and PS result registers, the result update is blocked.
If a read access is started on an address belonging to a non-readable register, the ZOPT3100 will return NACK
until the I2C™ operation is ended.
Read operations must follow the timing diagram in Figure 3.11.
Figure 3.11 I²C™ Register Read
3.8.6.
Register Write
The chip’s registers can be written to individually or in block write mode. When two or more bytes are written in
block write mode, reserved registers and read-only registers are skipped. The transmitted data is automatically
applied to the next writable register. If a register includes read (R) and read/write (RW) bits, the register is not
skipped. Data written to read-only bits are ignored.
If the last valid address of the ZOPT3100’s address range is reached but the master attempts to continue the
block write operation, the address counter of the ZOPT3100 will not roll over. The ZOPT3100 will return NACK for
2
every following byte sent by the master until the I C™ operation is ended.
If a write access is started on an address belonging to a non-writeable register, the ZOPT3100 will return NACK
until the I2C™ operation is ended.
Write operations must follow the timing diagram in Figure 3.12.
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
26 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Figure 3.12 I²C™ Register Write
3.8.7.
I2C™ Interface—Bus Timing
Figure 3.13 Bus Timing
Table 3.9
Bus Timing Characteristic
SYMBOL
Standard
MIN
Fast
MIN
UNITS
f SCL
100
400
kHz
t HDSTA
4
s
Min SCL clock low width
t LOW
4.7
s
Min SCL clock high width
t HIGH
4
s
Start condition setup time relative to SCL edge
t SUSTA
4.7
s
PARAMETER
SCL clock frequency
Start condition hold time relative to SCL edge
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
27 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
SYMBOL
Standard
MIN
Data hold time on SDA relative to SCL edge
t HDDAT
0
Data setup time on SDA relative to SCL edge
t SUDAT
0.1
Stop condition setup time on SCL
t SUSTO
4
s
t BUS
4.7
s
PARAMETER
Bus free time between stop condition and start condition
3.9.
Fast
MIN
UNITS
s
0.1
s
Summary of Internal Registers
Table 3.10 Register Overview
Address
Type
Name
80 HEX
R/W
CS_ALS_CTRL
81 HEX
82 HEX
83 HEX
84 HEX
85 HEX
RW
RW
RW
RW
RW
PS_CTRL
PS_LED
PS_N_PULSES
PS_MEAS_RATE
CS_ALS_MEAS_RATE
86 HEX
87 HEX
88 HEX
89 HEX
8A HEX
8B HEX
8C HEX
8D HEX
8E HEX
8F HEX
90 HEX
91 HEX
92 HEX
93 HEX
94 HEX
95 HEX
96 HEX
97 HEX
98 HEX
99 HEX
R
PART_ID
Reserved
CS_ALS_PS_STATUS
PS_DATA
PS_DATA
CS_DATA_RED_0
CS_DATA_RED_1
CS_DATA_RED_2
CS_DATA_GREEN_0
CS_DATA_GREEN_1
CS_DATA_GREEN_2
CS_DATA_BLUE_0
CS_DATA_BLUE_1
CS_DATA_BLUE_2
CS_DATA_WHITE_0
CS_DATA_WHITE_1
CS_DATA_WHITE_2
Reserved
INT_CFG
PS_THRES_UP_0
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
RW
RW
Data Sheet
September 13, 2013
Description
ALS,CS operation mode control
SW reset
PS operation mode control
PS LED settings
PS number of LED pulses
PS measurement rate in Active Mode
CS/ALS measurement rate in Active Mode, CS/ALS
resolution, and ALS gain
Part number ID and revision ID
-Interrupt status, data status, and PS logic signal status
PS measurement data, least significant bits
PS measurement data, most significant bits, and overflow
CS red measurement data, LSB
CS red measurement data, intervening bits
CS red measurement data, MSB
CS green/ALS measurement data, LSB
CS green/ALS measurement data, intervening bits
CS green/ALS measurement data, MSB
CS blue measurement data, LSB
CS blue measurement data, intervening bits
CS blue measurement data, MSB
CS white measurement data, LSB
CS white measurement data, intervening bits
CS white measurement data, MSB
-Interrupt configuration and PS logic mode
PS interrupt upper threshold, LSB
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
28 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
Address
Type
Name
9A HEX
9B HEX
9C HEX
9D HEX
9E HEX
9F HEX
A0 HEX
A1 HEX
A2 HEX
A3 HEX
A4 HEX
A5 HEX
A6 HEX
A7 HEX
RW
RW
RW
PS_THRES_UP_1
PS_THRES_LOW_0
PS_THRES_LOW_1
Reserved
PS_CAN_0
PS_CAN_1
ALS_THRES_UP_0
ALS_THRES_UP_1
ALS_THRES_UP_2
ALS_THRES_LOW_0
ALS_THRES_LOW_1
ALS_THRES_LOW_2
ALS_THRES_VAR
INT_PST
3.10.
3.10.1.
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Description
PS interrupt upper threshold, MSB
PS interrupt lower threshold, LSB
PS interrupt lower threshold, MSB
PS intelligent cancellation level setting, LSB
PS intelligent cancellation level setting, MSB
ALS interrupt upper threshold, LSB
ALS interrupt upper threshold, intervening bits
ALS interrupt upper threshold, MSB
ALS interrupt lower threshold, LSB
ALS interrupt lower threshold, intervening bits
ALS interrupt lower threshold, MSB
ALS interrupt variance threshold
ALS/PS interrupt persist setting
Detailed Description of Registers
CS_ALS_CTRL
Address
Default value
Register access
80 HEX
80 HEX
00 HEX
RW
7
6
5
4
3
2
1
0
0
0
0
0
SW reset
CS_ALS_EN
Bit[2]
Bit[1]
Bit[0]
0
Color
mode
SW reset: If bit is set to 1, a reset will be triggered.
CS_ALS_EN: 1: ALS/CS active; 0 ALS/CS standby.
CS mode.
This bit is only checked if CS_ALS_EN is active.
0
Only green diode will be activated.
1
All color diodes will be activated.
Writing to this register stops the ongoing measurements (both ALS/CS and PS) and starts new measurements
(depending on the respective enable bits).
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
29 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.2.
PS_CTRL
Address
Default value
Register access
81 HEX
00 HEX
RW
7
0
81 HEX
Bit[1]
6
0
PS_EN
1
0
5
0
4
0
3
0
2
0
1
PS_EN
0
0
PS active
PS standby
Writing to this register stops the ongoing measurements (both ALS/CS and PS) and starts new measurements
(depending on the respective enable bits).
3.10.3.
PS_LED
Address
Default value
Register access
82 HEX
82 HEX
63 HEX
RW
7
6
5
LED Pulse Modulation Frequency
Bit[7:5]
Bit[2:0]
4
0
3
0
2
1
LED Current
0
LED Pulse Modulation Frequency
NA
000 BIN
NA
001 BIN
NA
010 BIN
LED pulse period = 60kHz (default)
011 BIN
LED pulse period = 70kHz
100 BIN
LED pulse period = 80kHz
101 BIN
LED pulse period = 90kHz
110 BIN
LED pulse period = 100kHz
111 BIN
LED Current
LED pulsed current level = 25mA
000 BIN
LED pulsed current level = 50mA
001 BIN
LED pulsed current level = 75mA
010 BIN
LED pulsed current level = 100mA (default)
011 BIN
LED pulsed current level = 125mA
1XX BIN
Writing to this register stops the ongoing measurements (both ALS/CS and PS) and starts new measurements
(depending on the respective enable bits).
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
30 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.4.
PS_N_PULSES
Address
Default value
Register access
83 HEX
08 HEX
RW
7
6
5
4
3
2
PS Number of LED Pulses
83 HEX
Reserved
Bit[7:0]
This register controls number of PS LED pulses emitted. (0 to 32)
00000000 BIN 0 pulses (no light emission)
…
….
00001000 BIN 8 pulses (default)
….
….
00100000 BIN 32 pulses
1
0
Writing to this register stops the ongoing measurements (both ALS/CS and PS) and starts new measurements
(depending on the respective enable bits).
3.10.5.
PS_MEAS_RATE
Address
Default value
Register access
84 HEX
7
0
Bit[2:0]
84 HEX
05 HEX
RW
6
0
5
0
4
0
3
0
2
1
0
PS Measurement Rate
This register controls the timing of the periodic measurements of the PS in active
mode.
6.25ms
000 BIN
12.5ms
001 BIN
25ms
010 BIN
50ms
011 BIN
75ms
100 BIN
100ms (default)
101 BIN
200ms
110 BIN
400ms
111 BIN
Note: When the measurement repeat rate is programmed to be faster than possible for
the programmed ADC measurement time, the repeat rate will be lower than
programmed (maximum speed).
Writing to this register stops the ongoing measurements (both ALS/CS and PS) and starts new measurements
(depending on the respective enable bits).
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
31 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.6.
CS_ALS_MEAS_RATE
Address
Default value
Register access
85 HEX
85 HEX
83 HEX
RW
7
6
5
CS/ALS Resolution / Bit Width
Bit[7:5]
4
3
CS/ALS Gain Range
2
1
0
CS/ALS Measurement Rate
CS/ALS Resolution. The resolution will have an effect on the measurement time and
the accuracy of the measurement
800ms – 18 Bit
000 BIN
400ms – 17 Bit
001 BIN
200ms – 16 Bit
010 BIN
100ms – 15 Bit
011 BIN
50ms – 14 Bit (default)
100 BIN
Reserved
101 BIN
CS/ALS Gain Range
00 BIN
Gain: 1
2 to 32768 Lux
Lux numbers apply to default
01 BIN
Gain: 5
0.4 to 6554 Lux
measurement time of 50ms;
10 BIN
Gain: 10
0.2 to 3277 Lux
see Table 3.3 for details.
11 BIN
Gain: 20
0.1 to 1638 Lux
This register controls the timing of the periodic measurements of the CS or ALS in
Active Mode.
50ms
000 BIN
100 ms
001 BIN
200 ms
010 BIN
500 ms (default)
011 BIN
1000 ms
100 BIN
101 BIN
2000 ms
110 BIN
.....
2000ms
111 BIN
Bit[4:3]
Bit[2:0]
Note: When the measurement repeat rate is programmed to be faster than possible for
the specified ADC measurement time, the repeat rate will be lower than
programmed (maximum speed).
Writing to this register stops the ongoing measurements (both ALS/CS and PS) and starts new measurements
(depending on the respective enable bits).
Data Sheet
September 13, 2013
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
32 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.7.
PART_ID
Address
Default value
Register access
7
6
5
Part Number ID
86 HEX
Bit[7:4]
Bit[3:0]
3.10.8.
86 HEX
A0 HEX
R
4
3
2
1
Revision ID
0
Part Number ID
Revision ID of the component; first silicon is at 0000. The value increases by one each
time a new silicon revision is manufactured
CS_ALS_PS_STATUS
Address
Default value
Register access
88 HEX
00 HEX
R
7
6
88 HEX
0
0
Bit[5]
ALS interrupt status (updated even when the interrupt pad is disabled)
0
interrupt condition not fulfilled (default)
1
interrupt condition fulfilled (cleared after read)
CS/ALS data status
0
old data, already read (default)
1
new data, not yet read (cleared after read)
0
PS logic signal status
0
object is far (default)
1
object is close
PS interrupt status (updated even when the interrupt pad is disabled)
0
interrupt condition not fulfilled (default)
1
interrupt condition fulfilled (cleared after read)
PS data status
0
old data, already read (default)
1
new data, not yet read (cleared after read)
Bit[4]
Bit[3]
Bit[2]
Bit[1]
Bit[0]
Data Sheet
September 13, 2013
5
ALS
interrupt
status
4
CS/ALS
data
status
3
0
2
PS logic
signal
status
1
PS
interrupt
status
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
0
PS
data
status
33 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.9.
PS_DATA
89 HEX & 8A HEX
00 HEX & 00 HEX
R
Address
Default value
Register access
89 HEX
8A HEX
7
6
5
0
0
0
4
3
PS_DATA_0
Overflow
0
2
1
0
PS_DATA_1
When I²C™ read operation is active and points to an address in the range 88 HEX to 96 HEX , both
registers PS_DATA_0 and PS_DATA_1 are locked until the I²C™ read operation is completed or the
specified address range is left. This guarantees that the data in the registers comes from the same
measurement even if an additional measurement cycle ends during the read operation. New
measurement data is stored into temporary registers and the actual PS_DATA registers are updated
as soon as there is no on-going I²C™ read operation to the address range 88 HEX to 96 HEX .
11-bit data is spread across two registers.
If the PS data overflows, the Overflow flag (Bit[4]) is set and PS_DATA = 17FF HEX
Bit[7:0] PS measurement least significant data byte, bit 0 is the LSB of the 11-bit data
Reg 89 HEX
Reg 8A HEX Bit[2:0] PS measurement most significant data byte, bit 2 is MSB of the 11-bit data
Bit[4]
0: Valid PS data (default); 1: Overflow of PS data
3.10.10. CS_DATA_RED
8B HEX & 8C HEX & 8D HEX
00 HEX & 00 HEX & 00 HEX
R
Address
Default value
Register access
8B HEX
8C HEX
8D HEX
7
6
5
0
0
0
4
3
CS_DATA_RED_0[7:0]
CS_DATA_RED_1[15:8]
0
0
2
0
1
0
CS_DATA_RED_2[17:16]
Red channel digital output data (unsigned integer, 14 to18 bit, LSB aligned).
The red channel data is clipped at (2Resolution – 1). If the white data is clipped, the red will also be clipped
to 2^ Resolution-1.
When I²C™ read operation is active and points to an address in the range 88 HEX to 96 HEX , all
CS_DATA registers are locked until the I²C™ read operation is completed or the specified address
range is left. This guarantees that the data in the registers comes from the same measurement even if
an additional measurement cycle ends during the read operation. New measurement data is stored
into temporary registers and the actual CS_DATA registers are updated as soon as there is no ongoing I²C™ read operation to the address range 88 HEX to 96 HEX .
If only ALS is active (CS disabled), the register is set to “0.”
Reg 8B HEX
Reg 8C HEX
Reg 8D HEX
Bit[7:0]
Bit[7:0]
Bit[1:0]
Data Sheet
September 13, 2013
red diode data least significant data byte
red diode data intervening data byte
red diode data most significant data byte
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
34 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.11. CS_DATA_GREEN
8E HEX & 8F HEX & 90 HEX
00 HEX & 00 HEX & 00 HEX
R
Address
Default value
Register access
8E HEX
8F HEX
90 HEX
7
6
5
0
0
0
4
3
2
1
0
ALS_CS_DATA_GREEN_0[7:0]
ALS_CS_DATA_GREEN_1[15:8]
0
0
0
ALS_CS_DATA_GREEN_2[17:16]
Green channel digital output data (unsigned integer, 14 to 18 bit, LSB aligned).
The green channel data is clipped at (2Resolution – 1). If the white data is clipped, the green will also be
clipped to (2Resolution – 1).
When an I²C™ read operation is active and points to an address in the range 88 HEX to 96 HEX , all
CS_DATA registers are locked until the I²C™ read operation is completed or the specified address
range is left. This guarantees that the data in the registers comes from the same measurement even if
an additional measurement cycle ends during the read operation. New measurement data is stored
into temporary registers and the actual CS_DATA registers are updated as soon as there is no ongoing I²C™ read operation to the address range 88 HEX to 96 HEX .
Reg 8E HEX
Reg 8F HEX
Reg 90 HEX
Bit[7:0]
Bit[7:0]
Bit[1:0]
ALS / green diode data least significant data byte
ALS / green diode data intervening data byte
ALS / green diode data most significant data byte
3.10.12. CS_DATA_BLUE
91 HEX & 92 HEX & 93 HEX
00 HEX & 00 HEX & 00 HEX
R
Address
Default value
Register access
91 HEX
92 HEX
93 HEX
7
6
5
0
0
0
4
3
CS_DATA_BLUE_0[7:0]
CS_DATA_BLUE_1[15:8]
0
0
2
0
1
0
CS_DATA_BLUE_2[17:16]
Blue channel digital output data (unsigned integer, 14 to 18 bit, LSB aligned).
The blue channel data is clipped at (2Resolution – 1). If the white data is clipped, the blue will also be
clipped to (2Resolution – 1).
When an I²C™ read operation is active and points to an address in the range 88 HEX to 96 HEX , all
CS_DATA registers are locked until the I²C™ read operation is completed or the specified address
range is left. This guarantees that the data in the registers comes from the same measurement even if
an additional measurement cycle ends during the read operation. New measurement data is stored
into temporary registers and the actual CS_DATA registers are updated as soon as there is no ongoing I²C™ read operation to the address range 88 HEX to 96 HEX .
If only ALS is active (CS disabled), the register shall be set to “0.”
Reg 91 HEX
Reg 92 HEX
Reg 93 HEX
Bit[7:0]
Bit[7:0]
Bit[1:0]
Data Sheet
September 13, 2013
blue diode data least significant data byte
blue diode data intervening data byte
blue diode data most significant data byte
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
35 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.13. CS_DATA_WHITE
94 HEX & 95 HEX & 96 HEX
00 HEX & 00 HEX & 00 HEX
R
Address
Default value
Register access
94 HEX
95 HEX
96 HEX
7
6
5
0
0
0
4
3
2
1
CS_DATA_WHITE_0[7:0]
CS_DATA_WHITE_1[15:8]
0
CS_DATA_WHITE_2[19:16]
0
White channel ADC output data (unsigned integer, 16 to 20 bit, LSB aligned). The effective resolution
of the white channel has two more bits than the colored data values. The white channel data is clipped
at (2(Resolution+2) – 1).
When an I²C™ read operation is active and points to an address in the range 88 HEX to 96 HEX , all
CS_DATA registers are locked until the I²C™ read operation is completed or the specified address
range is left. This guarantees that the data in the registers comes from the same measurement even if
an additional measurement cycle ends during the read operation. New measurement data is stored
into temporary registers and the actual CS_DATA registers are updated as soon as there is no ongoing I²C™ read operation to the address range 88 HEX to 96 HEX .
Reg 94 HEX
Reg 95 HEX
Reg 96 HEX
Bit[7:0]
Bit[7:0]
Bit[3:0]
ADC white diode data least significant data byte
ADC white diode data intervening data byte
ADC white diode data most significant data byte
3.10.14. INT_CFG
Address
Default value
Register access
98 HEX
98 HEX
00 HEX
RW
7
6
5
4
0
0
0
0
PS_LOGIC_MODE
PS_INT_EN
ALS_VAR_MODE
ALS_INT_EN
Data Sheet
September 13, 2013
3
PS Logic Output
Mode
2
PS interrupt
enable
1
ALS Variation
Interrupt Mode
0
ALS interrupt
enable
PS_LOGIC_MODE
PS_INT_EN
ALS_VAR_MODE
ALS_INT_EN
PS Logic Output Mode
0
normal interrupt function: after interrupt event, INT pad maintains active
level until ALS_PS_STATUS register is read (default)
1
PS Logic Output Mode: INT pad is updated after every measurement and
maintains output state between measurements
PS interrupt enable
0
PS interrupt disabled (default)
1
PS interrupt enabled
ALS Variation Interrupt Mode
0
ALS Threshold Interrupt Mode (default)
1
ALS Variation Interrupt Mode
ALS interrupt enable
0
ALS interrupt disabled (default)
1
ALS interrupt enabled
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
36 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.15. PS_THRES_UP
Address
Default value
Register access
99 HEX
9A HEX
99 HEX & 9A HEX
FF HEX & 07 HEX
RW
7
6
5
0
0
0
4
3
PS_THRES_UP_0
0
0
2
1
0
PS_THRES_UP_1
PS_THRES_UP_x sets the upper threshold value for the PS interrupt. The Interrupt Controller
compares the value in PS_THRES_UP_x against measured data in the PS_DATA_x registers. It
generates an interrupt event if the upper threshold level was exceeded by PS_DATA_x.
The data format for PS_THRES_UP_x must match that of the PS_DATA_x registers.
Bit[7:0]
Bit[10:8]
Reg 99 HEX
Reg 9A HEX
PS upper interrupt threshold value, LSB
PS upper interrupt threshold value, MSB
3.10.16. PS_THRES_LOW
Address
Default value
Register access
9B HEX
9C HEX
9B HEX & 9C HEX
00 HEX & 00 HEX
RW
7
6
5
0
0
0
4
3
PS_THRES_LOW_0
0
0
2
1
0
PS_THRES_LOW_1
PS_THRES_LOW_x sets the lower threshold value for the PS interrupt. The Interrupt Controller
compares the value in PS_THRES_LOW_x against measured data in the PS_DATA_x registers. It
generates an interrupt event if PS_DATA_x is lower than the lower threshold level.
The data format for PS_THRES_LOW_x must match that of the PS_DATA_x registers.
Reg 9B HEX
Reg 9C HEX
Data Sheet
September 13, 2013
Bit[7:0]
Bit[10:8]
PS lower interrupt threshold value, LSB
PS lower interrupt threshold value, MSB
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
37 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.17. PS Intelligent Cancellation Level
Address
Default value
Register access
9E HEX
9F HEX
9E HEX & 9F HEX
00 HEX & 00 HEX
RW
7
6
5
0
0
0
4
3
PS_CAN_0
0
0
2
1
0
PS_CAN_1
The PS cancellation level is expected to be written by the MCU during system start. The value is
subtracted from the measured PS data before the data is transferred to the PS_DATA registers and
evaluated by the Interrupt Controller.
Reg 9E HEX
Reg 9F HEX
Bit[7:0]
Bit[10:8]
PS cancellation level, LSB
PS cancellation level, MSB
3.10.18. ALS_THRES_UP
Address
Default value
Register access
A0 HEX
A1 HEX
A2 HEX
A0 HEX & A1 HEX & A2 HEX
FF HEX & FF HEX & FF HEX
RW
7
6
5
0
0
0
4
3
ALS_THRES_UP_0
ALS_THRES_UP_1
0
0
2
0
1
0
ALS_THRES_UP_2
ALS_THRES_UP_x sets the upper threshold value for the ALS interrupt. The Interrupt Controller
compares the value in ALS_THRES_UP_x against measured data in the ALS_DATA_x registers. It
generates an interrupt event if the threshold level was exceeded by ALS_DATA_x.
The data format for ALS_THRES_UP_x must match that of the ALS_DATA_x registers.
Reg A0 HEX
Reg A1 HEX
Reg A2 HEX
Data Sheet
September 13, 2013
Bit[7:0]
Bit[7:0]
Bit[1:0]
ALS upper interrupt threshold value, LSB
ALS upper interrupt threshold value, intervening byte
ALS upper interrupt threshold value, MSB
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
38 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.19. ALS_THRES_LOW
A3 HEX & A4 HEX &
A5 HEX
00 HEX & 00 HEX & 00 HEX
RW
Address
Default value
Register access
A3 HEX
A4 HEX
A5 HEX
7
6
5
0
0
0
4
3
ALS_THRES_LOW_0
ALS_THRES_LOW_1
0
0
2
0
1
0
ALS_THRES_LOW_2
ALS_THRES_LOW_x sets the lower threshold value for the ALS interrupt. The Interrupt Controller
compares the value in ALS_THRES_LOW_x against measured data in the ALS_DATA_x registers. It
generates an interrupt event if the ALS_DATA_x is below the threshold level.
The data format for ALS_THRES_LOW_x must match that of the ALS_DATA_x registers.
Reg A3 HEX
Reg A4 HEX
Reg A5 HEX
Bit[7:0]
Bit[7:0]
Bit[1:0]
ALS lower interrupt threshold value, LSB
ALS lower interrupt threshold value, intervening byte
ALS lower interrupt threshold value, MSB
3.10.20. ALS_THRES_VAR
Address
Default value
Register access
A6 HEX
A6 HEX
00 HEX
RW HEX
7
0
6
0
ALS_THRES_VAR
Data Sheet
September 13, 2013
5
0
4
0
3
0
2
1
ALS_THRE_VAR
0
ALS variance threshold
Interrupt generated when
Code
ALS result varies by 8 counts
compared to previous result.
000 BIN
ALS result varies by 16 counts compared to previous result.
001 BIN
ALS result varies by 32 counts compared to previous result.
010 BIN
ALS result varies by 64 counts compared to previous result.
011 BIN
ALS result varies by 128 counts compared to previous result.
100 BIN
ALS result varies by 256 counts compared to previous result.
101 BIN
ALS result varies by 512 counts compared to previous result.
110 BIN
111 BIN
ALS result varies by 1024 counts compared to previous result.
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
39 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
3.10.21. INT_PST
Address
Default value
Register access
7
A7 HEX
Bit[7:4]
Bit[3:0]
Data Sheet
September 13, 2013
A7 HEX
00 HEX
RW
6
5
PS_PERSIST
4
3
2
1
ALS_PERSIST
0
This register sets the number of similar consecutive PS interrupt events that must
occur before the interrupt is asserted.
Every PS value out of threshold range (default) asserts an interrupt.
0000 BIN
2 consecutive PS values out of threshold range assert an interrupt.
0001 BIN
…
16 consecutive PS values out of threshold range assert an interrupt.
1111 BIN
This register sets the number similar consecutive ALS interrupt events that must occur
before the interrupt is asserted.
Every ALS value out of threshold range (default) asserts an interrupt.
0000 BIN
2 consecutive ALS values out of threshold range assert an interrupt.
0001 BIN
…
16 consecutive ALS values out of threshold range assert an interrupt.
1111 BIN
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
40 of 41
ZOPT3100
Digital RGB/Ambient Light + Proximity Sensor IC
4
Ordering Information
Product Sales Code
Description
Package
ZOPT3100AC6B
ZOPT3100 die — Temperature Range: -40 to +90 °C
Unsawn wafer
ZOPT3100 KIT
ZOPT3100 Evaluation Kit, including Evaluation Board,
cable, and 1 IC sample
Kit
5 Related Documents
Document
File Name
ZOPT3100 Feature Sheet
ZOPT3100_FeatureSheet_v*.pdf
ZOPT3100 Application Note: CCT Calculation
ZOPT3100_CCT_v*.pdf
ZOPT3100 Application Note: ALS-RGB Calculation
ZOPT3100_ALS-RGB_v*.pdf
Visit ZMDI’s website www.zmdi.com or contact your nearest sales office for ordering information or the latest
version of these documents.
6 Document Revision History
Revision
Date
Description
1.00
April 12, 2013
First release.
1.01
September 13, 2013
Added irradiance responsivity table in new section 1.4.
Revised maximum PS pulse number in section 3.10.4.
Sales and Further Information
www.zmdi.com
[email protected]
Zentrum Mikroelektronik
Dresden AG
Global Headquarters
Grenzstrasse 28
01109 Dresden, Germany
ZMD America, Inc.
1525 McCarthy Blvd., #212
Milpitas, CA 95035-7453
USA
Central Office:
Phone +49.351.8822.0
Fax
+49.351.8822.600
USA Phone +855.275.9634
Phone +408.883.6310
Fax
+408.883.6358
European Technical Support
Phone +49.351.8822.7.772
Fax
+49.351.8822.87.772
DISCLAIMER: This information applies to a product under development. Its characteristics and specifications are subject to change without notice.
Zentrum Mikroelektronik Dresden AG (ZMD AG) assumes no obligation regarding future manufacture unless otherwise agreed to in writing. The
information furnished hereby is believed to be true and accurate. However, under no circumstances shall ZMD AG be liable to any customer,
licensee, or any other third party for any special, indirect, incidental, or consequential damages of any kind or nature whatsoever arising out of or
in any way related to the furnishing, performance, or use of this technical data. ZMD AG hereby expressly disclaims any liability of ZMD AG to any
customer, licensee or any other third party, and any such customer, licensee and any other third party hereby waives any liability of ZMD AG for
any damages in connection with or arising out of the furnishing, performance or use of this technical data, whether based on contract, warranty,
tort (including negligence), strict liability, or otherwise.
European Sales (Stuttgart)
Phone +49.711.674517.55
Fax
+49.711.674517.87955
Data Sheet
September 13, 2013
Zentrum Mikroelektronik
Dresden AG, Japan Office
2nd Floor, Shinbashi Tokyu Bldg.
4-21-3, Shinbashi, Minato-ku
Tokyo, 105-0004
Japan
ZMD FAR EAST, Ltd.
3F, No. 51, Sec. 2,
Keelung Road
11052 Taipei
Taiwan
Phone +81.3.6895.7410
Fax
+81.3.6895.7301
Phone +886.2.2377.8189
Fax
+886.2.2377.8199
Zentrum Mikroelektronik
Dresden AG, Korea Office
U-space 1 Building
11th Floor, Unit JA-1102
670 Sampyeong-dong
Bundang-gu, Seongnam-si
Gyeonggi-do, 463-400
Korea
Phone +82.31.950.7679
Fax
+82.504.841.3026
© 2013 Zentrum Mikroelektronik Dresden AG — Rev. 1.00
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the
prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice.
41 of 41