AS7341-asset_pdf_25493208
AS7341-asset_pdf_25493208
AS7341-asset_pdf_25493208
Document
Published by
ams OSRAM Group
Datasheet
DS000504
AS7341
11-Channel Multi-Spectral Digital Sensor
v3-00 • 2020-Jun-25
Document Feedback AS7341
Content Guide
Content Guide
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 2
Document Feedback AS7341
General Description
1 General Description
The ams AS7341 is an 11-channel spectrometer enabling new consumer, commercial and laboratory
applications including spectral identification, reflection and absorption for color matching, fluid or
reagent analysis, passive ambient light measurement and color calibration. The spectral response is
defined by individual channels covering approximately 350nm to 1000nm with 8 channels centered in
the visible spectrum (VIS), plus one near-infrared (NIR) and a clear channel. The NIR channel in
combination with the other VIS channels may provide information of surrounding ambient light
conditions, including light source detection. Light source detection can be assisted by an integrated
flicker channel that can automatically flag ambient light flicker at 50/60Hz as well as buffer data for
externally calculating other flicker frequencies up to 2kHz.
AS7341 integrates high-precision optical filters onto standard CMOS silicon via nano-optic deposited
interference filter technology. A built-in aperture controls the light entering the sensor array to increase
accuracy. A programmable digital GPIO and LED current controller enable light source and trigger
control, as well as enabling expandability for an added external photodiode. Device control and
spectral data access is implemented through a serial I²C interface. The device is available in an ultra-
low profile package with dimensions of 3.1mm x 2mm x 1mm.
Benefits Features
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 3
Document Feedback AS7341
General Description
1.2 Applications
● High-precision reflective color point and spectral measurements
● Fluid color, turbidity or reagent based constituent analysis
● Spectral power distribution and passive ambient CCT measurement for home and building
automation
● High-end display color management
1.8V e.g.:
VDD GPIO Flash LED
PGND
GND AS7341 LDR
1.8V light
8CH VIS source
NIR/CLE AR
INT light in
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 4
Document Feedback AS7341
Ordering Information
2 Ordering Information
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 5
Document Feedback AS7341
Pin Assignment
3 Pin Assignment
VDD 1 8 SDA
SCL 2 7 INT
AS7341
TOP VIEW
GND 3 6 GPIO
LDR 4 5 PGND
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 6
Document Feedback AS7341
Absolute Maximum Ratings
Figure 5
Absolute Maximum Ratings of AS7341
(1) 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 Pb-
free leaded packages is “Matte Tin” (100% Sn)
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 7
Document Feedback AS7341
Electrical Characteristics
5 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=1.8V and TA=25°C unless otherwise noted.
Figure 6:
Electrical Characteristics of AS7341
(1) While the device is operational across the temperature range, functionality will vary with temperature.
(2) Supply current values are shown at the VDD pin and do not include current through pin LDR.
(3) Active state occurs during active integration. (PON = “1” ; SP_EN = “1”) If wait is enabled (WEN = “1”), supply current is
lower during the wait period
(4) Idle state occurs when PON = “1” and all functions are disabled
(5) Sleep state occurs when PON = “0” and I2C bus is idle. If I2C traffic is active device automatically enters idle mode.
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 8
Document Feedback AS7341
Optical Characteristics
6 Optical 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=1.8V and TA=25°C unless otherwise noted.
Figure 7:
AS7341 Optical Channel Summary
F1 415 26
F2 445 30
F3 480 36
F4 515 39
F5 555 39
F6 590 40
F7 630 50
F8 680 52
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 9
Document Feedback AS7341
Optical Characteristics
Figure 8:
Optical Characteristics of Channel F1, AGAIN: 64x, Integration Time: 27.8ms
(1) Parameter measured on a production ongoing sample bases on glass using diffused light
(2) The following diffuser is used in final test on top of AS7341: ED1-C50
(3) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
Figure 9:
Optical Characteristics of Channel F2, AGAIN: 64x, Integration Time: 27.8ms
(1) Parameter measured on a production ongoing sample bases on glass using diffused light
(2) The following diffuser is used in final test on top of AS7341: ED1-C50
(3) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 10
Document Feedback AS7341
Optical Characteristics
Figure 10:
Optical Characteristics of Channel F3, AGAIN: 64x, Integration Time: 27.8ms
(1) Parameter measured on a production ongoing sample bases on glass using diffused light
(2) The following diffuser is used in final test on top of AS7341: ED1-C50
(3) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
Figure 11:
Optical Characteristics of Channel F4, AGAIN: 64x, Integration Time: 27.8ms
(1) Parameter measured on a production ongoing sample bases on glass using diffused light
(2) The following diffuser is used in final test on top of AS7341: ED1-C50
(3) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
Figure 12:
Optical Characteristics of Channel F5, AGAIN: 64x, Integration Time: 27.8ms
(1) Parameter measured on a production ongoing sample bases on glass using diffused light
(2) The following diffuser is used in final test on top of AS7341: ED1-C50
(3) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 11
Document Feedback AS7341
Optical Characteristics
Figure 13:
Optical Characteristics of Channel F6, AGAIN: 64x, Integration Time: 27.8ms
(1) Parameter measured on a production ongoing sample bases on glass using diffused light
(2) The following diffuser is used in final test on top of AS7341: ED1-C50
(3) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
Figure 14:
Optical Characteristics of Channel F7, AGAIN: 64x, Integration Time: 27.8ms
(1) Parameter measured on a production ongoing sample bases on glass using diffused light
(2) The following diffuser is used in final test on top of AS7341: ED1-C50
(3) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 12
Document Feedback AS7341
Optical Characteristics
Figure 15:
Optical Characteristics of Channel F8, AGAIN: 64x, Integration Time: 27.8ms
(1) Parameter measured on a production ongoing sample bases on glass using diffused light
(2) The following diffuser is used in final test on top of AS7341: ED1-C50
(3) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
Figure 16:
Typical LED Spectra Used in Final Test of AS7341
1
0,9 LED 420nm
0,8
normalized LED spectra
0,6
0,5 warm white
2700K
0,4
0,3
0,2
0,1
0
350 450 550 650 750 850 950 1050
wavelength [nm]
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 13
Document Feedback AS7341
Optical Characteristics
Figure 17:
Optical Characteristics of AS7341, AGAIN: 64x, Integration Time: 27.8ms (unless otherwise
noted)
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 14
Document Feedback AS7341
Optical Characteristics
(1) The typical 3-sigma distribution is between 0 and 1 counts for AGAIN setting of 16x.
(2) The gain ratios are calculated relative to the response with integration time: 27.8ms and AGAIN: 64x.
(3) ADC noise is calculated as the standard deviation of 1000 data samples divided by full scale.
(4) Integration time, in milliseconds, is equal to: (ATIME + 1) x (ASTEP + 1) x 2.78µs
(5) Refer to Figure 16:
Typical LED Spectra Used in Final Test of AS7341
(6) Register 0xD6 / AZ_CONFIG is set to “1” – auto zero done before every integration cycle
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 15
Document Feedback AS7341
Typical Operating Characteristics
F1 F2 F3 F4 F5 F6
F7 F8 Clear NIR Flicker
1
0,9
0,8
relative sensitivity
0,7
0,6
0,5
0,4
0,3
0,2
0,1
0
350 450 550 650 750 850 950 1050
wavelength [nm]
Figure 19:
Measured Spectral Responsivity Relative to F8(1)
0,8
0,6
0,4
0,2
0
350 390 430 470 510 550 590 630 670 710 750 790 830 870 910 950 990 1030
wavelength [nm]
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 16
Document Feedback AS7341
Functional Description
8 Functional Description
Upon power-up (POR), the device initializes. During initialization (typically 200μs), the device will
deterministically send NAK on I²C and 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 (SP_EN = “1”) the device enters the ACTIVE state. If the spectral measurement is disabled
(SP_EN = “0”) the device returns to the IDLE state. The figure below describes a simplified state
diagram and the typical supply currents in each state.
If Sleep after Interrupt is enabled (SAI = “1” in register 0xAC), the state machine will enter SLEEP
when an interrupt occurs. Entering SLEEP does not automatically change any of the register settings
(e.g. PON bit is still high, but the normal operational state is over-ridden by SLEEP state). SLEEP
state is terminated when the SAI_ACTIVE bit is cleared (the status bit is in register 0xA7 and the clear
status bit is in register 0xFA).
Power On
SLEEP
IDD = 0.7µA (typ)
PON = „0"
PON = „1"
IDLE
IDD = 35µA (typ)
SPM = „0"
SPM = „1"
ACTIVE
Spectral/Flicker
IDD = 115µA (typ)
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 17
Document Feedback AS7341
Functional Description
VDD
GND
LDR
PGND
LED
GPIO
6 x 16bit LTF ADC
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 18
Document Feedback AS7341
Functional Description
Figure 22:
Sensor Array
520µm
F L IC K ER
F1 F3 F5 F7
F6 F8 F2 F4
780µm
520µm
F4 F2 F8 F6
F7 F5 F3 F1
C NIR C
8.3 GPIO/INT
The GPIO can be either used as input for external photodiodes or as synchronization input to
start/stop the spectral measurement. (SYNS/SYND mode).The interrupt output pin INT can also be
used to indicate the status (READY/BUSY) of the spectral measurement in mode SYNS and SYND.
8.4 SMUX
AS7341 integrates a sensor multiplexer (SMUX) that enables high-flexibility photodiode channel
mapping to the six available ADCs. The 6 ADC limit requires that any measurement that includes
more than six of the 8 VIS + 3 specialty channels will require 2 integration cycles. In all cases, after
power-up, the SMUX needs to be configured before any spectral measurement is started. ams
provides reference code and an application note on how to configure the SMUX. When flicker
detection (FD) is used, the flicker diode needs to be configured to ADC5.
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 19
Document Feedback AS7341
Functional Description
Figure 23:
Integration Mode Description
Figure 24 :
SPM Mode
Start
I2C write enable register auto re-start
WTIME
ATIME x ASTEP
INT
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 20
Document Feedback AS7341
Functional Description
Figure 25 :
SYNS Mode
SYNC
(GPIO)
READY_BUSYX
(INT)
Figure 26 :
SYND Mode
Start
EDGE = 0x4 Start
ITIME
IDLE
SYNC
(GPIO)
1st 2nd 3rd 4th 5th 1st 2nd 3rd 4th 5th
READY_BUSYX
(INT)
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 21
Document Feedback AS7341
I²C Interface
9 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.
AS7341 0x39
Figure 28:
I2C Byte Write
S DW A WA A reg_data A P
WA++
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 22
Document Feedback AS7341
I²C Interface
Figure 29:
I2C Read
S DW A WA A Sr DR A data N P
RA++
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 23
Document Feedback AS7341
I²C Interface
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 24
Document Feedback AS7341
Register Description
10 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
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). GRAY fields are
reserved and their values must not be changed at any time.
In order to access registers from 0x60 to 0x74 bit REG_BANK in register CFG0 (0xA9) needs to be
set to “1”.
Addr Name <D7> <D6> <D5> <D4> <D3> <D2> <D1> <D0>
ASAT_
0x60 ASTATUS AGAIN_STATUS [3:0]
STATUS
0x61 CH0_DATA_L [7:0]
CH0_DATA
0x62 CH0_DATA_H [7:0]
0x63 ITIME_L [7:0]
0x64 ITIME ITIME_M [7:0]
0x65 ITIME_H [7:0]
0x66 CH1_DATA_L [7:0]
CH1_DATA
0x67 CH1_DATA_H [7:0]
0x68 CH2_DATA_L [7:0]
CH2_DATA
0x69 CH2_DATA_H [7:0]
0x6A CH3_DATA_L [7:0]
CH3_DATA
0x6B CH3_DATA_H [7:0]
0x6C CH4_DATA_L [7:0]
CH4_DATA
0x6D CH4_DATA_H [7:0]
0x6E CH5_DATA_L [7:0]
CH5_DATA
0x6F CH5_DATA_H [7:0]
0x70 CONFIG LED_SEL INT_SEL INT_MODE[1:0]
0x71 STAT WAIT_SYNC READY
0x72 EDGE SYNC_EDGE [7:0]
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 25
Document Feedback AS7341
Register Description
Addr Name <D7> <D6> <D5> <D4> <D3> <D2> <D1> <D0>
LOW_ REG_
0xA9 CFG 0 WLONG
POWER BANK
0xAA CFG 1 AGAIN[4:0]
0xAC CFG 3 SAI
SMUX_
0xAF CFG 6
CMD[4:3]
0xB1 CFG 8 FIFO_TH [7:6] FD_AGC SP_AGC
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 26
Document Feedback AS7341
Register Description
Addr Name <D7> <D6> <D5> <D4> <D3> <D2> <D1> <D0>
SIEN SIEN
0xB2 CFG 9
_FD _SMUX
0xB3 CFG 10 AGC_H [7:6] AGC_L[7:6] FD_PERS [2:0]
0xB5 CFG 12 SP_TH_CH [2:0]
0xBD PERS APERS [3:0]
GPIO_ GPIO_ GPIO_ GPIO_
0xBE GPIO 2
INV IN OUT IN
0xCA ASTEP [7:0]
ASTEP
0xCB ASTEP [15:8]
AGC_GAIN_M
0xCF AGC_FD_GAIN_MAX [7:4] AGC_AGAIN_MAX [3:0]
AX
0xD6 AZ_CONFIG AT_NTH_ITERATION [7:0]
0xD8 FD_TIME 1 FD_TIME [7:0]
0xDA FD_TIME 2 FD_GAIN [7:3] FD_TIME [10:8]
FD_
0xD7 FD_CFG0
FIFO
FD_ FD_
FD_ FD_ FD_ FD_
0xDB FD_STATUS 120HZ_ 100Hz_
VALID SAT 120Hz 100Hz
VALID VALID
0xF9 INTENAB ASIEN SP_IEN FIEN CIEN SIEN
AZ_SP_ FIFO_ CLEAR_
0xFA CONTROL
MAN CLR SAI_ACT
ASTATU
0xFC FIFO_MAP FIFO_WRITE_CH5_DATA – FIFO_WRITE_CH0_DATA [6:1]
S
0xFD FIFO_LVL FIFO_LVL [7:0]
0xFE FDATA [7:0]
FDATA
0xFF FDATA [15:8]
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 27
Document Feedback AS7341
Register Description
The following registers are needed to power up and configure the device. To operate the device set bit
PON = “1” first (register 0x80) after that configure the device and enable interrupts before setting
SP_EN = “1”. Changing configuration while SP_EN = “1” may result in invalid results. Register
CONFIG (0x70) is used to set the INT_MODE (SYNS,SYND).
Figure 33:
ENABLE Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 28
Document Feedback AS7341
Register Description
Figure 34:
CONFIG Register
Figure 35:
GPIO Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 29
Document Feedback AS7341
Register Description
Figure 36:
GPIO2 Register
Figure 37:
LED Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 30
Document Feedback AS7341
Register Description
Figure 38:
INTENAB Register
Figure 39:
CONTROL Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 31
Document Feedback AS7341
Register Description
The integration time in INT_MODE = “00” and “01” (SPM/SYNS) is set using the ATIME (0x81) and
ASTEP (0xCA, 0xCB) registers. The integration time, in milliseconds, is equal to:
The reset value for ASTEP is 999 (2.78ms) and the recommended configuration for these two
registers is ASTEP = 599 and ATIME = 29, which results in an integration time of 50ms. It is not
allowed that both settings –ATIME and ASTEP – are set to “0”.
The integration time also defines the full-scale ADC value, which is equal to:
Figure 40:
ATIME Register
(1) The maximum ADC count is 65535. Any ATIME/ASTEP field setting resulting in higher ADCfullscale values would
result in a full-scale of 65535.
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 32
Document Feedback AS7341
Register Description
Figure 41:
ASTEP Register
If wait is enabled (WEN = “1” register 0x80), each new measurement is started based on WTIME. It is
necessary for WTIME to be sufficiently long for spectral integration and any other functions to be
completed within the period. The device will warn the user if the timing is configured incorrectly. If
WTIME is too short, then SP_TRIG in register STATUS6 (ADDR: 0xA7) will be set to “1”.
Figure 42:
WTIME Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 33
Document Feedback AS7341
Register Description
The register ITIME can be used to read-out the actual integration time in INT_MODE = “11” (SYND).
In SYND mode the integration time is defined by the register “EDGE” and the device is running
integration until the number of falling edges on pin GPIO is reached.
Figure 43:
ITIME_L Register
Figure 44:
ITIME_M Register
Figure 45:
ITIME_H Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 34
Document Feedback AS7341
Register Description
Figure 46:
EDGE Register
The register FD Time 1 and FD Time 2 can be used to configure the integration time and gain (ADC 5)
of the flicker detection independently from the other ADCs. The FD_TIME register is an 11-bit register
with the MSB in register 0xDA (bit 10:8) and the LSB in register 0xD8 (bit 7:0). The bit FDEN (register
0x80) must be set to “1” in order to use the FD_TIME registers. If the bit FDEN is not set, ADC5 runs
automatically with the same gain and integration time as ADC0 to ADC4.
Figure 47:
FD Time Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 35
Document Feedback AS7341
Register Description
Figure 48:
FD Time Register
VALUE GAIN
0 0.5x
1 1x
2 2x
3 4x
7:3 FD_GAIN 9 R/W 4 8x
5 16x
6 32x
7 64x
8 128x
9 256x
10 512x
MSB of flicker detection integration time
2:0 FD_TIME [10:8] 0 RW Note: must not be changed during FDEN = 1 and
PON = 1.
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 36
Document Feedback AS7341
Register Description
The following registers provide configuration for the 6 integrated ADCs (CH0 to CH5). It is possible to
adjust the gain, configure and enable the automatic gain control (AGC) and setup the auto zero
compensation for the engines.
Figure 49:
CFG1 Register
Figure 50:
CFG10 Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 37
Document Feedback AS7341
Register Description
0 50%
1 62.5%
2 75%
3 87.5%
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 38
Document Feedback AS7341
Register Description
The following register configures how often the spectral engine offsets are reset (auto zero) to
compensate for changes of the device temperature. The typical time auto zero needs to be completed
is 15ms.
Figure 51:
AZ_CONFIG Register
Figure 52:
AGC_GAIN_MAX Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 39
Document Feedback AS7341
Register Description
Figure 53:
CFG8 Register
The following registers provided device identification. Device ID, revision ID and auxiliary ID are read
only.
Figure 54:
AUXID Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 40
Document Feedback AS7341
Register Description
Figure 55:
REVID Register
Figure 56:
ID Register
Addr: 0x92 ID
The spectral interrupt threshold registers provide 16-bit values to be used as the high and low
thresholds for comparison to the 16-bit CH0_DATA values (ADC CH0). If SP_IEN (register 0xF9) is
enabled and CH0_DATA is not between the two thresholds for the number of consecutive
measurements specified in APERS (register 0xBD) an interrupt is set.
Figure 57:
SP_TH_L_LSB Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 41
Document Feedback AS7341
Register Description
Figure 58:
SP_TH_L_MSB Register
Figure 59:
SP_TH_H_LSB Register
Figure 60:
SP _TH_H_MSB Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 42
Document Feedback AS7341
Register Description
Figure 61:
CFG12 Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 43
Document Feedback AS7341
Register Description
The following register provide status of the device and indicate details about saturation, interrupts,
over temperature, device execution and ambient light flicker detection.
Figure 62:
STAT Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 44
Document Feedback AS7341
Register Description
The primary status register for AS7341 indicates if there are saturation or interrupt events that need to
be handled by the user. This register is self-clearing, meaning that writing a “1” to any bit in the
register clears that status bit. In this way, the user should read the STATUS register, handle all
indicated event(s) and then write the register value back to STATUS to clear the handled events.
Writing “0” will not clear those bits if they have a value of “1”, which means that new events that
occurred since the last read of the STATUS register will not be accidentally cleared.
Figure 63:
STATUS Register
Figure 64:
STATUS 2 Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 45
Document Feedback AS7341
Register Description
Figure 65:
STATUS 3 Register
Figure 66:
STATUS 5 Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 46
Document Feedback AS7341
Register Description
Figure 67:
STATUS 6 Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 47
Document Feedback AS7341
Register Description
Figure 68:
FD STATUS Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 48
Document Feedback AS7341
Register Description
The ASTATUS register is mapped to register address 0x60 and 0x94. It provides saturation and gain
status associated to each set of spectral data. Reading the ASTATUS register (0x60 or 0x94) latches
all 12 spectral data bytes to that status read. Reading these bytes consecutively (0x60 to 0x6F or 0x94
to 0xA0) ensures that the data is concurrent. All spectral data are stored as 16-bit values. If flicker
detection is enabled, spectral channel five (CH5 ADC) is used for the flicker detection function and
CH5_DATA will read “0”. The ASTATUS and spectral data registers are read only.
In SPM or SYNS mode, it is recommended to use the ASTATUS register 0x94 and spectral data
register 0x94 to 0xA0. In SYND mode, it is possible to use register 0x60 to 0x6F for easier
implementation.
Figure 69:
ASTATUS Register
Figure 70:
CH0_DATA_L Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 49
Document Feedback AS7341
Register Description
Figure 71:
CH0_DATA_H Register
Figure 72:
CH1_DATA_L Register
Figure 73:
CH1_DATA_H Register
Figure 74:
CH2_DATA_L Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 50
Document Feedback AS7341
Register Description
Figure 75:
CH2_DATA_H Register
Figure 76:
CH3_DATA_L Register
Figure 77:
CH3_DATA_H Register
Figure 78:
CH4_DATA_L Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 51
Document Feedback AS7341
Register Description
Figure 79:
CH4_DATA_H Register
Figure 80:
CH5_DATA_L Register
Figure 81:
CH5_DATA_H Register
Figure 82:
CFG 0 Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 52
Document Feedback AS7341
Register Description
Figure 83:
CFG 3 Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 53
Document Feedback AS7341
Register Description
Figure 84:
CFG 6 Register
Figure 85:
CFG 9 Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 54
Document Feedback AS7341
Register Description
Figure 86:
PERS Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 55
Document Feedback AS7341
Register Description
The FIFO buffer is used to poll spectral data with fewer I²C read and write transactions. The FIFO
buffer is 256 bytes of RAM containing 128 two-byte datasets. If the FIFO overflows (i.e. 129 datasets
before host reads data from the FIFO buffer), an overflow flag will be set and new data will be lost.
The Host acquires data by reading addresses: 0xFE – 0xFF. The register address pointer
automatically wraps from 0xFF to 0xFE as data are read. Data can be read one byte at a time or in
blocks, (there is no block-read length limit). When reading single bytes, the internal FIFO read pointer
and the FIFO Buffer Level, FIFO_LVL, are updated each time register 0xFF is read. For block-reads,
the internal FIFO read pointer and the FIFO Buffer Level, FIFO_LVL update for each two-byte entry. If
the FIFO continues to be accessed after FIFO_LVL = 0, the device will return 0 for all data. The FINT
interrupt indicates when there is valid data in the FIFO buffer. The amount of unread data is indicated
by the FIFO_LVL.
Figure 87:
FIFO_MAP Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 56
Document Feedback AS7341
Register Description
Figure 88:
FIFO_CFG0 Register
Figure 89:
FIFO_LVL Register
Figure 90:
FDATA Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 57
Document Feedback AS7341
Register Description
Figure 91:
FDATA Register
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 58
Document Feedback AS7341
Application Information
11 Application Information
Figure 92 shows an example how AS7341 can be utilized to interface to an external InGaAs
photodiode. GPIO2 is mapped to an internal ADC.
11.1 Schematic
Figure 92:
Application Example with External InGaAs Detector
2.7V–5.5V 25-40V
VCC LX
AS1340 FB
EN GND
Filter tuning
1.8V light
NTC1
8CH VIS source NTC2
NIR/CLE AR light in
Temperature supervision
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 59
Document Feedback AS7341
Application Information
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 60
Document Feedback AS7341
Application Information
Figure 94:
Diffuser Characteristics
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 61
Document Feedback AS7341
Package Drawings & Markings
RoHS Green
(1) All dimensions are in millimeters. Angles in degrees.
(2) Dimensioning and tolerance conform to ASME Y14.5M-1994.
(3) This package contains no lead (Pb).
(4) This drawing is subject to change without notice.
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 62
Document Feedback AS7341
Tape & Reel Information
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 63
Document Feedback AS7341
Tape & Reel Information
Figure 97:
AS7341 OLGA8 Reel Dimensions
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 64
Document Feedback AS7341
Soldering & Storage Information
Figure 99:
Solder Reflow Profile
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 65
Document Feedback AS7341
Soldering & Storage Information
Optical characteristics of the device can be adversely affected during the soldering process by the
release and vaporization of moisture that has been previously absorbed into the package.
To ensure the package contains the smallest amount of absorbed moisture possible, each device is
baked prior to being dry packed for shipping. Devices are dry packed in a sealed aluminized envelope
called a moisture-barrier bag with silica gel to protect them from ambient moisture during shipping,
handling, and storage before use.
The calculated shelf life of the device in an unopened moisture barrier bag is 12 months from the date
code on the bag when stored under the following conditions:
Rebaking of the devices will be required if the devices exceed the 12 month shelf life or the Humidity
Indicator Card shows that the devices were exposed to conditions beyond the allowable moisture
region.
The module has been assigned a moisture sensitivity level of MSL 3. As a result, the floor life of
devices removed from the moisture barrier bag is 168 hours from the time the bag was opened,
provided that the devices are stored under the following conditions:
If the floor life or the temperature/humidity conditions have been exceeded, the devices must be
rebaked prior to solder reflow or dry packing.
When the shelf life or floor life limits have been exceeded, rebake at 50°C for 12 hours.
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 66
Document Feedback AS7341
Revision Information
15 Revision Information
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 AG standard warranty as given in the General Terms of Trade
-added figure 7 6
-fixed typos and document maintenance 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
DS000504 • v3-00 • 2020-Jun-25 68 │ 67
Document Feedback AS7341
Legal Information
16 Legal Information
Copyrights & Disclaimer
Copyright ams 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 AG are covered by the warranty and patent indemnification provisions appearing in its General Terms of
Trade. ams AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein. ams
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 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 AG for each application. This product is provided by ams 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 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 AG rendering of technical or other services.
Datasheet • PUBLIC
DS000504 • v3-00 • 2020-Jun-25 68 │ 68