DATASHEET SEARCH SITE | WWW.ALLDATASHEET.COM

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 59

Technical content

ams Datasheet, Confidential Page 1 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA Digital ALS and Proximity Module The TMD2772/TMD2772WA family of devices provides digital ambient light sensing (ALS), a complete proximity detection system, and digital interface logic in a single 8-pin surface mount module. The devices are register-set and pin-compatible with the TMD2771 family of devices and include new and improved ALS and proximity detection features and are available with 25° and 50° fields of view. The ALS enhancements include a reduced-gain mode that extends the operating range in sunlight. Proximity dete ction includes improved signal-to-noise performance and more accurate factory calibration. A proximity offset register allows compensation for optical system crosstalk between the IR LED and the sensor. To prevent false proximity data measurement readings, a proximity saturation indicator bit signals that the internal analog circuitry has reached saturation. The TMD2772/TMD2772WA ALS is based on the ams patented dual-diode technology that enables accurate results and approximates human eye response to light intensity under a variety of lighting conditions. The proximity detection system includes an LED driver and an IR LED, which are factory trimmed to eliminate the need for end-equipment calibration due to component variations. Ordering Information and Content Guide appear at end of datasheet. Key Benefits & Features The benefits and features of TMD2772/TMD2772WA, Digital ALS and Proximity Module are listed below: Figure 1: Added Value of Using TMD2772/TMD2772WA Benefits Features Minimizes board space requirements Ambient Light Sensing, Proximity Detection, and IR LED in a Single Module Approximates Human Eye Response over a wide variety of lighting conditions. Achieves accurate sensing behind spectrally dark glass. Ambient Light Sensing (ALS)

  • Wide variety of programmable features which enable 8,000,000:1 Dynamic Range with very High Sensitivity General Description

Page 2 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − General Description Note(s) and/or Footnote(s): 1. New or Improved feature.

Applications

The TMD2772 applic ations include:

  • D i s p l a y B a c k l i g h t C o n t r o l
  • Cell Phone Touch Screen Disable
  • Mechanical Switch Replacement
  • Industrial Process Control
  • Medical Diagnostics
  • Printer Paper Alignment
  • Eliminates need for customer end-product calibration.
  • Reduces the proximity noise
  • Control of system crosstalk and offset
  • Prevents false proximity detection in bright light
  • Selectable IR power-level without external resistor
  • Enables wide operating range Proximity Detection
  • Calibrated and trimmed to provide consistent reading
  • Reduced Proximity Count Variation (1)
  • Programmable Offset (1)
  • S a t u r a t i o n I n d i c a t o r b i t (1)
  • Programmable Driver for IR LED
  • 16,000:1 Dynamic Range Reduces external processor burden Ma skable ALS and Proximity Interrupt
  • Programmable Upper and Lower Thresholds with Persistence Filter Enables dynamic power dissipation control Power Management
  • Programmable average power consumption
  • Programmable Wait Time from 2.7 ms to > 8 seconds Industry standard two-wire interface I²C Fast Mode Compatible Interface
  • Data Rates up to 400 kbit/s
  • Input Voltage Levels Compatible with V DD or 1.8V Bus Small foot-print module 3.94 mm x 2.36 mm x 1.35 mm Package Optimize ambient light sensing angle Available with standard 25° (TMD2772) and wide 50° (TMD2772WA) Benefits Features

Page 4 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Pin Assignment This is a Package Module - 8 pin diagram. Package drawing is not to scale. Figure 4: Pin Diagram (Top View) Figure 5: Pin Description Pin Number Pin Name Pin Type Description 1 VDD Power Supply voltage. 2S C L I n p u t I²C serial clock input terminal — clock signal for I²C serial data. 3 G N D P o w e r Power supply ground. All voltages are referenced to GND. 4 LEDA LED anode. 5L E D K LED cathode. Connect to LDR pin when using internal LED driver circuit. 6L D R LED driver input for proximity IR LED, constant current source LED driver. 7 INT Output Interrupt — open drain (active low). 8 SDA Input / Output I²C serial data I/O terminal — serial data I/O for I²C. Pin Assignment TMD2772 TMD2772WA

8 S D A

7 I N T

6 L D R

5 L E D K

ams Datasheet, Confidential Page 5 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Absolute Maximum Ratings Stresses beyond those listed under “Absolute Maximum Rating” may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated under “Operating Conditions” is not implied. Ex posure to absolute maximum rating conditions for extended periods may affect device reliability. Figure 6: Absolute Maximum Ratings Note(s) and/or Footnote(s): 1. All voltages are with respect to GND. 2. Maximum voltage with LDR = off. 5.5V spikes with up to 10s (=1000* 10ms) cumulative duration over 7 years lifetime. Symbol Parameter Min Max Unit VDD (1) Supply Voltage 3.8 V VLDR (2) Voltage on LDR signal with LDR = off.

  • T A between 0-70° C
  • T A outside of 0-70° C 4.8 4.4 V VLEDA (3) LED supply voltage on LEDA input
  • T A between 0-70° C
  • T A outside of 0-70° C 4.8 4.4 V Digital I/O Voltage except LDR -0.5 3.8 Output terminal current except LDR -1 20 mA Tstg Storage temperature range -40 85 °C ESD tolerance, Human Body Model 2000 V Absolute Maximum Ratings

ams Datasheet, Confidential Page 7 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Electrical Characteristics Figure 9: ADC Characteristics, V DD = 3V, TA = 25°C, AGAIN = 16x, AEN = 1 (unless otherwise noted) Parameter Test Conditions Channel Min Typ Max Unit Dark ADC count value Ee = 0, AGAIN = 120×, ATIME = 0xDB (100ms) CH0 0 1 5 counts CH1 0 1 5 ADC Integration time step size ATIME = 0xFF 2.58 2.73 2.9 ms ADC number of integration steps 1 256 steps ADC counts per step ATIME = 0xFF 0 1023 counts ADC count value ATIME = 0xC0 0 65535 counts

