TCS3530 2
TCS3530 2
Document
Published by
ams OSRAM Group
TCS3530
Fully Embedded, True Color Ambient
Light Sensor with Selective Flicker
Detection
General Description The TCS3530 features true color XYZ ambient light detection,
as well as flicker detection up to 7kHz. The device comes in a
small footprint 8-pin optical module with a dimension of
L2.50mm x W1.80mm x H1.50mm. The optical module is fully
embedded offering an integrated aperture and integrated
diffuser. This unparalleled scale of integration, containing the
photodiodes, aperture and diffuser, as well as precise distances
between these key optical elements, allows accurate
pre-calibration in final optical device test.
The ambient light detection function provides eight concurrent
ambient light sensing channels with independent gain
configuration. These channels can be arbitrarily connected to
the 27 photodiodes. A built-in sequencer enables automated
measurements without the need to reprogram the device after
every measurement cycle. All photodiodes are covered with an
UV/IR blocking filter. This architecture accurately measures
ambient light and calculates illuminance, chromaticity, and
correlated color temperature (CCT) to manage display
appearance.
The device also integrates direct detection of ambient light
flicker up to 7kHz. This extended sampling range enables flicker
detection from either conventional mains powered 50Hz/60Hz
AC light sources as well as modern PDM controlled LED lighting
systems. Flicker detection is executed in parallel with ambient
light sensing and has independent gain configuration. The
flicker detection engine will sample and buffer data for
calculating flicker frequencies externally on a host CPU.
Ordering Information and Content Guide appear at end of
datasheet.
Figure 1:
Added Value of Using TCS3530
Benefits Features
• Integrated status checking for all functions • Digital and analog ALS saturation flags
Applications
TCS3530 integrates multiple applications within one device.
The applications for TCS3530 include:
• CCT and chromaticity calculation
• Auxiliary auto white balancing
• Light type identification
• Flicker-immune camera operation
Block Diagram
The functional blocks of this device are shown below:
Figure 2:
Functional Blocks of TCS3530
Pin Assignments
Figure 3:
Pin Diagram of TCS3530
Figure 4:
Pin Description of TCS3530
Ground. All voltages are referenced to VSS/PGND, and both ground pins
2 PGND
must be connected to ground.
Ground. All voltages are referenced to VSS/PGND, and both ground pins
4 VSS
must be connected to ground.
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 Recommended
Operating Conditions is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect
device reliability.
All voltages with respect to VSS/PGND. Device parameters are
guaranteed at V DD = 1.8 V and TA = 25°C unless otherwise noted.
Figure 5:
Absolute Maximum Ratings
Electrical Parameters
Stress Parameters
Figure 6:
Recommended Operating Conditions
VBUS=1.2V/1.8V@
VOL-SDA-I2C SDA output low voltage 0.4 V
20mA
Operating free-air
TA -30 25 85 °C
temperature (1)
Other Conditions
1. While the device is operational across the temperature range, functionality will vary with temperature.
Optical Characteristics Parameters listed under Test Level 4 are guaranteed with
production tests and SQC (Statistical Quality Control).
Parameters listed under Test Level 3 are measured in-line with
transparent monitor glasses. Parameters listed under Test
Level 2 are measured in lab bench characterization. Parameters
listed under Test Level 1 are guaranteed by design. All Test
Levels are measured with V DD = 1.8V and T A = 25°C unless
otherwise noted.
Figure 7:
ALS/Color Characteristics of TCS3530, ALS Gain = 128x, Integration Time = 11ms (unless otherwise noted)
Test
Parameter Conditions Min Typ Max Unit
Level
Ee = 0μW/cm2
(1) 0 0 3 counts 4
Dark ADC count value ALS gain: 512x
Integration time: 100ms
0.5x 1/261.10
1x 1/126.90
2x 1/63.69
4x 1/31.85
8x 1/15.53
16x 1/8
64x 1/2
256x 1.92
512x 3.79
1024x 7.44
2048x 14.40
4096x 27.90
Note(s):
1. The typical 3-sigma distribution shows less than 1 count for an ATIME setting of less than 98ms. Residual counts are not considered
for dark count measurement.
2. The gain ratios are calculated relative to the response with ALS gain = 128x.
3. The White LED is an InGaN light-emitting diode with integrated phosphor and the following characteristic: correlated color
temperature = 2700K.
4. ADC noise is calculated as the standard deviation relative to full scale.
Figure 8:
Channel Irradiance Responsivity
Figure 9:
Color and Lux Measurement Accuracy
Test
Parameter Conditions Min Typ Max Unit
Level
Test
Parameter Conditions Min Typ Max Unit
Level
Note(s):
1. Light source not native in XRITE light box.
Wavelength Accuracy
The Channel Center Wavelength and Full-Width-Half-Max
Wavelength is measured in-line during filter deposition by
means of monitor glasses placed next to the wafers (Test
Level 3).
Figure 10:
Channel Center Wavelength
Test
Parameter Conditions Min Typ Max Unit
Level
Figure 11:
Channel Full Width Half Max Wavelength (FWHM)
Test
Parameter Conditions Min Typ Max Unit
Level
Electrical Characteristics Parameters listed under Test Level 4 are guaranteed with
production tests and SQC (Statistical Quality Control).
Parameters listed under Test Level 3 are measured in-line with
transparent monitor glasses. Parameters listed under Test Level
2 are measured in lab bench characterization. Parameters listed
under Test Level 1 are guaranteed by design. All Test Levels are
measured with V DD = 1.8V and T A = 25°C unless otherwise noted.
Figure 12:
Electrical Characteristics of TCS3530, VDD = 1.8 V, TA = 25°C (unless otherwise noted)
Test
Symbol Parameter Conditions Min Typ Max Unit
Level
Note(s):
1. This parameter indicates the supply current during periods of ALS integration. The ALS gain setting will have an effect on the active
supply current. The ALS gain setting used for this parameter is 128x.
2. Idle state occurs when PON=1 and all functions are disabled.
3. Sleep state occurs when PON = 0 and I²C/I3C bus is idle. If Sleep state has been entered as the result of operational flow, SAI = 1,
PON will remain high.
Timing Characteristics Parameters listed under Test Level 4 are guaranteed with
production tests and SQC (Statistical Quality Control).
Parameters listed under Test Level 3 are measured in-line with
transparent monitor glasses. Parameters listed under Test Level
2 are measured in lab bench characterization. Parameters listed
under Test Level 1 are guaranteed by design. All Test Levels are
measured with V DD = 1.8V and T A = 25°C unless otherwise noted.
Figure 13:
I²C Timing Characteristics of TCS3530
Test
Symbol Parameter Min Typ Max Unit
Level
tBUF Bus free time between start and stop condition 1.3
Figure 14:
Timing Diagram for TCS3530
tHIGH tR
tLOW tF
VIH
SCL
VIL
Figure 15:
Functional Timing Characteristics of TCS3530
Test
Symbol Parameter Min Typ Max Unit
Level
Typical Operating
Characteristics
Figure 16:
Normalized Spectral Responsivity
100%
80%
X (MOD0)
Y (MOD1)
Z (MOD2)
60%
IR (MOD3)
HgL (MOD4)
HgH (MOD5)
20%
0%
300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000
λ wavelength [nm]
Note(s):
1. The spectral responsivities shown in the figure are measured under a diffuser and normalized.
Figure 17:
Sensor Field Array
Detailed 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 a function is enabled (AEN = 1), the
device exits the IDLE state. If all functions are disabled (AEN =
0), the device returns to the IDLE state.
As depicted in Figure 18 and Figure 19, the color sensing
functions operate in parallel when enabled. Each function is
individually configured (e.g. gain, ADC integration time, wait
time, persistence, thresholds, etc.).
If Sleep after Interrupt is enabled 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).
Figure 18:
Simplified State Diagram
ALS/
SLEEP COLOR/WIDEBAND/
FLICKER
1
PON AEN
0
IDLE
Figure 19:
Detailed State Diagram
POR
INITIALIZE TCS3530OperationalStates
TCS3440 Operational States
(200μs)
N N
IDLE
I2C
AEN = 0 AEN = 1
ALS/COLOR/WIDEBAND/FLICKER/IR
WAIT AUTOZERO
(WTIME) (every nth time)
CLEAR
INTER RUPTS
INTERRUPT
UPDATE GENERATE EVALUATE:
STATUS INTERRUPT Y INTER RUPT?
I²C Protocol
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). For a complete description of the I²C protocol, please
review the NXP I²C design specification.
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.
A Write transaction consists of a START, CHIP-ADDRESSWRITE,
REGISTER-ADDRESS WRITE, DATA BYTE(S), and STOP. Following
each byte (9TH clock pulse) the slave places an
ACKNOWLEDGE/NOT- ACKNOWLEDGE (ACK/NACK) on the bus.
If NACK is transmitted by the slave, the master may issue a STOP.
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.
Register Map
The register set is summarized in Figure 20. The values of all
registers and fields that are listed as reserved or are not listed
must not be changed at any time. The power-on reset values of
each bit are indicated in these columns. Two-byte fields are
always latched with the low byte followed by the high byte.
Figure 20:
Register Map
SAMPLE_TIME_
0x85 Alternative sample time setting 0 0x60
ALTERNATIVE0
SAMPLE_TIME_
0x86 Alternative sample time setting 1 0x16
ALTERNATIVE1
ALS_NR_SAMPLES_
0x89 Alternative ALS number of samples setting 0 0x00
ALTERNATIVE0
ALS_NR_SAMPLES_
0x8A Alternative ALS number of samples setting 1 0x00
ALTERNATIVE1
FD_NR_SAMPLES_
0x8D ALS Interrupt High Threshold [7:0] 0x00
ALTERNATIVE0
FD_NR_SAMPLES_ 0x00
0x8E ALS Interrupt High Threshold [15:8]
ALTERNATIVE1
AGC_NR_
0x99 AGC Number of Samples 0x00
SAMPLES[7:0]
AGC_NR_
0x9A AGC Number of Samples 0x00
SAMPLES[10:8]
MOD_CHANNEL_
0xAB Modulator Channel Control 0x00
CTRL
MEAS_SEQR_APERS_
0xDC Defines the measurement sequencer pattern 0x01
AND_VSYNC_WAIT
MEAS_SEQR_SMUX_
0xDE Defines the measurement sequencer pattern 0x00
AND_SAMPLE_TIME
MEAS_SEQR_WAIT_
0xDF Defines the measurement sequencer pattern 0x01
AND_TS_ENABLE
MOD_RESIDUAL_
0xE9 Defines relative steps for residual measurements 0x00
CFG1
MOD_RESIDUAL_
0xEA Defines relative steps for residual measurements 0x00
CFG2
Register Description
CONTROL_SCL Register
Figure 21:
CONTROL_SCL
7:1 Reserved 0
Note(s):
1. Return to the Register Map (0x24).
Figure 22:
Modulator Offset Register
MOD_
0x40 7:0 0 R/W
OFFSET0[7:0]
MOD_
0x45 1:0 0 R/W
OFFSET2[9:8]
MOD_
0x46 7:0 0 R/W
OFFSET3[7:0]
MOD_
0x47 1:0 0 R/W
OFFSET4[9:8]
MOD_
0x48 7:0 0 R/W
OFFSET4[7:0]
MOD_
0x4D 7:0 0 R/W
OFFSET6[9:8]
MOD_
0x4E 7:2 0 R/W
OFFSET7[7:0]
MOD_
0x4F 7:0 0 R/W
OFFSET7[9:8]
Note(s):
1. Return to the Register Map (0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F).
OSCEN Register
Figure 23:
OSCEN
7:3 Reserved 0
This bit is “1” after power on for about 300μs. The device
2 PON_INIT 0 R will not respond to any I²C/I3C bus traffic. It can be used
for power on polling.
Note(s):
1. Return to the Register Map (0x7F).
ENABLE Register
Figure 24:
ENABLE
7 Reserved 0
5:2 Reserved 0
Note(s):
1. Return to the Register Map (0x80).
MEAS_MODE0 Register
Figure 25:
MEAS_MODE0
MEASUREMENT_
SEQUENCER_ Start one measurement cycle with sequencer settings and
5 0 R/W
SINGLE_SHOT_ stop it by asserting Sleep After Interrupt (SAI)
MODE
MOD_FIFO_ALS_ Enables writing of ALS status to the FIFO RAM in case ALS
4 STATUS_WRITE_ 0 R/W data scaling is used as well as 16-bit ALS data writing. It is
ENABLE needed to be able to correctly interpret the ALS data.
Note(s):
1. Return to the Register Map (0x81).
MEAS_MODE1 Register
Figure 26:
MEAS_MODE1
MOD_FIFO_FD_
END_ Enables writing of end marker to FIFO after each complete
7 0 R/W
MARKER_WRITE_ flicker measurement.
ENABLE
MOD_FIFO_FD_
Enables writing of flicker checksum to FIFO after each
6 CHECKSUM_ 0 R/W
complete flicker measurement.
WRITE_ENABLE
MOD_FIFO_FD_
Enables writing of gain to FIFO after each complete flicker
5 GAIN_WRITE_ 0 R/W
measurement. This is required in case AGC is enabled.
ENABLE
Note(s):
1. Return to the Register Map (0x82).
SAMPLE_TIME0 Register
Figure 27:
SAMPLE_TIME0
4 Reserved 0
MEASUREMENT_
Sets the number of flicker samples for each sequencer step.
SEQUENCER_
3:0 0 R/W If set to 0001b the number is FD_NR_SAMPLES else it is FD_
FD_NR_SAMPLES_
NR_SAMPLES_ALTERNATIVE.
PATTERN
Note(s):
1. Return to the Register Map (0x83).
SAMPLE_TIME1 Register
Figure 28:
SAMPLE_TIME1
SAMPLE_
7:0 0x16 R/W Please see SAMPLE_TIME0.
TIME[10:3]
Note(s):
1. Return to the Register Map (0x84).
SAMPLE_TIME_ALTERNATIVE0 Register
Figure 29:
SAMPLE_TIME_ALTERNATIVE0
4 Reserved 0
Note(s):
1. Return to the Register Map (0x85).
SAMPLE_TIME_ALTERNATIVE1 Register
Figure 30:
SAMPLE_TIME_ALTERNATIVE1
SAMPLE_TIME_
7:0 0x16 R/W Please see SAMPLE_TIME_ALTERNATIVE0.
ALTERNATIVE[10:3]
Note(s):
1. Return to the Register Map (0x86).
ALS_NR_SAMPLES0 Register
Figure 31:
ALS_NR_SAMPLES0
Note(s):
1. Return to the Register Map (0x87).
ALS_NR_SAMPLES1 Register
Figure 32:
ALS_NR_SAMPLES1
7:3 Reserved 0 0
ALS_NR_
2:0 0 R/W Please see ALS_NR_SAMPLES0.
SAMPLES[10:8]
Note(s):
1. Return to the Register Map (0x88).
ALS_NR_SAMPLES_ALTERNATIVE0 Register
Figure 33:
ALS_NR_SAMPLES_ALTERNATIVE0
Note(s):
1. Return to the Register Map (0x89).
ALS_NR_SAMPLES_ALTERNATIVE1 Register
Figure 34:
ALS_NR_SAMPLES_ALTERNATIVE1
7:3 Reserved 0
ALS_NR_
2:0 SAMPLES_ 0 R/W Please see ALS_NR_SAMPLES_ALTERNATIVE0.
ALTERNATIVE[10:8]
Note(s):
1. Return to the Register Map (0x8A).
FD_NR_SAMPLES0 Register
Figure 35:
FD_NR_SAMPLES0
Note(s):
1. Return to the Register Map (0x8B).
FD_NR_SAMPLES1 Register
Figure 36:
FD_NR_SAMPLES1
6:3 Reserved 0
FD_NR_
2:0 0 R/W Please see FD_NR_SAMPLES0.
SAMPLES[10:8]
Note(s):
1. Return to the Register Map (0x8C).
FD_NR_SAMPLES_ALTERNATIVE0 Register
Figure 37:
FD_NR_SAMPLES_ALTERNATIVE0
Note(s):
1. Return to the Register Map (0x8D).
FD_NR_SAMPLES_ALTERNATIVE1 Register
Figure 38:
FD_NR_SAMPLES_ALTERNATIVE1
7:3 Reserved 0
FD_NR_SAMPLES_
2:0 0 R/W Please see FD_NR_SAMPLES_ALTERNATIVE0.
ALTERNATIVE[10:8]
Note(s):
1. Return to the Register Map (0x8E)
WTIME Register
Figure 39:
WTIME
Note(s):
1. Return to the Register Map (0x8F)
Identification Registers
Figure 40:
Identification Registers
Note(s):
1. Return to the Register Map (0x90, 0x91, 0x92).
7:0 0x93 AILT0 0 R/W ALS Interrupt Low Threshold: The ALS interrupt
threshold registers are 24-bit wide. ALS interrupt
15:8 0x94 AILT1 0 R/W level detection compares the threshold registers
with the data accumulated by the selected
modulator. The modulator can be selected via
ALS_THRESHOLD_CHANNEL. If AIEN is asserted
23:16 0x95 AILT2 0 R/W and the accumulated data is below AILT for the
number of consecutive samples specified in APERS,
an interrupt is asserted on the interrupt pin
(internally AINT_AILT and AINT are asserted).
Note(s):
1. Return to the Register Map (0x93, 0x94, 0x95).
Figure 42:
ALS Interrupt High Threshold
7:0 0x96 AIHT0 0 R/W ALS Interrupt High Threshold: The ALS interrupt
threshold registers are 24-bit wide. ALS interrupt
15:8 0x97 AIHT1 0 R/W level detection compares the threshold registers
with the data accumulated by the selected
modulator. The modulator can be selected via
ALS_THRESHOLD_CHANNEL. If AIEN is asserted
23:16 0x98 AIHT2 0 R/W and the accumulated data is above AIHT for the
number of consecutive samples specified in
APERS, an interrupt is asserted on the interrupt
pin (internally AINT_AIHT and AINT are asserted).
Note(s):
1. Return to the Register Map (0x96, 0x97, 0x98).
Figure 43:
AGC Number of Samples
AGC_NR_
7:0 0x99 0 R/W
SAMPLES[7:0]
AGC Number of Samples: Sets the
7:3 0x9A Reserved 0 number of samples for every AGC
measurement.
AGC_NR_
2:0 0x9A 0 R/W
SAMPLES[10:8]
Note(s):
1. Return to the Register Map (0x99, 0x9A).
STATUS Register
Figure 44:
STATUS
6:4 Reserved 0
1 Reserved 0
Note(s):
1. Return to the Register Map (0x9B).
STATUS2 Register
Figure 45:
STATUS2
7:5 Reserved 0 R
2:1 Reserved 0 R
Note(s):
1. Return to the Register Map (0x9C).
STATUS3 Register
Figure 46:
STATUS3
7:6 Reserved 0
2 Reserved 0
OSC_CALIB_
0 0 R Indicates that oscillator calibration is finished.
FINISHED
Note(s):
1. Return to the Register Map (0x9D).
STATUS4 Register
Figure 47:
STATUS4
7:4 Reserved 0
Note(s):
1. Return to the Register Map (0x9E).
STATUS5 Register
Figure 48:
STATUS5
7:3 Reserved 0
Note(s):
1. Return to the Register Map (0x9F).
STATUS6 Register
Figure 49:
STATUS6
Note(s):
1. Return to the Register Map (0xA0).
CFG0 Register
Figure 50:
CFG0
7 Reserved 0
Note(s):
1. Return to the Register Map (0xA1).
CFG1 Register
Figure 51:
CFG1
7:3 Reserved 0
Note(s):
1. Return to the Register Map (0xA2).
CFG2 Register
Figure 52:
CFG2
7:3 Reserved 0
Note(s):
1. Return to the Register Map (0xA3).
CFG3 Register
Figure 53:
CFG3
7:6 Reserved 0
3:2 Reserved 0
Note(s):
1. Return to the Register Map (0xA4).
CFG4 Register
Figure 54:
CFG4
7 Reserved 0
2 Reserved 0
Note(s):
1. Return to the Register Map (0xA5).
CFG5 Register
Figure 55:
CFG5
7 Reserved 0
Note(s):
1. Return to the Register Map (0xA6).
CFG6 Register
Figure 56:
CFG6
7:6 Reserved 0
MOD_
Activated complete start procedure in for each
MEASUREMENT_
5 0 R/W measurement sample. This reduces measurement time
COMPLETE_
per sample by 9 modulator clock cycles.
STARTUP
4 Reserved 0
Note(s):
1. Return to the Register Map (0xA7).
CFG7 Register
Figure 57:
CFG7
Note(s):
1. Return to the Register Map (0xA8).
CFG8 Register
Figure 58:
CFG8
MEASUREMENT_
Sets the maximum gain for all channels in all sequencer
7:4 SEQUENCER_ 0xC R/W
steps.
MAX_MOD_GAIN
Note(s):
1. Return to the Register Map (0xA9).
CFG9 Register
Figure 59:
CFG9
7:2 Reserved 0
Note(s):
1. Return to the Register Map (0xAA).
MOD_CHANNEL_CTRL Register
Figure 60:
MOD_CHANNEL_CTRL
Note(s):
1. Return to the Register Map (0xAB).
TRIGGER_MODE Register
Figure 61:
TRIGGER_MODE
7:3 Reserved 0
Note(s):
1. Return to the Register Map (0xAD).
OSC_TUNE Register
Figure 62:
OSC_TUNE
Note(s):
1. Return to the Register Map (0xAE).
VSYNC_GPIO_INT Register
Figure 63:
VSYNC_GPIO_INT
7 Reserved 0
Note(s):
1. Return to the Register Map (0xB0).
INTENAB Register
Figure 64:
INTENAB
6:4 Reserved 0
1 Reserved 0
Note(s):
1. Return to the Register Map (0xBA).
SIEN Register
Figure 65:
SIEN
7:3 Reserved 0
Note(s):
1. Return to the Register Map (0xBB).
CONTROL Register
Figure 66:
CONTROL
7:2 Reserved 0
Setting this bit will clear the FIFO, as well as FINT, FIFO_
1 FIFO_CLR 0 R/W
FULL, FIFO_OVERFLOW, FIFO_UNDERFLOW and FIFO_LVL.
CLEAR_SAI_ Setting this bit will clear the Sleep After Interrupt Active
0 0 R/W
ACTIVE SAI_ACTIVE and start measurements if enabled.
Note(s):
1. Return to the Register Map (0xBC).
ALS_DATA_STATUS Register
Figure 67:
ALS_DATA_STATUS
6:0 Reserved 0
Note(s):
1. Return to the Register Map (0xBD).
ALS_DATA_FIRST Register
Figure 68:
ALS_DATA_FIRST
6:0 Reserved 0
Note(s):
1. Return to the Register Map (0xBE).
ALS_DATA Register
Figure 69:
ALS_DATA
Note(s):
1. Return to the Register Map (0xBF).
MEAS_SEQR_STEP0_MOD_GAINX_0 Register
Figure 70:
MEAS_SEQR_STEP0_MOD_GAINX_0
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 1 for the measurement
7:4 1000b R/W
STEP0_ sequencer step 0.
MOD_GAIN1
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 0 for the measurement
3:0 1000b R/W
STEP0_ sequencer step 0.
MOD_GAIN0
Note(s):
1. Return to the Register Map (0xC0).
MEAS_SEQR_STEP0_MOD_GAINX_1 Register
Figure 71:
MEAS_SEQR_STEP0_MOD_GAINX_1
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 3 for the measurement
7:4 1000b R/W
STEP0_ sequencer step 0.
MOD_GAIN3
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 2 for the measurement
3:0 1000b R/W
STEP0_ sequencer step 0.
MOD_GAIN2
Note(s):
1. Return to the Register Map (0xC1).
MEAS_SEQR_STEP0_MOD_GAINX_2 Register
Figure 72:
MEAS_SEQR_STEP0_MOD_GAINX_2
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 5 for the measurement
7:4 1000b R/W
STEP0_ sequencer step 0.
MOD_GAIN5
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 4 for the measurement
3:0 1000b R/W
STEP0_ sequencer step 0.
MOD_GAIN4
Note(s):
1. Return to the Register Map (0xC2).
MEAS_SEQR_STEP0_MOD_GAINX_3 Register
Figure 73:
MEAS_SEQR_STEP0_MOD_GAINX_3
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 7 for the measurement
7:4 1000b R/W
STEP0_ sequencer step 0.
MOD_GAIN7
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 6 for the measurement
3:0 1000b R/W
STEP0_ sequencer step 0.
MOD_GAIN6
Note(s):
1. Return to the Register Map (0xC3).
MEAS_SEQR_STEP1_MOD_GAINX_0 Register
Figure 74:
MEAS_SEQR_STEP1_MOD_GAINX_0
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 1 for the measurement
7:4 1000b R/W
STEP1_ sequencer step 1.
MOD_GAIN1
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 0 for the measurement
3:0 1000b R/W
STEP1_ sequencer step 1.
MOD_GAIN0
Note(s):
1. Return to the Register Map (0xC4).
MEAS_SEQR_STEP1_MOD_GAINX_1 Register
Figure 75:
MEAS_SEQR_STEP1_MOD_GAINX_1
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 3 for the measurement
7:4 1000b R/W
STEP1_ sequencer step 1.
MOD_GAIN3
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 2 for the measurement
3:0 1000b R/W
STEP1_ sequencer step 1.
MOD_GAIN2
Note(s):
1. Return to the Register Map (0xC5).
MEAS_SEQR_STEP1_MOD_GAINX_2 Register
Figure 76:
MEAS_SEQR_STEP1_MOD_GAINX_2
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 5 for the measurement
7:4 1000b R/W
STEP1_ sequencer step 1.
MOD_GAIN5
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 4 for the measurement
3:0 1000b R/W
STEP1_ sequencer step 1.
MOD_GAIN4
Note(s):
1. Return to the Register Map (0xC6).
MEAS_SEQR_STEP1_MOD_GAINX_3 Register
Figure 77:
MEAS_SEQR_STEP1_MOD_GAINX_3
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 7 for the measurement
7:4 1000b R/W
STEP1_ sequencer step 1.
MOD_GAIN7
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 6 for the measurement
3:0 1000b R/W
STEP1_ sequencer step 1.
MOD_GAIN6
Note(s):
1. Return to the Register Map (0xC7).
MEAS_SEQR_STEP2_MOD_GAINX_0 Register
Figure 78:
MEAS_SEQR_STEP2_MOD_GAINX_0
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 1 for the measurement
7:4 1000b R/W
STEP2_ sequencer step 2.
MOD_GAIN1
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 0 for the measurement
3:0 1000b R/W
STEP2_ sequencer step 2.
MOD_GAIN0
Note(s):
1. Return to the Register Map (0xC8).
MEAS_SEQR_STEP2_MOD_GAINX_1 Register
Figure 79:
MEAS_SEQR_STEP2_MOD_GAINX_1
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 3 for the measurement
7:4 1000b R/W
STEP2_ sequencer step 2.
MOD_GAIN3
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 2 for the measurement
3:0 1000b R/W
STEP2_ sequencer step 2.
MOD_GAIN2
Note(s):
1. Return to the Register Map (0xC9).
MEAS_SEQR_STEP2_MOD_GAINX_2 Register
Figure 80:
MEAS_SEQR_STEP2_MOD_GAINX_2
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 5 for the measurement
7:4 1000b R/W
STEP2_ sequencer step 2.
MOD_GAIN5
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 4 for the measurement
3:0 1000b R/W
STEP2_ sequencer step 2.
MOD_GAIN4
Note(s):
1. Return to the Register Map (0xCA).
MEAS_SEQR_STEP2_MOD_GAINX_3 Register
Figure 81:
MEAS_SEQR_STEP2_MOD_GAINX_3
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 7 for the measurement
7:4 1000b R/W
STEP2_ sequencer step 2.
MOD_GAIN7
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 6 for the measurement
3:0 1000b R/W
STEP2_ sequencer step 2.
MOD_GAIN6
Note(s):
1. Return to the Register Map (0xCB).
MEAS_SEQR_STEP3_MOD_GAINX_0 Register
Figure 82:
MEAS_SEQR_STEP3_MOD_GAINX_0
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 1 for the measurement
7:4 1000b R/W
STEP3_ sequencer step 3.
MOD_GAIN1
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 0 for the measurement
3:0 1000b R/W
STEP3_ sequencer step 3.
MOD_GAIN0
Note(s):
1. Return to the Register Map (0xCC).
MEAS_SEQR_STEP3_MOD_GAINX_1 Register
Figure 83:
MEAS_SEQR_STEP3_MOD_GAINX_1
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 3 for the measurement
7:4 1000b R/W
STEP3_ sequencer step 3.
MOD_GAIN3
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 2 for the measurement
3:0 1000b R/W
STEP3_ sequencer step 3.
MOD_GAIN2
Note(s):
1. Return to the Register Map (0xCD).
MEAS_SEQR_STEP3_MOD_GAINX_2 Register
Figure 84:
MEAS_SEQR_STEP3_MOD_GAINX_2
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 5 for the measurement
7:4 1000b R/W
STEP3_ sequencer step 3.
MOD_GAIN5
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 4 for the measurement
3:0 1000b R/W
STEP3_ sequencer step 3.
MOD_GAIN4
Note(s):
1. Return to the Register Map (0xCE).
MEAS_SEQR_STEP3_MOD_GAINX_3 Register
Figure 85:
MEAS_SEQR_STEP3_MOD_GAINX_3
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 7 for the measurement
7:4 1000b R/W
STEP3_ sequencer step 3.
MOD_GAIN7
MEASUREMENT_
SEQUENCER_ Defines the gain of modulator 6 for the measurement
3:0 1000b R/W
STEP3_ sequencer step 3.
MOD_GAIN6
Note(s):
1. Return to the Register Map (0xCF).
MEAS_SEQR_STEP0_FD Register
Figure 86:
MEAS_SEQR_STEP0_FD
MEASUREMENT_
This register contains one bit for each modulator channel
SEQUENCER_
(LSB = modulator 0, MSB = modulator 7) which defines if a
7:0 STEP0_ 0x01 R/W
flicker measurement shall be executed with the respective
MOD_FD_
modulator during measurement sequencer step 0.
PATTERN
Note(s):
1. Return to the Register Map (0xD0).
MEAS_SEQR_STEP1_FD Register
Figure 87:
MEAS_SEQR_STEP1_FD
MEASUREMENT_
This register contains one bit for each modulator channel
SEQUENCER_
(LSB = modulator 0, MSB = modulator 7) which defines if a
7:0 STEP1_ 0 R/W
flicker measurement shall be executed with the respective
MOD_FD_
modulator during measurement sequencer step 1.
PATTERN
Note(s):
1. Return to the Register Map (0xD1).
MEAS_SEQR_STEP2_FD Register
Figure 88:
MEAS_SEQR_STEP2_FD
MEASUREMENT_
This register contains one bit for each modulator channel
SEQUENCER_
(LSB = modulator 0, MSB = modulator 7) which defines if a
7:0 STEP2_ 0 R/W
flicker measurement shall be executed with the respective
MOD_FD_
modulator during measurement sequencer step 2.
PATTERN
Note(s):
1. Return to the Register Map (0xD2).
MEAS_SEQR_STEP3_FD Register
Figure 89:
MEAS_SEQR_STEP3_FD
MEASUREMENT_
This register contains one bit for each modulator channel
SEQUENCER_
(LSB = modulator 0, MSB = modulator 7) which defines if a
7:0 STEP3_ 0 R/W
flicker measurement shall be executed with the respective
MOD_FD_
modulator during measurement sequencer step 3.
PATTERN
Note(s):
1. Return to the Register Map (0xD3).
MEAS_SEQR_STEP0_RESIDUAL Register
Figure 90:
MEAS_SEQR_STEP0_RESIDUAL
MEASUREMENT_ This register contains one bit for each modulator channel
SEQUENCER_ (LSB = modulator 0, MSB = modulator 7) which defines if a
7:0 STEP0_ 0xFF R/W residual measurement shall be executed with the
MOD_RESIDUAL_ respective modulator during measurement sequencer
ENABLE_PATTERN step 0.
Note(s):
1. Return to the Register Map (0xD4).
MEAS_SEQR_STEP1_RESIDUAL Register
Figure 91:
MEAS_SEQR_STEP1_RESIDUAL
MEASUREMENT_ This register contains one bit for each modulator channel
SEQUENCER_ (LSB = modulator 0, MSB = modulator 7) which defines if a
7:0 STEP1_ 0xFF R/W residual measurement shall be executed with the
MOD_RESIDUAL_ respective modulator during measurement sequencer
ENABLE_PATTERN step 1.
Note(s):
1. Return to the Register Map (0xD5).
MEAS_SEQR_STEP2_RESIDUAL Register
Figure 92:
MEAS_SEQR_STEP2_RESIDUAL
MEASUREMENT_ This register contains one bit for each modulator channel
SEQUENCER_ (LSB = modulator 0, MSB = modulator 7) which defines if a
7:0 STEP2_ 0xFF R/W residual measurement shall be executed with the
MOD_RESIDUAL_ respective modulator during measurement sequencer
ENABLE_PATTERN step 2.
Note(s):
1. Return to the Register Map (0xD6).
MEAS_SEQR_STEP3_RESIDUAL Register
Figure 93:
MEAS_SEQR_STEP3_RESIDUAL
MEASUREMENT_ This register contains one bit for each modulator channel
SEQUENCER_ (LSB = modulator 0, MSB = modulator 7) which defines if a
7:0 STEP3_ 0xFF R/W residual measurement shall be executed with the
MOD_RESIDUAL_ respective modulator during measurement sequencer
ENABLE_PATTERN step 3.
Note(s):
1. Return to the Register Map (0xD7).
MEAS_SEQR_STEP0_ALS Register
Figure 94:
MEAS_SEQR_STEP0_ALS
MEASUREMENT_ This register contains one bit for each modulator channel
SEQUENCER_ (LSB = modulator 0, MSB = modulator 7) which defines if
7:0 STEP0_ 0xFF R/W an ALS measurement shall be executed with the
MOD_ALS_ respective modulator during measurement sequencer
PATTERN step 0.
Note(s):
1. Return to the Register Map (0xD8).
MEAS_SEQR_STEP1_ALS Register
Figure 95:
MEAS_SEQR_STEP1_ALS
MEASUREMENT_ This register contains one bit for each modulator channel
SEQUENCER_ (LSB = modulator 0, MSB = modulator 7) which defines if
7:0 STEP1_ 0 R/W an ALS measurement shall be executed with the
MOD_ALS_ respective modulator during measurement sequencer
PATTERN step 1.
Note(s):
1. Return to the Register Map (0xD9).
MEAS_SEQR_STEP2_ALS Register
Figure 96:
MEAS_SEQR_STEP2_ALS
Note(s):
1. Return to the Register Map (0xDA).
MEAS_SEQR_STEP3_ALS Register
Figure 97:
MEAS_SEQR_STEP3_ALS
Note(s):
1. Return to the Register Map (0xDB).
MEAS_SEQR_APERS_AND_VSYNC_WAIT Register
Figure 98:
MEAS_SEQR_APERS_AND_VSYNC_WAIT
Note(s):
1. Return to the Register Map (0xDC).
MEAS_SEQR_AGC Register
Figure 99:
MEAS_SEQR_AGC
Note(s):
1. Return to the Register Map (0xDD).
MEAS_SEQR_SMUX_AND_SAMPLE_TIME Register
Figure 100:
MEAS_SEQR_SMUX_AND_SAMPLE_TIME
MEASUREMENT_ This register contains one bit for each sequencer step (LSB
SEQUENCER_ = step 0, MSB = step 3) which selects the smux
7:4 0 R/W
SAMPLE_ TIME_ configuration from the two available variants for the
PATTERN corresponding sequencer step.
This register contains one bit for each sequencer step (LSB
MEASUREMENT_
= step 0, MSB = step 3) which selects the sample time
3:0 SEQUENCER_ 0 R/W
configuration from the two available variants for the
SMUX_ PATTERN
corresponding sequencer step.
Note(s):
1. Return to the Register Map (0xDE).
MEAS_SEQR_WAIT_AND_TS_ENABLE Register
Figure 101:
MEAS_SEQR_WAIT_AND_TS_ENABLE
7:4 Reserved 0
Note(s):
1. Return to the Register Map (0xDF).
MOD_CALIB_CFG0 Register
Figure 102:
MOD_CALIB_CFG0
Note(s):
1. Return to the Register Map (0xE0).
MOD_CALIB_CFG2 Register
Figure 103:
MOD_CALIB_CFG2
MOD_CALIB_NTH_
6 ITERATION_AZ_ 1 R/W Enables auto-zero calibration during the nth iteration.
ENABLE
MOD_CALIB_
Enables an automatic re-calibration in case of a
RESIDUAL_ENABLE_
4 1 R/W change in gain. This recalibration is executed at the
AUTO_CALIB_ON_
beginning of each sequencer step.
GAIN_CHANGE
Note(s):
1. Return to the Register Map (0xE2).
MOD_CALIB_CFG3 Register
Figure 104:
MOD_CALIB_CFG3
Note(s):
1. Return to the Register Map (0xE3).
MOD_COMP_CFG2 Register
Figure 105:
MOD_COMP_CFG2
Note(s):
1. Return to the Register Map (0xE7).
MOD_RESIDUAL_CFG0 Register
Figure 106:
MOD_RESIDUAL_CFG0
7:6 Reserved 0
Note(s):
1. Return to the Register Map (0xE8).
MOD_RESIDUAL_CFG1 Register
Figure 107:
MOD_RESIDUAL_CFG1
MOD_RESIDUAL_
Relative number of steps to add to 8 steps in case of
7:4 RELATIVE_ 0 R/W
number of residual bits 3.
STEPS_3
MOD_RESIDUAL_
Relative number of steps to add to 4 steps in case of
3:0 RELATIVE_ 0 R/W
number of residual bits 2.
STEPS_2
Note(s):
1. Return to the Register Map (0xE9).
MOD_RESIDUAL_CFG2 Register
Figure 108:
MOD_RESIDUAL_CFG2
MOD_RESIDUAL_
Relative number of steps to add to 16 steps in case of
7:3 RELATIVE_ 0 R/W
number of residual bits 4.
STEPS_3
MOD_RESIDUAL_
Relative number of steps to add to 2 steps in case of
2:0 RELATIVE_ 0 R/W
number of residual bits 1.
STEPS_2
Note(s):
1. Return to the Register Map (0xEA).
VSYNC_DELAY_CFG0 Register
Figure 109:
VSYNC_DELAY_CFG0
Note(s):
1. Return to the Register Map (0xEB).
VSYNC_DELAY_CFG1 Register
Figure 110:
VSYNC_DELAY_CFG1
7:6 Reserved 0
Note(s):
1. Return to the Register Map (0xEC).
VSYNC_PERIOD0 Register
Figure 111:
VSYNC_PERIOD0
Note(s):
1. Return to the Register Map (0xED).
VSYNC_PERIOD1 Register
Figure 112:
VSYNC_PERIOD1
Note(s):
1. Return to the Register Map (0xEE).
VSYNC_PERIOD_TARGET0 Register
Figure 113:
VSYNC_PERIOD_TARGET0
Note(s):
1. Return to the Register Map (0xEF).
VSYNC_PERIOD_TARGET1 Register
Figure 114:
VSYNC_PERIOD_TARGET1
VSYNC_PERIOD_
6:0 0 R/W See VSYNC_PERIOD_TARGET0.
TARGET[14:8]
Note(s):
1. Return to the Register Map (0xF0).
VSYNC_CONTROL Register
Figure 115:
VSYNC_CONTROL
7:1 Reserved 0
Note(s):
1. Return to the Register Map (0xF1).
VSYNC_CFG Register
Figure 116:
VSYNC_CFG
Value ID Meaning
oscillator calibration is
done always if possible,
osccal_ not during
2
always_on measurement and not
if vsync_lost is
detected
Value ID Meaning
Use VSYNC_
sw_vsync_
1 CONTROL.sw_vsync_
trigger
trigger as vsync trigger
Value ID Meaning
1 VSYNC_SELECT 0 R/W
0 vsync_gpio Use VSYNC/GPIO input
Value ID Meaning
0 VSYNC_INVERT 0 R/W
do_not_
0 Do not invert
invert
1 invert Do invert
Note(s):
1. Return to the Register Map (0xF2).
FIFO_THR Register
Figure 117:
FIFO_THR
Note(s):
1. Return to the Register Map (0xF3).
MOD_FIFO_DATA_CFG0 Register
Figure 118:
MOD_FIFO_DATA_CFG0
MOD_FD_FIFO_
DATA0_ Enables data compression in case of flicker detection
5 0 RAM=0x10L
COMPRESSION_ mode.
ENABLE
Note(s):
1. Return to the Register Map (0xF4).
MOD_FIFO_DATA_CFG1 Register
Figure 119:
MOD_FIFO_DATA_CFG1
MOD_ALS_FIFO_
7 DATA1_WRITE_ 1 RAM=0x11L See MOD_ALS_FIFO_DATA0_WRITE_ENABLE.
ENABLE
MOD_FD_FIFO_
See MOD_FD_FIFO_DATA0_COMPRESSION_
DATA1_
5 0 RAM=0x11L ENABLE and MOD_FD_FIFO_DATA0_WIDTH for
COMPRESSION_
more details.
ENABLE
MOD_FD_FIFO_
DATA1_
4 0 RAM=0x11L See MOD_FD_FIFO_DATA0_DIFFERENCE_ENABLE.
DIFFERENCE_
ENABLE
MOD_FD_FIFO_
3:0 15 RAM=0x11L See MOD_FD_FIFO_DATA0_WIDTH.
DATA1_WIDTH
Note(s):
1. Return to the Register Map (0xF5).
MOD_FIFO_DATA_CFG2 Register
Figure 120:
MOD_FIFO_DATA_CFG2
MOD_ALS_FIFO_
7 DATA2_WRITE_ 1 RAM=0x12L See MOD_ALS_FIFO_DATA0_WRITE_ENABLE.
ENABLE
MOD_FD_FIFO_
See MOD_FD_FIFO_DATA0_COMPRESSION_
DATA2_
5 0 RAM=0x12L ENABLE and MOD_FD_FIFO_DATA0_WIDTH for
COMPRESSION_
more details.
ENABLE
MOD_FD_FIFO_
DATA2_ See MOD_FD_FIFO_DATA0_DIFFERENCE_
4 0 RAM=0x12L
DIFFERENCE_ ENABLE.
ENABLE
MOD_FD_FIFO_
3:0 15 RAM=0x12L See MOD_FD_FIFO_DATA0_WIDTH.
DATA2_WIDTH
Note(s):
1. Return to the Register Map (0xF6).
MOD_FIFO_DATA_CFG3 Register
Figure 121:
MOD_FIFO_DATA_CFG3
MOD_ALS_FIFO_
7 DATA3_WRITE_ 1 RAM=0x13L See MOD_ALS_FIFO_DATA0_WRITE_ENABLE.
ENABLE
MOD_FD_FIFO_
See MOD_FD_FIFO_DATA0_COMPRESSION_
DATA3_
5 0 RAM=0x13L ENABLE and MOD_FD_FIFO_DATA0_WIDTH
COMPRESSION_
for more details.
ENABLE
MOD_FD_FIFO_
See MOD_FD_FIFO_DATA0_DIFFERENCE_
4 DATA3_DIFFERENCE_ 0 RAM=0x13L
ENABLE
ENABLE
MOD_FD_FIFO_
3:0 15 RAM=0x13L See MOD_FD_FIFO_DATA0_WIDTH.
DATA3_WIDTH
Note(s):
1. Return to the Register Map (0xF7).
MOD_FIFO_DATA_CFG4 Register
Figure 122:
MOD_FIFO_DATA_CFG4
MOD_ALS_FIFO_
7 DATA4_WRITE_ 1 RAM=0x14L See MOD_ALS_FIFO_DATA0_WRITE_ENABLE.
ENABLE
MOD_FD_FIFO_
See MOD_FD_FIFO_DATA0_COMPRESSION_
DATA4_
5 0 RAM=0x14L ENABLE and MOD_FD_FIFO_DATA0_WIDTH for
COMPRESSION_
more details.
ENABLE
MOD_FD_FIFO_
DATA4_ See MOD_FD_FIFO_DATA0_DIFFERENCE_
4 0 RAM=0x14L
DIFFERENCE_ ENABLE.
ENABLE
MOD_FD_FIFO_
3:0 15 RAM=0x14L See MOD_FD_FIFO_DATA0_WIDTH.
DATA4_WIDTH
Note(s):
1. Return to the Register Map (0xF8).
MOD_FIFO_DATA_CFG5 Register
Figure 123:
MOD_FIFO_DATA_CFG5
MOD_ALS_FIFO_
7 DATA5_WRITE_ 1 RAM=0x15L See MOD_ALS_FIFO_DATA0_WRITE_ENABLE.
ENABLE
MOD_FD_FIFO_
See MOD_FD_FIFO_DATA0_COMPRESSION_
DATA5_
5 0 RAM=0x15L ENABLE and MOD_FD_FIFO_DATA0_WIDTH for
COMPRESSION_
more details.
ENABLE
MOD_FD_FIFO_
DATA5_
4 0 RAM=0x15L See MOD_FD_FIFO_DATA0_DIFFERENCE_ENABLE.
DIFFERENCE_
ENABLE
MOD_FD_FIFO_
3:0 15 RAM=0x15L See MOD_FD_FIFO_DATA0_WIDTH.
DATA5_WIDTH
Note(s):
1. Return to the Register Map (0xF9).
MOD_FIFO_DATA_CFG6 Register
Figure 124:
MOD_FIFO_DATA_CFG6
MOD_ALS_FIFO_
7 DATA6_WRITE_ 1 RAM=0x16L See MOD_ALS_FIFO_DATA0_WRITE_ENABLE.
ENABLE
MOD_FD_FIFO_
See MOD_FD_FIFO_DATA0_COMPRESSION_
DATA6_
5 0 RAM=0x16L ENABLE and MOD_FD_FIFO_DATA0_WIDTH for
COMPRESSION_
more details.
ENABLE
MOD_FD_FIFO_
DATA6_
4 0 RAM=0x16L See MOD_FD_FIFO_DATA0_DIFFERENCE_ENABLE.
DIFFERENCE_
ENABLE
MOD_FD_FIFO_
3:0 15 RAM=0x16L See MOD_FD_FIFO_DATA0_WIDTH.
DATA6_WIDTH
Note(s):
1. Return to the Register Map (0xFA).
MOD_FIFO_DATA_CFG7 Register
Figure 125:
MOD_FIFO_DATA_CFG7
MOD_ALS_FIFO_
7 DATA7_WRITE_ 1 RAM=0x17L See MOD_ALS_FIFO_DATA0_WRITE_ENABLE.
ENABLE
MOD_FD_FIFO_
See MOD_FD_FIFO_DATA0_COMPRESSION_
DATA7_
5 0 RAM=0x17L ENABLE and MOD_FD_FIFO_DATA0_WIDTH for
COMPRESSION_
more details.
ENABLE
MOD_FD_FIFO_
DATA7_
4 0 RAM=0x17L See MOD_FD_FIFO_DATA0_DIFFERENCE_ENABLE
DIFFERENCE_
ENABLE
MOD_FD_FIFO_
3:0 15 RAM=0x17L See MOD_FD_FIFO_DATA0_WIDTH.
DATA7_WIDTH
Note(s):
1. Return to the Register Map (0xFB).
FIFO_STATUS0 Register
Figure 126:
FIFO_STATUS0
Note(s):
1. Return to the Register Map (0xFC, 0xFD).
FIFO_STATUS1 Register
Figure 127:
FIFO_STATUS1
If set to “1” a FIFO overflow has occurred and data for the
FIFO was lost (e.g. reading from FIFO was too slow). This
flag is cleared by PON and FIFO_CLR. Always check this
7 FIFO_OVERFLOW 0 R
flag before and after reading the FIFO. Read
FIFO_STATUS0 and then FIFO_STATUS1 to get consistent
values for both registers.
If set to “1” the FIFO was read out too often and has
returned 0 at least once. In such case the read-out data
may not consistent anymore. This flag is cleared by PON
6 FIFO_UNDERFLOW 0 R
and FIFO_CLR. Always check this flag before and after
reading the FIFO. Read FIFO_STATUS0 and then
FIFO_STATUS1 to get consistent values for both registers.
5:3 Reserved 0
Note(s):
1. Return to the Register Map (0xFD).
FIFO_DATA_PROTOCOL Register
Figure 128:
FIFO_DATA_PROTOCOL
Note(s):
1. Return to the Register Map (0xFE).
FIFO_DATA Registers
Figure 129:
FIFO_DATA
Note(s):
1. Return to the Register Map (0xFF).
Figure 130:
TCS3530 Typical Application Circuit
Note(s):
1. C1 in the graphic above shall be 4.7μF, 6.3V, 10% and C2 in the graphic above shall be 1μF, 6.3V, 20%. All ground vias shall connected
to a solid ground plane.
Figure 131:
TCS3530 Recommended Part Placement
VSS VBUS
1V8
VIO
(1.2V/1.8V)
Note(s):
1. NC pins do not have an internal electrical connection. For device ESD protection, it is recommended to connect it to ground.
Note(s):
1. All linear dimensions are in millimeters.
2. Contacts are copper with NiPdAu plating (ENEPIG).
3. This package contains no lead (Pb).
4. This drawing is subject to change without notice.
PCB Pad Layout Suggested PCB pad layout guidelines for the surface mount
module are shown. Flash Gold is recommended as a surface
finish for the landing pads.
Figure 133:
TCS3530 PCB Pad Layout
Note(s):
1. All linear dimensions are in millimeters.
2. This drawing is subject to change without notice.
Note(s):
1. All linear dimensions are in millimeters. Dimension tolerance is ± 0.10 mm unless otherwise noted.
2. The dimensions on this drawing are for illustrative purposes only. Dimensions of an actual carrier may vary slightly.
3. Symbols on drawing Ao, Bo, and Ko are defined in ANSI EIA Standard 481−B 2001.
4. Each reel is generally 330 millimeters in diameter and contains 5000 parts. Please reconfirm for actual orders.
5. ams OSRAM packaging tape and reel conform to the requirements of EIA Standard 481−B.
6. In accordance with EIA standard, device pin 1 is located next to the sprocket holes in the tape.
7. This drawing is subject to change without notice.
Figure 135:
Solder Reflow Profile
For users TP must not exceed the For users TP must not exceed the
Classification temp of 235°C Classification temp of 260°C
Peak package body temperature (TP) For suppliers TP must equal or For suppliers TP must equal or
exceed the Classification temp exceed the Classification temp of
of 235°C 260°C
Note(s):
1. Tolerance for peak profile temperature (TP) is defined as a supplier minimum and a user maximum.
Figure 136:
Solder Reflow Profile Graph
TP
Max Ramp Up Rate = 3°C/s
TC - 5°C
Max Ramp Down Rate = 6°C/s
tP
TL
tL
Tsmax Preheat Area
Temperature (°C)
Tsmin
25
Time (seconds)
Storage Information
Moisture Sensitivity
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.
Shelf Life
The calculated shelf life of the device in an unopened moisture
barrier bag is 24 months from the date code on the bag when
stored under the following conditions:
• Shelf Life: 24 months
• Ambient Temperature: <40°C
• Relative Humidity: <90%
Floor Life
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:
• Floor Life: 168 hours
• Ambient Temperature: <30°C
• Relative Humidity: <60%
Rebaking Instructions
When the shelf life or floor life limits have been exceeded,
rebake at 50°C for 12 hours.
Note(s):
1. TCS35303-3 on request with I3C mode enabled.
Headquarters
ams-OSRAM AG
Tobelbader Strasse 30
8141 Premstaetten
Austria, Europe
RoHS Compliant & ams Green RoHS: The term RoHS compliant means that ams-OSRAM AG
products fully comply with current RoHS directives. Our
Statement
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.
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.
Document Status
Revision Information
Note(s):
1. Page and figure numbers for the previous version may differ from page and figure numbers in the current revision.
2. Correction of typographical errors is not explicitly mentioned.
4 Pin Assignments
5 Absolute Maximum Ratings
7 Optical Characteristics
8 Color and Lux Measurement Accuracy
10 Wavelength Accuracy
11 Electrical Characteristics
12 Timing Characteristics
14 Typical Operating Characteristics
15 Detailed Description
15 State Machine Diagrams
17 I²C Protocol
18 Register Overview
18 Register Map
24 Register Description
24 CONTROL_SCL Register
24 Modulator Offset Register
26 OSCEN Register
26 ENABLE Register
27 MEAS_MODE0 Register
28 MEAS_MODE1 Register
29 SAMPLE_TIME0 Register
29 SAMPLE_TIME1 Register
30 SAMPLE_TIME_ALTERNATIVE0 Register
30 SAMPLE_TIME_ALTERNATIVE1 Register
31 ALS_NR_SAMPLES0 Register
31 ALS_NR_SAMPLES1 Register
32 ALS_NR_SAMPLES_ALTERNATIVE0 Register
32 ALS_NR_SAMPLES_ALTERNATIVE1 Register
33 FD_NR_SAMPLES0 Register
33 FD_NR_SAMPLES1 Register
34 FD_NR_SAMPLES_ALTERNATIVE0 Register
34 FD_NR_SAMPLES_ALTERNATIVE1 Register
35 WTIME Register
35 Identification Registers
36 ALS Interrupt Low Threshold Register
36 ALS Interrupt High Threshold Register
37 AGC Number of Samples Register
37 STATUS Register
38 STATUS2 Register
39 STATUS3 Register
40 STATUS4 Register
41 STATUS5 Register
42 STATUS6 Register
43 CFG0 Register
43 CFG1 Register
44 CFG2 Register
44 CFG3 Register
45 CFG4 Register
46 CFG5 Register
47 CFG6 Register
48 CFG7 Register
48 CFG8 Register
49 CFG9 Register
50 MOD_CHANNEL_CTRL Register
51 TRIGGER_MODE Register
51 OSC_TUNE Register
52 VSYNC_GPIO_INT Register
53 INTENAB Register
54 SIEN Register
54 CONTROL Register
55 ALS_DATA_STATUS Register
55 ALS_DATA_FIRST Register
55 ALS_DATA Register
56 MEAS_SEQR_STEP0_MOD_GAINX_0 Register
56 MEAS_SEQR_STEP0_MOD_GAINX_1 Register
57 MEAS_SEQR_STEP0_MOD_GAINX_2 Register
57 MEAS_SEQR_STEP0_MOD_GAINX_3 Register
58 MEAS_SEQR_STEP1_MOD_GAINX_0 Register
58 MEAS_SEQR_STEP1_MOD_GAINX_1 Register
59 MEAS_SEQR_STEP1_MOD_GAINX_2 Register
59 MEAS_SEQR_STEP1_MOD_GAINX_3 Register
60 MEAS_SEQR_STEP2_MOD_GAINX_0 Register
60 MEAS_SEQR_STEP2_MOD_GAINX_1 Register
61 MEAS_SEQR_STEP2_MOD_GAINX_2 Register
61 MEAS_SEQR_STEP2_MOD_GAINX_3 Register
62 MEAS_SEQR_STEP3_MOD_GAINX_0 Register
62 MEAS_SEQR_STEP3_MOD_GAINX_1 Register
63 MEAS_SEQR_STEP3_MOD_GAINX_2 Register
63 MEAS_SEQR_STEP3_MOD_GAINX_3 Register
64 MEAS_SEQR_STEP0_FD Register
64 MEAS_SEQR_STEP1_FD Register
65 MEAS_SEQR_STEP2_FD Register
65 MEAS_SEQR_STEP3_FD Register
66 MEAS_SEQR_STEP0_RESIDUAL Register
66 MEAS_SEQR_STEP1_RESIDUAL Register
67 MEAS_SEQR_STEP2_RESIDUAL Register
67 MEAS_SEQR_STEP3_RESIDUAL Register
68 MEAS_SEQR_STEP0_ALS Register
68 MEAS_SEQR_STEP1_ALS Register
69 MEAS_SEQR_STEP2_ALS Register
69 MEAS_SEQR_STEP3_ALS Register
70 MEAS_SEQR_APERS_AND_VSYNC_WAIT Register
71 MEAS_SEQR_AGC Register
71 MEAS_SEQR_SMUX_AND_SAMPLE_TIME Register
72 MEAS_SEQR_WAIT_AND_TS_ENABLE Register
72 MOD_CALIB_CFG0 Register
73 MOD_CALIB_CFG2 Register
74 MOD_CALIB_CFG3 Register
74 MOD_COMP_CFG2 Register
75 MOD_RESIDUAL_CFG0 Register
75 MOD_RESIDUAL_CFG1 Register
76 MOD_RESIDUAL_CFG2 Register
76 VSYNC_DELAY_CFG0 Register
77 VSYNC_DELAY_CFG1 Register
77 VSYNC_PERIOD0 Register
77 VSYNC_PERIOD1 Register
78 VSYNC_PERIOD_TARGET0 Register
78 VSYNC_PERIOD_TARGET1 Register
79 VSYNC_CONTROL Register
79 VSYNC_CFG Register
80 FIFO_THR Register
81 MOD_FIFO_DATA_CFG0 Register
82 MOD_FIFO_DATA_CFG1 Register
83 MOD_FIFO_DATA_CFG2 Register
84 MOD_FIFO_DATA_CFG3 Register
85 MOD_FIFO_DATA_CFG4 Register
86 MOD_FIFO_DATA_CFG5 Register
87 MOD_FIFO_DATA_CFG6 Register
88 MOD_FIFO_DATA_CFG7 Register
88 FIFO_STATUS0 Register
89 FIFO_STATUS1 Register
89 FIFO_DATA_PROTOCOL Register
90 FIFO_DATA Registers
91 Application Information
92 Package Drawings & Markings
93 PCB Pad Layout
94 Tape & Reel Information