ADJD-S311-CR999 Miniature Surface Mount RGB Digital Color Sensor Data Sheet Description Features The ADJD-S311-CR999 is a cost effective, 4 channels (RGB+CLEAR) digital output sensor in miniature surfacemount package with a mere size of 2.2 x 2.2 x 0.76mm. It is a CMOS IC with integrated RGB filters and analogto-digital converter front end. This device is designed to cater for wide dynamic range of illumination level and is ideal for applications like portable or mobile devices, which demand higher integration, smaller size and low power consumption. Sensitivity control is performed by the serial interface and can be optimized individually for the different color channel. The sensor can also be used in conjunction with a white LED for reflective color management. * Fully integrated RGB+clear digital color sensor * 10 bit resolution per channel output * Built in oscillator/selectable external clock * Low supply voltage (VDD) 2.5V * Digital I/O via 2-wire serial interface * Adjustable sensitivity for different levels of illumination * Low power mode (sleep mode) * Independent gain selection for each channel * 0C to 70C operating temperature Applications * Industry's smallest form factor - CSP 2.2 x 2.2 x 0.76mm * General color detection and measurement * Lead free package * Mobile appliances such as mobile phones, PDAs, MP3 players,etc. * Consumer appliances * Portable medical equipments * Portable color detector/reader General Specifications Feature Value Interface 100kHz serial interface Supply 2.6V digital (nominal), 2.6V analog (nominal) Powering the Device No voltage must be applied to IO's during power-up and power-down ramp time VDDD / V DDA 0V t VDD_RAMP ESD Protection Diode Turn-On During Power-Up and Power-Down Ground Connection A particular power-up and power-down sequence must be used to prevent any ESD diode from turning on inadvertently. The figure above describes the sequence. In general, AVDD and DVDD should power-up and powerdown together to prevent ESD diodes from turning on inadvertently. During this period, no voltage should be applied to the IO's for the same reason. AGND and DGND must both be set to 0V and preferably star-connected to a central power source as shown in the application diagram. A potential difference between AGND and DGND may cause the ESD diodes to turn on inadvertently. Electrical Specifications Absolute Maximum Ratings (Notes 1 & 2) Parameter Symbol Minimum Maximum Units Storage temperature TSTG_ABS -40 85 C Digital supply voltage, DVDD to DVSS VDDD_ABS 2.5 3.6 V Analog supply voltage, AVDD to AVSS VDDA_ABS 2.5 3.6 V Input voltage VIN_ABS 2.5 3.6 V Solder Reflow Peak temperature TL_ABS 245 C Human Body Model ESD rating ESDHBM_ABS 2 kV Notes All I/O pins All pins, human body model per JESD22-A114-B Recommended Operating Conditions Parameter Symbol Minimum Typical Maximum Units Free air operating temperature TA 0 25 70 C Digital supply voltage, DVDD to DVSS VDDD 2.5 2.6 3.6 V Analog supply voltage, AVDD to AVSS VDDA 2.5 2.6 3.6 V Output current load high IOH 3 mA Output current load low IOL 3 mA Input voltage high level (Note 4) VIH 0.7VDDD VDDD V Input voltage low level (Note 4) VIL 0 0.3VDDD V DC Electrical Specifications Over Recommended Operating Conditions (unless otherwise specified) Parameter Symbol Conditions Minimum Typical (Note 3) Maximum Units Output voltage high level (Note 5) VOH IOH = 3mA VDDD-0.8 VDDD-0.4 Output voltage low level (Note 6) VOL IOH = 3mA 0.2 0.4 V Supply current (Note 7) IDD_STATIC (Note 8) 3.8 5 mA Sleep-mode supply current (Note 7) IDD_SLP (Note 8) 2 Input leakage current ILEAK V uA -10 10 uA Maximum Units AC Electrical Specifications Parameter Symbol Internal clock frequency f_CLK_int External clock frequency f_CLK_ext 2-wire interface frequency f_2wire Conditions Minimum Typical (Note 3) 26 MHz 16 40 MHz 100 kHz Optical Specification Parameter Symbol Conditions Dark offset VD Ee = 0 Minimum Typical (Note 3) 20 Maximum Units LSB Minimum sensitivity (note 3) Parameter Symbol Conditions Minimum Typical (Note 3) Irradiance Responsivity Re lP = 460 nm, B Refer Note 9 152 lP = 542 nm, G Refer Note 10 178 lP = 645 nm, R Refer Note 11 254 lP = 645 nm, Clear Refer Note 11 264 Maximum Units LSB/ (mWcm-2) Maximum sensitivity (note 3) Parameter Symbol Conditions Minimum Typical (Note 3) Irradiance Responsivity Re lP = 460 nm, B Refer Note 9 3796 lP = 542 nm, G Refer Note 10 4725 lP = 645 nm, R Refer Note 11 6288 lP = 645 nm, Clear Refer Note 11 6590 Maximum Units LSB/ (mWcm-2) Saturation Irradiance for minimum sensitivity (note 12) Parameter Symbol Saturation Irradiance Conditions Minimum Typical (Note 3) lP = 460 nm, B Refer Note 9 6.73 lP = 542 nm, G Refer Note 10 5.74 lP = 645 nm, R Refer Note 11 4.03 lP = 645 nm, Clear Refer Note 11 3.87 Maximum Units mW/cm2 Saturation irradiance for maximum sensitivity (note 12) Parameter Saturation Irradiance Symbol Conditions Minimum Typical (Note 3) lP = 460 nm, B Refer Note 9 0.27 lP = 542 nm, G Refer Note 10 0.22 lP = 645 nm, R Refer Note 11 0.16 lP = 645 nm, Clear Refer Note 11 0.16 Maximum Units mW/cm2 Notes 1. The "Absolute Maximum Ratings" are those values beyond which damage to the device may occur. The device should not be operated at these limits. The parametric values defined in the "Electrical Specifications" table are not guaranteed at the absolute maximum ratings. The "Recommended Operating Conditions" table will define the conditions for actual device operation. 2. Unless otherwise specified, all voltages are referenced to ground. 3. Specified at room temperature (25C) and VDDD = VDDA = 2.5V. 4. Applies to all DI pins. 5. Applies to all digital output pins. SDASLV go tri-state when output logic high. Minimum VOH depends on the pull-up resistor value. Notes: (continued) 6 . Applies to all digital output and digital input-output pins. 7 . Refers to total device current consumption. 8. Output and bidirectional pins are not loaded. 9. Test condition is blue light of peak wavelength (lP) 460 nm and spectral half width (l1/2) 25 nm. 10.Test condition is green light of peak wavelength (lP) 542 nm and spectral half width (l1/2) 35 nm 11.Test condition is red light of peak wavelength (lP) 645 nm and spectral half width (l1/2) 20 nm 12.Saturation irradiance = (MSB)/ (Irradiance responsivity) Spectral Response 0.8 0.6 0.4 700 680 660 640 620 600 580 560 540 520 500 480 460 440 0 420 0.2 400 Relative sensitivity 1 Wavelength (nm) Figure 1. Typical spectral response when the gains for all the color channels are set at equal. Serial Interface Timing Information Parameter Symbol Minimum Maximum Units SCL clock frequency fscl 0 100 kHz (Repeated) START condition hold time tHD:STA 4 - s Data hold time tHD:DAT 0 3.45 s SCL clock low period tLOW 4.7 - s SCL clock high period tHIGH 4.0 - s Repeated START condition setup time tSU:STA 4.7 - s Data setup time tSU:DAT 250 - ns STOP condition setup time tSU:STO 4.0 - s Bus free time between START and STOP conditions tBUF 4.7 - s tHD:STA tHIGH tSU:DAT tSU:STA tBUF SDA SCL S Sr tLOW tHD:DAT Figure 2. Serial Interface Bus Timing Waveforms tHD:STA P tSU:STO S Serial Interface Reference Description The programming interface to the ADJD-S311 is a 2-wire serial bus. The bus consists of a serial clock (SCL) and a serial data (SDA) line. The SDA line is bi-directional on ADJD-S311 and must be connected through a pull-up resistor to the positive power supply. When the bus is free, both lines are HIGH. The 2-wire serial bus on ADJD-S311 requires one device to act as a master while all other devices must be slaves. A master is a device that initiates a data transfer on the bus, generates the clock signal and terminates the data transfer while a device addressed by the master is called a slave. Slaves are identified by unique device addresses. Both master and slave can act as a transmitter or a receiver but the master controls the direction for data transfer. A transmitter is a device that sends data to the bus and a receiver is a device that receives data from the bus. The ADJD-S311 serial bus interface always operates as a slave transceiver with a data transfer rate of up to 100kbit/s. START/STOP Condition The master initiates and terminates all serial data transfers. To begin a serial data transfer, the master must send a unique signal to the bus called a START condition. This is defined as a HIGH to LOW transition on the SDA line while SCL is HIGH. The master terminates the serial data transfer by sending another unique signal to the bus called a STOP condition. This is defined as a LOW to HIGH transition on the SDA line while SCL is HIGH. The bus is considered to be busy after a START (S) condition. It will be considered free a certain time after the STOP (P) condition. The bus stays busy if a repeated START (Sr) is sent instead of a STOP condition. The START and repeated START conditions are functionally identical. See figure 3. SDA SCL S P START condition STOP condition Figure 3. START/STOP Condition Data Transfer The master initiates data transfer after a START condition. Data is transferred in bits with the master generating one clock pulse for each bit sent. For a data bit to be valid, the SDA data line must be stable during the HIGH period of the SCL clock line. Only during the LOW period of the SCL clock line can the SDA data line change state to either HIGH or LOW. SDA SCL Data valid Figure 4. Data Bit Transfer Data change The SCL clock line synchronizes the serial data transmission on the SDA data line. It is always generated by the master. The frequency of the SCL clock line may vary throughout the transmission as long as it still meets the minimum timing requirements. The master by default drives the SDA data line. The slave drives the SDA data line only when sending an acknowledge bit after the master writes data to the slave or when the master requests the slave to send data. The SDA data line driven by the master may be implemented on the negative edge of the SCL clock line. The master may sample data driven by the slave on the positive edge of the SCL clock line. Figure shows an example of a master implementation and how the SCL clock line and SDA data line can be synchronized. P SDA SCL MSB S or Sr 1 LSB 2 ACK 8 MSB 9 1 LSB 2 8 STARTorrepeated STARTcondition NO ACK 9 Sr Sr or P STOPorrepeated STARTcondition Figure 5. Data Byte Transfer SDAdatasampledonthe positiveedgeofSCL SDA SCL SDAdatadrivenonthe negativeedgeofSCL Figure 6. Data Bit Synchronization A complete data transfer is 8-bits long or 1-byte. Each byte is sent most significant bit (MSB) first followed by an acknowledge or not acknowledge bit. Each data transfer can send an unlimited number of bytes (depending on the data format). Acknowledge/Not acknowledge The receiver must always acknowledge each byte sent in a data transfer. In the case of the slave-receiver and mastertransmitter, if the slave-receiver does not send an acknowledge bit, the master-transmitter can either STOP the transfer or generate a repeated START to start a new transfer. SDApulledLOW byreceiver SDA (SLAVE-RECEIVER) (MASTER-TRANSMITTER) SDA SCL (MASTER) Figure 7. Slave-Receiver Acknowledge Acknowledge LSB 8 SDAleftHIGH bytransmitter 9 Acknowledge clockpulse In the case of the master-receiver and slave-transmitter, the master generates a not acknowledge to signal the end of the data transfer to the slave-transmitter. The master can then send a STOP or repeated START condition to begin a new data transfer. In all cases, the master generates the acknowledge or not acknowledge SCL clock pulse. (SLAVE-TRANSMITTER) SDA SDAleftHIGH bytransmitter LSB P SDA (MASTER-RECEIVER) SDAleftHIGH byreceiver SCL (MASTER) 8 Not acknowledge Sr 9 Acknowledge clockpulse STOPorrepeated STARTcondition Figure 8. Master-Receiver Acknowledge Addressing Each slave device on the serial bus needs to have a unique address. This is the first byte that is sent by the master-transmitter after the START condition. The address is defined as the first seven bits of the first byte. The eighth bit or least significant bit (LSB) determines the direction of data transfer. A `one' in the LSB of the first byte indicates that the master will read data from the addressed slave (master-receiver and slave-transmitter). A `zero' in this position indicates that the master will write data to the addressed slave (master-transmitter and slave-receiver). A device whose address matches the address sent by the master will respond with an acknowledge for the first byte and set itself up as a slave-transmitter or slave-receiver depending on the LSB of the first byte. The slave address on ADJD-S311 is 0x74 (7-bits). MSB LSB A6 A5 A4 A3 A2 A1 1 1 1 0 1 0 Slaveaddress Figure 9. Slave Addressing A0 0 R/W Data format ADJD-S311 uses a register-based programming architecture. Each register has a unique address and controls a specific function inside the chip. To write to a register, the master first generates a START condition. Then it sends the slave address for the device it wants to communicate with. The least significant bit (LSB) of the slave address must indicate that the master wants to write to the slave. The addressed device will then acknowledge the master. The master writes the register address it wants to access and waits for the slave to acknowledge. The master then writes the new register data. Once the slave acknowledges, the master generates a STOP condition to end the data transfer. Startcondition S Masterwillwritedata A6 A5 A4 A3 A2 A1 A0 W A Mastersends slaveaddress Stopcondition D7 D6 D5 D4 D3 D2 D1 D0 A D7 D6 D5 D4 D3 D2 D1 D0 Masterwrites registeraddress Slaveacknowledge A P Masterwrites registerdata Slaveacknowledge Slaveacknowledge Figure 10. Register Byte Write Protocol To read from a register, the master first generates a START condition. Then it sends the slave address for the device it wants to communicate with. The least significant bit (LSB) of the slave address must indicate that the master wants to write to the slave. The addressed device will then acknowledge the master. The master writes the register address it wants to access and waits for the slave to acknowledge. The master then generates a repeated START condition and resends the slave address sent previously. The least significant bit (LSB) of the slave address must indicate that the master wants to read from the slave. The addressed device will then acknowledge the master. The master reads the register data sent by the slave and sends a no acknowledge signal to stop reading. The master then generates a STOP condition to end the data transfer. Startcondition S A6 A5 A4 A3 A2 A1 A0 W Mastersends slaveaddress A D7 D6 D5 D4 D3 D2 D1 D0 A Sr Figure 11. Register Byte Read Protocol Masterwillreaddata A6 A5 A4 A3 A2 A1 A0 R Masterwrites registeraddress Slaveacknowledge Repeatedstart condition Masterwillwritedata Slaveacknowledge Mastersends slaveaddress A Stopcondition D7 D6 D5 D4 D3 D2 D1 D0 A P Masterreads registerdata Slaveacknowledge Masternot acknowledge Application Diagram HOST SYSTEM SLEEP 10k CLK_IO 10k 10k 10k DVDD RESET RESET SDASLV SCKSLV SDASLV SCKSLV HOST SYSTEM AVDD AGND DGND Voltage Regulator DVDD Voltage Regulator Star connectedground Figure 12. typical Application Diagram High Level Description The sensor needs to be configured before it can be used. The gain selection needs to be set for optimum performance depending on light levels. The flowcharts below describe the different procedures required. Sensor operation flowchart Sensor Operation Sensor gain optimization flowchart Hardware reset Sensor Gain Optimization Select sensor gain setting Hardware reset Acquire and trim offset Select sensor gain setting Acquire sensor reading Acquire sensor output Sensor output optimum? No Stop Yes Stop 10 * Please refer to application note for more detailed information. Detail Description Setup Value for Number of Integration Time Slot A hardware reset (by asserting XRST) should be performed before starting any operation. The following value can be written to each of the integration 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. 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. Setup Value for Number of Capacitor 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 Value (Hex) Number of Capacitor E INT_BLUE Number of blue channel integration time slots 00 1 10 INT_CLEAR Number of clear channel integration time slots 01 2 02 3 Sensor ADC Output Registers 03 4 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. 04 5 05 6 06 7 07 8 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. Address (Hex) Register Description 08 9 00 CTRL Control register 09 10 40 DATA_RED_LO Red channel ADC data - low byte 0A 11 41 DATA_RED_HI Red channel ADC data - high byte 0B 12 42 DATA_GREEN_LO Green channel ADC data - low byte 0C 13 43 DATA_GREEN_HI Green channel ADC data - high byte 0D 14 44 DATA_BLUE_LO Blue channel ADC data - low byte 0E 15 45 DATA_BLUE_HI Blue channel ADC data - high byte 0F 16 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. 11 * Please refer to application note for more detailed information. Mechanical Drawing Note: 1. Dimensions are in milimeters (mm) 2. Standard tolerances (unless otherwise specified) a. Linear tolerance = +/-0.1mm b. Angular tolerance = +/-1 Dimensions Pin Configuration Description Nominal (um) 1 2 3 A DVDD SCKSLV AVDD Package Body Dimension X 2200 B CLKIO SDASLV SLEEP Package Body Dimension Y 2200 C DGND RESET AGND Package Height 760 Ball Diameter 250 Total Pin Count 9 Pin Information Pin Name Type Description A1 DVDD Power Digital power pin A2 SCKSLV Input Serial interface clock pin A3 AVDD Power Analog power pin B1 CLKIO Input External clock input B2 SDASLV Input/Output Bidirectional data pin. A pull-up resistor should be tied to SDASLV because it goes tri-state to output logic 1 B3 SLEEP Input When SLEEP = 1, the device goes into sleep mode. In sleep mode, all analog circuits are powered down and the clock signal is gated away from the core logic resulting in very low current consumption. C1 DGND Ground Tie to digital ground C2 RESET Input Global, asynchronous, active-low system reset. When asserted low, XRST resets all registers. Minimum reset pulse low is 1us and must be provided by external circuitry. C3 AGND Power Tie to analog ground 12 Recommended Underfill Type and Characteristic Recommended stencil design * Henkel FP4548 * Stencil thickness * Low moisture absorption * Stencil type Ni Electroforming * Low CTE * Stencil Aperture Type Square * Underfill up to 70-85% of height * Stencil Aperture 310 um * Additional Feature Rounded square edge 5 mils 310um Height 70~85% Underfill PCB 560um Recommended PCB land pad design * NiAu flash over copper pad * Pad Diameter (C)= 0.20 mm * NSMD Diameter (D)= 0.25 ~ 0.30 mm NSMD After soldering or mounting precaution Please ensure that all soldered or reflowed CSP package that is mounted on the PCB is not exposed to compression or loading force directly perpendicular to the flat top surface. Precaution: Excessive loading force directly perpendicular to the flat top surface may cause pre-mature failure. LoadingForce PCB 13 Recommended Reflow Profile It is recommended that Henkel Pb-free solder paste LF310 be used for soldering ADJD-S311-CR999. Below is the recommended reflow profile. T-peak TEMPERATURE T-reflow T-max. T-min. 240 5C 217~220 C Delta-Flux max. 2 C/sec. 180C Delta-Cooling max. 2 C/sec. 160C Delta-Ramp max. 2 C/sec. 100 ~ 140 sec. t-comp 90 ~ 120 sec. t-pre t-reflow TIME Recommendations for Handling and Storage of ADJD-S311-CR999 This product is qualified as Moisture Sensitive Level 3 per Jedec J-STD-020. Precautions when handling this moisture sensitive product is important to ensure the reliability of the product. Do refer to Avago Application Note AN5305 Handling Of Moisture Sensitive Surface Mount Devices for details. A. Storage before use * Unopened moisture barrier bag (MBB) can be stored at 30C and 90%RH or less for maximum 1 year * It is not recommended to open the MBB prior to assembly (e.g. for IQC) * It should also be sealed with a moisture absorbent material (Silica Gel) and an indicator card (cobalt chloride) to indicate the moisture within the bag B. Control after opening the MBB * The humidity indicator card (HIC) shall be read immediately upon opening of MBB * The components must be kept at <30C/60%RH at all time and all high temperature related process including soldering, curing or rework need to be completed within 168hrs C. Control for unfinished reel * For any unused components, they need to be stored in sealed MBB with desiccant or desiccator at <5%RH D. Control of assembled boards * If the PCB soldered with the components is to be subjected to other high temperature processes, the PCB need to be stored in sealed MBB with desiccant or desiccator at <5%RH to ensure no components have exceeded their floor life of 168hrs E. Baking is required if: * "10%" or "15%" HIC indicator turns pink * The components are exposed to condition of >30C/60%RH at any time. * The components floor life exceeded 168hrs * Recommended baking condition (in component form): 125C for 24hrs 14 Package Tape and Reel Dimensions Reel Dimensions +1.5* 12.4 - 0.0 45 65 R10.65 R5.2 45 55.0 0.5 178.0 0.5 176.0 EMBOSSED RIBS RAISED: 0.25 mm WIDTH: 1.25 mm 512 BACK VIEW 18.0 MAX.* Notes: 1. *Measure at hub area. 2. All flange edges to be rounded. (P2)2.000.10 (T)0.300.05 1.50 Min R0.50 (P1)8.000.10 (A0)2.600.10 (B0)2.600.10 (W)12.000.10 1.50 (F)5.500.05 (P0)4.000.10 + 0.10 - 0.00 (E1)1.750.10 Carrier Tape Dimensions (K0)0.900.10 Notes: 1. AO and BO measured at 0.3mm above base of pocket 2. 10 pitches cumulative tolerance is 0.2mm 3. Dimensions are in millimeters (mm) 15 11 17 49 4A 4B 74 75 72 73 47 48 71 46 10 16 45 F 15 70 E 14 69 D 13 44 C 12 43 B 11 68 A 10 67 9 9 42 8 8 66 7 7 40 6 6 41 1 1 65 0 0 64 ADD (HEX) ADD (DEC) OFFSET_CLEAR OFFSET_BLUE OFFSET_GREEN OFFSET_RED DATA_CLEAR_HI DATA_CLEAR_LO DATA_BLUE_HI DATA_BLUE_LO DATA_GREEN_HI DATA_GREEN_LO DATA_RED_HI DATA_RED_LO INT_CLEAR_HI INT_CLEAR_LO INT_BLUE_HI INT_BLUE_LO INT_GREEN_HI INT_GREEN_LO INT_RED_HI INT_RED_LO CAP_CLEAR CAP_BLUE CAP_GREEN CAP_RED CONFIG CTRL MNEMONIC Appendix A: Sensor Register List FN SENSOR SAMPLE DATA OFFSET DATA 16 8 8 8 8 3 8 3 8 3 8 3 8 8 8 8 8 8 8 8 8 4 4 4 4 3 2 WIDTH 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15 15 15 15 0 0 RESET (DEC) NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER BITS BITS TYPE R R R R R R R R R R R R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W ACCESS SIGN_CLEAR SIGN_BLUE SIGN_GREEN SIGN_RED B7 B6 N/A N/A N/A N/A N/A B5 N/A N/A N/A N/A N/A INT_RED[7:0] INT_RED[11:8] B3 OFFSET_CLEAR[6:0] OFFSET_BLUE[6:0] OFFSET_GREEN[6:0] OFFSET_RED[6:0] DATA_CLEAR[7:0] DATA_BLUE[7:0] DATA_GREEN[7:0] DATA_RED[7:0] INT_CLEAR[11:8] INT_CLEAR[7:0] INT_BLUE[11:8] INT_BLUE[7:0] INT_GREEN[11:8] INT_GREEN[7:0] B4 B1 TOFS DATA_CLEAR[9:8] DATA_BLUE[9:8] DATA_GREEN[9:8] CAP_CLEAR[3:0] CAP_BLUE[3:0] CAP_GREEN[3:0] B0 GSSR DATA_RED[9:8] SLEEP GOFS CAP_RED[3:0] EXTCLK B2 sign = 1 is -ve 11/10-bit data NOTES Appendix A: Sensor Register List 1) CTRL: Control Register B7 B6 B5 B4 B3 B2 N/A B1 B0 GOFS GSSR N/A Notavailable. GSSR Getsensorreading.Activehighandautomaticallycleared.Resultisstoredinregisters64-71(DEC) GOFS Getoffsetreading.Activehighandautomaticallycleared.Resultisstoredinregisters72-75(DEC) 2) CONFIG: Configuration Register B7 B6 B5 B4 B3 N/A B2 B1 B0 EXTCLK SLEEP TOFS N/A Notavailable. EXTCLK Externalclockmode.Activehigh. SLEEP Sleepmode.Activehighandexternalclockmodeonly.Automaticallyclearedifotherwise. TOFS Trimoffsetmode.Activehigh. 3) CAP_RED: Capacitor Settings Register for Red Channel B7 B6 B5 B4 B3 B2 N/A B1 B0 CAP_RED[3:0] N/A Notavailable. CAP_RED Numberofredchannelcapacitors. 4) CAP_GREEN: Capacitor Settings Register for Green Channel B7 B6 B5 B4 B3 N/A B2 B1 B0 CAP_GREEN[3:0] N/A Notavailable. CAP_GREEN Numberofgreenchannelcapacitors. 5) CAP_BLUE: Capacitor Settings Register for Blue Channel B7 B6 B5 B4 B3 N/A B2 B1 B0 CAP_BLUE[3:0] N/A Notavailable. CAP_BLUE Numberofbluechannelcapacitors. 6) CAP_CLEAR: Capacitor Settings Register for Clear Channel B7 B6 B5 N/A 17 N/A Notavailable. CAP_CLEAR Numberofclearchannelcapacitors. B4 B3 B2 B1 CAP_CLEAR[3:0] B0 7) INT_RED: Integration Time Slot Setting Register for Red Channel B7 B6 B5 B4 B3 B2 B1 B0 B3 B2 B1 B0 B2 B1 B0 B2 B1 B0 INT_RED[7:0] B7 B6 B5 B4 N/A INT_RED INT_RED[11:8] Number of red channel integration time slots. 8) INT_GREEN: Integration Time Slot Setting Register for Green Channel B7 B6 B5 B4 B3 INT_GREEN[7:0] B7 B6 B5 B4 B3 N/A INT_GREEN INT_GREEN[11:8] Number of green channel integration time slots. 9) INT_BLUE: Integration Time Slot Setting Register for Blue Channel B7 B6 B5 B4 B3 B2 B1 B0 B3 B2 B1 B0 INT_BLUE[7:0] B7 B6 B5 B4 N/A INT_BLUE INT_BLUE[11:8] Number of blue channel integration time slots. 10) INT_CLEAR: Integration Time Slot Setting Register for Clear Channel B7 B6 B5 B4 B3 B2 B1 B0 B2 B1 B0 INT_CLEAR[7:0] B7 B6 B5 B4 B3 N/A INT_CLEAR INT_CLEAR[11:8] Number of clear channel integration time slots. 11) DATA_RED_LO: Low Byte Register of Red Channel Sensor ADC Reading B7 B6 B5 B4 B3 DATA_RED[7:0] DATA_RED 18 RedchannelADCdata. B2 B1 B0 12) DATA_RED_HI: High Byte Register of Red Channel Sensor ADC Reading B7 B6 B5 B4 B3 B2 B1 N/A N/A Not available. DATA_RED Red channel ADC data. B0 DATA_RED[9:8] 13) DATA_GREEN_LO: Low Byte Register of Green Channel Sensor ADC Reading B7 B6 B5 B4 B3 B2 B1 B0 DATA_GREEN[7:0] DATA_GREEN GreenchannelADCdata. 14) DATA_GREEN_HI: High Byte Register of Green Channel Sensor ADC Reading B7 B6 B5 B4 B3 B2 N/A N/A Not available. DATA_GREEN Green channel ADC data. B1 B0 DATA_GREEN[9:8] 15) DATA_BLUE_LO: Low Byte Register of Blue Channel Sensor ADC Reading B7 B6 B5 B4 B3 B2 B1 B0 DATA_BLUE[7:0] DATA_BLUE BluechannelADCdata. 16) DATA_BLUE_HI: High Byte Register of Blue Channel Sensor ADC Reading B7 B6 B5 B4 B3 B2 N/A N/A Not available. DATA_BLUE Blue channel ADC data. B1 B0 DATA_BLUE[9:8] 17) DATA_CLEAR_LO: Low Byte Register of Clear Channel Sensor ADC Reading B7 B6 B5 B4 B3 B2 B1 B0 DATA_CLEAR[7:0] DATA_CLEAR ClearchannelADCdata. 18) DATA_CLEAR_HI: High Byte Register of Clear Channel Sensor ADC Reading B7 B6 B5 B4 N/A 19 N/A Not available. DATA_CLEAR Clear channel ADC data. B3 B2 B1 B0 DATA_CLEAR[9:8] 19) OFFSET_RED: Offset Data Register for Red Channel B7 B6 B5 B4 B3 SIGN_RED B2 B1 B0 OFFSET_RED[6:0] SIGN_RED Signbit.0=POSITIVE,1=NEGATIVE. OFFSET_RED RedchannelADCoffsetdata. 20) OFFSET_GREEN: Offset Data Register for Green Channel B7 B6 B5 B4 SIGN_GREEN SIGN_GREEN B3 B2 B1 B0 OFFSET_GREEN[6:0] Signbit.0=POSITIVE,1=NEGATIVE. OFFSET_GREEN GreenchannelADCoffsetdata. 21) OFFSET_BLUE: Offset Data Register for Blue Channel B7 B6 B5 B4 B3 SIGN_BLUE SIGN_BLUE B2 B1 B0 OFFSET_BLUE[6:0] Signbit.0=POSITIVE,1=NEGATIVE. OFFSET_BLUE BluechannelADCoffsetdata. 22) OFFSET_CLEAR: Offset Data Register for Clear Channel B7 B6 B5 SIGN_CLEAR SIGN_CLEAR B4 B3 B2 OFFSET_CLEAR[6:0] B1 B0 Signbit.0=POSITIVE,1=NEGATIVE. OFFSET_CLEAR ClearchannelADCoffsetdata. For product information and a complete list of distributors, please go to our web site: www.avagotech.com Avago, Avago Technologies, and the A logo are trademarks of Avago Technologies, Limited in the United States and other countries. Data subject to change. Copyright (c) 2007 Avago Technologies Limited. All rights reserved. AV02-0191EN - July 30, 2007