Page 8 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Electrical Characteristics Figure 10: ALS Characteristics, V DD = 3V, TA = 25°C, AGAIN = 16x, AEN = 1 (unless otherwise noted) Note(s) and/or Footnote(s): 1. Optical measurements are made using small-angle incident radi ation from light-emitting diode optical sources. Red 625 nm and infrared 850 nm LEDs are used for final product te sting for compatibility with high-volume production. 2. The 625 nm irradiance E e is supplied by an AlInGaP light-emitting diode with the following typical characte ristics: peak wavelength λp = 625 nm and spectral halfwidth Δ λ½ = 20 nm. 3. The 850 nm irradiance E e is supplied by a GaAs light-emitting diode with th e following typical characteristics: peak wavelength λp = 850 nm and spectral halfwidth Δ λ½ = 42 nm. 4. Unless otherwise specified, measuremen ts are taken with ATIME= 0xF6 (27 ms). Parameter Test Conditions (1), (2), (3), (4) Channel Min Typ Max Unit ADC count value TMD2772 (25°) λp = 625 nm, Ee = 46.8 μW/cm2 CH0 4000 5000 6000 counts CH1 950 λp = 850 nm, Ee = 61.7 μW/cm2 CH0 4000 5000 6000 counts CH1 2900 ADC count value TMD2772WA (50°) λp = 625 nm, Ee = 129.5 μW/cm2 CH0 4000 5000 6000 counts CH1 950 λp = 850 nm, Ee = 181.2 μW/cm2 CH0 4000 5000 6000 counts CH1 2900 ADC count value ratio: CH1/CH0 λp = 625 nm 0.152 0.19 0.228 λp = 850 nm 0.43 0.58 0.73 Re Irradiance responsivity TMD2772 (25°) λ p = 625 nm CH0 107.2 counts /(μW/ cm2) CH1 20.4 λp = 850 nm CH0 81.5 CH1 47.3 Re Irradiance responsivity TMD2772WA (50°) λ p = 625 nm CH0 38.6 counts /(μW/ cm2) CH1 7.3 λp = 850 nm CH0 27.6 CH1 16.0 Gain scaling, relative to 1× gain setting AGAIN = 1× and AGL = 1 0.16 x AGAIN = 8× and AGL = 0 7.2 8.0 8.8 AGAIN = 16× and AGL = 0 14.4 16.0 17.6 AGAIN = 120× and AGL = 0 108 120 132

ams Datasheet, Confidential Page 9 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Electrical Characteristics Figure 11: Proximity Characteristics, V DD = LEDA = 3V, T A = 25°C, P EN = 1 (unless otherwise noted) Note(s) and/or Footnote(s): 1. Value is factory-adjusted to meet the Prox count specificat ion. Considerable variation (relative to the typical value) is po ssible after adjustment. 2. These parameters are ensured by design and characterization and are not 100% tested. 3. Proximity offset varies with power supply characteristics and noise. 4. ILEDA is factory calibrated to achieve th is specification. Offset and crosstalk dire ctly sum with this value and is system d ependent. 5. No glass or aperture above the module. Tested value is the average of 5 consecutive readings. 6. Proximity test was done using the circuit shown in Figure 12 . See Section , “PCB Pad Layout, ” on page 46 for recommended application circuit. Parameter Test Conditions Min Typ Max Units IDD Supply current LED On 3 mA ILEDA LEDA current (1) LED On, PDRIVE = 0 100 mA LED On, PDRIVE = 1 50 LED On, PDRIVE = 2 25 LED On, PDRIVE = 3 12.5 PTIME ADC conversion steps 1 256 steps PTIME ADC conversion time PTIME = 0xFF (= 1 conversion step) 2.58 2.73 2.9 ms PTIME ADC counts per step PTIME = 0xFF (= 1 conversion step) 0 1023 counts PPULSE LED pulses (2) 0 255 pulses LED On LED pulse width PPULSE = 1, PDRIVE = 0 7.3 μs LED pulse period PPULSE = 2, PDRIVE = 0 16.0 μs Proximity response, no target (offset) PPULSE = 8, PDRIVE = 0, PGAIN = 4×, (3) 100 counts Prox count, 100mm target, TMD2772 devices (4) 73 mm × 83 mm, 90% reflective Kodak Gray Card, PGAIN = 4×, PPULSE = 8, PDRIVE = 0, PTIME = 0xFF (5) 450 520 590 counts Prox count, 100mm target, TMD2772WA devices (4) 73 mm × 83 mm, 90% reflective Kodak Gray Card, PGAIN = 4×, PPULSE = 8, PDRIVE = 0, PTIME = 0xFF (5) 235 275 315 counts

ams Datasheet, Confidential Page 13 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Typical Operating Characteristics Figure 19: Normalized Responsivity vs. Angular Displacement for non-WA and WA Devices Both axes for TMD2772WA Both axes for TMD2772

ams Datasheet, Confidential Page 15 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Detailed Description The light-to-digital device provides on-chip photodiodes, integrating amplifiers, ADCs, accumulators, clocks, buffers, comparators, a state machine, and an I²C interface. Each device combines one photodiode (CH0), which is responsive to both visible and infrared light, and a second photodiode (CH1), which is responsive primarily to infrared light. Two integrating ADCs simultaneously convert the amplified photodiode currents to a digital value provid ing up to 16-bits of resolution. Upon completion of the conversion cycle, the conversion result is transferred to the Ch0 and Ch1 data registers. This digital output can be read by a microprocessor where the luminance (ambient light level in lux) is derived using an empirical formula to approximate the human eye response. Figure 22: Detailed Block Diagram of TMD2772/TMD2772WA A fully integrated proximity detect ion solution is provided with an 850-nm IR LED, LED driver circuit, and proximity detection engine. An internal LED driver pin (LDR) is externally connected to the LED cathode (LEDK) to provide a controlled LED sink current. This is accomplished with a proprietary current calibration technique that accounts for all variances in silicon, optics, package, and most important, IR LED output power. This eliminates or greatly reduces the need for factory calibration that is required for most discrete proximity sensor solutions. The device is factory calibrated to achieve a proximity count Detailed Description Wait Control Interrupt I²C InterfaceLower Limit Upper Limit Lower Limit Upper Limit INT SCL SDA LEDA LEDK TMD2772 Channel 0 Channel 1 LDR VDD CH0 ADC CH1 ADC CH0 Data CH1 Data ALC Control Prox DataProx ADCProx Integration Prox Control IR LED Constant Current Sink GND

Page 16 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Detailed Description reading at a specified distance wi th a specific number of pulses. In use, the number of proximity LED pulses can be programmed from 1 to 255 pulses, which allows different proximity distances to be achieved. Each pulse has a 16 μs period with a 7.2 μs on time. Communication with the device is accomplished through a fast (up to 400 kHz), two-wire I²C serial bus for easy connection to a microcontroller or embedded controller. The digital output of the device is inherently more immune to noise when compared to an analog photodiode interface. The device provides a separate pin for level-style interrupts. When interrupts are enabled and a pre-set value is exceeded, the interrupt pin is asserted an d remains asserted until cleared by the controlling firmware. The interrupt feature simplifies and improves system efficiency by eliminating the need to poll a sensor for a light intensity or proximity value. An interrupt is generated when the value of an ALS or proximity conversion exceeds either an upper or lower threshold. In addition, a programmable interrupt persistence feature allows the user to determine how many consecutive exceeded thresholds are necessary to trigger an interrupt. Interrupt thresholds and persistence settings are configur ed independently for both ALS and proximity.

ams Datasheet, Confidential Page 17 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Principles of Operation System State Machine An internal state machine provides system control of the ALS, proximity detection, and power management features of the device. At power up, an internal power-on-reset initializes the device and puts it in a low-power Sleep state. When a start condition is detected on the I²C bus, the device transitions to the Idle state where it checks the Enable register (0x00) PON bit. If PON is disabled, the device will return to the Sleep state to save power. Otherwise, the devic e will remain in the Idle state until a proximity or ALS function is enabled. Once enabled, the device will execute the Prox, Wait, and ALS states in sequence as indicated in Figure 23 . Upon completion and return to Idle, the device will automatically begin a new prox−wait−ALS cycle as long as PON and either PEN or AEN remain enabled. If the Prox or ALS function ge nerates an interrupt and the Sleep-After-Interrupt (SAI) feature is enabled, the device will transition to the Sleep state and remain in a low-power mode until an I²C command is received. See Section , “Interrupts, ” on page 22 for additional information. Figure 23: Simplified State Diagram Principles of Operation

Page 18 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Principles of Operation Photodiodes Conventional ALS detectors respond strongly to infrared light, which the human eye does not see. This can lead to significant error when the infrared content of the ambient light is high (such as with incandescent lighting). This problem is overcome through the use of two photodiodes. The Channel 0 photodiode, referred to as the CH0 channel, is sensitive to both visible and infrared light, while the Channel 1 photodiode, referred to as CH1, is sensitive primarily to infrared light. Two integrating ADCs conv ert the photodiode currents to digital outputs. The ADC digital outputs from the two channels are used in a formula to obtain a value that approximates the human eye response in units of lux. ALS Operation The ALS engine contains ALS gain control (AGAIN) and two integrating analog-to-digital converters (ADC), one for the CH0 and one for the CH1 photodiode s. The ALS integration time (ATIME) impacts both the resolution and the sensitivity of the ALS reading. Integration of both channels occurs simultaneously and upon completion of the conversion cycle, the results are transferred to the data registers (C0DATA and C1DATA). This data is also referred to as channel count. The transfers are double-buffered to ensure data integrity. Figure 24: ALS Operation

ams Datasheet, Confidential Page 19 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Principles of Operation The registers for programming the integration and wait times are a 2’s compliment values. The actual time can be calculated as follows: ATIME = 256 − Integration Time / 2.73 ms Inversely, the time can be calculated from the register value as follows: Integration Time = 2.73 ms × (256 − ATIME) In order to reject 50/60 Hz ripple strongly present in fluorescent lighting, the integration time needs to be programmed in multiples of 10 / 8.3 ms or the half cycle time. Both frequencies can be rejected with a programmed value of 50 ms (ATIME = 0xED) or multiples of 50 ms (i.e. 100, 150, 200, 400, 600). The registers for programming the AGAIN hold a two-bit value representing a gain of 1×, 8×, 16×, or 120×. The gain, in terms of amount of gain, will be represented by the value AGAINx, i.e. AGAINx = 1, 8, 16, or 120. With the AGL bit set, the gains will be lowered to 1/6, 8/6, 16/6, and 20×, allowing for up to 60k lux. Lux Equation The lux calculation is a function of CH0 channel count (C0DATA), CH1 channel count (C1DATA), ALS gain (AGAINx), and ALS integration time in milliseconds (ATIME_ms). If an aperture, glass/plastic, or a light pipe attenuates the light equally across the spectrum (300 nm to 1100 nm), then a scaling factor referred to as glass attenuation (GA) can be used to compensate for attenuation. For a device in open air with no aperture or glass/plastic above the device, GA = 1. If it is not spectrally flat, then a custom lux equation with new coefficients should be generated. (See ams application note). Counts per Lux (CPL) needs to be calculated only when ATIME or AGAIN is changed, otherwise it remains a constant. The first segment of the equation (Lux1) covers fluorescent and incandescent light. The second segment (Lux2) covers dimmed incandescent light. The final lux is the maximum of Lux1, Lux2, or 0. Lux formula for TMD2772 : CPL = (ATIME_ms × AGAINx) / 20 Lux1 = (C0DATA – (1.75 × C1DATA)) / CPL Lux2 = ((0.63 × C0DATA) – (1.00 × C1DATA)) / CPL Lux = MAX(Lux1, Lux2, 0) Lux formula for TMD2772WA : CPL = (ATIME_ms × AGAINx) / 1.16 Lux1 = (C0DATA - (1.8422 x C1DATA)) / CPL Lux2 = ((0.4106 x C0DATA) - (0.667 x C1DATA)) / CPL Lux = MAX(Lux1, Lux2, 0)

Page 22 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Principles of Operation controlled by the proximity ADC conversion time (PTIME) which is programmable from 1 to 256 2.73ms time units. However, depending on the application, sc aling the proximity data will equally scale any accumulated noise. Therefore, in general, it is recommended to leave PTIME at the default value of one 2.73ms ADC conversion time (0xFF). In many practical proximity appl ications, a number of optical system and environmental conditions can produce an offset in the proximity measurement result. To counter these effects, a proximity offset (POFFSET) is provided which allows the proximity data to be shifted positive or negative. Additional information on the use of the proximity offset feature is provided in available ams application notes. Once the first proximity cycle has completed, the proximity valid (PVALID) bit in the Status register will be set and remain set until the proximity detection function is disabled (PEN). For additional information on using the proximity detection function behind glass and for optical system design guidance, please see available ams application notes. Interrupts The interrupt feature simplifies and improves system efficiency by eliminating the need to poll the sensor for light intensity or proximity values outside of a user-defined range. While the interrupt function is always enab led and its status is available in the status register (0x13), th e output of the interrupt state can be enabled using the proxim ity interrupt enable (PIEN) or ALS interrupt enable (AIEN) fields in the enable register (0x00). Four 16-bit interrupt threshold registers allow the user to set limits below and above a desired light level and proximity range. An interrupt can be generated when the ALS CH0 data (C0DATA) falls outside of the desired light level range, as determined by the values in the ALS interrupt low threshold registers (AILTx) and ALS interru pt high threshold registers (AIHTx). Likewise, an out-of-ran ge proximity interrupt can be generated when the proximity data (PDATA) falls below the proximity interrupt low threshold (PILTx) or exceeds the proximity interrupt high threshold (PIHTx). It is important to note that the thresholds are evaluated in sequence, first the low threshold, then the high threshold. As a result, if the low threshold is set above the high threshold, the high threshold is ignored and only the low threshold is evaluated. To further control when an interrupt occurs, the device provides a persistence filter. The persiste nce filter allows the user to specify the number of consec utive out-of-range ALS or proximity occurrences before an interrupt is generated. The Interrupt register (0x0C) allows the user to set the ALS persistence filter (APERS) and th e proximity persistence filter (PPERS) values. See the “Interrupt Register (0x0C)” on page 35 for details on the persistence filter values. Once the persistence

ams Datasheet, Confidential Page 23 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Principles of Operation filter generates an interrupt, it will continue until a special function interrupt clear command is received. See “Command Register” on page 30. Figure 27: Programmable Interrupt System State Machine Timing The system state machine shown in Figure 28 provides an overview of the states and state transitions that provide system control of the device. This section highlights the programmable features, which affect the state machine cycle time, and provides details to determine system level timing. When the proximity detection feature is enabled (PEN), the state machine transitions through the Prox Init, Prox Accum, Prox Wait, and Prox ADC states. The Prox Init and Prox Wait times are a fixed 2.73 ms, whereas the Prox Accum time is determined by the number of proximity LED pulses (PPULSE) and the Prox ADC time is determined by the integration time (PTIME). The formulas to determine the Prox Accum and Prox ADC times are given in the associated boxes in Figure 28 . If an interrupt is generated as a result of the proximity cycle, it will be asserted at the end of the Prox ADC state and transition to the Sleep state if SAI is enabled. When the power management feature is enabled (WEN), the state machine will transition in turn to the Wait state. The wait time is determined by WLONG, which extends normal operation by 12× when asserted, and WTIME. The formula to determine

Page 24 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Principles of Operation the wait time is given in the bo x associated with the Wait state in Figure 28 . When the ALS feature is enabled (AEN), the state machine will transition through the ALS Init and ALS ADC states. The ALS Init state takes 2.73 ms, while the ALS ADC time is dependent on the integration time (ATIME). Th e formula to determine ALS ADC time is given in the associated box in Figure 28 . If an interrupt is generated as a result of the ALS cycle, it will be asserted at the end of the ALS ADC state and transition to the Sleep state if SAI is enabled. Figure 28: Detailed State Machine

ams Datasheet, Confidential Page 25 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Principles of Operation Power Management Power consumption can be managed with the Wait state, because the Wait state typically consumes only 90μA of I DD current. An example of the power management feature is given below. With the assumptions provided in the example, average IDD is estimated to be 176μA. Figure 29: Power Management Note(s) and/or Footnote(s): 1. Prox Accum − LED On time = 7.3 μs per pulse × 4 pulses = 29.3μs = 0.029 ms 2. Prox Accum − LED Off time = 8.7 μs per pulse × 4 pulses = 34.7μs = 0.035 ms System State Machine State Programmable Parameter Programmed Value Duration Typical Current Prox Init 2.73 ms 0.195 mA Prox Accum PPULSE 0x04 0.064 ms Prox Accum − LED On 0.029 ms (1) 103 mA Prox Accum − LED OFF 0.035 ms (2) 0.195 mA Prox Wait 2.73 ms 0.195 mA Prox ADC PTIME 0xFF 2.73 ms 0.195 mA Wait WTIME 0xEE 49 2 ms 0 090 mA WLONG ALS Init 2.73 ms 0.195 mA ALS ADC ATIME 0xEE 49 2 ms 0.195 mA

ams Datasheet, Confidential Page 27 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Principles of Operation I²C Protocol Interface and control are accomplished through an I²C serial compatible interface (standard or fast mode) to a set of registers that provide access to device cont rol functions and output data. The devices support the 7-bit I²C addressing protocol. The I²C standard provides for three types of bus transaction: read, write, and a combined protocol ( Figure 31 ). During a write operation, the first byte written is a command byte followed by data. In a combined protocol, the first byte written is the command byte followed by reading a series of bytes. If a read command is issued, the register address from the previous command will be used for data access. Likewise, if the MSB of the command is not set, the device will write a series of bytes at the address stored in the last valid command with a register address. The command byte contains either control information or a 5-bit register address. The control commands can also be used to clear interrupts. The I²C bus protocol was developed by Phillips (now NXP). For a complete description of the I²C protocol, please review the NXP I²C design specification at http://www.i2c−bus.org/references/ Figure 31: I²C Protocols A Acknowledge (0) N Not Acknowledged (1) P Stop Condition R Read (1) S Start Condition Master-to-Slave Slave-to-Master Sr Repeated Start Condition W Write (0) … Communication of Protocol I2C Write Protocol 11 1 1 878 A PCommand Code Data ByteSlave Address AA I2C Read Protocol I2C Read Protocol – Combined Format 1188 PData AData 11 1 1 877 A Command Code A A Slave Address Slave Address 11 1 1 87 A PDataSlave Address Data RS W Sr A RS A A S W 1 1

Page 28 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Register Description The device is controlled and monitored by data registers and a command register accessed throug h the serial interface. These registers provide for a variety of control functions and can be read to determine results of the ADC conversions. The register set is summarized in Figure 32 . Figure 32: Register Map Address Register Name R/W Register Function Reset Value --- COMMAND W Specifies register address 0x00 0x00 ENABLE R/W Enables states and interrupts 0x00 0x01 ATIME R/W Integration time 0xFF 0x02 PTIME R/W Proximity ADC time 0xFF 0x03 WTIME R/W Wait time 0xFF 0x04 AILTL R/W ALS interrupt low threshold low byte 0x00 0x05 AILTH R/W ALS interrupt lo w threshold high byte 0x00 0x06 AIHTL R/W ALS interrupt high threshold low byte 0x00 0x07 AIHTH R/W ALS interrupt high threshold high byte 0x00 0x08 PILTL R/W Proximity interrupt low threshold low byte 0x00 0x09 PILTH R/W Proximity interrupt low threshold high byte 0x00 0x0A PIHTL R/W Proximity interrupt high threshold low byte 0x00 0x0B PIHTH R/W Proximity interrupt high threshold high byte 0x00 0x0C PERS R/W Interrupt persistence filters 0x00 0x0D CONFIG R/W Configuration 0x00 0x0E PPULSE R/W Proximity pulse count 0x00 0x0F CONTROL R/W Control register 0x00 0x11 REVISION R Die revision number Rev Num 0x12 ID R Device ID 0x39 Register Description

ams Datasheet, Confidential Page 29 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Register Description The mechanics of accessing a spec ific register depends on the specific protocol used. See “I²C Protocol” on page 27. In general, the COMMAND register is written first to specify the specific control/status register for following read/write operations. 0x13 STATUS R Device status 0x00 0x14 C0DATA R Ch0 ADC low data register 0x00 0x15 C0DATAH R Ch0 ADC high data register 0x00 0x16 C1DATA R Ch1 ADC low data register 0x00 0x17 C1DATAH R Ch1 ADC high data register 0x00 0x18 PDATAL R Proximity ADC low data register 0x00 0x19 PDATAH R Proximity ADC high data register 0x00 0x1E POFFSET R/W Proximity offset register 0x00 Address Register Name R/W Register Function Reset Value

Page 30 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Register Description Command Register The Command Register specifies the address of the target register for future write and read operations. The command register defaults to 0x00 at power-on. Figure 33: Command Register 76 5 43 2 1 0 COMMAND TYPE ADD Field Bits Description (Reset value = 0x00) COMMAND 7 Select Command Register. Must write as 1 when addressing COMMAND register. TYPE 6:5 Selects type of transaction to follow in subsequent data transfers: Field Value Description

00 Repeated byte protocol transaction

01 Auto-increment protocol transaction

10 Reserved — Do not use

11 Special function – See description below

Transaction type 00 will repeatedly read the same register with each data access. Transaction type 01 will provide an auto-increment function to read successive register bytes. ADD 4:0 Address field/special function field. Depending on the transaction type, see above, this field either specifies a special function command or selects the specific control-status-register for following write and read transactions. The field values listed below apply only to special function commands: Field Value Description

00000 Normal — no action

00101 Proximity interrupt clear

00110 ALS interrupt clear

00111 Proximity and ALS interrupt clear

other Reserved — Do not write ALS/Proximity Interrupt Clear clears any pending ALS/Proximity interrupt. This special function is self clearing.

ams Datasheet, Confidential Page 31 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Register Description Enable Register (0x00) The Enable Register is used to power the device on/off, enable functions, and interrupts. Figure 34: Enable Register 765 4 3 2 10 Reserved SAI PIEN AIEN WEN PEN AEN PON Field Bits Description (Reset value = 0x00) Reserved 7 Reserved. Write as 0. SAI 6 Sleep after interrupt. When asserted, the device will power down at the end of a proximity or ALS cycle if an interrupt has been generated. PIEN 5 Proximity interrupt mask. When asserted, permits proximity interrupts to be generated. AIEN 4 ALS interrupt mask. When asserted, permits ALS interrupt to be generated. WEN 3 Wait Enable. This bit activates the wait feature. Writing a 1 activates the wait timer. Writing a 0 disables the wait timer. PEN 2 Proximity Enable. This bit activates the proximity function. Writing a 1 enables proximity. Writing a 0 disables proximity. AEN 1 ALS Enable. This bit activates the two channel ADC. Writing a 1 activates the ALS. Writing a 0 disables the ALS. PON 0 Power ON. This bit activates the internal oscillator to permit the timers and ADC channels to operate. Writing a 1 activates the oscillator. Writing a 0 disables the oscillator.

Page 32 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Register Description ALS Time Register (0x01) The ALS Time Register controls the internal integration time of the ALS channel ADS’s in 2.73ms increments. Time is expressed as a 2’s complement number. To calculate the value: 1. Determine the number of 2.73ms intervals required 2. Take the 2’s complement For a 1 x 2.73ms interval, 0xFF should be written. For 2 x 2.73ms intervals, 0xFE should be written. The maximum integration time is 699ms (0x00). Figure 35: ALS Time Register 765 4 3 2 10 ATIME Field Bits Description (Reset value = 0xFF) Value Cycles Time Max Count ATIME 7:0 0xFF 1 2.73 ms 1024 0xF6 10 27.3 ms 10240 0xDB 37 101 ms 37888 0xC0 64 175 ms 65535 0x00 256 699 ms 65535

