| Electronic Components Datasheet Search |
|
VCNL3040 Datasheet(PDF) 7 Page - Vishay Siliconix |
|
|
|||||||||||||||||||||||||||||
VCNL3040 Datasheet(HTML) 7 Page - Vishay Siliconix |
|
7 / 17 page ![]() VCNL3040 www.vishay.com Vishay Semiconductors Rev. 1.4, 23-Sep-2020 7 Document Number: 84917 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 APPLICATION INFORMATION Pin Connection with the Host VCNL3040 integrates proximity sensor, and IRED all together with I2C interface. It is very easy for the baseband (CPU) to access PS output data via I2C interface without extra software algorithms. The hardware schematic is shown in the following diagram. Two additional capacitors in the circuit can be used for the following purposes: (1) the 0.1 μF capacitor near the VDD pin is used for power supply noise rejection, (2) the 1 μF capacitor, close to the anode pin, is used to prevent the IRED voltage from instantly dropping when the IRED is turned on, and (3) 1.5 k Ω to 2.2 kΩ is suitable for the pull up resistor of I2C except for the 10 k Ω applied on the INT pin. Fig. 8 - Hardware Pin Connection Diagram Digital Interface VCNL3040 applies single slave address 0x60 (HEX) of 7-bit addressing following I2C protocol. All operations can be controlled by the command register. The simple command structure helps users easily program the operation setting and latch the light data from VCNL3040. As Fig. 9 shows, VCNL3040’s I2C command format is simple for read and write operations between VCNL3040 and the host. The white sections indicate host activity and the gray sections indicate VCNL3040’s acknowledgement of the host access activity. Write word and read word protocol is suitable for accessing registers particularly for 12-bit / 16-bit PS data. Interrupt can be cleared by reading data out from register: INT_Flag. All command codes should follow read word and write word protocols. Fig. 9 - Write Word and Read Word Protocol INT INT SCLK 6 8 1 4 3 0.1 μF GND SDAT SCLK SDAT 7 2.2 k Ω 2.2 k Ω V DD_LED 1 μF 10 k Ω Cathode Anode 5 VCNL3040 V DD V pull_up Baseband NC S Slave address Wr A Command code A Data byte low A Data byte high A 17 8 11 1 81 8 P 11 Send byte → write command to VCNL3040 1 Slave address 7 Wr A Command code A S Slave address Rd A Data byte low A Data byte high N P 11 8 1 1 7 1 1 8 1 8 1 1 S Receive byte → read data from VCNL3040 S = start condition P = stop condition A = acknowledge N = not acknowledge Host action VCNL3040 acknowledge |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |