
VCNL4100
www.vishay.com
Vishay Semiconductors
Rev. 1.2, 30-Aug-16
8
Document Number: 84319
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
Function Description
VCNL4100 applies a 16-bit high resolution ALS that provides the best ambient light sensing capability up to 0.011375 lx/step
which works well under a low transmittance lens design (dark lens). A flexible interrupt function of ALS (register: ALS_CONF) is
also supported. The INT signal will not be asserted by VCNL4100 if the ALS value is not over high INT threshold window level,
or lower than low INT threshold window level of ALS. As long as the ALS INT is asserted, the host can read the data from
VCNL4100.
For proximity sensor function, VCNL4100 supports different kinds of mechanical design to achieve the best proximity detection
performance for any color object. The basic PS function settings, such as duty ratio, integration time, interrupt, and PS
enable / disable and persistence, are handled by the register: PS_CONF1. Duty ratio controls the PS response time. Integration
time represents the duration of the energy being received. The interrupt is asserted when the PS detection levels over the high
threshold level setting (register: PS_THDH) or lower than low threshold (register: PS_THDL). If the interrupt function is enabled,
the host reads the PS output data from VCNL4100 that saves host loading from periodically reading PS data. More than that,
INT flag (register: INT_Flag) indicates the behavior of INT triggered under different conditions. PS persistence (PS_PERS) sets
up the PS INT asserted conditions as long as the PS output value continually exceeds the threshold level.
Descriptions of each slave address operation are shown in table 1.
TABLE 1 - COMMAND CODE AND REGISTER DESCRIPTION
COMMAND
CODE
REGISTER
NAME
R / W
DEFAULT
VALUE
FUNCTION DESCRIPTION
00H_L ALS_CONF R / W 00H ALS integration time, persistence, interrupt, and function enable / disable
00H_H Reserved R / W 00H Reserved
01H_L ALS_THDH_L R / W 00H ALS high interrupt threshold LSB byte
01H_H ALS_THDH_M R / W 00H ALS high interrupt threshold MSB byte
02H_L ALS_THDL_L R / W 00H ALS low interrupt threshold LSB byte
02H_H ALS_THDL_M R / W 00H ALS low interrupt threshold MSB byte
03H_L PS_CONF1 R / W 00H PS duty ratio, integration time, persistence, and PS enable / disable
03H_H PS_CONF2 R / W 00H PS gain, ITB, interrupt setting
04H_L PS_CONF3 R / W 00H PS active forced, averaging, background light cancellation setting
04H_H PS_SPO R / W 00H Set initial value to “0xA0” or “0x20”
05H_L Reserved R / W 00H Reserved
05H_H Reserved R / W 00H Reserved
06H_L PS_THDL R / W 00H PS low interrupt threshold setting
06H_H PS_THDH R / W 00H PS high interrupt threshold setting
07H_L Reserved R / W 00H Reserved
07H_H Reserved R / W 00H Reserved
08H_L PS_Data R 00H PS output data
08H_H Reserved R 00H Reserved
09H_L ALS_Data_L R 00H ALS LSB output data
09H_H ALS_Data_M R 00H ALS MSB output data
0AH_L Reserved R 00H Reserved
0AH_H Reserved R 00H Reserved
0BH_L Reserved R 00H Reserved
0BH_H INT_Flag R 00H ALS, PS interrupt flags