Datasheet

VCNL36687S
www.vishay.com
Vishay Semiconductors
Rev. 1.2, 21-Sep-2018
9
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
Command Register Format
VCNL36687S provides an 8-bit command register for PS controlling independently. The description of each command format
is shown in the following tables.
TABLE 2 - REGISTER: PS_CONF1 DESCRIPTION
REGISTER NAME COMMAND CODE: 0x03_L (0x00 DATA BYTE LOW)
Command Bit Description
PS_Period 7 : 6
(0 : 0) = 8 ms, (0 : 1) = 16 ms, (1 : 0) = 32 ms, (1 : 1) = 64 ms
PS sample period setting
PS_PERS 5 : 4
(0 : 0) = 1, (0 : 1) = 2, (1 : 0) = 3, (1 : 1) = 4
PS interrupt persistence setting
PS_ INT 3 : 2
(0 : 0) = interrupt disable, (0 : 1) = interrupt disable, (1 : 0) = interrupt enable,
(1 : 1) = trigger by logic high / low mode
PS_SMART_PERS 1 0 = disable ; 1 = enable PS smart persistence
PS_SD 0 0 = PS power on, 1 = PS shut down, default = 1
TABLE 3 - REGISTER: PS_CONF2 DESCRIPTION
COMMAND CODE: 0x03_H (0x03 DATA BYTE HIGH)
Command Bit Description
PS_IT 7 : 6 ( 0 : 0 ) = 1T, (0 : 1) = 2T, (1 : 0) = 4T, (1 : 1) = 8T
PS_MPS 5 : 4
(0 : 0 ) = 1, (0 : 1) = 2, (1 : 0) = 4, (1 : 1) = 8;
PS multi-pulse setting
PS_ITB 3 0 = 25 μs, 1 = 50 μs, PS IT bank setting
Reserved 2 : 0 Default = 0
TABLE 4 - REGISTER: PS_CONF3 DESCRIPTION
COMMAND CODE: 0x04_L (0x04 DATA BYTE LOW)
Register Bit Description
Reserved 7 0
PS_AF 6 0 = auto mode; 1 = force mode
PS_FOR_Trig 5
0 = no PS active force mode trigger, 1 = trigger one time cycle
VCNL36687S output one cycle data every time host writes in “1” to sensor. The state returns to “0”
automatically.
Reserved 4 0
Reserved 3 : 0 (0 : 0 : 0 : 0)
TABLE 5 - REGISTER: PS_CONF4 DESCRIPTION
COMMAND CODE: 0x04_H (0x04 DATA BYTE HIGH)
Register Bit Description
PS_SC_EN 7 0 = turn off sunlight cancel; 1 = turn on sunlight cancel; PS sunlight cancel function enable setting
PS_SC_CUR 6 : 5
(0 : 0) = 1 x typical sunlight cancel current, (0 : 1) = 2 x typical sunlight cancel current, (1 : 0) = 4 x typical
sunlight cancel current, (1 : 1) = 8 x typical sunlight cancel current
PS_HD 4 0 = PS output is 12 bits, 1 = PS output is 16 bits
Reserved 3 0
VCSEL_I 2 : 0
(0 : 0 : 0) = 7 mA; (0 : 0 : 1) = 11 mA; (0 : 1 : 0) = 14 mA; (0 : 1 : 1) = 17 mA; (1 : 0 : 0) = 20 mA;
VCSEL current selection setting