TMD3721 EVM Introduction Introduction The TMD3721 features ambient light, color (RGB) sensing and proximity detection. The device integrates an IR VCSEL and an advanced VCSEL driver within a compact 4.65 mm × 1.86 mm × 0.90 mm OLGA package. Kit content Figure 1: Evaluation kit contents Table 1: Detailed description of evaluation kit Item...
The balance of this document identifies and describes the controls available on the GUI. In combination with the TMD3721 datasheet, the QSG and application notes available on the website, ams-osram.com, there should be enough information to allow evaluation of the TMD3721 device.
TMD3721 EVM Software description Figure 2: Evaluation kit hardware Software description The main window (Figure 3) contains the system menus, system level controls, device information and logging status. The box on the left side of the window controls various system- wide parameters and functions.
TMD3721 EVM Software description Figure 3: GUI main window Connect software to hardware On startup, the software automatically connects to the hardware. On successful initialization, the software displays a main window, containing controls pertinent to the connected device. If the software detects an error, an error window appears. If “Device not found or is unsupported” appears, verify the correct daughterboard is properly connected to the EVM controller board.
Page 7
TMD3721 EVM Software description ALS and Prox data, and the Help menu provides version and copyright information for the application. 4.2.1 File menu The File menu contains the following functions: Figure 4: File menu The Reread Registers function forces the program to re-read all of the control registers from the device and display them on the screen.
Page 8
TMD3721 EVM Software description of various control registers, and the values entered by the user into the text fields near the bottom right corner of the window. Click Stop Logging Prox to stop the logging function. Once logging stops, the user may store the data in a file, or continue collecting additional data by clicking Start Logging Prox again.
Page 9
TMD3721 EVM Software description Click Start Logging ALS to start the logging function. Each time the program receives a new set of ALS data from the device, it creates a new log entry showing the raw data values, the values of various control registers, and the values entered by the user into the text fields near the bottom right corner of the window.
TMD3721 EVM Software description Figure 8: About window System level controls Immediately below the top menu bar there are checkboxes used to control the system level functions of the TMD3721 device. The Power On checkbox controls the PON function of the TMD3721. When this box is checked, the oscillator is on and the device is running measurements according the settings in the System Level Controls and the Configuration tab.
TMD3721 EVM Software description one after the other, with no overlap. During Concurrent and Parallel Operation, Prox operations may occur during ALS operations. In Concurrent Mode, the ALS integration will be paused any time a Prox operation is flashing the VCSEL light source. In Parallel Mode, ALS integration will not pause when the VCSEL light source flashes.
TMD3721 EVM Software description Log status and control information The lower right corner of the window contains status information and controls for the logging function: Figure 9: Logging status This section contains text boxes that are stored in the log file data and used to build the file name for the log file.
TMD3721 EVM Software description “Configuration” tab The main portion of the screen contains a tab labeled Configuration. Figure 10: Configuration tab 4.7.1 Configuration controls The Configuration Tab contains controls that affect operation of the Prox and ALS functions. The ALS-related tabs are toward the right side of the tab and the Prox-related tabs are on the left.
Page 14
TMD3721 EVM Software description PGAIN2 control includes a setting labeled “Unused”. This value should not be selected and will produce indeterminate results. The PLDRIVE box contains a group of controls which set the drive current for the VCSEL. • Step specifies the step size in milliamps for the VCSEL driver. You may select 0.5 mA, 1.0 mA, 1.5 mA, or 2.0 mA.
Page 15
TMD3721 EVM Software description The Auto Pulse Control (APC) function can be turned off by checking the Disable checkbox. The APC function should normally be disabled in high crosstalk configurations. The Prox Delay control is used along with the Prox VSYNC control to set a time delay between the VSYNC signal and the beginning of the Prox cycle.
TMD3721 EVM Software description controls can be set from 0 to 16383. The ASPx time is calculated as (ASPx + 1) × 1.357 µs, so the range for each is 1.357 µs to 22.233 ms. Although the programming of ASP1, ASP2 and ATIME is highly flexible, it is always recommended that ATIME be an integer multiple of ASP1 + ASP2, that is ATIME = N ×...
Page 17
TMD3721 EVM Software description 4.8.1 ALS output data The left side of the ALS tab displays the ALS measurement data and a snapshot of the ALS FIFO status. The contents of the ALS data depends on the configuration of the ALS channels and the ASP1 and ASP2 settings.
TMD3721 EVM Software description If 2-Channel mode is selected only boxes 0 and 1 will be active. The Clear Plot button will clear the data from the screen and start a new plot. Figure 12: ALS data plot The scale of the Y-axis of the plot can be adjusted by clicking on the small up and down arrows at the top left corner of the plot.
Page 19
TMD3721 EVM Software description Figure 13: Prox tab 4.9.1 Prox output data The left side of the Prox Tab displays output and status data. This data is polled from the device at the user-specified interval. The actual polling interval is shown in the upper right- hand corner of the screen.
Page 20
TMD3721 EVM Software description • Saturation is marked to indicate that some saturation condition has occurred in the prox processing. The Stage 2, Amb Lvl Comp, Stage 1 Amb, and Stage 1 Pulse indicators provide further information regarding the saturation condition. See the Datasheet for an explanation of the meaning of each of these status bits.
TMD3721 EVM host application software please refer to the TMD3721 EVM Quick Start Guide. Designer’s Notebooks dealing with various aspects of optical measurement and optical measurement applications are available. All content is available on the ams OSRAM website ams-osram.com Referring documents: •...
Draft / Preliminary: The draft / preliminary status of a document indicates that the content is still under internal review and subject to change without notice. ams-OSRAM AG does not give any warranties as to the accuracy or completeness of information included in a draft / preliminary version of a document and shall have no liability for the consequences of use of such information.
Need help?
Do you have a question about the OSRAM TMD3721 EVM and is the answer not in the manual?
Questions and answers