Datasheet VCNL36821S (Vishay) - 8

HerstellerVishay
BeschreibungProximity Sensor With Interrupt, IRED, and I²C Interface
Seiten / Seite16 / 8 — VCNL36821S. Function Description. TABLE 1 - COMMAND CODE AND REGISTER …
Dateiformat / GrößePDF / 194 Kb
DokumentenspracheEnglisch

VCNL36821S. Function Description. TABLE 1 - COMMAND CODE AND REGISTER DESCRIPTION COMMAND. DATE BYTE. REGISTER. DEFAULT. R / W

VCNL36821S Function Description TABLE 1 - COMMAND CODE AND REGISTER DESCRIPTION COMMAND DATE BYTE REGISTER DEFAULT R / W

Modelllinie für dieses Datenblatt

Textversion des Dokuments

VCNL36821S
www.vishay.com Vishay Semiconductors
Function Description
VCNL36821S supports different kinds of mechanical designs to achieve the best proximity detection performance for any color of object with more flexibility. 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 VCNL36821S 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. The intelligent cancellation level can be set on register: PS_CANC to reduce the cross talk phenomenon. A smart persistence (register: PS_SMART_PERS) is provided to get faster PS response time and prevent false trigger for PS.
TABLE 1 - COMMAND CODE AND REGISTER DESCRIPTION COMMAND DATE BYTE REGISTER DEFAULT R / W FUNCTION DESCRIPTION CODE LOW / HIGH NAME VALUE
L ST_CONF1 R / W 0x01 Standby and start 0x00 H ST_CONF2 R / W 0x00 Standby and start PS period, persistence, interrupt, smart persistence and PS enable / L PS_CONF1 R / W 0x01 0x03 disable H PS_CONF2 R / W 0x00 PS integration time, multi pulse and interrupt function L PS_CONF3 R / W 0x00 PS force mode and sunlight light protect interrupt setting 0x04 H PS_CONF4 R / W 0x00 PS LED current L PS_THDL R / W 0x00 PS low interrupt threshold setting 0x05 H PS_THDL R / W 0x00 PS low interrupt threshold setting L PS_THDH R / W 0x00 PS high interrupt threshold setting 0x06 H PS_THDH R / W 0x00 PS high interrupt threshold setting L PS_CANC_L R / W 0x00 PS cancellation LSB setting 0x07 H PS_CANC_M R / W 0x00 PS cancellation MSB setting L PS_AC_L R / W 0x00 PS auto-calibration period, number, interrupt setting 0x08 H PS_LPPERI R / W 0x00 PS low power mode setting L PS_Data_L R 0x00 PS channel LSB output data 0xF8 H PS_Data_M R 0x00 PS channel MSB output data L Reserved R 0x00 Reserved 0xF9 H INT_Flag R 0x00 PS interrupt flag L ID_L R 0x26 Device ID LSB 0xFA H ID_M R 0x00 Device ID MSB L PS_AC_Data_L R 0x00 PS auto-calibration LSB data 0xFB H PS_AC_Data_H R 0x00 PS auto-calibration MSB data, busy and sunlight protect
Note
• All of reserved register are used for internal test. Please keep as default setting Rev. 1.1, 29-Jan-2020
8
Document Number: 80150 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