Main components Proximity and ambient light sensing (ALS) module

Similar documents
Main components Proximity and ambient light sensing (ALS) module

STEVAL-MKI126V2. MEMS microphone system evaluation board based on the STA321MPL and MP34DB01. Description. Features

STEVAL-MKI126V3. STSmartVoice demonstration board based on MP34DT01. Description. Features

2 x 58 W high frequency ballast for T8 fluorescent tubes based on L6562A, L6569, and STL11NM60N in PowerFlat HV package

EVAL-RHF1009A. EVAL-RHF1009A product evaluation board. Description. Features

STM32-PRIMER/LAB. Raisonance EvoPrimer-LAB to monitor STM32 applications and standalone STM32 Flash programming. Features

SPC564A80CAL176 SPC564A70CAL176

STEVAL-SPBT2ATV2. USB Dongle for the Bluetooth class 2 SPBT2532C2.AT module. Features. Description

EVLHVLED815W8CV. 8 W - high power factor - constant voltage regulation based on HVLED815PF. Features. Description

M24SR-DISCOVERY. Discovery kit for the M24SR series Dynamic NFC/RFID tag. Features

STEVAL-ICB004V1. Advanced resistive touchscreen controller demonstration board based on the STMPE811. Features. Description

PRODUCT INFORMATION LETTER

STEVAL-ILL037V1. Demonstration board for the HVLED805 IC for LED power supply. Features. Description

STEVAL-IHM043V1. 6-step BLDC sensorless driver board based on the STM32F051 and L6234. Features. Description

EVAL6208Q. Stepper motor driver mounting the L6208Q. Features. Description

STEVAL-IHT005V2. Demonstration board with full 3.3 V ACS/Triac control using the STM32F100. Description. Features

STEVAL-CCH002V2. HDMI and video switches demonstration board. Features. Description

Obsolete Product(s) - Obsolete Product(s)

ROBOT-M24LR16E-A. Evaluation board for the M24LR16E-R dual interface EEPROM. Features. Description

STEVAL-ILL029V1. Front panel demonstration board based on the STLED325 and STM8S. Features. Description

Obsolete Product(s) - Obsolete Product(s)

STEVAL-ILH004V1. 70 W electronic ballast for metal halide lamp (HID) based on the L6382D5 and ST7FLITE49K2. Features. Description

EVLHVLED815W10F. 10 W wide-range high power factor isolated LED driver based on HVLED815PF. Description. Features

Order code Package Connection. SPDC400FC12M0.60 Open frame Comb. October 2007 Rev 1 1/9

STEVAL-ILL015V1. High brightness RGB LED array with LED error detection based on the STP24DP05 and STM32. Features. Description

STEVAL-ISB008V1. Standalone USB Li-Ion battery charger demonstration board based on the STw4102 and STM32F103C6. Features.

STEVAL-IKR001V7D. Sub Ghz transceiver daughterboard with power amplifier based on the SPIRIT1. Features. Description

STEVAL-IHM034V2. Dual motor control and PFC evaluation board featuring the STM32F103 and STGIPS20C60. Features

Description. Table 1. Device summary. Order codes Temperature range [ C] Package Packing. LPS2HBTR -30 to +105 HLGA - 10L

Obsolete Product(s) - Obsolete Product(s)

STEVAL-IHM038V1. BLDC ceiling fan controller based on the STM32 and SLLIMM-nano. Description. Features

STANC0. Stereo HD-PA digitally programmable active noise cancelling audio engine. Features. System. Input and output.

Obsolete Product(s) - Obsolete Product(s)

EVALPM8803-FWD. EVALPM8803-FWD: IEEE802.3at compliant demonstration kit with synchronous active clamp forward PoE converter. Features.

March 2012 Doc ID Rev 1 1/4

STEVAL-ILH005V W electronic ballast for HID lamps based on the L6562A and ST7LITE39F2. Features. Description

STA3005. Dual-IF AM/FM digital radio receiver. Feature summary. Order codes

Obsolete Product(s) - Obsolete Product(s)

AN2421 Application note

IEC compliant smart meter system for AMI applications based on STM32, ST7570 PLM, and STPMC1/STPMS1 chipset

STEVAL-IME002V1. Multi-lead electrocardiogram (ECG) and body impedance demonstration board. Features. Description

L7208. Portable consumer electronics spindle and VCM motor controller. General features. Spindle driver. Description. VCM driver.

Multi-channel LED driver with integrated boost controller for medium, large LCD panel backlight based on LED7708 and STM32F103C6T6A

STEVAL-CCA043V1. 25 Watt mono BTL class-d audio amplifier demonstration board based on the TDA7491MV. Features. Description

STEVAL-CCM003V1. Graphic panel with ZigBee features based on the STM32 and SPZBE260 module. Features. Description

STEVAL-IHM024V W 3-phase inverter using the L6390 and STGDL6NC60DI for vector control. Features. Applications. Description

EVLHVLED815W10A. 10 W wide range non-isolated high power factor LED driver using HVLED815PF. Description. Features

PRODUCT INFORMATION LETTER

IMPORTANT NOTICE. Company name - STMicroelectronics NV is replaced with ST-NXP Wireless.

STEVAL-ILL043V1. High end, 75 W high power factor flyback LED driver based on the L6562A with two dimmable strings. Features.

PRODUCT TERMINATION NOTIFICATION

STEVAL-IHM025V1. 1 kw 3-phase motor control demonstration board featuring the IGBT SLLIMM STGIPL14K60. Features. Description

STEVAL-TDR007V1. 3 stage RF power amplifier demonstration board using: PD57002-E, PD57018-E, 2 x PD57060-E. Features. Description

GM60028H. DisplayPort transmitter. Features. Applications

Order code Marking Package Packing. STA5630TR STA5630 VFQFPN32 Tape and reel STA5630ATR (1) September 2013 Doc ID Rev 4 1/8

STEVAL-IHM021V W, 3-phase inverter based on the L6390 and UltraFASTmesh MOSFET for speed FOC of 3-phase PMSM motor drives. Features.

Main components Narrow-band OFDM power line networking PRIME compliant system-on-chip

TN0885 Technical note

GM68020H. DisplayPort receiver. Features. Applications

M24LR04E-R, M24LR16E-R, M24LR64E-R Errata sheet

ST10F273M Errata sheet

Obsolete Product(s) - Obsolete Product(s)

STEVAL-IHM008V1. BLDC & AC motor control Power board SEMITOP 2 1kW. Features. Applications

STEVAL-IFN003V1. PMSM FOC motor driver based on the L6230 and STM32F103. Features. Description

AN3075 Application note

STEVAL-ILL019V1. 32 W offline RGGB LED driver with individual LED channel brightness regulation. Features. Description

Very low-noise, high-efficiency DC-DC conversion circuit

Obsolete Product(s) - Obsolete Product(s)

STDP2500. Mobility DisplayPort (MyDP) to DP converter. Features. Applications

UM0534 User manual. STEVAL-MKI014V1 demonstration kit for the LIS344ALH. Introduction

STEVAL-ISA121V1. Wide range single-output demonstration board based on the VIPER37LE. Features. Description

SPSGRF-868 / 915 SubGiga (868 or 915 MHz) programmable transceiver module Datasheet

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

Mechanical specification. October 2010 Doc ID Rev 1 1/10

STEVAL-ISA050V1. Monolithic VR for chipset and DDR2/3 demonstration board based on the PM6641. Features. Application. Description

BAL-NRF01D3. 50 ohm balun transformer for 2G45 ISM matched Nordic s chipset: nrf24le1 QFN32, nrf24ap2-1ch and nrf24ap2-8ch. Features.

STEVAL-TDR020V1. Portable UHF 2-way radio demonstration board based on the PD84006L-E. Features. Description

STW High voltage fast-switching NPN power transistor. Features. Application. Description

STV6110A. 8PSK/QPSK low-power 3.3 V satellite tuner IC. Description. Features

FLI30x02 Single-chip analog TV processor Features Application

STEVAL-TDR021V1. Demonstration board using the PD84008L-E for 900 MHz 2-way radio. Features. Description

PRODUCT/PROCESS CHANGE NOTIFICATION

STDP2650 Advanced DisplayPort to HDMI converter Features Applications

STDP4020. DisplayPort receiver. Features. Applications

Obsolete Product(s) - Obsolete Product(s) UM0223 User manual STEVAL-IFS001V1 evaluation kit with MEMS Introduction

STV6417 R/C/Pr, G/C, B/Pb Switches + Filter. C, Y, CVBS/Y Switches + Filter. Audio Switches Volume Control AUDIO R SLOW BLANK

STEVAL-IHM045V1. 3-phase high voltage inverter power board for FOC based on the STGIPN3H60A (SLLIMM -nano) Description. Features

Obsolete Product(s) - Obsolete Product(s)

VT5365. Single-chip optical mouse sensor for wireless applications. Features. Applications. Technical specifications. Description.

IMPORTANT NOTICE. Company name - STMicroelectronics NV is replaced with ST-NXP Wireless.

PRODUCT/PROCESS CHANGE NOTIFICATION

PRODUCT/PROCESS CHANGE NOTIFICATION

USBLC6-4SC6Y. Automotive very low capacitance ESD protection. Features. Applications. Description. Benefits. Complies with the following standards

STi5105 High-performance advanced SD decoder for set-top box Features

STDP4320 DisplayPort 1.2a splitter Features Applications

Obsolete Product(s) - Obsolete Product(s)

STEVAL-ILL031V1. Digital constant-current controller for LED driving based on the STM8S208x. Features. Description

USBLC6-2SC6Y. Automotive very low capacitance ESD protection. Features. Applications. Description. Benefits. Complies with the following standards

ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

EVAL6474PD. Stepper motor driver mounting the L6474 in a high power PowerSO package. Features. Description

Transcription:

DT0017 Design tip VL6180X interleaved mode explanation By Colin Ramrattan Main components VL6180X Proximity and ambient light sensing (ALS) module Purpose and benefits The purpose of this document is to explain in further detail the interleaved feature of the VL6180X. It is assumed that customers who use this document can communicate with the VL6180X through I 2 C and are now looking for more information on the interleaved operation mode. Figure 1. VL6180X device Description Interleaved mode is a term used to describe a continuous mode of operation in the VL6180X where the Ambient Light Sensor (ALS) and Ranging functions continuously perform measurements over a user specified period. This operation is beneficial to users that would like to have continuous measurements from both the ALS and range functions of the VL6180X. June 2014 DT0017 Rev 1 1/5

Figure 2 below shows a timeline of how the ALS and ranging are executed when interleaved mode is enabled. Figure 2. ALS and ranging timeline ALS Inter-Measurement Period ALS Inter-Measurement Period ALS Measurement Continuous Mode Range Measurement Range measurement occurs automatically after ALS measurement. Any Mode HOST Interrupt Enabling Interleaved Mode: The following registers in Table 1 are used in interleaved operation. Table 1. Overview of registers to set using interleaved operation Register Name SYSALS_ INTERMEASUREMENT_PERIOD Register Address 0x03E Description This will define the time between the ALS measurements. Note: The host must ensure that the inter-measurement time is not exceeded See Table XXX. SYSALS_INTEGRATION_PERIOD 0x040 The integration period is the time the ALS will integrate based on the current light conditions. This is chosen by the user. SYSALS_START 0x038 This register is used to select continuous mode operation for the ALS measurements. If the interleaved mode enable bit is set, a range measurement will be performed after each ALS measurement SYSRANGE_MAX_ CONVERGENCE_TIME 0x01C This will define the maximum time allowed for a range measurement to complete. Note: The maximum time set cannot be more than the ALS inter-measurement period. SYSRANGE_START 0x018 This register is used to select either continuous or single shot range measurements. Note: in interleaved mode, this register is ignored. INTERLEAVED_MODE_ENABLED 0x2A3 To enable interleaved mode, this register must be set to 0x01. June 2014 DT0017 Rev 1 2/5

The following registers shown in Table 1 are a subset of what is used in normal operation of the VL6180X. The user is advised to refer to the datasheet for further information on how to set-up GPIO modes, interrupt conditions and other functions of the VL6180X. To set-up interleaved mode, the user should decide the rate at which the device will report ALS and range measurements. Once the time is chosen, the user must ensure this time does not violate the following equations for proper operation. ALS_Inter-Measurement period (ALS_IMP) ALS_IMP > [(1.1 * ALS_INTEGRATION_PERIOD) + (RANGE_MAX_CONVERGENCE_TIME + 5ms)] / 0.9 The equation above will ensure the system will have enough time to process each measurement while continuing to report the appropriate measurements for ranging and ALS. Table 2 below shows an example of 10Hz operation along with the maximum permissible settings for 10Hz operation. The ALS Integration period and max convergence time should not be increased further but can be reduced from the example below. Table 2. 10Hz interleaved operation example Parameter Name Time Required Register address and value to write. Inter-measurement period 100ms Address (0x03E), write value 0x0A ALS Integration period 50ms Address (0x040), write value 0x32 Range Max convergence time 30ms Address (0x01C), write value 0x1E Table 3 below shows an example of 20Hz operation along with the maximum permissible settings for 10Hz operation. The ALS Integration period and max convergence time should not be increased further but can be reduced from the example below. Table 3. 20Hz interleaved operation example Parameter Name Time Required Register address and value to write. Inter-measurement period 50ms Address (0x03E), write value 0x05 ALS Integration period 20ms Address (0x040), write value 0x14 Range Max convergence time 18ms Address (0x01C), write value 0x12 For completeness, Table 3 below shows the user where the settings for interleaved operation should be applied. Note that this is just a subset of what is required for normal operation and the user is advised to refer to the datasheet for additional functions with the VL6180X. June 2014 DT0017 Rev 1 3/5

Figure 3. Interleaved operation register writes flow GPIO0 set to logic high to turn on device Wait for device boot. User can wait at least 2ms or check register 0x016 for reset value of 0x01 Change I2C address if needed. (Optional) Apply latest initialization tuning settings supplied by regional support Apply VL6180X attributes ie. crosstalk, threshold, SNR Set Interleaved operation register. Measurements are started after ALS has been set to continuous mode and start bit is set in register 0x038 Read interrupts from VL6180X. Support material Related design support material MOB-EK2-180-01/1 Product/ system evaluation board Documentation Datasheet: VL6180X - Proximity and ambient light sensing (ALS) module Revision history Date Version Changes 27-MAY-2014 1 Initial release June 2014 DT0017 Rev 1 4/5

Please Read Carefully Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2014 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America June 2014 DT0017 Rev 1 5/5