AMS TSL2584TSV User Manual Download Page 9

 

 

 

 

 

 

 

 

 

 

page 9/10 

2.1.5.1 

ALS Controls 

The top left corner of the ALS tab contains two controls; one to set the ALS integration time and 
another to control the ALS gain. 

The ITIME control sets the time of the ALS integration. ITIME can be adjusted in 2.72ms steps. This 
register functions as a count-down value so ITIME=255 is the minimum integration time (2.72ms) 

and ITIME=1 is the maximum integration time (693.6ms). Note that ITIME=0 is a special manual 
mode which uses specific I2C commands to start and stop the integration cycle. Because of the 
high timing accuracy required to execute in this mode, it cannot be supported in the AOS_EVM 
software.  The actual integration time, in milliseconds, is displayed next to this control. If 0 is 
selected, the time display will be shown as “Manual Mode”. 

The Gain control is a pulldown menu which lets you select the analog gain of the device. The 
values that can be chosen are 1x, 8x, 16x, and 111x. 

2.1.5.2 

Interrupt Controls 

The lower left corner of the ALS tab contains controls for the interrupt functionality of the device. 
The ADC_INTR signal can be triggered when the CH0 data values are higher than a programmed 
low threshold or higher than a programmed high threshold. 

The Enable checkbox is checked to enable the ADC_INTR signal.  Checking this box, allows the 
interrupt signal to be generated. 

The ADC_INTR indicator indicates whether the interrupt is active.  When the interrupt is NOT 
active, this will display an empty box. When the interrupt is active, this box will be marked. Clicking 
on this box will clear the interrupt signal. (Note, depending on the remaining register settings the 
interrupt may be raised again immediately.) 

The Low and High controls allow you to set thresholds for the CH0 data value. If the CH0 value is 
less than the low threshold or more than the high threshold for more times that specified in the 
persistence register, the interrupt will be activated. 

The Pers control sets the persistence value.  It controls how many consecutive times that a 
threshold must be exceeded before the interrupt is raised. A setting of 0 for this register will cause 
the interrupt to be raised after every ALS cycle, regardless of the threshold settings. Setting this 
value from 1 through 15 requires that the threshold must be exceeded for 1 to 15 consecutive 
cycles before the interrupt is raised. 

Checking the Stop On Interrupt checkbox causes the device to stop processing ALS data 
whenever the interrupt is raised. To continue processing ALS data, the interrupt must be cleared 
either by clicking on the ADC_INTR indicator or by disabling and enabling the interrupt. 

2.1.5.3 

ALS Output Data 

The top right corner of the ALS tab displays the data which is output by the device. 

CH0 displays the raw Channel 0 ADC count. 

CH1 displays the raw Channel 1 count. 

Ratio displays the ratio of CH1 to CH0. 

Lux displays the calculated lux value which is a function of CH0, CH1, ITIME, and Gain. 

Summary of Contents for TSL2584TSV

Page 1: ...User Guide TSL2584TSV EVM TSL2584TSV Light To Digital Ambient Light Version 1 1 ...

Page 2: ...functionality 4 2 TSL2584TSV EVM graphical user interface GUI 4 2 1 Software overview 4 2 1 1 Device ID Information 5 2 1 2 Log Status and Control Information 6 2 1 3 System Menus 6 2 1 4 System Level Controls 8 2 1 5 ALS Tab 8 3 Resources 10 ...

Page 3: ...Guide QSG This will load the required driver for the USB interface and also the control software and graphical user interface GUI The hardware consists of the EVM Controller v2 1a or v2 1c the TSL2584TSV EVM daughterboard a USB interface cable and USB Memory Stick When the USB cable is connected the green LED should flash indicating that power is being received via the USB interface and the contro...

Page 4: ...t the QSG and application notes available on the ams website www ams com There should be enough information to allow evaluation of the TSL2584TSV device 2 TSL2584TSV EVM graphical user interface GUI 2 1 Software overview On successful initialization the software displays a main window containing controls pertinent to the connected device If the software detects an error it will display an error wi...

Page 5: ... top of the window power on the chip and enable the ALS function The ALS tab contains controls for the remaining functions and displays status and data from the device as it operates 2 1 1 Device ID Information The lower left corner of the window displays the ID number of the EVM motherboard identifies the device being used and displays the ID of the device ...

Page 6: ...s section controls the number of log samples that will be collected before logging is automatically stopped and the log data is stored If the count of log entries reaches the amount shown in this field the program will stop the logging function and pop up a window asking for a file name to save the collected data 2 1 3 System Menus At the top of the window there are three pull down menus labeled F...

Page 7: ...ting additional data by clicking Start Logging again The Log a Single Entry command will cause logging to be start collect one single entry and immediately stop again This function is not available when logging is already running Click Clear Log to discard any data that has already been collected If there is data in memory which has not been saved to disk this function will display a prompt asking...

Page 8: ...trols the PON function of the TSL2584TSV When this box is checked the power is on and the device can operate When this box is unchecked the power is off and the device will not operate The control registers can still be written but the device will not function The ALS Enable checkbox controls the ADC_EN function of the TSL2584TSV When this box is checked the device will collect and report ALS data...

Page 9: ...es whether the interrupt is active When the interrupt is NOT active this will display an empty box When the interrupt is active this box will be marked Clicking on this box will clear the interrupt signal Note depending on the remaining register settings the interrupt may be raised again immediately The Low and High controls allow you to set thresholds for the CH0 data value If the CH0 value is le...

Page 10: ...the Clear Plot button is clicked while the plot is disabled the data is discarded but the actual plot will not be updated until the plot function is re enabled 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 The scale can be set to any power of 2 from 64 through 65536 3 Resources TSL2584TSV datasheet TSL2584TSV EVM ...

Reviews: