Datasheet

VCNL36687S
www.vishay.com
Vishay Semiconductors
Rev. 1.2, 21-Sep-2018
11
Document Number: 84907
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
Threshold Window Setting
Programmable PS Threshold
VCNL36687S provides both high and low thresholds 12-bit data setting for PS (register: PS_THDL, PS_THDH).
•PS Persistence
The PS persistence function (PS_PERS, 1\2\3\4) helps to avoid false trigger of the PS INT. For example, if PS_PERS = 3 times,
the PS INT will not be asserted unless the PS value is greater than the PS threshold (PS_THDH) value for three periods of time
continuously
PS Active Force Mode
An extreme power saving way to use PS is to apply PS active force (register: PS_CONF3 command: PS_AF = 1) mode.
Anytime host would like to read out just one of PS data, write in “1” at register: PS_CONF3 command: PS_FOR_Trig.
Without commands placed, there is no PS data output. VCNL36687S stays in standby mode constantly
PS Detection Object
Any color of object is detectable by VCNL36687S
Data Access
For PS data reading, it has to apply two bytes. One byte is for LSB, and the other byte is for MSB (4 bits) as shown in Table 11.
Intelligent Cancellation
VCNL36687S provides an intelligent cancellation method to reduce cross talk for the proximity sensor. The output data will be
subtracted by the input value stored in register: PS_CANC.
Interruption (INT)
VCNL36687S has PS interrupt feature operated by a single pin “INT”. The purpose of the interrupt feature is to actively inform
the host once INT has been asserted. With the interrupt function applied, the host does not need to be constantly pulling data
from the sensor, but to read data from the sensor while receiving interrupt request from the sensor.
Interruption Flag
Register: INT_Flag represents all of interrupt trigger status for PS. Any flag value changes from “0” to “1” state, the level of INT
pin will be pulles low. As long as host reads INT_Flag data, the bit will change from “1” state to “0” state after reading out, the
INT level will be returned to high afterwards.
PROXIMITY DETECTION LOGIC OUTPUT MODE
VCNL36687S provides a proximity detection logic output mode that uses INT pin (pin 6) as a proximity detection logic high /
low output (register: PS_INT = 3). When this mode is selected, the PS output (pin 6; INT/P
OUT
) is pulled low when an object is
closing to be detected and returned to level high when the object moves away. Register: PS_THDH\L defines how sensitive PS
detection is.
PROXIMITY DETECTION HYSTERESIS
A PS detection hysteresis is important that keeps PS state in a certain range of detection distance. For example, PS INT
asserts when PS value over PS_THDH. Host switches off panel backlight and then clears INT. When PS value is less than
PS_THDL, Host switches on panel backlight. Any PS value lower than PS_THDH or higher than PS_THDL, PS INT will not be
asserted. Host does keep the same state.
TABLE 11 - VCNL36687S 12-BIT PS DATA FORMAT
VCNL36687S
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Register
Bit 15: “0” normal operation,
“1” enter sunlight protection
mode, PS output =
1000000000000000(32768)
PS_DataM PS_DataL