首页资源分类应用技术消费电子 > CM36682M3OE

CM36682M3OE

已有 453363个资源

下载专区

文档信息举报收藏

标    签: LCDDatasheet

分    享:

文档简介

CM36682M3OE lcd datasheet

文档预览

Serial No. 201305080002 CM36682 Proximity and Ambient Light Sensor with Interrupt in Single Package Rev: 0.98 Revised 25th-Mar-2013 Description Features CM36682 integrates a proximity sensor (PS), • Operates ALS and PS in parallel structure ambient light sensor (ALS) and a high power IR • Filtron™ technology adoption for robust LED into one small package. It incorporates background light cancellation photodiodes, amplifiers and analog to digital • Immunity to red glow issue (940 nm) converting circuits into a single chip by CMOS process. The 16-bit high resolution ALS offers excellent sensing capabilities with sufficient selections to fulfill most applications whether dark h or high transparency lens design. Both ALS and PS c programmable interrupt features of individual high and low thresholds offers the best utilization of te resource and power saving on the microcontroller. The 8-bit proximity sensing function uses on h intelligent cancellation scheme, so that cross talk phenomenon is eliminated effectivitely. To c accelerate the PS response time, Smart r Persistence prevents the misjudgment of proximity sensing but also keeps a fast response time. Active Force mode, one time trigger by one instruction, is A another good approach for more design flexibility to fulfill different kinds of applications with more power r saving. fo The adoption of Capella’s patented Filtron™ technology achieves the closest ambient light spectral sensitivity to real human eye responses and offers the best background light cancellation l capability (including sunlight) without utilizing the tia microcontrollers’ resources. CM36682 provides an excellent temperature compensation capability for keeping output stable under various temperature configurations. ALS and PS functions are easily n operated via the simple command format of I2C (SMBus compatible) interface protocol. Operating e voltage ranges from 2.5 V to 3.6 V. CM36682 is packaged in a lead-free 8 pin molding package, fid which offers the best market-proven reliability quality. Applications n • Handheld device • Notebook/Tablet PC o• Consumer device C• Industrial application Ambient Light Sensor • High accuracy of ALS ±10% • Fluorescent light flicker immunity • Spectrum close to real human eye responses • Selectable maximum detection range (855\1310\2620\5240) lux with highest sensitivity 0.01lux/step Proximity Sensor • One time trigger Active Force Mode • Intelligent cancellation to reduce cross talk phenomenon • Smart persistence scheme to reduce PS response time Interrupt • Programmable interrupt function for ALS and PS with upper and lower thresholds • Adjustable persistence to prevent false triggers for ALS and PS Additional Features • Temperature compensation: -40 to 85°C • Low power consumption I2C (SMBus Compatible) Interface • Output type: I2C Bus (ALS/PS) • Operation voltage of 2.5 V to 3.6 V • Package: Molding Package (4 x 2 x 1.1 mm) • Lead-free package (RoHS compliant) Pin Definition 8 5 1 4 1 GND 5 Cathode 2 Cathode 6 INT 3 VDD 7 SDAT 4 Anode 8 SCLK Ordering Information PART NUMBER CM36682M3OE PACKING Tape and Reel PACKAGE 4 x 2 x 1.1 mm PIN NO. QUANTITY LEAD FREE 8 2500 Compliant REMARK www.capellamicro.com © Copyright 2013, Capella Microsystems, Inc. CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Absolute Maximum Ratings PARAMETER Storage temperature Operating temperature Supply voltage SYMBOL TS TA VDD MIN. -40 -40 2.5 MAX. +100 +85 3.6 UNIT °C °C V CONDITION Recommended Operating Conditions PARAMETER SYMBOL MIN. h Operating temperature c Supply voltage te I2C Bus operating frequency TA -40 VDD 2.5 f(I2CCLK) 10 MAX. +85 3.6 400 UNIT °C V kHz CONDITION h Pin Descriptions rc PIN ASSIGNMENT SYMBOL 1 GND A 2 LED_CATHODE 3 VDD r 4 Anode fo 5 LED_CATHODE 6 INT l 7 SDAT tia 8 SCLK TYPE FUNCTION I Ground I IR LED cathode connection I Power supply input I Anode of IR LED I IR LED cathode connection O I/O (Open Drain) I Interrupt pin I2C data bus data in/output I2C digital bus clock input Block Diagram nVDD e PS Timing Controller fid DSP PS PD Oscillator onINT SCLK C SDAT Temperature Sensor I2C Bus Logic Control Anode PS Buffer IRLED LED Driver LED_CATHODE ALS 16 bits Data ALS Buffer PD Low Pass Filter GND www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 2 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Electrical & Optical Specifications PARAMETER SYMBOL MIN. TYP. MAX. UNIT CONDITION Supply voltage VDD 2.5 3.6 V Supply current IDD 195 uA Excluded LED driving Supply current I2C supply voltage IDD (SD) VPULL UP 0.2 1.8 - 3.3 uA Light Condition = Dark; VDD= 3.6 V, Ta= 25°C V h ALS shut down IALSSD 180 ALS disable, PS enabled c PS shut down IPSSD 150 uA ALS enable, PS disable hte I2C signal input Logic High VIH 1.5 Logic Low VIL V 0.8 Note1, VDD = 3.3V Note1, VDD = 3.3V rc I2C signal input Logic High VIH 1.4 Logic Low VIL V 0.6 Note1, VDD = 2.6V Note1, VDD = 2.6V A Peak sensitivity wavelength of ALS λP 550 nm r Peak sensitivity wavelength of PS λPPS 940 nm fo Full ALS counts 65535 steps 16-bit resolution Full PS counts 255 steps 8-bit resolution tial ALS sensing tolerance Detectable intensity en ALS Dark offset fid PS Detection range Minimum Maximum ±10 % White LED Light Source 0.01 5240 IT = 640ms, 1 step, Note1, 2 Lux IT = 80ms, 65535 steps, Note1, 2 0 3 STEP IT = 80ms, normal sensitivity, Note 1 0 200 mm Kodak white card Operating temperature TA -40 +85 °C n LED driving current 200 mA Note 3 oNote: 1. C2. Test condition: VDD = 3.3 V, Temperature: 25°C. Maximum detection range to ambient light can be determined by ALS refresh time adjustment. Refer to Table 17, page 15. 3. Based on IR LED on/off duty ratio=1/40, 1/80, 1/160 and 1/320 www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 3 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 I2C Bus Timing Characteristics PARAMETER SYMBOL STANDARD MODE MIN. MAX. FAST MODE MIN. MAX. UNIT Clock frequency f(SMBCLK) 10 100 10 400 kHz Bus free time between start and stop condition t(BUF) 4.7 1.3 us Hold time after (repeated) start condition. After this period, the first clock is generated t(HDSTA) 4.0 0.6 us Repeated start condition setup time t(SUSTA) 4.7 0.6 us Stop condition setup time t(SUSTO) 4.0 0.6 us h Data hold time t(HDDAT) 300 90 ns c Data setup time te I2C clock (SCK) low period I2C clock (SCK) high period t(SUDAT) 250 100 ns t(LOW) 4.7 1.3 us t(HIGH) 4.0 0.6 us h Clock / Data fall time t(F) 300 300 ns c Clock / Data rise time t(R) 1000 300 ns Ar t(LOW) t(R) t(F) r I2CBus VIH CLOCK (SCLK) VIL fo t(BUF) l I2CBus DATA tia (SDAT) { P Stop Condition t(HDSTA) t(HDDAT) VIH VIL { S Star Condition t(HIGH) t(SUSTA) t(SUDAT) { S t(SUSTO) { P fiden I2CBus CLOCK (SCLK) Start t(LOWMEXT) t(LOSEXT) SCLKACK t(LOWMEXT) Stop SDAACK t(LOWMEXT) nI2CBus o DATA C (SDAT) Figure 1. I2C Bus Timing Diagram www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 4 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Parameter Timing Information I2CBus CLOCK (SCLK) I2CBus DATA (SDAT) SA7 SA6 SA5 SA4 SA3 SA2 SA1 W SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 Start by Master I2CBus Slave Address Byte ACK by CM36682 Command Code ACK by CM36682 ch I2CBus CLOCK te (SCLK) I2CBus h DATA (SDAT) r Arc I2CBus CLOCK (SCLK) SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 Data Byte Low ACK by CM36682 Data Byte High ACK by Stop by CM36682 Master Figure 2. I2C Bus Timing for Sending Word Command Format fo I2CBus DATA l (SDAT) tia Start by Master SA7 SA6 SA5 SA4 SA3 SA2 SA1 W SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 I2CBus Slave Address Byte ACK by CM36682 Command Code ACK by CM36682 I2CBus n CLOCK (SCLK) e I2CBus fid DATA (SDAT) SA7 SA6 SA5 SA4 SA3 SA2 SA1 R SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 Start by Master I2CBus Slave Address Byte ACK by CM36682 Data Byte Low ACK by Master on I2CBus CLOCK C(SCLK) I2CBus DATA (SDAT) SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 Data Byte High ACK by Master Stop by Master Figure 3. I2C Bus Timing for Receiving Word Command Format www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 5 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Typical Performance Characteristics Serial No. 201305080002 tech Figure 4. Normalized Spectral Response Figure 5. Forward Current IF=f (VF) tial for Arch Figure 6. ALS Refresh Time vs. Maximum Confiden Detection Range Figure 7. IDD vs. Temperature Figure 8. View Angle Figure 9. White Channel Spectral Response www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 6 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Application Information Pin Connection with the Host CM36682 integrates proximity sensor, ambient light Sensor, and IR LED all together with I2C interface. It is very easy for the baseband (CPU) to access PS and ALS output data via I2C interface without extra software algorithms. The hardware schematic is shown in the following diagram. Two additional capacitors in the circuit can be used for the following purposes: (1) the 0.1 uF capacitor near the VDD pin is used for power supply noise rejection, (2) the 2.2 uF capacitor, which connects parallel to the RLED, is used to prevent the IR LED voltage from instantly dropping when the IR LED is turned on, and (3) 2.2 Kohm is suitable for the pull up resistor of I2C except for the 8.2 K ohm applied on the INT pin. ch VPull_up VDD VDD_LED te 2.2KΩ h SCK c SDA r 8.2KΩ A Baseband for INT 2.2KΩ 8 SCLK 7 SDAT 0.1uF 3 Anode 2.2uF 4 CM36682 6 INT 5 LED CATHODE GND 1 LED 2 CATHODE RLED l Figure 10. Hardware Pin Connection Diagram tia Digital Interface CM36682 applies single slave address 0x60 (HEX) of 7-bit addressing following I2C protocol. All operations can n be controlled by the command register. The simple command structure helps users easily program the operation setting and latch the light data from CM36682. As Figure 11 shows, CM36682’s I2C command format is simple for e Read and Write operations between CM36682 and the host. The white sections indicate host activity and the gray sections indicate CM36682’s acknowledgement of the host access activity. Write Word and Read Word protocol is fid suitable for accessing registers particularly for 16-bit data ALS and PS data. Interrupt can be cleared by reading data out from Register: INT_Flag. All command codes should follow Read Word and Write Word Protocols. Send Byte → Write Command to CM36682 n1 7 1 1 8 1 8 1 8 1 1 S Slave Address Wr A Command Code A Data Byte Low A Data Byte High AP CoReceive Byte → Read Data from CM36682 1 7 1 1 8 1 1 7 1 1 8 1 8 1 1 S Slave Address Wr A Command Code AS Slave Address Rd A Data Byte Low A Data Byte High AP S = Start Condition P = Stop Condition A = Acknowledge Shaded area = CM36682 acknowledge Figure 11. Write Word and Read Word Protocol www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 7 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Function Description CM36682 applies a 16-bit high resolution ALS that provides the best ambient light sensing capability down to 0.01 Lux/Step which works well under a low transmittance lens design (dark lens). A flexible interrupt function of ALS (Register: ALS_CONF) is also supported.The INT signal will not be asserted by CM36682 if the ALS value is not over high INT threshold window level, or lower than low INT threshold window level of ALS. As long as the ALS INT is asserted, the host can read the data from CM36682. CM36682 detects different light sources such as fluorescent light, incandescent light, sunlight and white LED with high accuracy ALS data output after detecting algorithm is implemented. For proximity sensor function, CM36682 supports different kinds of mechanical designs to achieve the best proximity detection performance for any color of object with more flexibility. The basic PS function settings, such as duty ratio, integration time, Interrupt and PS enable/disable and persistence, are handled by the Register: h PS_CONF1. Duty ratio controls the PS response time. Integration time represents the duration of the energy being received. The Interrupt is asserted when the PS detection levels over the high threshold level setting (Register: c PS_THDH) or lower than low threshold (Register: PS_THDL). If the Interrupt function is enabled, the host reads the PS output data from CM36682 that saves host loading from periodically reading PS data. More than that, INT te flag(Register: INT_Flag) indicates the behavior of INT triggered under different conditions. PS persistence (PS_PERS) sets up the PS INT asserted conditions as long as the PS output value continually exceeds the threshold level. The intelligent cancellation level can be set on Register: PS_CANC to reduce the cross talk h phenomenon. c CM36682 also supports an easy use of proximity detection logic output mode that outputs just High/Low levels r saving loading from the host. Normal operation mode or Proximity Detection Logic Output Mode can be selected on the Register: PS_MS. A Smart Persistence is provided to get faster PS response time and prevent false trigger for PS. Descriptions of each slave address operation are shown in Table 1. A COMMAND CODE Date Byte Low/High REGISTER NAME R/W DEFAULT VALUE FUNCTION DESCRIPTION for 0x00 L ALS_CONF H Reserved R/W 0x00 R/W 0x00 ALS integration time, average mode, persistence, interrupt and function enable and disable Reserved 0x01 L ALS_THDH_L R/W 0x00 H ALS_THDH_M R/W 0x00 ALS high interrupt threshold LSB byte ALS high interrupt threshold MSB byte l 0x02 L ALS_THDL_L R/W 0x00 H ALS_THDL_M R/W 0x00 ALS low interrupt threshold LSB byte ALS low interrupt threshold MSB byte tia 0x03 L PS_CONF1 H PS_CONF2 R/W 0x00 R/W 0x00 PS duty ratio, integration time, persistence, and PS enable/disable PS integration time bank and ratio, PS interrupt trigger method n 0x04 L PS_CONF3 H PS_MS R/W 0x00 R/W 0x00 PS interrupt and Active Force mode PS mode selection and PS protection level setting e 0x05 L PS_CANC H Reserved R/W 0x00 R/W 0x00 PS cancellation level setting Reserved fid 0x06 L PS_THDL H PS_THDH R/W 0x00 R/W 0x00 PS low interrupt threshold setting PS high interrupt threshold setting 0x07 L Reserved H Reserved R/W 0x00 R/W 0x00 Reserved Reserved n 0x08 L PS_Data H Reserved R 0x00 R 0x00 PS output data Reserved Co0x09 L ALS_DataL H ALS_DataM R 0x00 R 0x00 ALS LSB output data ALS MSB output data 0x0A L White_DataL R 0x00 H White_DataM R 0x00 White LSB output data White MSB output data 0x0B L Reserved H INT_Flag R 0x00 R 0x00 Reserved ALS, PS interrupt flags 0x0C L ID_L H ID_M R 0x83 R 0x00 Device ID LSB Device ID MSB Note: All of reserved register are used for internal test. Please keep as default setting. Table 1. Command Code and Register Description www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 8 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Command Register Format CM36682 provides an 8-bit command register for ALS and PS controlling independently. The description of each command format is shown in following tables. REGISTER NAME Command Code: 0x00_L (0x00 Data Byte Low) or 0x00_H (0x00 Data Byte High) COMMAND BIT 7 6 5 4 3 2 1 0 REGISTER: ALS_CONF Command Code: 0x00_L (0x00 Data Byte Low) COMMAND BIT Description tech ALS_IT 7:6 (0 : 0) = 80 ms, 0.08 lux/step; (0 : 1) = 160 ms, 0.04 lux/step; (1 : 0) = 320 ms, 0.02lux/step; (1 : 1) = 640 ms, 0.01 lux/step ALS integration time setting, longer integration time has higher sensitivity Reserved 5:4 Default = ( 0: 0 ) ch ALS_PERS 3:2 (0 : 0) = 1, (0 : 1) = 2, (1 : 0)=4, (1 : 1)= 8 ALS interrupt persistence setting r ALS_INT_EN 1 0 = ALS interrupt disable, 1= ALS interrupt enable A ALS_SD 0 0 = ALS power on, 1 = ALS shut down, Default = 1 r Table 2. Register: ALS_CONF Description fo REGISTER: Reserved Command Code: 0x00_H (0x00 Data Byte High) l COMMAND BIT Description tia Reserved 7:0 Default=(0 : 0 : 0 : 0 : 0 : 0 : 0 : 0) Table 3. Register 00H_H Description en Command Code: 0x01_L (0x01 Data Byte Low) and 0x01_H(0x01 Data Byte High) fid REGISTER BIT Description ALS_THDH_L 7:0 0x00 ~ 0xFF, ALS high interrupt threshold LSB byte ALS_THDH_M 7:0 0x00 ~ 0xFF, ALS high interrupt threshold MSB byte Con Table 4. Register ALS_THDH_L and ALS_THDH_M Description Command Code: 0x02_L (0x02 Data Byte Low) and 0x02_H(0x02 Data Byte High) REGISTER BIT Description ALS_THDL_L 7:0 0x00 ~ 0xFF, ALS low interrupt threshold LSB byte ALS_THDL_M 7:0 0x00 ~ 0xFF, ALS low interrupt threshold MSB byte Table 5. Register ALS_THDL_L and ALS_THDL_M Description www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 9 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 REGISTER: PS_CONF1 Command Code: 0x03_L (0x03 Data Byte Low) COMMAND BIT Description PS_Duty 7:6 (0 : 0) = 1/40, (0 : 1) = 1/80, (1 : 0) = 1/160, (1 : 1) = 1/320 PS IR LED on/off duty ratio setting PS_IT 5:4 (0 : 0) = 1T, (0 : 1) = 1.3T, (1 : 0) = 1.6T, (1 : 1) = 2T PS_PERS tech Reserved h PS_SD PS integration time setting 3:2 (0 : 0) = 1, (0 : 1) = 2, (1 : 0) = 3, (1 : 1) = 4 PS interrupt persistence setting 1 Default = 1 0 0 = PS power on, 1= PS shut down, Default = 1 Table 6. Register PS_CONF1 Description rc REGISTER: PS_CONF2 Command Code: 0x03_H (0x03 Data Byte High) A COMMAND BIT Description PS_ITB 7:6 (0 : 0) = 1/2 * PS_IT, (0 : 1) = 1 * PS_IT, (1 : 0) = 2* PS_IT, (1 : 1) = 4 * PS_IT for Reserved 5:4 Default = (0 : 0) Reserved 3:2 Default = (0 : 0) tial PS_INT 1:0 (0 : 0) = interrupt disable, (0 : 1) = trigger by closing, (1 : 0)= trigger by away, (1 : 1)= trigger by closing and away Table 7. Register PS_CONF2 Description n REGISTER: PS_CONF3 Command Code: 0x04_L (0x04 Data Byte Low) e COMMAND BIT Description fid Reserved 7:5 Default = (0 : 0 : 0) PS_SMART_PERS 4 0 = disable Smart Persistence, 1 = enable Smart Persistence n PS_FOR 3 0 = Active Force Mode disable(normal mode), 1 = Active Force Mode enable CoPS_FOR_Trig 2 0 = no PS Active Force mode trigger, 1 = trigger one time cycle CM36682 output one cycle data every time host writes in ‘ 1 ‘ to sensor. The state returns to ‘ 0’ automatically. Reserved 1:0 Default = (0 : 0) Table 8. Register PS_CONF3 Description www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 10 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 REGISTER: PS_MS Command Code: 0x04_H (0x04 Data Byte High) COMMAND BIT Description Reserved 7 0, reserved PS_MS 6 0: Proximity normal operation with interrupt function 1: Proximity detection logic output mode enable PS_PROL tech Reserved 5:4 (0 : 0) = 63 Steps, (0 : 1) =127 Steps, (1 : 0)= 191 Steps, (1 : 1)=255 Steps PS protection mode level setting. For example Set (0 : 0) = 63 Steps, as long as PS detects over 63 steps, PS will be saturated and output is 0 steps. 3:0 (0 : 0 : 0 : 0), reserved Table 9. Register PS_MS Description rch REGISTER A PS_CANC Command Code: 0x05_L (0x05 Data Byte Low) BIT Description 7:0 0x00 – 0xFF, PS intelligent cancellation level setting Table 10. Register PS_CANC Description for REGISTER tial Reserved Command Code: 0x05_H (0x05 Data Byte High) BIT Description 7:0 Default = 0x00 Table 11. Register Reserved Description en REGISTER fid PS_THDL Command Code: 0x06_L (0x06 Data Byte Low) BIT Description 7:0 0x00 – 0xFF, PS low interrupt threshold setting Table 12. Register PS_THDL Description Con REGISTER BIT Command Code: 0x06_H (0x06 Data Byte High) Description PS_THDH 7:0 00H – FFH, PS high interrupt threshold setting Table 13. Register PS_THDH Description www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 11 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Command Code: 0x07_L (0x07 Data Byte Low) REGISTER BIT Description Reserved 7:0 Default =0x00 Table 14. Register Reserved Description h REGISTER Confidential for Archtec Reserved Command Code: 0x07_H (0x07 Data Byte High) BIT Description 7:0 Default = 0x00 Table 15. Register Reserved Description www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 12 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 REGISTER Command Code BIT Description PS_Data 0x08_L (0x08 Data Byte Low) 7:0 0x00 – 0xFF, PS output data Reserved 0x08_H (0x08 Data Byte High) 7:0 Reserved ALS_DataL 0x09_L (0x09 Data Byte Low) 7:0 0x00 – 0xFF, ALS LSB output data ALS_DataM Reserved h Reserved c Reserved te INT_Flag l for Arch ID_L entia ID_M 0x09_H (0x09 Data Byte High) 7:0 0x0A_L (0x0A Data Byte Low) 7:0 0x0A_H (0x0A Data Byte High) 7:0 0x0B_L (0x0B Data Byte Low) 7:0 0x0B_H (0x0B Data Byte High) 7 6 5 4 3 2 1 0 0CH_L (0CH Data Byte Low) 7:0 0CH_H (0CH Data Byte High) 7:6 5:4 3:0 0x00 – 0xFF, ALS MSB output data Reserved Reserved Default = 0x00 Reserved PS_SPFLAG, PS entering protection mode ALS_IF_L, ALS crossing low THD INT trigger event ALS_IF_H, ALS crossing high THD INT trigger event Reserved Reserved PS_IF_CLOSE, PS rises above PS_THDH INT trigger event PS_IF_AWAY, PS drops below PS_THDL INT trigger event 83H for MP version sample , Device ID LSB byte (0 : 0) (0 : 0) Slave address = 0x60 Version code (0 : 0 : 0 : 0) = CM36682 MP version Device ID MSB byte fid Adjustable Sampling Time Table 16. Read Out Register Description onCM36682’s embedded LED driver drives the internal IR LED with the “LED CATHODE” pin by a pulsed duty cycle. The IR LED On/Off duty ratio is programmable by I2C command at Register: PS_Duty which is related to the Ccurrent consumption and PS response time. The higher the duty ratio adopted, the faster response time achieved with higher power consumption. For example, PS_Duty=1/320, peak IR LED current=100 mA, averaged current consumption is 100mA/320=0.3125 mA. Initialization CM36682 includes default values for each register. As long as power is on, it is ready to be controlled by host via I2C bus. www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 13 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Threshold Window Setting ALS Threshold Window Setting (Applying ALS INT) Register: ALS_THDH_L and ALS_THDH_M defines 16-bit ALS high threshold data for LSB byte and MSB byte. Register: ALS_THDL_L and ALS_THDL_M defines 16-bit ALS low threshold data for LSB byte and MSB byte. As long as ALS INT function is enabled, INT will be asserted once the ALS data exceeds ALS_THDH or goes below ALS_THDL. To easily define the threshold range, multiply the value of the resolution (Lux/Step) by the threshold level. (refer Table 17) ALS_IT ALS_IT[7:6] h (0,0) c (0,1) (1,0) te (1,1) Integration time(typ) 80ms 160ms 320ms 640ms Sensitivity Unit: Lux/Step 0.08 0.04 0.02 0.01 Maximum Detection Range Unit: Lux 5240 2620 1310 655 Table 17. ALS Resolution and Maximum Detection Range h ALS Persistence c The ALS INT is asserted as long as the ALS value is higher or lower than the threshold window when r ALS_PERS(1\2\4\8 times) is set to one time. If ALS_PERS is set to four times, then the ALS INT will not be asserted if the ALS value is not over (or lower) than the threshold window for four continued refresh times A (integration time). Programmable PS Threshold r CM36682 provides both high and low thresholds 8-bit data setting for PS.(Register: PS_THDL, PS_THDH). fo PS Persistence l The PS persistence function (PS_PERS, 1\2\3\4) helps to avoid false trigger of the PS INT. For example, if PS_PERS=3 times, the PS INT will not be asserted unless the PS value is greater than the PS tia threshold(PS_THDH) value for three periods of time continuously. PS Active Force mode An extreme power saving way to use PS is to apply PS Active Force(Register:PS_CONF3 Command : n PS_FOR =1) mode. Anytime host would like to read out just one of PS data, write in ‘1’ at Register: PS_CONF3 Command: PS_FOR_Trig. Without commands placed, there is no PS data output. CM36682 stays in standby e mode constantly. fid PS detection object Any color of object is detectable by CM36682. n Data Access oAll of CM36682 command registers are readable. To access 16-bit high resolution ALS output data, it is suitable to use Read Word protocol to read out data by just one command at Register: ALS_DataL and ALS_DataM. To represent the 16-bit data of ALS, it has to apply two bytes. One byte is for LSB, and the other byte Cis for MSB as shown in Table 18. In terms of reading out 8-bit PS data, it is also very convenient to read PS at Register: PS_Data. CM36682 16-BIT ALS DATA FORMAT Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Register ALS_DataM ALS_DataL www.capellamicro.com Table 18. 16-BIT ALS DATA FORMAT © Copyright 2012, Capella Microsystems, Inc. 14 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Intelligent Cancellation CM36682 provides an Intelligent Cancellation method to reduce cross talk phenomenon for the proximity sensor. The output data will be subtracted by the input value on Register: PS_CANC. Interruption (INT) CM36682 has ALS and PS interrupt feature operated by a single pin “INT”. The purpose of the interrupt feature is to actively inform the host once INT has been asserted. With the interrupt function applied, the host doesn’t need to be constantly pulling data from the sensor, but to read data from the sensor while receiving interrupt request from the sensor. As long as the host enables ALS interrupt (Register: ALS_INT_EN) or PS interrupt (Register: PS_INT) function, the level of INT pin (pin 4) is pulled low once INT asserted. All registers are accessible even if h INT is asserted. c ALS INT asserted when ALS value cross over the value set by Register: ALS_THDH or lower than the value set by Register: ALS_THDL. To effectively adopt PS INT function, it is recommended to use Capella PS detection te mechanism at Register: PS_INTT =1 for the best PS detection performance which can be adjusted by high/low THD level of PS. PS INT trigger way is defined by Register: PS_INT. Interruption Flag ch Register: INT_Flag represents all of interrupt trigger status for ALS and PS. Any flag value changes from ‘0’ to ‘1’ state, the level of INT pin will be pulles low. As long as Host reads INT_Flag data, the bit will chang from ‘1’ r state to ‘0’ state after reading out, the INT level will be returned to high afterwards. A Proximity Detection Logic Output Mode CM36682 provides a Proximity Detection Logic Output Mode that uses INT pin (pin 4) as a proximity detection logic high/low output(Register: PS_MS). When this mode is selected, the PS output (pin 4; INT/Pout) is pulled low r when an object is closing to be detected and returned to level high when the object moves away. Register: PS_THDH\L defines how sensitive PS detection is. fo One thing to be stated is that whenever Proximity detection logic mode applied, INT pin is only used as a logic high/low output. If host would like to use ALS with INT function, Register: PS_MS has to be selected to normal l operation mode (PS_MS = 0). Meanwhile, Host has to simulate the GPIO pin as an INT pin function. If not, Host needs to periodically reading the state of INT at this GPIO pin. tia Proximity Detection Hysteresis A PS detection hysteresis is important that keeps PS state in a certain range of detection distance. For n example, PS INT asserts when PS value over PS_THDH. Host switches off panel backlight and then clears INT. When PS value is less than PS_THDL, Host switches on panel backlight. Any PS value lower than PS_THDH or Confide higher than PS_THDL, PS INT will not be asserted. Host does keep the same state. www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 15 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 VPull_up VDD VDD_LED 2.2KΩ 2.2KΩ 0.1uF 2.2uF 3 RLED SCK 8 SCLK 7 4 Anode SDA 8.2KΩ h Baseband htec GPIO SDAT CM36682 6 INT 5 LED CATHODE GND 1 LED 2 CATHODE c Figure 12. CM36682 Reference Circuit Connection with Host (Proximity Detection Logic Output Mode) Confidential for Ar (CM36682 INT pin connecting to BB GPIO instead of INT pin) www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 16 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Package Information Top View Side View Bottom View 2 ± 0.1 1.1 ± 0.1 0.9 0.5 5 4 4 5 0.85 1.075 0.675 x 8 1.075 4 ± 0.1 ch Ø1.2 hte Ø1.1 1.45 2.6 rc 8 1 1.075 A Unit: mm 1 8 0.75 for 1 GND 5 Cathode l 2 Cathode 6 INT tia3 VDD 7 SDAT 4 Anode 8 SCLK ConfidenFigure 13. CM36682 Package Dimensions www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 17 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Layout Notice and Reference Circuit Pad and Circuit Layout Reference Pad Center to Center 1.4 0.35 0.7 0.7 X6 0.7 Pad Cente r to Center 1.075 1.075 1.075 0.725X6 rchtech Figure 14. CM36682 PCB Layout Footprint A Application Circuit Block Reference Figure 15. Suggested CM36682 Layout for VPull_up VDD VDD_LED l 2.2KO tia SCK nSDA 8.2KO eBaseband onfidINT 2.2KO 8 SCLK 7 SDAT 0.1uF 3 Anode 2.2uF 4 CM36682 6 INT 2 LED CATHODE GND 1 LED 5 CATHODE C Figure 16. CM36682 Application Circuit RLED (normal operation with interrupt function) www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 18 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Recommended Storage and Rebaking Conditions PARAMETER MIN. MAX. UNITS CONDITION Storage temperature 5 50 °C Relative humidity 60 % Open time 168 hrs Total time 12 months from the date code on the aluminized envelope (unopened) Rebaking 1. Tape and Reel: 60ºC, 22 hours 2. Tube: 60ºC, 22 hours h Recommended Infrared Reflow Soldering conditions which are based on J-STD-020 C tec 1. IR reflow profile condition PARAMETER h Peak temperature c Preheat temperature range and timing r Timing within 5ºC to peak temperature Timing maintained above temperature / time A Timing from 25ºC to peak temperature Ramp-up rate r Ramp-down rate TEMPERATURE 260+5/-5 ºC (max.: 265ºC) 150 ~ 200ºC 217ºC 3ºC/seconds (max.) 6ºC/seconds (max.) TIME 10 seconds 60 ~ 180 seconds 10 ~ 30 seconds 60 ~ 150 seconds 8 minutes (max.) CONDITION fo 2. Recommend normal solder reflow is: 235 ~ 265℃. l Max. Temperature tia 260+5/-50C / 10 seconds 260 217 Ramp-up Rate 3 0C / seconds Ramp-down Rate 6 0C / seconds (max) (max) Temperature (ºC) en 200 fidRamp-up Rate n150 3 0C / seconds (max) Pre-Heating Time t2 - t1 = 60 - 180 secons Soldering Zone 60-150 seconds Co t1 t2 Time (second) Figure 17 CM36682 LCP Solder Reflow Profile Chart www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 19 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Serial No. 201305080002 Recommended Iron Tip Soldering Condition and Warning Handling 1 Solder the device with the following conditions: 1.1 Soldering temperature: 400℃ (max.) 1.2 Soldering time: 3 seconds (max.) 2 If the temperature of the method portion rises in addition to the residual stress between the leads, the possibility that an open or short circuit occurs due to the deformation or destruction of the resin increases. 3 The following methods: VPS and wave soldering, have not been suggested for the component assembly. 4 Cleaning method conditions: 4.1 Solvent: Methyl Alcohol, Ethyl Alcohol, Isopropyl Alcohol h 4.2 Solvent temperature < 45℃ (max.) Confidential for Archtec 4.3 Time:3minutes(min.) www.capellamicro.com © Copyright 2012, Capella Microsystems, Inc. 20 Serial No. 201305080002 CM36682 Proximity Sensor and ALS AIO Tape Packaging Information Serial No. 201305080002 nfidential for Archtech DISCLAIMER Information in this product is provided in connection with Capella Microsystems Products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Capella term and conditions of sale for such oproducts, Capella assumes no liability whatsoever, and Capella disclaims any express or implied warranty, relating to sale and/or use of Capella products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any copyright, patent, mask work, or other intellectual property right. Capella products are not designed for use in medical, life saving, or life support appliance, devices, or Csystems where malfunction of these products can reasonably be expected to result in personal injury. Capella customers using or selling these products in such application do so at their own risk and agree to fully indemnify Capella for any and all damages including reasonable attorney fee and cost resulting from such application. Capella reserves the right to make changes in the products in order to improve design and/or performance. When the product is in full production, relevant changes will be communicated in writing via a customer product/process change notification. CAPELLA MICROSYSTEMS, INC Taiwan office 6F, No.43, Fusing Road, Sindian City, Taipei County 231, Taiwan TEL: +886-2-82186600 FAX: +886-2-82186602 www.capellamicro.com 21 USA office 2361 Calle Del Mundo, Santa Clara, CA95054 TEL: 408-727-8500 FAX: 408-969-0894 © Copyright 2012, Capella Microsystems, Inc. Serial No. 201305080002

Top_arrow
回到顶部
EEWORLD下载中心所有资源均来自网友分享,如有侵权,请发送举报邮件到客服邮箱bbs_service@eeworld.com.cn 或通过站内短信息或QQ:273568022联系管理员 高进,我们会尽快处理。