0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AS7421-DOLT

AS7421-DOLT

  • 厂商:

    AMSOSRAM(艾迈斯半导体)

  • 封装:

    OLGA10_6.6X6MM

  • 描述:

    64通道高光谱近红外传感器 760nm,830nm,950nm,1040nm

  • 数据手册
  • 价格&库存
AS7421-DOLT 数据手册
Product Document Published by ams OSRAM Group Datasheet DS000667 AS7421 64-Channel Hyperspectral NIR Sensor v1-00 • 2022-Aug-25 Document Feedback AS7421 General Description Content Guide 1 General Description ...................... 3 9 I²C Interface .................................. 23 1.1 1.2 1.3 Key Benefits & Features............................... 3 Applications .................................................. 4 Block Diagram .............................................. 4 2 Ordering Information .................... 5 9.1 9.2 9.3 9.4 9.5 I²C Address ................................................. 23 I²C Write Transaction.................................. 23 I²C Read Transaction ................................. 24 Timing Characteristics ................................ 24 Timing Diagrams ........................................ 25 3 Pin Assignment ............................. 6 10 Register Description .................... 26 3.1 3.2 Pin Diagram .................................................. 6 Pin Description ............................................. 6 10.1 10.2 Register Overview ...................................... 26 Detailed Register Description ..................... 31 4 Absolute Maximum Ratings ......... 8 11 Package Drawings & Markings ... 45 5 Electrical Characteristics.............. 9 11.1 Package Drawings ...................................... 45 6 Typical Operating Characteristics ............................ 14 12 Tape & Reel Information.............. 48 13 Soldering & Storage Information 50 7 Functional Description................ 16 14 Revision Information ................... 51 7.1 7.2 7.3 7.4 7.5 7.6 Device Architecture .................................... 17 Sensor Array............................................... 18 SMUX Configuration ................................... 18 ADC Gain Configuration ............................. 18 Typical Measurement Cycle ....................... 19 LED Driver .................................................. 20 15 Legal Information ......................... 52 8 Device and System Calibration .. 21 Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 2 Document Feedback 1 AS7421 General Description General Description AS7421 is a 64-channel near infrared digital spectrometer for spectral identification and spectral footprint analysis used in consumer devices. The spectral response of the sensor is defined in the wavelengths from approximately 750 nm to 1050 nm and the channels are equally distributed over the mentioned range. Once a spectral measurement is started, all 64 channels are processed automatically by 16 parallel sampling ADCs with four consecutive integration cycles. AS7421 integrates Fabry-Perot filters into standard CMOS silicon via Nano-optic deposited interference filter technology and its package provides a built in aperture and micro optics to control the light entering the sensor array. In addition, the module provides a near infrared (NIR) light source and an integrated LED driver to control it. Control and Spectral data access is implemented through a serial I²C interface. A GPIO and an interrupt signal are available to start/synchronize the spectral measurement as well as minimize I²C traffic. 1.1 Key Benefits & Features The benefits and features of AS7421, 64-Channel Hyperspectral NIR Sensor, are listed below: Figure 1: Added Value of Using AS7421 Benefits Features Miniaturized reflectance/absorbance spectral analysis and material identification in NIR range 61 individual and 4 special purpose spectral channels with a FWHM of typical 10nm 16-bit full scale resolution per spectral channel Fast measurement time 16 parallel sampling ADCs with individual gain settings 256 ms to obtain measurement data for all 64 channels High module integration and low BOM Integrated 64-channel sensor with on chip Fabry-Perot filters Integrated NIR light source (LED) to cover 7501050 nm range Integrated programmable LED driver Integrated optics to limit AOI on sensor Low power consumption and minimum I²C traffic 3.3 V VDD operation Configurable sleep mode Interrupt-driven device Synchronization of spectral measurement Configurable GPIO to trigger/sync spectral measurements Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 3 Document Feedback 1.2 Benefits Features Full calibration support package available for sensor integration Calibration library support which includes data post-processing of spectral raw data Data output options: raw data, absorbance spectra, 1st derivative of absorbance spectra, 2nd derivative of absorbance spectra Applications ● ● ● 1.3 AS7421 General Description Spectral material identification of goods and fabrics Moisture measurements in industrial or agricultural environments Brix and dry matter measurements of fruits (fruit ripeness) Block Diagram The functional blocks of this device are shown below: Figure 2 : Functional Blocks of AS7421 GPIO VDD RST PGND GND AS7421 4x MCU SCL SDA INT LED A 64 CH NIR 750-1050nm reflective surface sensor light in Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 4 Document Feedback 2 AS7421 Ordering Information Ordering Information Ordering Code Package Marking Delivery Form Delivery Quantity AS7421-ZLGT OLGA-10 AS7421 Tape & Reel 2000 pcs/reel Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 5 Document Feedback 3 Pin Assignment 3.1 Pin Diagram AS7421 Pin Assignment SCL SDA GPIO RST LEDA Figure 3: Pin Assignment of AS7421 (TOP VIEW) 10 9 8 7 6 AS7421 TOP VIEW 11 3.2 4 5 PGND VDD 3 PGND 2 GND 1 INT 12 Pin Description Figure 4: Pin Description of AS7421 Pin Number Pin Name Pin Type(1) Description 2 VDD P Positive supply terminal 4 PGND P Ground. All voltages referenced to GND 3 GND P Ground. All voltages referenced to GND 10 SCL DI Serial Interface clock signal line for I2C interface Connect pull up resistor to 1.8 V or 3.3 V. 9 SDA D_I/O Serial Interface data signal line for I2C interface Connect pull up resistor to 1.8 V or 3.3 V. 1 INT DO_OD Interrupt. Open drain output. Connect pull up resistor to 1.8 V or 3.3 V. Active low. 8 GPIO D_I/O General purpose input/output. Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 6 Document Feedback AS7421 Pin Assignment Pin Number Pin Name Pin Type(1) Description 7 RST DI Reset input with internal pull down resistor. Active high 6 LED A A_I Supply voltage for NIR LEDs anode. 5 PGND A_I Ground. All voltages referenced to GND 11 GND P Exposed pad, connect to GND with thermal vias 12 LED A A_I Exposed pad, connect to LED A (1) Explanation of abbreviations: DI Digital Input D_I/O Digital Input/Output DO_OD Digital Output, open drain P Power pin A_I Analog input Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 7 Document Feedback 4 AS7421 Absolute Maximum Ratings Absolute Maximum Ratings Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated under “Electrical Conditions” is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Figure 5 Absolute Maximum Ratings of AS7421 Symbol Parameter Min Max Unit Comments Electrical Parameters VDD / VGND Supply Voltage to Ground -0.3 3.6 V Applicable for pin VDD VLEDA LEDA Voltage to Ground -0.3 3.6 V Applicable for pin LEDA VDIG_MAX Digital pins -0.3 VDD+0.3 V Applicable for pins SCL,SDA and INT ISCR Input Current (latch-up immunity) mA JESD78E W Including LEDs and sensor ± 100 Continuous Power Dissipation (TA = 70 °C) PT Continuous Power Dissipation 1.4 Electrostatic Discharge ESDHBM Electrostatic Discharge HBM ± 2000 V JS-001-2017 ESDCDM Electrostatic Discharge CDM ± 500 V JS-002-2014 Temperature Ranges and Storage Conditions TA Ambient Temperature RTHJA Junction to Ambient Thermal Resistance TSTRG Storage Temperature Range TBODY Package Body Temperature RHNC Relative Humidity (noncondensing) MSL Moisture Sensitivity Level (1) (2) -30 -40 5 3 +85 °C 85 K/W +85 °C 260 °C 85 % Depending on actual PCB layout. (2) IPC/JEDEC J-STD-020(1) Maximum floor life time of 168h The reflow peak soldering temperature (body temperature) is specified according to IPC/JEDEC J-STD-020 “Moisture/Reflow Sensitivity Classification for Nonhermetic Solid State Surface Mount Devices.” The lead finish for Pbfree leaded packages is “Matte Tin” (100 % Sn) Value defined for PCB using 5x5mm copper area on bottom side of PCB. Thermal vias used to connect exposed pad from TOP layer with bottom layer. Contact ams OSRAM for guidelines on thermal management. Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 8 Document Feedback 5 AS7421 Electrical Characteristics Electrical Characteristics All limits are guaranteed. The parameters with Min and Max values are guaranteed with production tests or SQC (Statistical Quality Control) methods. All voltages with respect to GND/PGND. Device parameters are guaranteed at VDD=3.3 V and TA=25 °C unless otherwise noted. Figure 6: Electrical Characteristics of AS7421 Symbol Parameter Conditions Min Typ Max VDD Supply voltage 3 3.3 3.6 V VLEDA LED supply voltage 2.8 3.0(1) V fOSC Oscillator frequency TA Operating free-air temperature -30 25 60 °C TJ Operating junction temperature -30 25 65 °C TOVTEMP Overtemperature shutdown 150 165 °C 2.5 5 mA ILED = 75 mA 8 Unit MHz Power Consumption VDD=3.3 V; TA=25°C Active mode (2) IDD Supply current VDD=3.3V; TA=25 °C 400 Idle mode (3) VDD=3.3V; TA=25 °C 2 Sleep mode (4) µA 4 µA Digital Pins VIH SCL,SDA input high voltage VIL SCL,SDA input low voltage VOL INT, SDA output low voltage CI Ileak 1.26 V 0.54 V 0.4 V Input pin capacitance 10 pF Leakage current into SCL,SDA,INT, GPIO pins 1.5 µA +30 % 500 mV 6 mA sink current LED Driver ILED=50 mA ILED_ACCURACY Absolute ILED accuracy VCOMP Compliance voltage of current sink ILED = 75 mA Forward voltage IF = 25 mA TA=25°C -30 LED Vf_LED1 Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 2.0 V 52 │ 9 Document Feedback AS7421 Electrical Characteristics Symbol Parameter Conditions Vf_LED2 Forward voltage IF = 25 mA 1.6 V Vf_LED3 Forward voltage IF = 25 mA 1.25 V Vf_LED4 Forward voltage IF = 25 mA 1.25 V λp_LED1 Peak wavelength IF = 25 mA 760 nm λp_LED2 Peak wavelength IF = 25 mA 830 Nm λp_LED3 Peak wavelength IF = 25 mA 950 Nm λp_LED4 Peak wavelength IF = 25 mA 1040 Nm (1) (2) (3) (4) Min Typ Max Unit VDD must be applied before VLEDA during power on. VLEDA must always be smaller or equal than VDD+0.3V. Active state occurs during ongoing spectral measurement AEN = “1” and power consumption defined without LED current Idle state occurs when PON = “1” and all functions are disabled Sleep state occurs when PON = “0” and no active I2C communication Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 10 Document Feedback AS7421 Electrical Characteristics Figure 7: Optical Characteristics of AS7421, Integration Time = 65.5 ms (unless otherwise noted) Symbol Parameter Conditions Min Typ Max Unit FWHM Full width half maximum of filter (8) 10 nm λs Peak Wavelength Separation 5 nm dark Dark ADC count value Ee = 0 μW/cm² AGAIN: 128x 5 counts Integration time: 65.5 ms Gain ratio Optical gain ratios, relative to 1x gain setting AGAIN: 1x 1 AGAIN: 2x 2 AGAIN: 4x 4 AGAIN: 8x 8 AGAIN: 16x 16 AGAIN: 32x 32 AGAIN: 64x 64 AGAIN: 128x 128 AGAIN: 256x 256 SNRSYSTEM Signal to noise ratio of optical system (1) (2) Range:750 nm – 1050 nm ImSR Intra-module spectral repeatability (1) (3) Range:750 nm – 1050 nm 0.5 % IMSR Inter-module spectral repeatability (1) (4) Range:750 nm – 1050 nm 5 % Wacc Wavelength accuracy (1) (7) 5 nm 256 ms (5) tint Integration time t64CH Measurement time for all 64 channel (6) Field of view of f (1) (2) (3) (4) (5) (6) (7) (8) single photo diode 500 0.5 65.5 4 x tint -10 ms 10 deg Parameter not tested in final test but guaranteed by design and validation. Verified with raw spectral data collected with reflectance standard sample (RSS) with reflectance of 99% (white diffusive target). Average and standard deviation is calculated for each channel (λCH) for 10 measurements. SNRSYSTEM = µ(λCH) / σ(λCH) Verified with raw spectral data collected with reflectance standard sample (RSS, 10 measurements per channel) with reflectance of 99% (white diffusive target) and wavelength calibration standard zenith polymer (WCS, 100 measurements per channel). Verified with raw spectral data collected with reflectance standard sample (RSS, 10 measurements per channel for 10 devices) with reflectance of 99% (white diffusive target) and wavelength calibration standard zenith polymer (WCS, 100 measurements per channel for 10 devices). 65.5 ms integration time to achieve 16-bit count value (depending on amount of light reflected to sensor) 4 integration cycles are done automatically to process all 64 channels Verified after full sensor calibration. Raw spectral data recorded for each channel with wavelength calibration standard zenith polymer (WCS, 10 measurements per channel). Parameter verified with collimated light at 0° AOI (angle of incidence) Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 11 Document Feedback AS7421 Electrical Characteristics Figure 8: Typical Irradiance Responsivity of AS7421, Integration Time = 65.5 ms (unless otherwise noted) Symbol Parameter Conditions Re_PD0 Irradiance responsivity AGAIN: 64x ;λp: 830 nm 406 counts / (µW/cm²) Re_PD1 Irradiance responsivity AGAIN: 64x;λp: 750 nm 431 counts / (µW/cm²) Re_PD2 Irradiance responsivity AGAIN: 64x; λp: 790 nm 409 counts / (µW/cm²) Re_PD3 Irradiance responsivity AGAIN: 64x;λp: 870 nm 296 counts / (µW/cm²) Re_PD4 Irradiance responsivity AGAIN: 64x; λp: 940 nm 190 counts / (µW/cm²) Re_PD5 Irradiance responsivity AGAIN: 64x; λp: 980 nm 112 counts / (µW/cm²) Re_PD6 Irradiance responsivity AGAIN: 128x ; λp: 1020 nm 105 counts / (µW/cm²) Re_PD7 Irradiance responsivity AGAIN: 64x; λp: 830 nm 385 counts / (µW/cm²) Re_PD8 Irradiance responsivity AGAIN: 64x; λp: 760 nm 394 counts / (µW/cm²) Re_PD9 Irradiance responsivity AGAIN: 64x; λp: 800 nm 422 counts / (µW/cm²) Re_PD10 Irradiance responsivity AGAIN: 64x; λp: 840 nm 385 counts / (µW/cm²) Re_PD11 Irradiance responsivity AGAIN: 64x; λp: 880 nm 344 counts / (µW/cm²) Re_PD12 Irradiance responsivity AGAIN: 64x; λp: 930 nm 235 counts / (µW/cm²) Re_PD13 Irradiance responsivity AGAIN: 64x; λp: 970 nm 151 counts / (µW/cm²) Re_PD14 Irradiance responsivity AGAIN: 128x ; λp: 1010 nm 148 counts / (µW/cm²) Re_PD15 Irradiance responsivity AGAIN: 128x ; λp: 1050 nm 61 counts / (µW/cm²) Re_PD16 Irradiance responsivity AGAIN: 64x; λp: 770 nm 398 counts / (µW/cm²) Re_PD17 Irradiance responsivity AGAIN: 64x; λp: 810 nm 416 counts / (µW/cm²) Re_PD18 Irradiance responsivity AGAIN: 64x; λp: 850 nm 390 counts / (µW/cm²) Re_PD19 Irradiance responsivity AGAIN: 64x; λp: 890 nm 367 counts / (µW/cm²) Re_PD20 Irradiance responsivity AGAIN: 64x; λp: 920 nm 253 counts / (µW/cm²) Re_PD21 Irradiance responsivity AGAIN: 64x; λp: 960 nm 166 counts / (µW/cm²) Re_PD22 Irradiance responsivity AGAIN: 128x ; λp: 1000 nm 180 counts / (µW/cm²) Re_PD23 Irradiance responsivity AGAIN: 128x ; λp: 1040 nm 74 counts / (µW/cm²) Re_PD24 Irradiance responsivity AGAIN: 64x; λp: 780 nm 398 counts / (µW/cm²) Re_PD25 Irradiance responsivity AGAIN: 64x; λp: 820 nm 411 counts / (µW/cm²) Re_PD26 Irradiance responsivity AGAIN: 64x; λp: 860 nm 405 counts / (µW/cm²) Re_PD27 Irradiance responsivity AGAIN: 64x; λp: 900 nm 363 counts / (µW/cm²) Re_PD28 Irradiance responsivity AGAIN: 64x; λp: 910 nm 286 counts / (µW/cm²) Re_PD29 Irradiance responsivity AGAIN: 64x; λp: 950 nm 189 counts / (µW/cm²) Re_PD30 Irradiance responsivity AGAIN: 128x ; λp: 990 nm 206 counts / (µW/cm²) Re_PD31 Irradiance responsivity AGAIN: 128x ; λp: 1030 nm 92 counts / (µW/cm²) Re_PD32 Irradiance responsivity AGAIN: 64x; λp: 775 nm 401 counts / (µW/cm²) Re_PD33 Irradiance responsivity AGAIN: 64x; λp: 815 nm 430 counts / (µW/cm²) Re_PD34 Irradiance responsivity AGAIN: 64x; λp: 855 nm 401 counts / (µW/cm²) Re_PD35 Irradiance responsivity AGAIN: 64x; λp: 895 nm 370 counts / (µW/cm²) Re_PD36 Irradiance responsivity AGAIN: 64x; λp: 905 nm 304 counts / (µW/cm²) Re_PD37 Irradiance responsivity AGAIN: 64x; λp: 945 nm 209 counts / (µW/cm²) Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 Min Typ Max Unit 52 │ 12 Document Feedback AS7421 Electrical Characteristics Re_PD38 Irradiance responsivity AGAIN: 128x ; λp: 985 nm 225 counts / (µW/cm²) Re_PD39 Irradiance responsivity AGAIN: 128x; λp: 1025 nm 104 counts / (µW/cm²) Re_PD40 Irradiance responsivity AGAIN: 64x; λp: 765 nm 397 counts / (µW/cm²) Re_PD41 Irradiance responsivity AGAIN: 64x; λp: 805 nm 418 counts / (µW/cm²) Re_PD42 Irradiance responsivity AGAIN: 64x; λp: 845 nm 371 counts / (µW/cm²) Re_PD43 Irradiance responsivity AGAIN: 64x; λp: 885 nm 354 counts / (µW/cm²) Re_PD44 Irradiance responsivity AGAIN: 64x; λp: 915 nm 269 counts / (µW/cm²) Re_PD45 Irradiance responsivity AGAIN: 64x; λp: 955 nm 177 counts / (µW/cm²) Re_PD46 Irradiance responsivity AGAIN: 128x ; λp: 995 nm 203 counts / (µW/cm²) Re_PD47 Irradiance responsivity AGAIN: 128x ; λp: 1035 nm 90 counts / (µW/cm²) Re_PD48 Irradiance responsivity AGAIN: 64x; λp: 755 nm 375 counts / (µW/cm²) Re_PD49 Irradiance responsivity AGAIN: 64x; λp: 795 nm 401 counts / (µW/cm²) Re_PD50 Irradiance responsivity AGAIN: 64x; λp: 835 nm 387 counts / (µW/cm²) Re_PD51 Irradiance responsivity AGAIN: 64x; λp: 875 nm 320 counts / (µW/cm²) Re_PD52 Irradiance responsivity AGAIN: 64x; λp: 926 nm 239 counts / (µW/cm²) Re_PD53 Irradiance responsivity AGAIN: 64x; λp: 965 nm 163 counts / (µW/cm²) Re_PD54 Irradiance responsivity AGAIN: 128x ; λp: 1005 nm 169 counts / (µW/cm²) Re_PD55 Irradiance responsivity AGAIN: 128x ; λp: 1045 nm 74 counts / (µW/cm²) Re_PD56 Irradiance responsivity AGAIN: 64x; λp: 830 nm 403 counts / (µW/cm²) Re_PD57 Irradiance responsivity AGAIN: 64x; λp: 785 nm 413 counts / (µW/cm²) Re_PD58 Irradiance responsivity AGAIN: 64x; λp: 825 nm 327 counts / (µW/cm²) Re_PD59 Irradiance responsivity AGAIN: 64x; λp: 865 nm 214 counts / (µW/cm²) Re_PD60 Irradiance responsivity AGAIN: 64x; λp: 935 nm 214 counts / (µW/cm²) Re_PD61 Irradiance responsivity AGAIN: 64x; λp: 975 nm 143 counts / (µW/cm²) Re_PD62 Irradiance responsivity AGAIN: 128x ; λp: 1015 nm 134 counts / (µW/cm²) Re_PD63 Irradiance responsivity AGAIN: 64x; λp: 830 nm 426 counts / (µW/cm²) Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 13 Document Feedback 6 AS7421 Typical Operating Characteristics Typical Operating Characteristics Figure 9: Typical Spectral Responsivity of Sensor 1 0.9 0.8 relative responsivity 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 700 750 800 850 900 950 1000 1050 1100 wavelength [nm] Spectral radiant power [W/nm] Figure 10: Typical LED Spectral Emission at 50 mA LED Current 3.00E-04 2.50E-04 2.00E-04 1.50E-04 1.00E-04 5.00E-05 -1.10E-10 700 750 800 850 900 950 1000 1050 wavelength [nm] LED2 Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 LED1 LED4 LED3 SUM 4 LEDs 52 │ 14 Document Feedback AS7421 Typical Operating Characteristics Figure 11: Typical LED Forward Voltage vs. LED Current ILED vs VLEDA 80 70 ILED [mA] 60 50 40 30 20 10 0 1.00 1.20 1.40 1.60 1.80 2.00 2.20 2.40 2.60 2.80 3.00 VLED A [V] Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 LED1_50mA LED1_75mA LED3_50mA LED3_75mA LED4_50mA LED4_75mA LED2_50mA LED2_75mA 52 │ 15 Document Feedback 7 AS7421 Functional Description Functional Description Upon power-up (POR), the device initializes. It is required that VDD is applied and settled 10 ms before the supply voltage of the NIR light source is applied (VLED_A). During power down VLED_A needs to be turned off 10 ms prior VDD. During initialization, the device cannot accept I²C transactions. All communication with the device must be delayed and all outputs from the device must be ignored including interrupts. After initialization, the device enters the SLEEP state. In this operational state, the internal oscillator and other circuitry are not active, resulting in ultra-low power consumption. If an I²C transaction occurs during this state, the I²C core wakes up temporarily to service the communication. Once the Power ON bit, “PON”, is enabled, the device enters the IDLE state in which the internal oscillator and attendant circuitry are active, but power consumption remains low. Whenever the spectral measurement is enabled (LTF_ON = “1”) the device enters the ACTIVE state. If the spectral measurement is disabled (LTF_ON = “0”) the device returns to the IDLE state. The figure below describes a simplified state diagram and the typical supply currents in each state. The power consumption in ACTIVE state does not include the power consumption to drive the NIR LEDs. Figure 12: Start Up Flow-Chart Power On VDD > VDD_POR SLEEP PON = „0" IDD = 2µA (typ) Reg 0x60 bit PON = „1" IDLE LTF_ON = „0" IDD = 200µA (typ) Reg 0x60 bit LTF_ON = „1" ACTIVE Spectral measurement IDD = 2.5mA (typ) Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 16 Document Feedback 7.1 AS7421 Functional Description Device Architecture The device features 64 photo diodes (8x8 array) with on chip Fabry-Perot filters. 61 photodiodes have an individual spectral response in the wavelength range from 750-1050 nm. The four corner photodiodes (indicated in the block diagram below with grey shading) share the same filter response of 830 nm. Sixteen dedicated 16-bit ADCs with adjustable gain and integration time are available and can be configured with the serial interface. The gain of each ADC can be adjusted independently. Once a spectral measurement is started, the device automatically runs four full integration cycles to obtain spectral data of all 64 channels. The spectral data (128 bytes) is stored on chip and can be read out using the I2C interface burst mode after the four cycles have been finished. The GPIO can be used to trigger and synchronize a spectral measurement with an external MCU or as additional interrupt output. The pin RST acts as reset input and is active high. Figure 13: Simplified Block Diagram of AS7421 8x8 photo diode array 16 x 16bit ADC w. adjustable gain MUX VDD GPIO MUX SCL INT Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 CH0 Data CH1 Data CH2 Data CH3 Data CH12 ADC CH13 ADC CH14 ADC CH15 ADC CH12 Gain CH13 Gain CH14 Gain CH15 Gain CH60 Data CH61 Data CH62 Data CH63 Data MUX RST SDA CH0 Gain CH1 Gain CH2 Gain CH3 Gain MUX GND CH0 ADC CH1 ADC CH2 ADC CH3 ADC I2C Interface OTP GPIO TEMP NIR LEDs interrupt handling RC OSC REG. BANK RAM LED Driver LED A PGND 52 │ 17 Document Feedback 7.2 AS7421 Functional Description Sensor Array The device features an 8x8-photodiode array – each photo diode has its own filter with a dedicated response. The pitch between each photo-diode is 200 µm. Four photodiodes (corner) share the same wavelength response. Figure 14: Photodiode Array 1600µm 1600µm 7.3 830 nm 750 790 870 940 980 1020 830 nm 760 800 840 880 930 970 1010 1050 770 810 850 890 920 960 1000 1040 780 820 860 900 910 950 990 1030 775 815 855 895 905 945 985 1025 765 805 845 885 915 955 995 1035 755 795 835 875 925 965 1005 1045 830 nm 785 825 865 935 975 1015 830 nm SMUX Configuration The device integrates a multiplexer (SMUX). With the SMUX, it is possible to map all available photo diodes to one of four pre-defined ADCs. In total sixteen ADCs are available for data processing. After power up of the device the SMUX needs to be configured and the configuration data is stored in the RAM. ams OSRAM provides reference codes and an application note on how to configure the SMUX. 7.4 ADC Gain Configuration The gain of each modulator (ADC) can be adjusted individually. Eight configuration steps are available, from AGAIN “0” (gain factor 1x) to AGAIN “8” which equals a gain ration of 256x. ams OSRAM provides reference codes and an application note on how to configure the AGAIN values of AS7421. Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 18 Document Feedback 7.5 AS7421 Functional Description Typical Measurement Cycle Figure 15: Measurement Cycle with LED_WAIT_OFF = “1” led_wait_off = 1'b1 tLED_ON tLED_ON LED_ON State Idle AZ Cfg Cycle Integration Str WaitC AZ Cfg Integration Str WaitC AZ Cfg B A Integration Str WaitC AZ Cfg C Integration Str Mv WaitM AZ D Cfg A optional - depending on the value LTF_CYCLE in the register CFG_LTF (0x67) Figure 16: Measurement Cycle with LED_WAIT_OFF = “0” led_wait_off = 1'b0 tLED_ON tLED_ON tLED_ON tLED_ON tLED_ON LED_ON State Idle AZ Cycle Cfg Integration Str WaitC AZ Cfg Integration Str WaitC B A AZ Cfg Integration Str WaitC AZ Cfg C Integration Str Mv WaitM AZ D Cfg A optional - depending on the value LTF_CYCLE in the register CFG_LTF (0x67) Figure 17: Measurement State Explanation AZ AutoZero ... Offset compensation of ADCs Cfg Configuration ... Set the ASETUP and SMUX values for the integration cycle Integration Integration cycle Programable with register LTF_ITIME (0x61 – 0x63) Str Store ... Store the 16 x 16bit ADC data in the internal RAM Mv Move ... Provision of a new memory area in the internal RAM for the next measurement WaitC Wait Cycle ... Waiting time between integration cycles within a measurement (can optionally be switched on or off) Programable with registers LTF_WTIME (0x64 – 0x67) WaitM Wait Measurement ... Waiting time between the provision of a new memory area and the automatic start of the next measurement Programable with registers LTF_WTIME (0x64 – 0x67) Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 19 Document Feedback 7.6 AS7421 Functional Description LED Driver Four current sinks are provided to drive the 4 integrated NIR LEDs with a programmable constant current of 50 mA or 75 mA per channel. If a measurement is done with 4 x 75 mA ILED the next measurement can be started after a timeout of 10 seconds. The LED driver can be configured with the register CFG_LED. With the bits “LED_AUTO” in register 0x60 it is possible that the LED driver is configured in such a way that during two consecutive spectral measurements the LEDs are turned on in the first and turned off in the second measurement or vice versa. The example below shows how the device needs to be configured to turn on all LEDs for integration cycle A to D. Figure 18: LED Configuration Example – All LEDs On During Integration SLEEP IDD = 2µA (typ) Reg 0x60 bit PON = 1" LED cycle A Reg CFG_LED; Bit LED_OFFSET = 0 Reg CFG_MULT = 0x1F LED cycle B Reg CFG_LED; Bit LED_OFFSET = 1 Reg CFG_MULT = 0x1F LED cycle C Reg CFG_LED; Bit LED_OFFSET = 2 Reg CFG_MULT = 0x1F LED cycle D Reg CFG_LED; Bit LED_OFFSET = 3 Reg CFG_MULT = 0x1F LED current Reg CFG_LED; Bit LED_CURRENT Reg 0x60 Bit LED_AUTO = 11" ; LTF_EN = 1" PON = 1" ACTIVE Spectral measurement IDD = 2.5mA (typ) Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 20 Document Feedback 8 AS7421 Device and System Calibration Device and System Calibration AS7421 is a fully integrated spectrometer, including sensor array, light sources, optics, Fabry-Perot interference filter, cover glass, light guide, all integrated into a single package. Factors such as temperature drift of the LEDs, wavelength shift of the filters but also system related influences such as optical stack-up of the final application influence the measurement results and therefore need to be calibrated to provide accurate and repeatable spectral measurements. Typically a calibration consist of 2 stages, stage 1 is Device Calibration. ams OSRAM is providing a device calibration file for each individual device which is linked to its unique device ID. This Device Calibration file is needed for final System Calibration and can be used by our provided “Calibration Library”. System Calibration is done to compensate influences which are caused by final system optical stack up implementation, such as cross talk from cover glasses or influences from external diffusers within the optical stack-up. The System Calibration file (stage 2) is generated by use of our Calibration Library. Figure 19: Calibration Stages Calibration Stage Addressed Items Comment Sensor Array (responsivity) Device Calibration (Stage 1 Calibration) Light Sources (SPD) Temperature Drift of PDs Device Calibration file is provided by ams OSRAM for each individual AS7421 device Filter Performance (PWL) System Calibration (Stage 2 Calibration) Optical stack of final application such as cover glasses, system optics… In order to generate a system calibration file the Device Calibration file and the calibration library are needed. ams OSRAM is providing the following supporting tools to enable system calibration at customer applications. Figure 20: Supporting Tools (SW and Calibration)(1) Supporting Tools Function Version AS7421 Calibration Library Provides APIs for system calibration 1.4.0 Calibration Library API Documentation Documentation of available APIs 1.4.0 AS7421 Chip Library Provide low level access to AS7421 configuration 4.0.0 Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 21 Document Feedback AS7421 Device and System Calibration Supporting Tools Function Version Chip Library API Documentation Documentation of Chip Library 4.0.0 AS7421 Calibration Application Note Provides details to calibration flow 1.4 Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 22 Document Feedback 9 AS7421 I²C Interface I²C Interface The device uses I²C serial communication protocol for communication. The device supports 7-bit chip addressing and both standard and full-speed clock frequency modes. Read and Write transactions comply with the standard set by Philips (now NXP). Internal to the device, an 8-bit buffer stores the register address location of the desired byte to read or write. This buffer auto-increments upon each byte transfer and is retained between transaction events (i.e. valid even after the master issues a STOP command and the I²C bus is released). During consecutive Read transactions, the future/repeated I²C Read transaction may omit the memory address byte normally following the chip address byte; the buffer retains the last register address +1. All 16-bit fields have a latching scheme for reading and writing. In general, it is recommended to use I²C bursts whenever possible, especially in this case when accessing two bytes of one logical entity. When reading these fields, the low byte must be read first, and it triggers a 16-bit latch that stores the 16-bit field. The high byte must be read immediately afterwards. When writing to these fields, the low byte must be written first, immediately followed by the high byte. Reading or writing to these registers without following these requirements will cause errors. 9.1 I²C Address Figure 21: AS7421 I2C Slave Address 9.2 Device I2C Address AS7421 0x64 I²C Write Transaction A Write transaction consists of a START, CHIP-ADDRESSWRITE, REGISTER-ADDRESS WRITE, DATA BYTE(S), and STOP (P). Following each byte (9TH clock pulse) the slave places an ACKNOWLEDGE/NOT- ACKNOWLEDGE (A/N) on the bus. If the slave transmits N, the master may issue a STOP. Figure 22: I2C Byte Write S DW A WA A reg_data A P WA++ Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 23 Document Feedback 9.3 AS7421 I²C Interface I²C Read Transaction A Read transaction consists of a START, CHIP-ADDRESSWRITE, REGISTER-ADDRESS, RESTART, CHIP-ADDRESSREAD, DATA BYTE(S), and STOP. Following all but the final byte the master places an ACK on the bus (9TH clock pulse). Termination of the Read transaction is indicated by a NACK being placed on the bus by the master, followed by STOP. Figure 23: I2C Read S DW A WA A Sr DR A data N P RA++ 9.4 Timing Characteristics Figure 24: I²C Timing Characteristics Symbol Parameter fSCL I²C clock frequency tBUF Bus free time between start and stop condition 1.3 µs tHS;STA Hold time after (repeated) start condition. After this period, the first clock is generated. 0.6 µs tSU;STA Repeated start condition setup time 0.6 µs tSU;STO Stop condition setup time 0.6 µs tLOW SCL clock low period 1.3 µs tHIGH SCL clock high period 0.6 µs tHD;DAT Data hold time 60 ns tSU;DAT Data setup time 100 ns tF Clock/data fall time 300 ns tR Clock/data rise time 300 ns Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 Min Max Unit 400 kHz 52 │ 24 Document Feedback 9.5 AS7421 I²C Interface Timing Diagrams Figure 25: I²C Slave Timing Diagram Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 25 Document Feedback 10 AS7421 Register Description Register Description The device is controlled and monitored by registers accessed through the I²C serial interface. These registers provide device control functions and can be read to determine device status and acquire device data. The register set is summarized below. The values of all registers and fields that are listed as reserved (gray) or are not listed must not be changed at any time. Two-byte fields are always latched with the low byte followed by the high byte. The “Name” column illustrates the purpose of each register by highlighting the function associated to each bit. The bits are shown from MSB (D7) to LSB (D0). 10.1 Register Overview Figure 26: Register Overview Addr Name Configuration Registers LED_WAI T_OFF 0x38 CFG_MISC 0x39 CFG_LED_MUL T 0x3A reserved reserved 0x3B reserved reserved 0x3C TEMP_COMPDA C 0x3D LED_WAIT 0x3E CFG_PINMAP WAIT_CYCL E_ON SW_RS T LED_MULT [4:0] TEMP_COMPDAC [7:0] LED_WAIT [7:0] INT_IN VERT INT_PINMAP [2:0] GPIO_PINMAP [2:0] RAM Configuration 0x40 CFG_RAM_0 … … 0x5F CFG_RAM_31 32 Byte for programming the configuration data into the internal RAM Enable Register 0x60 ENABLE LTF_MODE [1:0] LED_AUTO [1:0] SYNC_ EN TSD_EN LTF_EN PON Configuration Registers 0x61 LTF_ITIME_L 0x62 LTF_ITIME_M LTF_ITIME [15:8] 0x63 LTF_ITIME_H LTF_ITIME [23:16] 0x64 LTF_WTIME_L LTF_WTIME [7:0] 0x65 LTF_WTIME_M LTF_WTIME [15:8] 0x66 LTF_WTIME_H LTF_WTIME [23:16] 0x67 CFG_LTF Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 LTF_ITIME [7:0] TEMP_DIODE_SEL [2:0] LTF_CYCLE [1:0] CLKMOD [2:0] 52 │ 26 Document Feedback Addr Name 0x68 CFG_LED 0x69 LTF_ICOUNT 0x6A CFG_RAM 0x6B CFG_GPIO 0x6C INT_ENABLE 0x6D CFG_AZ SET_ LED_O N LED_OFF_E N AS7421 Register Description LED_OFFSET [1:0] LED_CURRENT [2:0] LTF_ICOUNT [7:0] REG_BAN K RAM_OFFSET [4:0] GPIO_INVER T EN_DLOST AZ_O N AZ_WTIME [1:0] EN_DSAT EN_ASAT AZ_EN AZ_CYCL E GPIO_OE N EN_TS D GPIO_OU T GPIO_IN EN_AZ EN_ADAT A AZ_ITERATION[2:0] Statu s 0x70 STATUS_0 0x71 STATUS_1 0x72 STATUS_2 0x73 STATUS_3 0x76 STATUS_6 0x77 STATUS_7 DEV_ID [5:0] REV_ID [2:0] LTF_ASAT [7:0] LTF_ASAT [15:8] TEMP_ASA T I2C_DATA_PTR[1:0] LTF_READ Y LTF_BUSY DLOST DSAT ASAT TSD AZ ADATA Temp 0x78 TEMP0_L TEMP0 [7:0] 0x79 TEMP0_H TEMP0 [15:8] 0x7A TEMP1_L TEMP1 [7:0] 0x7B TEMP1_H TEMP1 [15:8] 0x7C TEMP2_L TEMP2 [7:0] 0x7D TEMP2_H TEMP2 [15:8] 0x7E TEMP3_L TEMP3 [7:0] 0x7F TEMP3_H TEMP3 [15:8] Spectral Channel Output Register 0x80 CH0_DATA [7:0] CH0_DATA 0x81 CH0_DATA [15:8] 0x82 CH1_DATA [7:0] CH1_DATA 0x83 CH1_DATA [15:8] 0x84 CH2_DATA [7:0] CH2_DATA 0x85 CH2_DATA [15:8] 0x86 CH3_DATA [7:0] CH3_DATA 0x87 CH3_DATA [15:8] 0x88 CH4_DATA [7:0] CH4_DATA 0x89 CH4_DATA [15:8] 0x8A CH5_DATA [7:0] CH5_DATA 0x8B CH5_DATA [15:8] 0x8C CH6_DATA [7:0] CH6_DATA 0x8D 0x8E CH6_DATA [15:8] CH7_DATA Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 CH7_DATA [7:0] 52 │ 27 Document Feedback Addr Name 0x8F AS7421 Register Description CH7_DATA [15:8] 0x90 CH8_DATA [7:0] CH8_DATA 0x91 CH8_DATA [15:8] 0x92 CH9_DATA [7:0] CH9_DATA 0x93 CH9_DATA [15:8] 0x94 CH10_DATA [7:0] CH10_DATA 0x95 CH10_DATA [15:8] 0x96 CH11_DATA [7:0] CH11_DATA 0x97 CH11_DATA [15:8] 0x98 CH12_DATA [7:0] CH12_DATA 0x99 CH12_DATA [15:8] 0x9A CH13_DATA [7:0] CH13_DATA 0x9B CH14_DATA [15:8] 0x9C CH14_DATA [7:0] CH14_DATA 0x9D CH14_DATA [15:8] 0x9E CH15_DATA [7:0] CH15_DATA 0x9F CH15_DATA [15:8] 0xA0 CH16_DATA [7:0] CH16_DATA 0xA1 CH16_DATA [15:8] 0xA2 CH17_DATA [7:0] CH17_DATA 0xA3 CH17_DATA [15:8] 0xA4 CH18_DATA [7:0] CH18_DATA 0xA5 CH18_DATA [15:8] 0xA6 CH19_DATA [7:0] CH19_DATA 0xA7 CH19_DATA [15:8] 0xA8 CH20_DATA [7:0] CH20_DATA 0xA9 CH20_DATA [15:8] 0xAA CH21_DATA [7:0] CH21_DATA 0xAB CH21_DATA [15:8] 0xAC CH22_DATA [7:0] CH22_DATA 0xAD CH22_DATA [15:8] 0xAE CH23_DATA [7:0] CH23_DATA 0xAF CH23_DATA [15:8] 0xB0 CH24_DATA [7:0] CH24_DATA 0xB1 CH24_DATA [15:8] 0xB2 CH25_DATA [7:0] CH25_DATA 0xB3 CH25_DATA [15:8] 0xB4 CH26_DATA [7:0] CH26_DATA 0xB5 CH26_DATA [15:8] 0xB6 CH27_DATA [7:0] CH27_DATA 0xB7 CH27_DATA [15:8] 0xB8 CH28_DATA [7:0] CH28_DATA 0xB9 Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 CH28_DATA [15:8] 52 │ 28 Document Feedback Addr Name 0xBA AS7421 Register Description CH29_DATA [7:0] CH29_DATA 0xBB CH29_DATA [15:8] 0xBC CH30_DATA [7:0] CH30_DATA 0xBD CH30_DATA [15:8] 0xBE CH31_DATA [7:0] CH31_DATA 0xBF CH31_DATA [15:8] 0xC0 CH32_DATA [7:0] CH32_DATA 0xC1 CH32_DATA [15:8] 0xC2 CH33_DATA [7:0] CH33_DATA 0xC3 CH33_DATA [15:8] 0xC4 CH34_DATA [7:0] CH34_DATA 0xC5 CH34_DATA [15:8] 0xC6 CH35_DATA [7:0] CH35_DATA 0xC7 CH35_DATA [15:8] 0xC8 CH36_DATA [7:0] CH36_DATA 0xC9 CH36_DATA [15:8] 0xCA CH37_DATA [7:0] CH37_DATA 0xCB CH37_DATA [15:8] 0xCC CH38_DATA [7:0] CH38_DATA 0xCD CH38_DATA [15:8] 0xCE CH39_DATA [7:0] CH39_DATA 0xCF CH39_DATA [15:8] 0xD0 CH40_DATA [7:0] CH40_DATA 0xD1 CH40_DATA [15:8] 0xD2 CH41_DATA [7:0] CH41_DATA 0xD3 CH41_DATA [15:8] 0xD4 CH42_DATA [7:0] CH42_DATA 0xD5 CH42_DATA [15:8] 0xD6 CH43_DATA [7:0] CH43_DATA 0xD7 CH43_DATA [15:8] 0xD8 CH44_DATA [7:0] CH44_DATA 0xD9 CH44_DATA [15:8] 0xDA CH45_DATA [7:0] CH45_DATA 0xDB CH45_DATA [15:8] 0xDC CH46_DATA [7:0] CH46_DATA 0xDD CH46_DATA [15:8] 0xDE CH47_DATA [7:0] CH47_DATA 0xDF CH47_DATA [15:8] 0xE0 CH48_DATA [7:0] CH48_DATA 0xE1 CH48_DATA [15:8] 0xE2 CH49_DATA [7:0] CH49_DATA 0xE3 0xE4 CH49_DATA [15:8] CH50_DATA Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 CH50_DATA [7:0] 52 │ 29 Document Feedback Addr Name 0xE5 AS7421 Register Description CH50_DATA [15:8] 0xE6 CH51_DATA [7:0] CH51_DATA 0xE7 CH51_DATA [15:8] 0xE8 CH52_DATA [7:0] CH52_DATA 0xE9 CH52_DATA [15:8] 0xEA CH53_DATA [7:0] CH53_DATA 0xEB CH53_DATA [15:8] 0xEC CH54_DATA [7:0] CH54_DATA 0xED CH54_DATA [15:8] 0xEE CH55_DATA [7:0] CH55_DATA 0xEF CH55_DATA [15:8] 0xF0 CH56_DATA [7:0] CH56_DATA 0xF1 CH56_DATA [15:8] 0xF2 CH57_DATA [7:0] CH57_DATA 0xF3 CH57_DATA [15:8] 0xF4 CH58_DATA [7:0] CH58_DATA 0xF5 CH58_DATA [15:8] 0xF6 CH59_DATA [7:0] CH59_DATA 0xF7 CH59_DATA [15:8] 0xF8 CH60_DATA [7:0] CH60_DATA 0xF9 CH60_DATA [15:8] 0xFA CH61_DATA [7:0] CH61_DATA 0xFB CH61_DATA [15:8] 0xFC CH62_DATA [7:0] CH62_DATA 0xFD CH62_DATA [15:8] 0xFE CH63_DATA [7:0] CH63_DATA 0xFF Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 CH63_DATA [15:8] 52 │ 30 Document Feedback 10.2 AS7421 Register Description Detailed Register Description Explanation of abbreviation: ● ● ● ● 10.2.1 RW = read or write RO = read only W = write only SC = self-clearing after access ENABLE Register (Address 0x60) Figure 27: ENABLE Register Addr: 0x60 ENABLE Bit Default Bit Name Access Bit Description LTF mode 00: Normal operation 7:6 LTF_MODE 00 RW 01: Reserved 10: Reserved 11: Reserved Controls NIR light source during spectral measurement 00: LEDs OFF 5:4 LED_AUTO 00 RW 01: First measurement OFF / second measurement ON 10: First measurement ON / second measurement OFF 11: LEDs ON Synchronization enable 0: Spectral measurement started with bit LTF_EN 3 SYNC_EN 0 RW 1: Spectral measurement synchronized with signal applied to pin GPIO. GPIO needs to be configured as input in register CFG_GPIO. Automatic power down by temperature measurement 2 TSD_EN 0 RW 0: OFF 1: ON LTF enable 1 LTF_EN 0 RW 0: Spectral measurement disabled 1: Spectral measurement enabled Power ON 0 PON 0 RW 0: Internal oscillator disabled – device enter 1: Internal oscillator enabled – device enter idle state Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 31 Document Feedback 10.2.2 AS7421 Register Description LTF_ITIME Register (Address 0x61, 0x62, 0x63) Register 0x61, 0x62 and 0x63 program the integration time of the LTF converter. The integration time is set as follows: 𝑡𝑖𝑛𝑡 = (𝐿𝑇𝐹_𝐼𝑇𝐼𝑀𝐸 + 1) × 1 𝑓_𝐶𝐿𝐾𝑀𝑂𝐷 Figure 28: LTF_ITIME_L Register Addr: 0x61 LTF_ITIME_L Bit Bit Name Default Access 7:0 LTF_ITIME 0 RW Bit Description Integration time Low byte of integration time. Do not change during LTF_EN = “1” Figure 29: LTF_ITIME_M Register Addr: 0x62 LTF_ITIME_M Bit Bit Name Default Access 15:8 LTF_ITIME 0 RW Bit Description Integration time Middle byte of integration time. Do not change during LTF_EN = “1” Figure 30: LTF_ITIME_H Register Addr: 0x63 LTF_ITIME_H Bit Bit Name Default Access 23:16 LTF_ITIME 0 RW Bit Description Integration time Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 High byte of integration time. Do not change during LTF_EN = “1” 52 │ 32 Document Feedback 10.2.3 AS7421 Register Description LTF_WTIME Register (Address 0x64, 0x65, 0x66) LTF_WTIME register (0x64, 0x65 and 0x66) programs the wait time (WTIME) between two consecutive spectral measurements. The wait time is set as follows: 𝑡𝑤𝑎𝑖𝑡 = (𝐿𝑇𝐹_𝑊𝑇𝐼𝑀𝐸 + 1) × 1 𝑓_𝐶𝐿𝐾𝑀𝑂𝐷 Figure 31: LTF_WTIME_L Register Addr: 0x64 LTF_WTIME_L Bit Bit Name Default Access 7:0 LTF_WTIME 0 RW Bit Description Wait time Low byte of wait time. Do not change during LTF_EN = “1” Figure 32: LTF_WTIME_M Register Addr: 0x65 LTF_WTIME_M Bit Bit Name Default Access 15:8 LTF_WTIME 0 RW Bit Description Wait time Middle byte of wait time. Do not change during LTF_EN = “1” Figure 33: LTF_WTIME_H Register Addr: 0x66 LTF_WTIME_H Bit Bit Name Default Access 23:16 LTF_WTIME 0 RW Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 Bit Description Wait time High byte of wait time. Do not change during LTF_EN = “1” 52 │ 33 Document Feedback 10.2.4 AS7421 Register Description CFG_LTF Register (Address 0x67) Figure 34: CFG_LTF Register Addr: 0x67 CFG_LTF Bit Bit Name Default Access Bit Description 7:5 TEMP_DIODE_SEL 000 RW Select temperature diode Number of integration cycles during a spectral measurement 00: One integration cycle, A (16 channels) 01: Two integration cycles, A+B (32 channels) 4:3 LTF_CYCLE 00 RW 10: Three integration cycles, A+B+C (48 channels) 11: Four integration cycles, A+B+C+D (64 channels) Note: To get spectral data of all 64 channels LTF_CYCLE needs to be set to “11”. Do not change this setting during LTF_EN = “1” Frequency of integration clock 010: Reserved 2:0 CLKMOD 100 RW 100: 1 MHz 101: Reserved 110: Reserved Note: Do not change Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 34 Document Feedback 10.2.5 AS7421 Register Description CFG_LED Register (Address 0x68) Figure 35: CFG_LED Register Addr: 0x68 CFG_LED Bit Default Bit Name Access Bit Description LED enable 0: LED disabled 7 SET_LED_ON 0 RW 1: Enable LED permanently Note: can only be enabled if PON = “1”. Bit is automatically cleared with PON = “0”. LED off during modulation 6 LED_OFF_EN 0 RW 0: Normal mode 1: LED is turned off during modulation if LTF_MODE is set to “10” (one integration before modulation) Offset address for programming the values for LED_MULT. Access succeeded via the address CFG_LED_MULT. 5:4 LED_OFFSET 00 RW 00: LED_MULT_0 for integration cycle A 01: LED_MULT_1 for integration cycle B 10: LED_MULT_2 for integration cycle C 11: LED_MULT_3 for integration cycle D LED current configuration per LED driver 2:0 LED_CURRENT 000 RW 000: 50 mA 001: 75 mA Others: Reserved 10.2.6 LTF_ICOUNT Register (Address 0x69) Figure 36: LTF_ICOUNT Register Addr: 0x69 LTF_ ICOUNT Bit Default Bit Name Access Bit Description Number of spectral measurements 0x00: No measurement 7:0 LTF_ICOUNT 0 RW 0xFF: 255 measurements in continuous mode Others: Number of measurements. After every measurement, LTF_ON is set to “0” internally. Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 35 Document Feedback 10.2.7 AS7421 Register Description CFG_MISC Register (Address 0x38) Figure 37: CFG_MISC Register Addr: 0x38 CFG_MISC Bit Bit Name Default Access 2 LED_WAIT_OFF 0 RW 1 WAIT_CYCLE_ON 0 RW 0 SW_RST 0 SC Bit Description LED waiting time 1: Disable the LED waiting time between integration cycle A to D LTF waiting time 1: Enable the waiting time between integration cycle A to D (programmable with LTF_WTIME) Software reset 10.2.8 1: Reset to default status as after power on reset or reset via pin RST. CFG_LED_MULT Register (Address 0x39) Figure 38: CFG_LED_MULT Register Addr: 0x39 CFG_LED_MULT Bit Default Bit Name Access Bit Description Defines which LED is turned on per integration cycle A to D. 4:0 LED_MULT 0 RW 0x1F: All LEDs on per integration cycle Other: Reserved Note: LED_OFFSET needs to be set first, after that LED_MULT needs to be written. Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 36 Document Feedback 10.2.9 AS7421 Register Description LED_WAIT Register (Address 0x3D) Figure 39: LED_WAIT Register Addr: 0x3D LED_WAIT Bit Default Bit Name Access Bit Description Wait time between switching on the LED and begin of integration/modulation. 7:0 LED_WAIT 0 RW 𝑡𝐿𝐸𝐷_𝑤𝑎𝑖𝑡 = (𝐿𝐸𝐷_𝑊𝐴𝐼𝑇) × 1024µ𝑠 10.2.10 CFG_PINMAP Register (Address 0x3E) Figure 40: CFG_PINMAP Register Addr: 0x3E CFG_PINMAP Bit Default Bit Name Access Bit Description Select signal to output pin INTX. 0: INTX 6:4 INT_PINMAP 0 RW 1: LTF_READY 2: LTF_BUSY 3: LED_ON Others: Reserved 3 INT_INVERT 0 RW Invert output pin INTX Select signal to output pin GPIO. 0: GPIO 2:0 GPIO_PINMAP 0 RW 1: LTF_READY 2: LTF_BUSY 3: LED_ON Others: Reserved Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 37 Document Feedback 10.2.11 AS7421 Register Description CFG_RAM Register (Address 0x6A) Figure 41: CFG_RAM Register Addr: 0x6A CFG_RAM Bit Bit Name Default Access Bit Description 7 REG_BANK 0 RW Select P2RAM Offset address for programming the configuration into the RAM. Access succeeded via the addresses CFG_RAM_0 to CFG_RAM_31. 0x0C: SMUX for integration cycle A 0x0D: SMUX for integration cycle B 4:0 RAM_OFFSET 0 RW 0x0E: SMUX for integration cycle C 0x0F: SMUX for integration cycle D 0x10: ASETUP for integration cycle A/B 0x11: ASETUP for integration cycle C/D 0x12: COMPDAC for modulators and integrators Others: Reserved 10.2.12 CFG_GPIO Register (Address 0x6B) Figure 42: CFG_GPIO Register Addr: 0x6B CFG_GPIO Bit Bit Name Default Access 3 GPIO_INVERT 0 RW Bit Description GPIO invert 0: Input/output not inverted 1: Input/output inverted GPIO output enable 2 GPIO_OEN 0 RW 0: GPIO output disabled 1: GPIO output enabled 1 GPIO_OUT 0 RW GPIO output 0 GPIO_IN 0 RO GPIO input Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 38 Document Feedback 10.2.13 AS7421 Register Description INT_EN Register (Address 0x6C) Figure 43: INT_EN Register 10.2.14 Addr: 0x6C INT_EN Bit Bit Name Default Access Bit Description 5 EN_DLOST 0 RW 1: Enable data lost interrupt 4 EN_DSAT 0 RW 1: Enable digital saturation interrupt 3 EN_ASAT 0 RW 1: Enable analog saturation interrupt 2 EN_TSD 0 RW 1: Enable temperature shutdown interrupt 1 EN_AZ 0 RW 1: Enable auto zero interrupt 0 EN_ADATA 0 RW 1: Enable ADATA interrupt CFG_AZ Register (Address 0x6D) Figure 44: CFG_AZ Register Addr: 0x6D CFG_AZ Bit Bit Name Default Access Bit Description 7 AZ_ON 0 RW Start single autozero for all modulators and integrators if pon=1 Wait time for autozero 00: Wait time = 32 µs 6:5 AZ_WTIME 00 RW 01: Wait time = 64 µs 10: Wait time = 128 µs 11: Wait time = 256 µs Do not change during LTF_EN = “1” 4 AZ_EN 0 RW 1: Enable autozero during measurements. First autozero starts before the first measurement. 3 AZ_CYCLE 0 RW 1: Autozero is done before each integration cycle 2:0 AZ_ITERATION 00 RW Autozero is done every 2 x ”AZ_ITERATION” Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 39 Document Feedback 10.2.15 AS7421 Register Description STATUS_0 Register (Address 0x70) Figure 45: STATUS_0 Register 10.2.16 Addr: 0x70 STATUS_0 Bit Bit Name Default Access Bit Description 5:0 DEV_ID 0B RO Device ID STATUS_1 Register (Address 0x71) Figure 46: STATUS_1 Register 10.2.17 Addr: 0x71 STATUS_1 Bit Bit Name Default Access Bit Description 2:0 REV_ID 01 RO Revision ID Bit Description STATUS_2 Register (Address 0x72) Figure 47: STATUS_2 Register Addr: 0x72 STATUS_2 Bit Bit Name Default Access 7:0 LTF_ASAT [7:0] 0 RO Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 Analog saturation If set to “1”, analog saturation of modulators 0 to 7 52 │ 40 Document Feedback 10.2.18 AS7421 Register Description STATUS_3 Register (Address 0x73) Figure 48: STATUS_3 Register 10.2.19 Addr: 0x73 STATUS_3 Bit Bit Name Default Access 7:0 LTF_ASAT [15:8] 0 RO Bit Description Analog saturation If set to “1”, analog saturation of modulators 8 to 15 STATUS_6 Register (Address 0x76) Figure 49: STATUS_6 Register 10.2.20 Addr: 0x76 STATUS_6 Bit Bit Name Default Access Bit Description 6 TEMP_ASAT 0 RO Analog saturation of temperature 5 LTF_READY 0 RO Measurement is finished. New measurement can be started. 4 LTF_BUSY 0 RO Measurement is active. New measurement cannot be started. STATUS_7 Register (Address 0x77) The register STATUS_7 contains the information to the interrupt status. The interrupt status is automatically reset after reading the corresponding bit. Before reading the data of the last measurement register STATUS_7 has to be read first. Figure 50: STATUS_7 Register Addr: 0x77 STATUS_7 Bit Bit Name Default Access Bit Description 7:6 I2C_DATA_PTR 10 RO Information to read data pointer for the temperature and spectral measurement data 5 DLOST 0 RO Measurement data has been lost. Time for reading is larger than the time of a measurement 4 DSAT 0 RO Digital saturation occurred during the measurement 3 ASAT 0 RO Analog saturation occurred during the measurement Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 41 Document Feedback 10.2.21 AS7421 Register Description Addr: 0x77 STATUS_7 Bit Bit Name Default Access Bit Description 2 TSD 0 RO Detecting a temperature shutdown 1 AZ 0 RO End of autozero 0 ADATA 0 RO End of measurement. New measurement data can be read. TEMP Register (Address 0x78 – 0x7F) The temperature channel data is stored as 16-bit of data spread across two registers. Before reading the temperature data of the last measurement, register STATUS 7 has to be read first. Figure 51: TEMP0_L Register Addr: 0x78 TEMP0_L Bit Bit Name Default Access Bit Description 7:0 TEMP0 0 RO Low byte of temperature integration cycle A Figure 52: TEMP0_H Register Addr: 0x79 TEMP0_H Bit Bit Name Default Access Bit Description 15:8 TEMP0 0 RO High byte of temperature integration cycle A Figure 53: TEMP1_L Register Addr: 0x7A TEMP1_L Bit Bit Name Default Access Bit Description 7:0 TEMP1 0 RO Low byte of temperature integration cycle B Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 42 Document Feedback AS7421 Register Description Figure 54: TEMP1_H Register Addr: 0x7B TEMP1_H Bit Bit Name Default Access Bit Description 15:8 TEMP1 0 RO High byte of temperature integration cycle B Figure 55: TEMP2_L Register Addr: 0x7C TEMP2_L Bit Bit Name Default Access Bit Description 7:0 TEMP2 0 RO Low byte of temperature integration cycle C Figure 56: TEMP2_H Register Addr: 0x7D TEMP2_H Bit Bit Name Default Access Bit Description 15:8 TEMP2 0 RO High byte of temperature integration cycle C Figure 57: TEMP3_L Register Addr: 0x7E TEMP3_L Bit Bit Name Default Access Bit Description 7:0 TEMP3 0 RO Low byte of temperature integration cycle D Figure 58: TEMP3_H Register Addr: 0x7F TEMP3_H Bit Bit Name Default Access Bit Description 15:8 TEMP3 0 RO High byte of temperature integration cycle D Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 43 Document Feedback 10.2.22 AS7421 Register Description CHx_DATA Register (Address 0x80 – 0xFF) In the registers CH0_DATA to CH63_DATA (0x80 to 0xFF) the spectral measurement results are stored. The full scale value of each channel is 16-bit – the low byte is stored in registers CHx_DATA_L and the high byte is stored in CHx_DATA_H. Before reading the data of the last spectral measurement register STATUS_7 (0x77) has to be read first. Figure 59: CHx_DATA Register Addr: 0x80 to 0xFF CHx_DATA_L / CHx_DATA_H Bit Bit Name Default Access Bit Description 15:8 CHx_DATA 0 RO High byte of channel x spectral data 7:0 CHx_DATA 0 RO Low byte of channel x spectral data Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 44 Document Feedback 11 Package Drawings & Markings 11.1 Package Drawings AS7421 Package Drawings & Markings Figure 60: AS7421 OLGA10 Package Outline Drawing – TOP and SIDE View RoHS Green (1) (2) (3) (4) All dimensions are in millimeters. Angles in degrees. Dimensioning and tolerancing conform to ASME Y14.5M-1994. This package contains no lead (Pb). This drawing is subject to change without notice. Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 45 Document Feedback AS7421 Package Drawings & Markings Figure 61: AS7421 OLGA10 Package Outline Drawing – BOTTOM View RoHS Green (1) (2) (3) (4) All dimensions are in millimeters. Angles in degrees. Dimensioning and tolerancing conform to ASME Y14.5M-1994. This package contains no lead (Pb). This drawing is subject to change without notice. Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 46 Document Feedback AS7421 Package Drawings & Markings Figure 62: AS7421 OLGA 10 Package Marking/Code @ xxxxx Sublot Identifier 5-Digit Tracecode AS7421 xxxxx @ Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 47 Document Feedback 12 AS7421 Tape & Reel Information Tape & Reel Information Figure 63: AS7421 OLGA10 Tape Dimensions(1) , (1) All dimensions are in millimeters Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 48 Document Feedback AS7421 Tape & Reel Information Figure 64: AS7421 OLGA10 Reel Dimensions (1) (1) All dimensions are in millimeters Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 49 Document Feedback 13 AS7421 Soldering & Storage Information Soldering & Storage Information Figure 65: Solder Reflow Profile Graph Figure 66: Solder Reflow Profile Parameter Reference Average temperature gradient in preheating Device 2.5 °C/s Soak time tsoak 2 to 3 minutes Time above 217 °C (T1) t1 Max 60 s Time above 230 °C (T2) t2 Max 50 s Time above Tpeak – 10 °C (T3) t3 Max 10 s Peak temperature in reflow Tpeak 260 °C Temperature gradient in cooling Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 Max −5 °C/s 52 │ 50 Document Feedback 14 AS7421 Revision Information Revision Information Document Status Product Status Definition Product Preview Pre-Development Information in this datasheet is based on product ideas in the planning phase of development. All specifications are design goals without any warranty and are subject to change without notice Preliminary Datasheet Pre-Production Information in this datasheet is based on products in the design, validation or qualification phase of development. The performance and parameters shown in this document are preliminary without any warranty and are subject to change without notice Datasheet Production Information in this datasheet is based on products in ramp-up to full production or full production which conform to specifications in accordance with the terms of ams-OSRAM AG standard warranty as given in the General Terms of Trade Datasheet (discontinued) Discontinued Information in this datasheet is based on products which conform to specifications in accordance with the terms of ams-OSRAM AG standard warranty as given in the General Terms of Trade, but these products have been superseded and should not be used for new designs Changes from previous version to current revision v1-00 Page Initial production version Document security class is updated to “Public” in the footer Removed 730 nm LED from all chapters ● ● All Page and figure numbers for the previous version may differ from page and figure numbers in the current revision. Correction of typographical errors is not explicitly mentioned. Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 51 Document Feedback 15 AS7421 Legal Information 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. Devices sold by ams-OSRAM AG are covered by the warranty and patent indemnification provisions appearing in its General Terms of Trade. ams-OSRAM AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein. ams-OSRAM AG reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with ams-OSRAM AG for current information. This product is intended for use in commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or life-sustaining equipment are specifically not recommended without additional processing by ams-OSRAM AG for each application. This product is provided by ams-OSRAM AG “AS IS” and any express or implied warranties, including, but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed. 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 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. 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 Please visit our website at www.ams.com ams-OSRAM AG Buy our products or get free samples online at www.ams.com/Products Tobelbader Strasse 30 Technical Support is available at www.ams.com/Technical-Support 8141 Premstaetten Provide feedback about this document at www.ams.com/Document-Feedback Austria, Europe For sales offices, distributors and representatives go to www.ams.com/Contact Tel: +43 (0) 3136 500 0 For further information and requests, e-mail us at ams_sales@ams.com Datasheet • PUBLIC DS000667 • v1-00 • 2022-Aug-25 52 │ 52 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: ams OSRAM: AS7421-DOLT