Figure 3-15. Registers View
Overview of Device Registers
Registers x00 and 0x01 are the result registers and provide the output data from the device as an exponent and
mantissa value indicated as e and r in the register view. The mantissa is split between registers 0x00 and 0x01
as R_MSB and R_LSB. A sample counter (C) and CRC check bits (X) are also contained in register 0x01.
Registers 0x0A, 0x0B, and 0x0C are the configuration registers and provide feedback about the state of the
device; the bit names and full descriptions are shown in the
. Each of the read-only status
bits are greyed out and cannot be changed.
Registers x08 and x09 allow low and high limits, respectively, to be set. These registers are used in certain
interrupt reporting modes.
The device ID is contained in register 0x11.
Additional Features of the Scripts Window
Hidden IDE Window
The Latte program runs a number of Python scripts in the background to capture and display data from the
EVM. These scripts allow for initialization of the device including loading calibration data from the EVM flash
memory, launching a live view window with measurement plot and readings, and additional functionality such as
reading from the flash and selecting a specific LED current for the device to use. For advanced users or users
looking for more flexibility when using the OPT3101EVM, these Python scripts are available in an integrated
development environment (IDE) window that is minimized when TI-Latte is launched. The IDE window can be
used to customize the existing scripts or write new scripts.
After launching Latte, expand the OPT4001YMN directory on the left side of the window under Files by clicking
the triangle to the left of the directory name. This displays the OPT4001YMNEVM folder. Further expanding the
OPT4001YMNEVM folder will display all the example scripts as shown in
.
OPT4001YMNEVM Software
OPT4001YMNEVM User's Guide
17
Copyright © 2021 Texas Instruments Incorporated