Part Number Hot Search : 
S8132 C237B BTS410F2 33120A X9241YP DK64N90 TC144 13R156C
Product Description
Full Text Search
 

To Download NOA3301 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? semiconductor components industries, llc, 2013 february, 2013 - rev. 2 1 publication order number: NOA3301/d NOA3301 digital proximity sensor with ambient light sensor and interrupt description the NOA3301 combines an advanced digital proximity sensor and led driver with an ambient light sensor (als) and tri- mode i 2 c interface with interrupt capability in an integrated monolithic device. multiple power management featu res and very low active sensing power consumption directly address the power requirements of battery operated mobile phones and mobile internet devices. the proximity sensor measures reflected light intensity with a high degree of precision and excellent ambient light rejection. the NOA3301 enables a proximity sensor system with a 32:1 programmable led drive current ra nge and a 30 db overall proximity detection threshold range. the photopic light response, dark current compensation and high sensitivity of the ambient light sensor eliminates inaccurate light level detection, insuring proper backlight control even in the presence of dark cover glass. the NOA3301 is ideal for improving the user experience by enhancing the screen interface with the ability to measure distance for near/far detection in real time and the ability to respond to ambient lighting conditions to control display backlight intensity. features ? proximity sensor, led driver and als in one device ? very low power consumption ? stand- by current 5 m a (monitoring i 2 c interface only, v dd =3v) ? als operational current 50 m a ? proximity sensing average operational current 100 m a ? average led sink current 75 m a proximity sensing ? proximity detection distance threshold i 2 c programmable with 12- bit resolution and four integration time ranges (15- bit effective resolution) ? effective for measuring distances up to 100 mm and beyond ? excellent ir and ambient light rejection including sunlight (up to 50k lux) and cfl interference ? programmable led drive current from 5 ma to 160 ma in 5 ma steps, no external resistor required ambient light sensing ? als senses ambient light and provides a 16- bit output count on the i 2 c bus directly proportional to the ambient light intensity ? photopic spectral response nearly matches human eye ? dynamic dark current compensation ? linear response over the full operating range ? senses intensity of ambient light from 0.05 lux to 52k lux with 21- bit effective resolution (16- bit converter) ? continuously programmable integration times (6.25 ms, 12.5 ms, 25 ms ? to 800 ms) ? precision on- chip oscillator (counts equal 0.1 lux at 100 ms integration time) cudfn8 cu suffix case 505af http://onsemi.com ?for information on tape and reel specifications, including part orientation and tape sizes, please refer to our tape and reel packaging specifications brochure, brd8011/d. *temperature range: - 40 ? cto80 ? c. device package shipping ? ordering information NOA3301cutag* cudfn8 (pb- free) 2500 / tape & reel pin connections 1 2 3 6 5 7 vdd led_gnd led scl sda nc (top view) int vss 4 8 1 8
NOA3301 http://onsemi.com 2 additional features ? programmable interrupt function including independent upper and lower threshold detection or threshold based hysteresis for proximity and or als ? proximity persistence feat ure reduces interrupts by providing hysteresis to filter fast transients such as camera flash ? automatic power down after single measurement or continuous measurements with programmable interval time for both als and ps function ? wide operating voltage range (2.3 v to 3.6 v) ? wide operating temperature range (- 40 ? cto80 ? c) ? i 2 c serial communication port ? standard mode ? 100 khz ? fast mode ? 400 khz ? high speed mode ? 3.4 mhz ? no external components required except the ir led and power supply decoupling caps ? 8- lead cudfn 2.0 x 2.0 x 0.6 mm clear package ? these devices are pb- free, halogen free/bfr free and are rohs compliant applications ? senses human presence in terms of distance and senses ambient light conditions, saving display power in applications such as: ? smart phones, mobile internet devices, mp3 players, gps ? mobile device displays and backlit keypads figure 1. NOA3301 application block diagram adc hn als photodiode reference diode sda scl intb hn proximity photodiode adc dsp dsp osc & control led vdd vss ir led vdd vdd_i2c sda scl intb mcu NOA3301 led drive led_gnd 1 m f i 2 cinterface 1 m f 22 m f table 1. pin function description pin pin name description 1 vdd power pin. 2 vss ground pin. 3 led_gnd ground pin for ir led driver. 4 led ir led output pin. 5 int interrupt output pin, open- drain. 6 nc not connected. 7 sda bi- directional data signal for communications with the i 2 cmaster. 8 scl external i 2 c clock supplied by the i 2 cmaster.
NOA3301 http://onsemi.com 3 table 2. absolute maximum ratings rating symbol value unit input power supply vdd 4.0 v input voltage range v in - 0.3 to vdd + 0.2 v output voltage range v out - 0.3 to vdd + 0.2 v maximum junction temperature t j(max) 100 ? c storage temperature t stg -40to80 ? c esd capability, human body model (note 1) esd hbm 2 kv esd capability, charged device model (note 1) esd cdm 500 v esd capability, machine model (note 1) esd mm 200 v moisture sensitivity level msl 3 - lead temperature soldering (note 2) t sld 260 ? c stresses exceeding maximum ratings may damage the device. maximu m ratings are stress ratings only. functional operation above the recommended operating conditions is not implied. extended exposure to stresses above the recommended operating conditions may affect device reliability. 1. this device incorporates esd protection and is tested by the following methods: esd human body model tested per eia/jesd22- a114 esd charged device model tested per esd- stm5.3.1- 1999 esd machine model tested per eia/jesd22- a115 latchup current maximum rating: ? 100 ma per jedec standard: jesd78 2. for information, please refer to our soldering and mounting techniques reference manual, solderrm/d table 3. operating ranges rating symbol min typ max unit power supply voltage vdd 2.3 3.6 v power supply current, stand- by mode (vdd = 3.0 v) idd stby_3.0 5 m a power supply current, stand- by mode (vdd = 3.6 v) idd stby_3.6 10 m a power supply average current, als operating 100 ms integration time and 500 ms intervals idd als 50 m a power supply average current, ps operating 300 m s integration time and 100 ms intervals idd ps 100 m a led average sink current, ps operating at 300 m s integration time and 100 ms intervals and led current set at 50 ma i led 75 m a i 2 c signal voltage (note 3) vdd_i2c 1.6 1.8 2.0 v low level input voltage (vdd_i2c related input levels) v il -0.3 0.3 vdd_i2c v high level input voltage (vdd_i2c related input levels) v ih 0.7 vdd_i2c vdd_i2c + 0.2 v hysteresis of schmitt trigger inputs v hys 0.1 vdd_i2c v low level output voltage (open drain) at 3 ma sink current (intb) v ol 0.2 vdd_i2c v input current of io pin with an input voltage between 0.1 vdd and 0.9 vdd i i -10 10 m a output low current (intb) i ol 3 - ma operating free- air temperature range t a -40 80 ? c 3. the i 2 c interface is functional to 3.0 v, but timing is only guaranteed up to 2.0 v. high speed mode is guaranteed to be functional to 2.0 v.
NOA3301 http://onsemi.com 4 table 4. electrical characteristics (unless otherwise specified, these specifications apply over 2.3 v < vdd < 3.3 v, 1.7 v < vdd_i2c < 1.9 v, - 40 ? c NOA3301 http://onsemi.com 5 table 4. electrical characteristics (unless otherwise specified, these specifications apply over 2.3 v < vdd < 3.3 v, 1.7 v < vdd_i2c < 1.9 v, - 40 ? c NOA3301 http://onsemi.com 6 figure 2. ac characteristics, standard and fast modes figure 3. ac characteristics, high speed mode
NOA3301 http://onsemi.com 7 typical characteristics figure 4. als spectral response (normalized) figure 5. als light source dependency (normalized to fluorescent light) wavelength (nm) ratio 900 800 700 600 500 400 300 200 0 0.1 0.2 0.4 0.6 0.7 0.9 1.0 2.0 1.5 1.0 0.5 0 figure 6. als response to white light vs. angle figure 7. als response to ir vs. angle figure 8. als linearity 0- 700 lux figure 9. als linearity 0- 100 lux ev (lux) ev (lux) 700 600 500 400 300 200 100 0 0 1k 2k 3k 4k 6k 7k 8k 80 70 60 50 30 20 10 0 0 200 400 600 800 1000 1200 output current (normalized) als counts als counts 800 5k 40 90 100 110 incandescent (2850k) fluorescent (2700k) white led (5600k) fluorescent (5000k) 1000 0.3 0.5 0.8 als human eye 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 -170 -160 -150 -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 -170 -160 -150 -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 side view top view -90 o 90 o 1 2 8 7 6 45 3 side view top view -90 o 90 o 1 2 8 7 6 45 3
NOA3301 http://onsemi.com 8 typical characteristics figure 10. als linearity 0- 10 lux figure 11. als linearity 0- 2 lux ev (lux) ev (lux) 10 8 7 6 4 3 1 0 0 20 40 60 100 120 2.5 2.0 1.5 1.0 0.5 0 0 5 10 15 20 25 figure 12. ps response vs. distance and led current (1200 m s integration time, grey reflector (rgb = 162, 162, 160)) figure 13. ps response vs. distance and led current (300 m s integration time, white reflector (rgb = 220, 224, 223)) distance (mm) distance (mm) 140 120 100 80 60 40 20 0 0 5k 10 k 20 k 25 k 30 k 40 k 45 k figure 14. ps response vs. distance and led current (300 m s integration time, grey reflector (rgb = 162, 162, 160)) figure 15. ps response vs. distance and led current (300 m s integration time, black reflector (rgb = 16, 16, 15)) distance (mm) distance (mm) 140 120 100 80 60 40 20 0 0 2k 4k 6k 8k 10 k 12 k 100 80 60 40 20 0 0 500 1500 2000 3000 3500 4000 5000 als counts als counts proximity sensor value proximity sensor value proximity sensor value proximity sensor value 1000 2500 4500 20ma 60ma 100ma 160ma 160 20ma 60ma 100ma 160ma 80 25 911 160 15 k 35 k 20ma 60ma 100ma 160ma 200 100 150 50 0 0 2k 4k 6k 8k 10 k 12 k 250 20ma 60ma 100ma 160ma
NOA3301 http://onsemi.com 9 typical characteristics v dd (v) v dd (v) 4.0 3.5 3.0 2.5 2.0 0 10 30 40 60 70 90 100 4.0 3.5 3.0 2.5 2.0 0 50 100 150 200 250 300 i dd ( m a) i dd ( m a) als ps als+ps 20 50 80 als ps als+ps 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 -170 - 160 - 150 -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 side view top view -90 o 90 o 1 2 8 7 6 45 3 temperature ( ? c) 100 80 60 40 20 0 0 0.2 0.4 0.6 0.8 1.0 1.2 als response (normalized) 100 lux 50 lux 20 lux 10 lux 5 lux figure 16. ps ambient rejection t int = 300 m s, i led = 100 ma, white reflector (rgb = 220, 224, 223) figure 17. ps response to ir vs. angle figure 18. supply current vs. supply voltage als t int = 100 ms, t r = 500 ms ps t int = 300 m s, t r =100ms figure 19. supply current vs. supply voltage als t int = 100 ms, t r = 500 ms ps t int =1200 m s, t r =50ms figure 20. als response vs. temperature reflector distance (mm) proximity sensor value 200 100 150 50 0 0 2k 4k 6k 8k 10 k 12 k 250 no ambient 50k lux halogen (3300k) 10k lux incandescent (2700k) 10k lux cfl (3000k)
NOA3301 http://onsemi.com 10 description of operation proximity sensor architecture NOA3301 combines an advanced digital proximity sensor, led driver, ambient light sensor and a tri- mode i 2 c interface as shown in figure 1. the led driver draws a modulated current through the external ir led to illuminate the target. the led current is programmable over a wide range. the infrared light reflected from the target is detected by the pr oximity sensor photo diode. the proximity sensor employs a sen sitive photo diode fabricated in on semiconductor?s standard cmos process technology. the modulated light received by the on- chip photodiode is converted to a digital signal using a variable slope integrating adc with a default resolution (at 300 m s) of 13- bits, unsigned. the signal is processed to remove all unwanted signals resulting in a highly selective response to the generated light signal. the final value is stored in the ps_data register where it can be read by the i 2 c interface. ambient light sensor architecture the ambient light sensor contained in the NOA3301 employs a second photo diode with its own proprietary photopic filter limiting extraneous photons, and thus performing as a band pass filter on the incident wave front. the filter only transmits photons in the visible spectrum which are primarily detected by the human eye. the photo response of this sensor is as shown in figure 4. the ambient light signal detected by the photo diode is converted to digital signal using a variable slope integrating adc with a resolution of 16- bits, unsigned. the adc value is stored in the als_data register where it can be read by the i 2 c interface. equation 1 shows the relationship of output counts c nt as a function of integration constant i k , integration time t int (in seconds) and the intensity of the ambient light, i l (in lux), at room temperature (25 ? c). i l = c nt M ? i k ? t int ? (eq. 1) where: i k = 73 (for fluorescent light) i k = 106 (for incandescent light) hence the intensity of the ambi ent fluorescent light (in lux): i l = c nt M ? 73 ? t int ? (eq. 2) and the intensity of the ambient incandescent light (in lux): i l = c nt M ? 106 ? t int ? (eq. 3) for example let: c nt = 7300 t int = 100 ms intensity of ambient fluorescent light, i l (in lux): i l = 7300 M ? 73 ? 100 ms ? (eq. 4) i l = 1000 lux i 2 c interface the NOA3301 acts as an i 2 c slave device and supports single register and block register read and write operations. all data transactions on the bus are 8 bits long. each data byte transmitted is followed by an acknowledge bit. data is transmitted with the msb first. figure 21 shows an i 2 c write operation. write transactions begin with the master sending an i 2 cstart sequence followed by the seven bit slave address (NOA3301 = 0x37) and the write(0) command bit. the NOA3301 will acknowledge this byte transfer with an appropriate ack. next the master will send the 8 bit register address to be written to. again the NOA3301 will acknowledge reception with an ack. finally, the master will begin sending 8 bit data segment(s) to be written to the NOA3301 register bank. the NOA3301 will send an ack after each byte and increment the address pointer by one in preparation for the next transfer. write transact ions are terminated with either an i 2 c stop or with another i 2 c start (repeated start). 788 a[6:0] d[7:0] d[7:0] write ack ack ack device address register address register data start condition stop condition 011 0111 0 0 0000 0000 0000 0110 00 0x6e figure 21. i 2 c write command
NOA3301 http://onsemi.com 11 figure 22 shows an i 2 c read command sent by the master to the slave device. read transactions begin in much the same manner as the write transactions in that the slave address must be sent with a write(0) command bit. 788 a[6:0] d[7:0] d[7:0] write ack ack ack device address register address register data start condition stop condition 011 0111 0 0 0000 0000 0000 0110 00 0x6e 788 a[6:0] d[7:0] d[7:0] read ack ack nack device address register data [a] register data [a+1] start condition stop condition 011 0111 1 0 bbbb bbbb bbbb bbbb 01 0x6f figure 22. i 2 c read command after the NOA3301 sends an ack, the master sends the register address as if it were going to be written to. the NOA3301 will acknowledge this as well. next, instead of sending data as in a write, the master will re- issue an i 2 c start (repeated start) and again send the slave address and this time the read(1) command bit. the NOA3301 will then begin shifting out data from the register just addressed. if the master wishes to receive more data (next register address), it will ack the slave at the end of the 8 bit data transmission, and the slave will respond by sending the next byte, and so on. to signal the end of the read transaction, the master will send a nack bit at the end of a transmission followed by an i 2 cstop. the NOA3301 also supports i 2 c high- speed mode. the transition from standard or fast mode to high- speed mode is initiated by the i 2 c master. a special reserve device address is called for and any device that recognizes this and supports high speed mode immediately changes the performance characteristics of its i/o cells in preparation for i 2 c transactions at the i 2 c high speed data protocol rates. from then on, standard i 2 c commands may be issued by the master, including repeated start commands. when the i 2 c master terminates any i 2 c transaction with a stop sequence, the master and all slave devices immediately revert back to standard/fast mode i/o performance. by using a combination of high- speed mode and a block write operation, it is possible to quickly initialize the NOA3301 i 2 c register bank.
NOA3301 http://onsemi.com 12 NOA3301 data registers NOA3301 operation is observed and controlled by internal data registers read from and written to via the external i 2 c interface. registers are listed in table 6. default values are set on initial power up or via a software reset command (register 0x01). the i 2 c slave address of the NOA3301 is 0x37. table 6. NOA3301 data registers address type name description 0x00 r part_id NOA3301 part number and revision ids 0x01 rw reset software reset control 0x02 rw int_config interrupt pin functional control settings 0x0f rw ps_led_current ps led pulse current (5, 10, ? , 160 ma) 0x10 rw ps_th_up_msb ps interrupt upper thresh old, most significant bits 0x11 rw ps_th_up_lsb ps interrupt upper threshold, least significant bits 0x12 rw ps_th_lo_msb ps interrupt lower threshold, most significant bits 0x13 rw ps_th_lo_lsb ps interrupt lower threshold, least significant bits 0x14 rw ps_filter_config ps filter configuration 0x15 rw ps_config ps integration time configuration 0x16 rw ps_interval ps interval time configuration 0x17 rw ps_control ps operation mode control 0x20 rw als_th_up_msb als interrupt upper threshold, most significant bits 0x21 rw als_th_up_lsb als interrupt upper threshol d, least significant bits 0x22 rw als_th_lo_msb als interrupt lower threshold, most significant bits 0x23 rw als_th_lo_lsb als interrupt lower threshold, least significant bits 0x24 rw reserved reserved 0x25 rw als_config als integration time configuration 0x26 rw als_interval als interval time configuration 0x27 rw als_control als operation mode control 0x40 r interrupt interrupt status 0x41 r ps_data_msb ps measurement data, most significant bits 0x42 r ps_data_lsb ps measurement data, least significant bits 0x43 r als_data_msb als measurement data, most significant bits 0x44 r als_data_lsb als measurement data, least significant bits part_id register (0x00) the part_id register provides part and revision identifica tion. these values are hard- wired at the factory and can not be modified. table 7. part_id register (0x00) bit 7 6 5 4 3 2 1 0 field part number id revision id field bit default description part number id 7:4 1001 part number identification revision id 3:0 na silicon revision number
NOA3301 http://onsemi.com 13 reset register (0x01) software reset is controlled by this register. setting this register followed by an i2c_stop sequence will immediately reset the NOA3301 to the default startup standby state. triggering the software reset has virtually the same effect as cycling the power supply tripping the internal power on reset (por) circuitry. table 8. reset register (0x01) bit 7 6 5 4 3 2 1 0 field na sw_reset field bit default description na 7:1 xxxxxxx don?t care sw_reset 0 0 software reset to startup state int_config register (0x02) int_config register controls the external interrupt pin function. table 9. int_config register (0x02) bit 7 6 5 4 3 2 1 0 field na auto_clear polarity field bit default description na 7:2 xxxxxx don?t care auto_clear 1 1 0 when an interrupt is triggered, the interrupt pin remains asserted until cleared by an i 2 c read of interrupt register 1 interrupt pin state is updated after each measurement polarity 0 0 0 interrupt pin active low when asserted 1 interrupt pin active high when asserted ps_led_current register (0x0f) the led_current register controls how much current the internal led driver sinks through the ir led during modulated illumination. the current sink range is a baseline 5 ma plus a binary weighted value of the led_current register times 5 ma, for an effective range of 5 ma to 160 ma in steps of 5 ma. the default setting is 50 ma. table 10. ps_led_current register (0x0f) bit 7 6 5 4 3 2 1 0 field na led_current field bit default description na 7:5 xxx don?t care led_current 4:0 01001 defines current sink during led modulation. binary weighted value times 5 ma plus 5 ma. ps_th registers (0x10 ? 0x13) with hysteresis not enabled (see ps_config register), the ps_th registers set the upper and lower interrupt thresholds of the proximity detection window. interrupt functions compare these threshold values to data from the ps_data registers. measured ps_data values outside this window will set an interrupt according to the int_config register settings. with hysteresis enabled, threshold settings take on a different meaning. if ps_hyst_trig is set, the ps_th_up register sets the upper threshold at which an interrupt will be set, while the ps_th_lo register then sets the lower threshold hysteresis value where the interrupt would be cleared. setting the ps_hyst_tr ig low reverses the function such that the ps_th_lo register sets the lower threshold at which an interrupt will be set and the ps_th_up represents the hysteresis value at which the interrupt would be subsequently cleared. hysteresis functions only apply in ?auto_clear? int_config mode. the controller software must ensure the settings for led current, sensitivity range, and in tegration time (led pulses) are appropriate for selected thre sholds. setting thresholds to extremes (default) effectively disables interrupts.
NOA3301 http://onsemi.com 14 table 11. ps_th_up registers (0x10 ? 0x11) bit 7 6 5 4 3 2 1 0 field ps_th_up_msb(0x10), ps_th_up_lsb(0x11) field bit default description ps_th_up_msb 7:0 0xff upper threshold for proximity detection, msb ps_th_up_lsb 7:0 0xff upper threshold for proximity detection, lsb table 12. ps_th_lo registers (0x12 ? 0x13) bit 7 6 5 4 3 2 1 0 field ps_th_lo_msb(0x12), ps_th_lo_lsb(0x13) field bit default description ps_th_lo_msb 7:0 0x00 lower threshold for proximity detection, msb ps_th_lo_lsb 7:0 0x00 lower threshold for proximity detection, lsb ps_filter_config register (0x14) ps_filter_config regist er provides a hardware mechanism to filter out single event occurrences or similar anomalies from causing unwanted interrupts. two 4 bit registers (m and n) can be set with values such that m out of n measurements must exceed threshold settings in order to set an interrupt. the default setting of 1 out of 1 effectively turns the filter off and any single measurement exceeding thresholds can trigger an interrupt. (note a setting of 0 is interpreted the same as a 1). table 13. ps_filter_config register (0x14) bit 7 6 5 4 3 2 1 0 field filter_n filter_m field bit default description filter_n 7:4 000 1 filter n filter_m 3:0 000 1 filter m ps_config register (0x15) proximity measurement sensitivity is controlled by specifying the integration time. the integration time sets the number of led pulses during the modulated illumination. the led modulation frequency remains constant with a period of 1.5 m s. changing the integration time affects the sensitivity of the detector and directly affects the power consumed by the led. the default is 300 m s integration period. hyst_enable and hyst_trigger work with the ps_th (threshold) settings to provide jitter control of the int function. table 14. ps_config register (0x15) bit 7 6 5 4 3 2 1 0 field na hyst_enable hyst_trigger na na integration_time field bit default description na 7:6 xx don?t care hyst_enable 5 0 0 disables hysteresis 1 enables hysteresis hyst_trigger 4 0 0 lower threshold with hysteresis 1 upper threshold with hysteresis na 3:2 x don?t care integration_time 1:0 01 00 150 m s integration time 01 300 m s integration time 10 600 m s integration time 11 1200 m s integration time
NOA3301 http://onsemi.com 15 ps_interval register (0x16) the ps_interval register sets the wait time between consecutive proximity measurements in ps_repeat mode. the register is binary weighted times 5 in milliseconds with the special case that the register value 0x00 specifies 5 ms. the range is therefore 5 ms to 1.28 s. the default startup value is 0x0a (50 ms). table 15. ps_interval register (0x16) bit 7 6 5 4 3 2 1 0 field interval field bit default description interval 7:0 0x0a 0x01 to 0xff interval time between measurement cycles. binary weighted value times 5 ms plus a 5 ms offset. ps_control register (0x17) the ps_control register is used to control the functional mode and commencement of proximity sensor measurements. the proximity sensor can be operated in either a single shot mode or consecutive measurements taken at programmable intervals. both single shot and repeat modes consume a minimum of power by immediately turning off led driver and sensor circuitry after each measurement. in both cases the quiescent current is less than the idd stby parameter. these automatic power management features eliminate the need for power down pins or special power down instructions. table 16. ps_control register (0x17) bit 7 6 5 4 3 2 1 0 field na ps_repeat ps_oneshot field bit default description na 7:2 xxxxxx don?t care ps_repeat 1 0 initiates new measurements at ps_interval rates ps_oneshot 0 0 triggers proximity sensing measurement. in single shot mode this bit clears itself after cycle completion. als_th registers (0x20 ? 0x23) with hysteresis not enabled (see als_config register), the als_th registers set the upper and lower interrupt thresholds of the ambient light detection window. interrupt functions compare these threshold values to data from the als_data registers. measured als_data values outside this window will set an interrupt according to the int_config register settings. with hysteresis enabled, threshold settings take on a different meaning. if the als_hyst_trig is set, the als_th_up register sets the upper threshold at which an interrupt will be set, while the als_th_lo register then sets the lower threshold hysteresis value where the interrupt would be cleared. setting the als_hyst_trig low reverses the function such that the als_th_lo register sets the lower threshold at which an interrupt will be set and the als_th_up represents the hysteresis value at which the interrupt would be subsequently cleared. hysteresis functions only apply in ?auto_clear? int_config mode. table 17. als_th_up registers (0x20 ? 0x21) bit 7 6 5 4 3 2 1 0 field als_th_up_msb(0x20), als_th_up_lsb(0x21) field bit default description als_th_up_msb 7:0 0xff upper threshold for als detection, msb als_th_up_lsb 7:0 0xff upper threshold for als detection, lsb
NOA3301 http://onsemi.com 16 table 18. als_th_lo registers (0x22 ? 0x23) bit 7 6 5 4 3 2 1 0 field als_th_lo_msb(0x22), als_th_lo_lsb(0x23) field bit default description als_th_lo_msb 7:0 0x00 lower threshold for als detection, msb als_th_lo_lsb 7:0 0x00 lower threshold for als detection, lsb als_config register (0x25) the als_config register controls the ambient light measurement sensitivity by specifying the integration time. hyst_enable and hyst_trigger work with the als_th (threshold) settings to provide jitter control of the int function. integration times below 50 ms are not recommended for normal operation as 50/60 hz rejection will be impacted. they may be used in testing or if 50/60 hz rejection is not a concern. table 19. als_config register (0x25) bit 7 6 5 4 3 2 1 0 field na hyst_enable hyst_trigger reserved integration_time field bit default description na 7:6 xx don?t care hyst_enable 5 0 0 disables hysteresis 1 enables hysteresis hyst_trigger 4 0 0 lower threshold with hysteresis 1 upper threshold with hysteresis reserved 3 0 must be set to 0 integration_time 2:0 100 000 6.25 ms integration time 001 12.5 ms integration time 010 25 ms integration time 011 50 ms integration time 100 100 ms integration time 101 200 ms integration time 110 400 ms integration time 111 800 ms integration time als_interval register (0x26) the als_interval register sets the interval between consecutive als measurements in als_repeat mode. the register is binary weighted times 50 in milliseconds. the range is 0 ms to 3.15 s. the register value 0x00 and 0 ms translates into a continuous loop measurement mode at any integration time. the default startup value is 0x0a (500 ms). table 20. als_interval register (0x26) bit 7 6 5 4 3 2 1 0 field na interval field bit default description interval 5:0 0x0a interval time between als measurement cycles als_control register (0x27) the als_control register is used to control the functional mode and commencement of ambient light sensor measurements. the ambient light sensor can be operated in either a single shot mode or consecutive measurements taken at pr ogrammable intervals. both single shot and repeat modes consume a minimum of power by immediately turning off sensor circuitry after
NOA3301 http://onsemi.com 17 each measurement. in both cases the quiescent current is less than the idd stby parameter. these automatic power management features eliminate the need for power down pins or special power down instructions. for accurate measurements at low light levels (below approximately 3 lux) als readings must be taken at least once per second and the first measurement after a reset (software reset or power cycling) should be ignored. table 21. als_control register (0x27) bit 7 6 5 4 3 2 1 0 field na als_repeat als_oneshot field bit default description na 7:2 xxxxxx don?t care als_repeat 1 0 initiates new measurements at als_interval rates als_oneshot 0 0 triggers als sensing measurement. in single shot mode this bit clears itself after cycle completion. interrupt register (0x40) the interrupt register displays the status of the interrupt pin and if an interrupt was caused by the proximity or ambient light sensor. if ?auto_clear? is disabled (see int_config regi ster), reading this register also will clear the interrupt. table 22. interrupt register (0x40) bit 7 6 5 4 3 2 1 0 field na int als_inth als_intl ps_inth ps_intl field bit default description na 7:5 xxx don?t care int 4 0 status of external interrupt pin (1 is asserted) als_inth 3 0 interrupt caused by als exceeding maximum als_intl 2 0 interrupt caused by als falling below the minimum ps_inth 1 0 interrupt caused by ps exceeding maximum ps_intl 0 0 interrupt caused by ps falling below the minimum ps_data registers (0x41 ? 0x42) the ps_data registers store results from completed proximity measurements. when an i 2 c read operation begins, the current ps_data registers are locked until the operation is complete (i2c_stop received) to prevent possible data corruption from a concurrent measurement cycle. table 23. ps_data registers (0x41 ? 0x42) bit 7 6 5 4 3 2 1 0 field ps_data_msb(0x41), ps_data_lsb(0x42) field bit default description ps_data_msb 7:0 0x00 proximity measurement data, msb ps_data_lsb 7:0 0x00 proximity measurement data, lsb
NOA3301 http://onsemi.com 18 als_data registers (0x43 ? 0x44) the als_data registers store results from completed als measurements. when an i 2 c read operation begins, the current als_data registers are locked until the operation is complete (i2c_stop received) to prevent possible data corruption from a concurrent measurement cycle. table 24. als_data registers (0x43 ? 0x44) bit 7 6 5 4 3 2 1 0 field als_data_msb(0x43), als_data_lsb(0x44) field bit default description als_data_msb 7:0 0x00 als measurement data, msb als_data_lsb 7:0 0x00 als measurement data, lsb
NOA3301 http://onsemi.com 19 proximity sensor operation noa3313 operation is divided into three phases: power up, configuration and operation. on power up the device initiates a reset which initializes the configuration registers to their default values and puts the device in the standby state. at any time, the host system may initiate a software reset by writing 0x01 to register 0x01. a software reset performs the same function as a power-on-reset. the configuration phase may be skipped if the default register values are acceptable, but typically it is desirable to change some or all of the configuration register values. configuration is accomplis hed by writing the desired configuration values to registers 0x02 through 0x17. writing to configuration registers can be done with either individual i 2 c byte-write commands or with one or more i 2 c block write commands. block write commands specify the first register address and then write multiple bytes of data in sequence. the noa3313 automatically increments the register address as it acknowledges each byte transfer. proximity sensor measurement is initiated by writing appropriate values to the control register (0x17). sending an i2c_stop sequence at the end of the write signals the internal state machines to wake up and begin the next measurement cycle. figures 23 and 24 illustrate the activity of key signals during a proximity sensor measurement cycle. the cycle begins by starting the precision oscillator and powering up and calibrating the proximity sensor receiver. next, the ir led current is modulated according to the led current setting at the chosen led frequency and the values during both the on and off times of the led are stored (illuminated and ambient values). finally, the proximity reading is calculated by subtracting the ambient value from the illuminated value and storing the result in the 16 bit ps_data register. in one-shot mode, the ps receiver is then powered down and the oscillator is stopped (unless there is an active als measurement). if repeat mode is set, the ps receiver is powered down for the specified interval and the process is repeated. with default configuration values (receiver integration time = 300 m s), the total measurement cycle will be less than 2 ms. figure 23. proximity sensor one- shot timing 9 m s i2c stop ps power 4mhz osc on led burst integration data available 50- 200 m s ~600 m s 8clks12 m s integration time 0- 100 m s 100- 150 m s figure 24. proximity sensor repeat timing interval (repeat) 9 m s i2c stop ps power 4mhz osc on led burst integration data available 50- 200 m s ~600 m s 8clks12 m s integration time 0- 100 m s 100- 150 m s
NOA3301 http://onsemi.com 20 ambient light sensor operation the als configuration is accomplished by writing the desired configuration values to registers 0x02 and 0x20 through 0x27. writing to configuration registers can be done with either individual i 2 c byte- write commands or with one or more i 2 c block write commands. block write commands specify the first register address and then write multiple bytes of data in sequence. the NOA3301 automatically increments the register address as it acknowledges each byte transfer. als measurement is initiat ed by writing appropriate values to the control register (0x27). sending an i2c_stop sequence at the end of the write signals the internal state machines to wake up and begin the next measurement cycle. figures 25 and 26 illustrate the activity of key signals during an ambient light sensor measurement cycle. the cycle begins by star ting the precision oscillator and powering up the ambient light sensor. next, the ambient light measurement is made for the specified integration time and the result is stored in the 16 bit als data register. if in one- shot mode, the als is powered down and awaits the next command. if in repeat mode the als is powered down, the interval is timed out and the operation repeated. there are some special cases if the interval timer is set to less than the integration time. for continuous mode, the interval is set to 0 and the als makes continuous measurements with only a5 m s delay between integratio n times and the als remains powered up. if the interval is set equal to or less than the integration time (but not to 0), there is a 10 ms time between integrations and the als remains powered up. i2c stop als power 4mhz osc on integration data available 10ms integration time 5 m s figure 25. als one- shot timing 50- 100 m s 100- 150 m s 150- 200 m s interval (repeat) i2c stop als power 4mhz osc on integration data available 0- 25ms 10ms integration time 5 m s figure 26. als repeat timing 50- 100 m s 100- 150 m s note: if interval is set to 0 (continuous) the time between integrations is 5 m s and power stays on. if interval is set to ? to the integration time (but not 0) the time between integrations is 10 ms and power stays on. if interval is set to > integration time the time between integrations is the interval and the als powers down.
NOA3301 http://onsemi.com 21 example programming sequence the following pseudo code configures the NOA3301 proximi ty sensor in repeat mode with 50 ms wait time between each measurement and then runs it in an interrupt driven mode. when the controller receiv es an interrupt, the interrupt determines if the interrupts was caused by the proximity sensor and if so, reads the ps_data from the device, sets a flag and then waits for the main polling loop to respond to the proximity change. external subroutine i2c_read_byte (i2c_address, data_address); external subroutine i2c_read_block (i2c_address, data_start_address, count, memory_map); external subroutine i2c_write_byte (i2c_address, data_address, data); external subroutine i2c_write_block (i2c_address, data_start_address, count, memory_map); subroutine initialize_ps () { membuf[0x02] = 0x02; // int_config assert interrupt until cleared membuf[0x0f] = 0x09; // ps_led_current 50ma membuf[0x10] = 0x8f; // ps_th_up_msb membuf[0x11] = 0xff; // ps_th_up_lsb membuf[0x12] = 0x70; // ps_th_lo_msb membuf[0x13] = 0x00; // ps_th_lo_lsb membuf[0x14] = 0x11; // ps_filter_config turn off filtering membuf[0x15] = 0x01; // ps_config 300us integration time membuf[0x16] = 0x0a; // ps_interval 50ms wait membuf[0x17] = 0x02; // ps_control enable continuous ps measurements membuf[0x20] = 0xff; // als_th_up_msb membuf[0x21] = 0xff; // als_th_up_lsb membuf[0x22] = 0x00; // als_th_lo_msb membuf[0x23] = 0x00; // als_th_lo_lsb membuf[0x25] = 0x04; // als_config 100ms integration time membuf[0x26] = 0x00; // als_interval continuous measurement mode membuf[0x27] = 0x02; // als_control enable continuous als measurements i2c_write_block (i2caddr, 0x02, 37, membuf); } subroutine i2c_interupt_handler () { // verify this is a ps interrupt int = i2c_read_byte (i2caddr, 0x40); if (int == 0x11 || int == 0x12) { // retrieve and store the ps data ps_data_msb = i2c_read_byte (i2caddr, 0x41); ps_data_lsb = i2c_read_byte (i2caddr, 0x42); newps = 0x01; } } subroutine main_loop () { i2caddr = 0x37; newps = 0x00; initialize_ps (); loop { // do some other polling operations if (newps == 0x01) { newps = 0x00; // do some operations with ps_data } } }
NOA3301 http://onsemi.com 22 physical location of photodiode sensors the physical locations of the NOA3301 proximity sensor and a mbient light sensor photodiodes are shown in figure 27. 1.06 mm 0.88 mm 1.1 mm ps als pin 1 0.10 mm 0.10 mm figure 27. photodiode locations x 0.15 mm 0.15 mm x
NOA3301 http://onsemi.com 23 package dimensions notes: 1. dimensioning and tolerancing per asme y14.5m, 1994. 2. controlling dimension: millimeters. 3. dimension b applies to plated terminal and is measured between 0.10 and 0.20mm from the terminal tip. 4. coplanarity applies to the exposed pad as well as the terminals. d e 2x 0.10 c cudfn8, 2x2, 0.5p case 505af- 01 issue o dim max millimeters pin one reference 0.08 c 0.10 c a 0.10 c note 3 l e d2 e2 b b 4 8 8x 1 5 8x 0.05 c bottom view mounting footprint* dimensions: millimeters *for additional information on our pb- free strategy and soldering details, please download the on semiconductor soldering and mounting techniques reference manual, solderrm/d. a b top view side view note 4 a a1 b e2 d e e l a3 min 0.55 0.00 0.15 0.80 0.25 0.65 0.05 0.25 1.00 0.35 0.20 ref 2.00 bsc 2.00 bsc 0.50 bsc 8x 0.52 0.50 pitch 1.70 2.30 8x 0.27 1.00 1 d2 1.50 1.70 m --- 10 ? e/2 0.10 c 2x a recommended k 0.20 - - - d1 1.80 bsc end view seating plane a3 c detail a a1 m detail a d1 k on semiconductor and are registered trademarks of semiconductor components industries, llc (scillc). scillc owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. a listing of scillc?s product/patent coverage may be accessed at www.onsemi.com/site /pdf/patent- marking.pdf. scillc reserves the right to make changes without further notice to any products her ein. scillc makes no warranty, representation or guarantee regarding th e suitability of its products for any particular purpose, nor does scillc assume any liability arising out of the application or use of any product or circuit, and specifically disclaims a ny and all liability, including without limitation special, consequential or incidental damages. ?typical? parameters which may be provided in scillc data sheets and/or specifications c an and do vary in different applications and actual performance may vary over time. all operating parameters, includ ing ?typicals? must be validated for e ach customer application by custom er?s technical experts. scillc does not convey any license under its patent rights nor the rights of others. scillc products are not designed, intended, or authorized for use as compo nents in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the scil lc product could create a situation where personal injury or death may occur. should buyer purchase or use scillc products for any such unintended or unauthorized application, buyer shall ind emnify and hold scillc and its officers, employees, subsidiaries, affiliates, and distributors ha rmless against all claims, costs, dam ages, and expenses, and reasonable at torney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or una uthorized use, even if such claim alleges that scillc was negligent regard ing the design or manufacture of the part. scillc is an equal opportunity/affirmative action employer. t his literature is subject to all applicable copyright laws and is not for re sale in any manner. publication ordering information n. american technical support : 800- 282- 9855 toll free usa/canada europe, middle east and africa technical support: phone: 421 33 790 2910 japan customer focus center phone: 81- 3- 5817- 1050 NOA3301/d literature fulfillment : literature distribution center for on semiconductor p.o. box 5163, denver, colorado 80217 usa phone : 303- 675- 2175 or 800- 344- 3860 toll free usa/canada fax : 303- 675- 2176 or 800- 344- 3867 toll free usa/canada email : orderlit@onsemi.com on semiconductor website : www.onsemi.com order literature : http://www.onsemi.com/orderlit for additional information, please contact your local sales representative


▲Up To Search▲   

 
Price & Availability of NOA3301

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X