ams Datasheet, Confidential Page 35 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Register Description Interrupt Register (0x0C) The Interrupt Register controls the filtering interrupt capabilities of the device. Configurable filtering is provided to allow interrupts to be generated after each ADC integration cycle or if the ADC integration has produced a result that is outside of the values specified by threshold register for some specified amount of time. Separate filtering is provided for proximity and ALS functions. ALS interrupts are generated by looking only at the C0DATA ADC integration results. Figure 40: Interrupt Register 765 4 3 2 10 PPERS APERS Field Bits Description (Reset value = 0x00) PPERS 7:4 Proximity interrupt persistence filter. Controls rate of proximity interrupt to the host processor. Field Value Meaning Interrupt Persistence

0000 Every Every proximity cycle generates an

0001 1 1 proximity value outside of threshold range 0010 2 2 consecutive proximity values out of range …… … 1111 15 15 consecutive proximity values out of range

Page 36 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Register Description APERS 3:0 ALS Interrupt persistence filter. Controls rate of interrupt to the host processor. Field Value Persistence Interrupt Persistence

0000 Every Every ALS cycle generates an interrupt

0001 1 1 value outside of threshold range 0010 2 2 consecutive values out of range 0011 3 3 consecutive values out of range 0100 5 5 consecutive values out of range 0101 10 10 consecutive values out of range 0110 15 15 consecutive values out of range 0111 20 20 consecutive values out of range 1000 25 25 consecutive values out of range 1001 30 30 consecutive values out of range 1010 35 35 consecutive values out of range 1011 40 40 consecutive values out of range 1100 45 45 consecutive values out of range 1101 50 50 consecutive values out of range 1110 55 55 consecutive values out of range 1111 60 60 consecutive values out of range Field Bits Description (Reset value = 0x00)

Page 38 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Register Description Control Register (0x0F) The Control Register provides eight bits of miscellaneous control to the analog block. These bits typically control functions such as gain setti ngs and/or diode selection. Figure 43: Control Register 765 4 3 2 10 PDRIVE PDIODE PGAIN AGAIN Field Bits Description (Reset value = 0x00) PDRIVE (1) 7:6 Proximity LED Drive Strength. Field Value LED Strength – PDL=0 LED Strength – PDL=1 00 100 % 11.1 % 01 50 % 5.6 % 10 25 % 2.8 % 11 12.5 % 1.4 % PDIODE 5:4 Proximity Diode Selector. Field Value Diode Selection

00 Proximity uses neither diode

01 Proximity uses the CH0 diode

10 Proximity uses the CH1 diode

11 Reserved — Do not write

PGAIN 3:2 Proximity Gain. Field Value Proximity Gain Value 00 1x gain 01 2x gain 10 4x gain 11 8x gain

ams Datasheet, Confidential Page 39 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Register Description Note(s) and/or Footnote(s): 1. LED STRENGTH values are nominal operating values. Specific ations can be found in the Proximity Characteristics table. Revision Register (0x11) The Revision Register shows the silicon revision number. It is a read-only register and shows the revision level of the silicon used internally. Figure 44: Revision Register AGAIN 1:0 ALS Gain Field Value ALS Gain Value 00 1X Gain 01 8X Gain 10 16X Gain 11 120X Gain 765 4 32 1 0 Reserved DIE_REV Field Bits Description (Reset value = Rev Num) RESERVED 7:4 Reserved. DIE_REV 3:0 Die revision number Field Bits Description (Reset value = 0x00)

Page 40 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Register Description ID Register (0x12) The ID Register provides the value for the part number. The ID register is a read-only register whose value never changes. Figure 45: ID Register 765 4 32 1 0 ID Field Bit Description (Reset value = ID) ID 7:0 TMD27721 = 0x30 TMD27723 = 0x39 TMD27725 = 0x30 TMD27727 = 0x39 TMD27721WA = 0x30 TMD27723WA = 0x39

Page 42 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Register Description Proximity Data Registers (0x18 − 0x19) Proximity data is stored as a 16-bit value. To ensure the data is read correctly, a two-byte read I²C transaction should be utilized with auto increment pr otocol bits set in the command register. With this operation, when the lower byte register is read, the upper eight bits are stored into a shadow register, which is read by a subsequent read to the upper byte. The upper register will read the correct value even if the next ADC cycle ends between the reading of the lower and upper registers. Figure 48: Proximity Data Registers Register Address Bits Description (Reset value = 0x00) PDATAL 0x18 7:0 Proximity data low byte PDATAH 0x19 7:0 Proximity data high byte

ams Datasheet, Confidential Page 43 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Register Description Proximity Offset Register (0x1E) The 8-bit proximity offset register provides compensation for proximity offsets caused by devic e variations, optical crosstalk, and other environmental factors. Proximity offset is a sign-magnitude value where the sign bit, bit 7, determines if the offset is negative (bit 7 = 0) or positive (bit 7 = 1). The magnitude of the offset compensation depends on the proximity gain (PGAIN), proximit y LED drive strength (PDRIVE), and the number of proximity pulses (PPULSE). Because a number of environmental factors contribute to proximity offset, this register is best suited for use in an adaptive closed-loop control system. See available ams application notes for proximity offset regist er application information. The default value on power up is factory trimmed to provide a typical proximity offset of 100. Th is is achieved with no glass or reflective object above the sensor, and PPULSE=08, PGAIN=10, PDRIVE=00. If the value is changed during use but power is removed it will return to the default value on power up. Figure 49: Proximity Offset Register 765 4 32 1 0 SIGN MAGNITUDE Field Bits Description (Reset value = trimmed value) SIGN 7 Proximity Offset Sign. The offset sign shifts the proximity data negative when equal to 0 and positive when equal to 1. MAGNITUDE 6:0 Proximity Offset Magnitude. The offset magnitude shifts the proximity data positive or negative, depending on the proximity offset sign. The actual amount of the shift depends on the proximity gain (PGAIN), proximity LED drive strength (PDRIVE), and the number of proximity pulses (PPULSE).

Page 44 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Application Information LED Driver Pin with Proximity Detection In a proximity sensing system, the included IR LED can be pulsed with more than 100 mA of rapidly switching current, therefore, a few design considerations must be kept in mind to get the best performance. The key goal is to reduce the power supply noise coupled back into the device during the LED pulses. Averaging of multiple proximity samples is recommended to reduce the proximity noise. The first recommendation is to use two power supplies; one for the device V DD and the other for the IR LED. In many systems, there is a quiet analog supply and a noisy digital supply. By connecting the quiet supply to the VDD pin and the noisy supply to the LEDA pin, the key goal can be met. Place a 1μF low-ESR decoupling capacitor as close as possible to the V DD pin and another at the LEDA pin, and at least 10μF of bulk capacitance to supply the 100mA current surge. This may be distributed as two 4.7μF capacitors. Figure 50: Proximity Sensing Using Separate Power Supplies If it is not possible to provide two separate power supplies, the device can be operated from a si ngle supply. A 22Ω resistor in series with the V DD supply line and a 1μF low ESR capacitor effectively filter any power supply noise. The previous capacitor placement considerations apply.

Application Information

1µF VBUS RP RP RPI 1µF Voltage Regulator Voltage Regulator TMD2772 Or TMD2772WA VDD GND LDR INT SCL SDA LEDA LEDK

ams Datasheet, Confidential Page 45 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Application Information Figure 51: Proximity Sensing Using Single Power Supply VBUS in the above figures refers to the I²C bus voltage which is either V DD or 1.8V. Be sure to apply the specified I²C bus voltage shown in the Available Options table for the specific device being used. The I²C signals and the Interrupt are open-drain outputs and require pull-up resistors. The pull-up resistor (RP) value is a function of the I²C bus speed, the I²C bus voltage, and the capacitive load. The ams EVM running at 400 kbps, uses 1.5kΩ resistors. A 10kΩ pull-up resist or (RPI) can be used for the interrupt line. 1µF VBUS RP RP RPI 1µF Voltage Regulator Per regulator datasheet TMD2772 Or TMD2772WA VDD GND LDR INT SCL SDA LEDA LEDK

Page 46 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − PCB Pad Layout Suggested PCB pad layout guidelines for the surface mount module are shown below. Flash Gold is recommended surface finish for the landing pads. This footprint is recommended for both the TMD2772 and the TMD2772WA. Figure 52: Suggested Module PCB Layout Note(s) and/or Footnote(s): 1. All linear dimensions are in millimeters. 2. Dimension tolerances are ±0.05mm unless otherwise noted. 3. This drawing is subject to change without notice. PCB Pad Layout

ams Datasheet, Confidential Page 47 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Packaging Mechanical Data Figure 53: TMD2772 Module Dimensions Note(s) and/or Footnote(s): 1. All linear dimensions are in millimeters. 2. Dimension tolerance is ± 0.05 mm unless otherwise noted. 3. Contacts are copper with NiPdAu plating. 4. This package contains no lead (Pb). 5. This drawing is subject to change without notice. Packaging Mechanical Data Green RoHS

Page 48 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Packaging Mechanical Data Figure 54: TMD2772WA Module Dimensions Note(s) and/or Footnote(s): 1. All linear dimensions are in millimeters. 2. Dimension tolerance is ± 0.05 mm unless otherwise noted. 3. Contacts are copper with NiPdAu plating. 4. This package contains no lead (Pb). 5. This drawing is subject to change without notice. Green RoHS

ams Datasheet, Confidential Page 49 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Carrier Tape & Reel Information Figure 55: TMD2772 Module Carrier Tape Note(s) and/or Footnote(s): 1. All linear dimensions are in millimeters. Dime nsion tolerance is ± 0.10mm unless otherwise noted. 2. The dimensions on this drawing are for illustrative purpos es only. Dimensions of an actual carrier may vary slightly. 3. Symbols on drawing A o, Bo, and K o are defined in ANSI EIA Standard 481−B 2001. 4. Each reel is 330 millimeters in diameter and contains 2500 parts. 5. ams packaging tape and reel conform to the requirements of EIA Standard 481−B. 6. In accordance with EIA standard, device pin 1 is located next to the sprocket holes in the tape. 7. This drawing is subject to change without notice. Carrier Tape & Reel Information

Page 50 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Carrier Tape & Reel Information Figure 56: TMD2772WA Module Carrier Tape Note(s) and/or Footnote(s): 1. All linear dimensions are in millimeters. Dime nsion tolerance is ± 0.10mm unless otherwise noted. 2. The dimensions on this drawing are for illustrative purpos es only. Dimensions of an actual carrier may vary slightly. 3. Symbols on drawing A o, Bo, and K o are defined in ANSI EIA Standard 481−B 2001. 4. Each reel is 330 millimeters in diameter and contains 2500 parts. 5. ams packaging tape and reel conform to the requirements of EIA Standard 481−B. 6. In accordance with EIA standard, device pin 1 is located next to the sprocket holes in the tape. 7. This drawing is subject to change without notice.

Page 52 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Storage Information Moisture Sensitivity Optical characteristics of the device can be adversely affected during the soldering process by the release and vaporization of moisture that has been previous ly absorbed into the package. To ensure the package contains the smallest amount of absorbed moisture possible, each device is baked prior to being dry packed for shipping. Devices are dry packed in a sealed aluminized envelope called a moisture-barrier bag with silica gel to protect them from ambient moisture during shipping, handling, and storage before use. Shelf Life The calculated shelf life of the device in an unopened moisture barrier bag is 12 months from the date code on the bag when stored under the following conditions:

  • Shelf Life: 12 months
  • Ambient Temperature: < 40 °C
  • Relative Humidity: < 90% Rebaking of the devices will be required if the devices exceed the 12 month shelf life or the Humidity Indicator Card shows that the devices were exposed to conditions beyond the allowable moisture region. Floor Life The module has been assigned a moisture sensitivity level of MSL 3. As a result, the floor life of devices removed from the moisture barrier bag is 168 hours from the time the bag was opened, provided that the devices are stored under the following conditions:
  • Floor Life: 168 hours
  • Ambient Temperature: ≤ 30°C
  • Relative Humidity: < 60% If the floor life or the temperature/humidity conditions have been exceeded, the devices must be rebaked prior to solder reflow or dry packing. Rebaking Instructions When the shelf life or floor life limits have been exceeded, rebake at 50 °C for 12 hours. Storage Information

ams Datasheet, Confidential Page 53 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Ordering & Contact Information Figure 59: Configuration and Ordering Information Note(s) and/or Footnote(s): 1. Contact factory for availability. Buy our products or get free samples online at: www.ams.com/ICdirect Technical Support is available at: www.ams.com/Technical-Support Provide feedback about this document at: www.ams.com/Document-Feedback For further information and requests, e-mail us at: ams_sales@ams.com For sales offices, distributors and representatives, please visit: www.ams.com/contact Headquarters ams AG Tobelbaderstrasse 30

8141 Unterpremstaetten

Austria, Europe Tel: +43 (0) 3136 500 0 Website: www.ams.com Device Address Angular Response Package − Leads Interface Description Ordering Number TMD27721 0x39 ± 25° Module − 8 I²C V BUS = VDD Interface TMD27721 TMD27723 0x39 ± 25° Module − 8 I²C V BUS = 1.8V Interface TMD27723 TMD27725 (1) 0x29 ± 25° Module − 8 I²C V BUS = VDD Interface TMD27725 TMD27727 (1) 0x29 ± 25° Module − 8 I²C V BUS = 1.8V Interface TMD27727 TMD27721WA (1) 0x39 ± 50° Module − 8 I²C V BUS = VDD Interface TMD27721WA TMD27723WA 0x39 ± 50° Module − 8 I²C V BUS = 1.8V Interface TMD27723WA Ordering & Contact Information

Page 54 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − RoHS Compliant & ams Green Statement RoHS: The term RoHS compliant means that ams AG products fully comply with current RoHS directives. Our semiconductor products do not contain any chemicals for all 6 substance categories, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, RoHS compliant products are suitable for use in specif ied lead-free processes. ams Green (RoHS compliant and no Sb/Br): ams Green defines that in addition to RoHS compliance, our products are free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material). Important Information: The information provided in this statement represents ams AG knowledge and belief as of the date that it is provided. ams AG bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are unde rway to better integrate information from third parties. ams AG has taken and continues to take reasonable steps to prov ide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. ams AG and ams AG suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. RoHS Compliant & ams Green Statement

ams Datasheet, Confidential Page 55 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Copyrights & Disclaimer Copyright ams AG, Tobelbader Strasse 30, 8141 Unterpremstaetten, Austria-Europe. Trademarks Registered. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. Devices sold by ams AG are covered by the warranty and patent indemnification provisions appe aring in its General Terms of Trade. ams AG makes no warranty, express, statutory, implied, or by description regarding th e information set forth herein. ams AG reserves the right to ch ange specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with ams AG for current information. This product is intended for use in commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications , such as military, medical life-support or life-sustaining equipment are specifically not recommended without additional processing by ams AG for each application. This product is provided by ams AG “AS IS” and any express or implied wa rranties, including, but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed. ams AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any th ird party shall arise or flow out of ams AG rendering of technical or other services. Copyrights & Disclaimer

Page 56 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Document Status Document Status Product Status Definition Product Preview Pre-Development Information in this datasheet is based on product ideas in the planning phase of development. All specifications are design goals without any warranty and are subject to change without notice Preliminary Datasheet Pre-Production Information in this datasheet is based on products in the design, validation or qualification phase of development. The performance and parameters shown in this document are preliminary without any warranty and are subject to change without notice Datasheet Production Information in this datasheet is based on products in ramp-up to full production or full production which conform to specifications in accordance with the terms of ams AG standard warranty as given in the General Terms of Trade Datasheet (discontinued) Discontinued Information in this datasheet is based on products which conform to specifications in accordance with the terms of ams AG standard warranty as given in the General Terms of Trade, but these products have been superseded and should not be used for new designs Document Status

ams Datasheet, Confidential Page 57 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Revision Information Note(s) and/or Footnote(s): 1. Page numbers for the previous version may diff er from page numbers in the current revision. Changes from 1-03 (2013-Oct) to current revision 1-20 (2014-Jul-21) Page(1) Content was updated to the latest ams design Updated Lux Equation section 19 Revision Information

Page 58 ams Datasheet, Confidential Document Feedback [v1-20] 2014-Jul-21 TMD2772/ TMD2772WA − Content Guide

1 General Description

1 Key Benefits & Features

2 Applications

3 Block Diagram

4 Pin Assignment

5A b s o l u t e M a x i m u m R a t i n g s

6 Electrical Characteristics

11 Timing Characteristics

11 Timing Diagrams

12 Typical Operating Characteristics

15 Detailed Description

17 Principles of Operation

17 System State Machine

18 Photodiodes

18 ALS Operation

19 Lux Equation

20 Proximity Detection

22 Interrupts

23 System State Machine Timing

25 Power Management

27 I²C Protocol

28 Register Description

30 Command Register

31 Enable Register (0x00)

32 ALS Time Register (0x01)

33 Proximity Time Register (0x02)

33 Wait Time Register (0x03)

34 ALS Interrupt Threshold Register (0x04 − 0x07)

34 Proximity Interrupt Threshold Register (0x08 − 0x0B)

35 Interrupt Register (0x0C)

37 Configuration Register (0x0D)

37 Proximity Pulse Count Register (0x0E)

38 Control Register (0x0F)

40 ID Register (0x12)

41 Status Register (0x13)

41 ADC Channel Data Registers (0x14 − 0x17)

42 Proximity Data Registers (0x18 − 0x19)

43 Proximity Offset Register (0x1E)

ams Datasheet, Confidential Page 59 [v1-20] 2014-Jul-21 Document Feedback TMD2772/ TMD2772WA − Content Guide

44 LED Driver Pin with Proximity Detection

46 PCB Pad Layout

47 Packaging Mechanical Data

49 Carrier Tape & Reel Information

51 Manufacturing Information

52 Storage Information

52 Moisture Sensitivity

52 Shelf Life

52 Floor Life

52 Rebaking Instructions

54 RoHS Compliant & ams Green Statement

55 Copyrights & Disclaimer

56 Document Status