C Address Selection; Register X00 Button And Recorded Values; Register X01 Control And Status Register Bits - Texas Instruments OPT3004EVM User Manual

Table of Contents

Advertisement

www.ti.com
To quickly start using the device, leave the default settings selected, and click the Write Reg x01 button,
and then click the Run Continuously flip switch. The software then begins capturing lux data from the
device. This quick start is a good test to make sure everything is operational. To stop the computer from
capturing data and plotting, click Run Continuously again.
3.4.2
Feature Descriptions
Register x00 is a read-only register that holds the range and converted value. These data are used (per
the
OPT3004 data
Reg x00 button to update these fields and the plot with the latest values from the OPT3004EVM.
Register x01 configures the OPT3004 and provides feedback about the state of the device; the bit names
and full descriptions are shown in the
has a drop-down menu to select the appropriate value. Each of the read-only status bits has an
associated small, green indicator. As shown in
because some of the bits have read and write capability. Note that in
selection field has four identical automatic range modes: 0x0C-0x0F. Also, the Mode selection field has
two identical continuous sampling options: 0x02 and 0x03.
Registers x02 and x03 enforce low and high limits, respectively, on the output ranges (exponent) and
values (mantissa) from the OPT3004. These registers are programmed with the appropriate fields, as
shown in
Figure
15. Change the values of the data in these fields to write and read the values from the
OPT3004; no button press is required. However, if values are manually entered, exit the text field for the
field to update.
SBOU220 – December 2018
Submit Documentation Feedback
Figure 12. I
sheet) to compute the lux output, labeled Reg x00 Lux in
Figure 13. Register x00 Button and Recorded Values
OPT3004 data
Figure 14. Register x01 Control and Status Register Bits
Copyright © 2018, Texas Instruments Incorporated
2

C Address Selection

sheet. Each of the configurable, read and write bits
Figure
14, two buttons are provided to operate register x01
Figure
OPT3004EVM Software
Figure
13. Click the Read
14, the Lux Full Scale Range
OPT3004EVM User's Guide
11

Advertisement

Table of Contents
loading

Table of Contents