Osram ams TSL2521 Manual Download Page 24

 

 

Document Feedback 

TSL2521 ALS/Flicker 

 

 

Legal Information 

 

 

Application Note 

• PUBLIC 

 

AN001042 

• v1-01 • 2022-Jan-27 

23

 

│ 23 

 

Legal Information 

Copyrights & Disclaimer 

Copyright ams-OSRAM AG, Tobelbader Strasse 30, 8141 Premstaetten, Austria-Europe. Trademarks Registered. All rights 
reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written 
consent of the copyright owner.  

Information in this document is believed to be accurate and reliable. However, ams-OSRAM AG does not give any 
representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no 
liability for the consequences of use of such information. 

Applications that are described herein are for illustrative purposes only. ams-OSRAM AG makes no representation or warranty 
that such applications will be appropriate for the specified use without further testing or modification. ams-OSRAM AG takes no 
responsibility for the design, operation and testing of the applications and end-products as well as assistance with the 
applications or end-product designs when using ams-OSRAM AG products. ams-OSRAM AG is not liable for the suitability and 
fit of ams-OSRAM AG products in applications and end-products planned.  

ams-OSRAM AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, 
property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, 
of any kind, in connection with or arising out of the furnishing, performance or use of the technical data or applications described 
herein. No obligation or liability to recipient or any third party shall arise or flow out of ams-OSRAM AG rendering of technical or 
other services. 

ams-OSRAM AG reserves the right to change information in this document at any time and without notice. 

 

RoHS Compliant & ams Green Statement 

RoHS Compliant:

 The term RoHS compliant means that ams-OSRAM AG products fully comply with current RoHS directives. 

Our semiconductor products do not contain any chemicals for all 6 substance categories plus additional 4 substance categories 
(per amendment EU 2015/863), including the requirement that lead not exceed 0.1% by weight in homogeneous materials. 
Where designed to be soldered at high temperatures, RoHS compliant products are suitable for use in specified lead-free 
processes.  

ams Green (RoHS compliant and no Sb/Br/Cl):

 ams Green defines that in addition to RoHS compliance, our products are free 

of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) 
and do not contain Chlorine (Cl not exceed 0.1% by weight in homogeneous material). 

Important Information:

 The information provided in this statement represents ams-OSRAM AG knowledge and belief as of the 

date that it is provided. ams-OSRAM AG bases its knowledge and belief on information provided by third parties, and makes no 
representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third 
parties. ams-OSRAM AG has taken and continues to take reasonable steps to provide representative and accurate information 
but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. ams-OSRAM AG 
and ams-OSRAM AG suppliers consider certain information to be proprietary, and thus CAS numbers and other limited 
information may not be available for release. 

 

Headquarters 

ams-OSRAM AG 

Tobelbader Strasse 30 

8141 Premstaetten 

Austria, Europe 

Tel: +43 (0) 3136 500 0 

Please visit our website at 

www.ams.com

 

Buy our products or get free samples online at 

www.ams.com/Products

 

Technical Support is available at 

www.ams.com/Technical-Support

 

Provide feedback about this document at 

www.ams.com/Document-Feedback

 

For sales offices, distributors and representatives go to 

www.ams.com/Contact

 

For further information and requests, e-mail us at 

[email protected]

 

 

 

Summary of Contents for ams TSL2521

Page 1: ...Product Document Published by ams OSRAM Group...

Page 2: ...Application Note AN001042 TSL2521 ALS Flicker Settings and Comparison to Legacy ALS Devices v1 01 2022 Jan 27...

Page 3: ...C 11 2 6 Wait Time 12 3 ALS Result Data Format 13 3 1 Internal Data Format 13 3 2 16 Bit Data Full Count Results in ALS_DATA Registers 14 3 3 20 Bit Data Result in ALS_DATA Registers Including 4 Bit R...

Page 4: ...e data compression features and measurements can be planned in sequences with individual settings Additionally a new residual measurement feature offers higher resolution at lower gain These new featu...

Page 5: ...odes like Clear C and Infrared IR but after the two available ALS modulators modulator 0 and modulator 1 Figure 1 shows the number and filter type of the six available photodiodes on TSL2521 The photo...

Page 6: ...ement_sequencer_als_pattern in register MEAS_SEQR_ALS_FD_1 for both modulators by default ALS with both modulators is enabled for step 0 only Flicker measurement can be enabled for each modulator indi...

Page 7: ...ution results in an effective gain of 4096x in this case but at the gain non linearity of 256x which is rather low In order to use the second gain table mod_gain_select has to be set to 3 before start...

Page 8: ...red or not the way to get back to the same number space comparable to legacy devices is to divide the results by 16 in this case the decimal places show the residual amount The GUI provided by ams OSR...

Page 9: ...al measurement time This reduces the ALS integration time accordingly but only by a very small amount and in case of no flicker measurement during the same step most times it can be neglected as shown...

Page 10: ...n as set in fd_nr_samples in registers FD_NR_SAMPLES0 and FD_NR_SAMPLES1 and increases at the same time the ALS result as often as set in als_nr_samples in registers ALS_NR_SAMPLES0 and ALS_NR_SAMPLES...

Page 11: ...ation and Proposed Settings Item Value dec Customer Example Specification Update interval 0 5 s ALS integraton time 50 ms Max flicker frequency 2 kHz FFT bin size 10 Hz Proposal Sample time 125 s Samp...

Page 12: ...nt_sequencer_agc_asat_pattern in register MEAS_SEQR_STEP1_MOD_PHDX_SMUX_H individually for each sequencer step This setting is valid for both modulators The second one is the predict AGC that defines...

Page 13: ...sabled by clearing bit mod_calib_nth_iteration_az_enable 2 6 Wait Time Related to ALS measurement on legacy ALS devices like TCS3707 was the Wait time that defined the sample rate of the ALS measureme...

Page 14: ...As shown in Figure 10 the maximum result width of 26 bit including 4 bit Residual counts requires als_msb_position to be set to 6 In most applications the second shown format of 24 bit is a good setti...

Page 15: ...taining Residuals later since the number space is a different one without the 4 bits on LSB side 3 3 20 Bit Data Result in ALS_DATA Registers Including 4 Bit Residuals It is possible to transfer the 1...

Page 16: ...full counts result in the ALS_DATAx is shifted by 4 bits to the left or simply multiplied by 16 on host side to keep the data consistent over the whole range and to stay in the same 20 bit number spa...

Page 17: ...urement in different steps of the sequencer If this is not possible the bit do_als_final_processing in register CFG1 has to be set This delays the writing of ALS data until all flicker data is written...

Page 18: ...0xFFFE in case of 24 bit FIFO format to 0xFFFFFE Digital saturation sets the modulator interrupt flag mint in register STATUS as well Like for analog saturation this can be solved by reducing the gain...

Page 19: ...Document Feedback TSL2521 ALS Flicker ALS Result Data Format Application Note PUBLIC AN001042 v1 01 2022 Jan 27 23 18 Equation 8 _ _ _ _ _ _ 1 _ 1 22 16...

Page 20: ...to reduce the number of transferred flicker data bits in order to reduce I2 C traffic For high flicker samples rates the dynamic range is lower so the absolute number of bits of a transferred sample...

Page 21: ...t reduces the I2 C traffic significantly the drivers provided by ams OSRAM show and document the use of these features 4 3 Flicker Data Transfer Via FIFO Flicker data is always written to the FIFO if...

Page 22: ...1 Bit and Filled Up FIFO Byte The flicker data can be read out from register FIFO_DATA at any time The right procedure is to get firstly fifo_lvl by reading FIFO_LEVEL 0xFD and FIFO_STATUS0 0xFE as bl...

Page 23: ...formation Changes from previous version to current revision v1 01 Page Initial version Corrected number of preferred modulator for flicker measurements 4 Page and figure numbers for the previous versi...

Page 24: ...otice RoHS Compliant ams Green Statement RoHS Compliant The term RoHS compliant means that ams OSRAM AG products fully comply with current RoHS directives Our semiconductor products do not contain any...

Reviews: