11
Detail Description
A hardware reset (by asserting XRST) should be
performed before starting any operation.
Sensor Gain Settings
The sensor gain can be adjusted by varying the number
of capacitors and integration time slot of the sensor
manually through the following registers.
Address
(Hex) Register Description
6 CAP_RED Number of red channel capacitors
7 CAP_GREEN Number of green channel capacitors
8 CAP_BLUE Number of blue channel capacitors
9 CAP_CLEAR Number of clear channel capacitors
A INT_RED Number of red channel integration time slots
C INT_GREEN Number of green channel integration time slots
E INT_BLUE Number of blue channel integration time slots
10 INT_CLEAR Number of clear channel integration time slots
Sensor ADC Output Registers
To obtain sensor ADC value, ‘01’ Hex must be written to
CTRL register. Then, read the value from CTRL register. If
value is 00H, can read sensor output from data register.
Address
(Hex) Register Description
00 CTRL Control register
40 DATA_RED_LO Red channel ADC data – low byte
41 DATA_RED_HI Red channel ADC data – high byte
42 DATA_GREEN_LO Green channel ADC data – low byte
43 DATA_GREEN_HI Green channel ADC data – high byte
44 DATA_BLUE_LO Blue channel ADC data – low byte
45 DATA_BLUE_HI Blue channel ADC data – high byte
46 DATA_CLEAR_LO Clear channel ADC data – low byte
47 DATA_CLEAR_HI Clear channel ADC data – high byte
* Please refer to application note for more detailed information.
Setup Value for Number of Integration Time Slot
The following value can be written to each of the integra-
tion time registers to adjust the gain of the sensor. The
default value after reset for these registers is 00H. These
registers control the number of integration time selected
for each channel. The integration time slot can be varied
from 00H to FFFH. More integration time slot will give
higher sensitivity.
Setup Value for Number of Capacitor
The following value can be written to each of the
capacitor registers to adjust the gain of the sensor. The
default value after reset for these registers is 0FH. These
registers control the number of capacitors selected for
each channel. The maximum selectable capacitor is
16 with the registers starting from 0 (i.e. 0 to 15). Less
capacitor will give higher sensitivity.
Value (Hex) Number of Capacitor
00 1
01 2
02 3
03 4
04 5
05 6
06 7
07 8
08 9
09 10
0A 11
0B 12
0C 13
0D 14
0E 15
0F 16
* Please refer to application note for more detailed information.