Skip to main content

We use cookies to understand how you use our site and improve your experience. See our Privacy Policy.

TMF8821-1AM

Multizone Time-of-Flight Sensor

The TMF8821-1AM is a multizone time-of-flight sensor from ams-OSRAM. View the full TMF8821-1AM datasheet below including key specifications, electrical characteristics, absolute maximum ratings.

TMF8821-1AM shares its datasheet with TMF8821-1A, whose page lists every part number it covers.

Official TMF8821-1AM datasheet (PDF) — the source this page was extracted from.

Manufacturer

ams-OSRAM

Category

Multizone Time-of-Flight Sensor

Package

Optical Module

TMF8821-1AM Key Specifications

ParameterValue
PackagingMouseReel
Standard Pack Qty500
Quiescent Current2.8 mA
Operating Temperature-30°C ~ 70°C
Output TypePush-Pull
Sensing Distance0.394" ~ 196.85" (10mm ~ 5000mm)
Supply Voltage2.7V ~ 3.3V

TMF8821-1AM Overview

Part: TMF8821-1A (ordering codes TMF8821-1A and TMF8821-1AM; datasheet covers TMF8820/21/28) — ams OSRAM

Type: Multizone direct Time-of-Flight (dToF) optical distance sensor module

Description: dToF sensor module with integrated VCSEL, 2.7–3.3 V supply, up to 5000 mm detection range and 3x3, 4x4 or 3x6 zone output (TMF8821), with I²C interface and a 63° FoI/FoV.

Operating Conditions:

  • Supply voltage (VDD, VDDC, VDDV): 2.7–3.3 V (3.0 V typ)
  • I/O pull-up supply (VIO): 1.62–3.3 V
  • Operating ambient temperature: -30 to 70 °C
  • CPU clock: up to 80 MHz; I²C clock up to 400 kHz (min/typ/max entries listed as 0 / 400 / 1000 kHz)

Absolute Maximum Ratings:

  • Supply voltage (VDDV, VDDC, VDD) to ground: -0.3 to 3.6 V
  • Digital I/O voltage (SCL, SDA, INT, EN): -0.3 to 3.6 V
  • GPIO0/GPIO1 voltage: -0.3 to VDD+0.3 V (max 3.6 V)
  • Latch-up input current: ±100 mA (JEDEC JESD78E)
  • ESD: ±2000 V HBM, ±500 V CDM
  • Storage temperature: -40 to 85 °C
  • Package body temperature: 260 °C (IPC/JEDEC J-STD-020)
  • MSL 3

Key Specs:

  • Power-down current (EN=0, 23 °C): 2 μA typ, 10 μA max
  • Standby current: 8 μA typ
  • Active ranging current (VCSEL on, CPU at 80 MHz): 57 mA typ
  • Average power at 30 Hz, 3x3 mode, 550k iterations: 141 mW typ; 19 mW with 50k iterations
  • Power-on time (EN=1 to ready for I²C): 2 ms max
  • Cold start to first measurement: 190 ms typ; warm start (from standby) 60 ms typ
  • Firmware download at 1 MHz I²C (TMF8820/21): 50 ms typ
  • Logic levels: VIH min 1.26 V, VIL max 0.54 V; VOL 0.36 V max at 2 mA sink
  • Accuracy ±3% / ±10 mm; distance range 10–5000 mm

Features:

  • Direct time-of-flight with SPAD, TDC and histogram architecture
  • TMF8821: 3x3, 4x4 and 3x6 multizone output
  • 63° FoI/FoV with integrated VCSEL and multi-lens array
  • On-chip processing with distance and confidence output over I²C
  • Dynamic cover glass calibration and reference SPAD
  • Class 1 eye safe, fast VCSEL driver with protection
  • I3C tolerant, can share an I²C/I3C bus

Applications:

  • Camera autofocus (LDAF) in mobile phones
  • Presence detection (computing and communication)
  • Object detection and collision avoidance (robotics)
  • Industrial light curtain

Package:

  • Optical module, 12 pins, 2.0 mm x 4.6 mm x 1.4 mm
  • Tape & reel: 7" reels (500 pcs, -1AM) or 13" reels (4000 pcs, -1A)

TMF8821-1AM Features

The benefits and features of TMF8820/21/28, Multizone Time-of-Flight Sensor, are listed below:

Figure 1:

Added Value of Using TMF8820/21/28

BenefitsFeatures
Small footprint fits within narrow bezel applicationsModular package - 2.0 mmx 4.6 mmx 1.4 mm
Detecting objects in a very wide field of view63º FoI/FoV
BenefitsFeatures
Enable new applications like click to focus, object tracking, presence detectionTMF8828: Multizone with 3x3, 4x4, 3x6 and 8x8 zones TMF8821: Multizone with 3x3, 4x4 and 3x6 zones TMF8820: Multizone with 3x3 zones
Within ±3% / ±10 mm of measurement (accuracy); no multipath and no multiple object problems as for iToFTime-to-Digital Converter (TDC) Direct Time-of-Flight Measurement
Better accuracy detects reliably closest object Minimum distance 10 mm Maximum distance 5000 mmSingle Photon Avalanche Photodiode (SPAD) Histogram based architecture
No complex calibrationDynamic cover glass calibration
Compensates for dirt on glassReliable operation under demanding use cases
Improved accuracy over temperature and lifeReference SPAD
Make better decisionsDistance and signal quality reported
Class 1 eye safeFast VCSEL driver with protection
Integration flexibilityI3C tolerant - operate on a shared I²C / I3C bus
Longer battery life141 mWpower consumption at 30 Hz operation 8 μA power consumption standby current (keep memory) 2 μA power-down current consumption (EN=0)

TMF8821-1AM Applications

The device is ideal for use with applications including:

  • Distance measurement for camera autofocus - Laser Detect Autofocus - LDAF (mobile phone)
  • Presence detection (computing and communication)
  • Object detection and collision avoidance (robotics)
  • Light curtain (industrial)

TMF8821-1AM Pin Configuration

Figure 4:

Pin Description of TMF8820/21/28

Pin NumberPin NamePin Type (1)Description
1VDDCPWRCharge pump supply voltage (3 V) - connect all VDD pins together; add a capacitor GRM155R70J104KA01 (0402 X7R 0.1 μF 6.3V) to GND
2GNDCGNDCharge pump ground; connect all ground pins together
3GPIO0I/OGeneral purpose input/output; default tristate; connect to GND if not used
4INTODInterrupt. Open-drain output; connect to GND if not used
5SCLINI²C serial clock
6SDAI/OI²C serial data
7VDDPWRChip supply voltage (3 V) - connect all VDD pins together; add a capacitor GRM155R70J104KA01 (0402 X7R 0.1 μF 6.3 V) to GND
8GNDGNDChip ground; connect all ground pins together
9ENINEnable input active high; setting to low forces the device into shutdown and all memory content is lost; connect to VDD if not used
10GPIO1I/OGeneral purpose input/output; default tristate; connect to GND if not used
11GNDVGNDVCSEL ground; connect all ground pins together
12VDDVPWRVCSEL supply voltage (3 V) - connect all VDD pins together; add a capacitor GRM155R70J104KA01 (0402 X7R 0.1 μF 6.3 V) to GND
  • (1) Explanation of abbreviations:

IN

Digital input pin

I/O

Digital Input output pin

OD

Open drain output pin

GND

ground supply pin

PWR

Power Supply pin

SDA, SCL, INT and EN have no diode to any VDD supply. Therefore even with VDD = 0 V they do not block the interrupt line or I²C bus.

GPIO0 and GPIO1 are push/pull output and have a diode to VDD; therefore if VDD is not powered, GPIO0 and GPIO1 shall not be driven from outside.

TMF8821-1AM Electrical Characteristics

Device parameters are guaranteed at nominal conditions unless otherwise noted. While the device is operational across the temperature range, functionality will vary with temperature. The parameters with Min and Max values are guaranteed with production tests or SQC (Statistical Quality Control) methods.

Figure 6: Electrical Characteristics of TMF8820/21/28

SymbolParameterConditionsMinTypMaxUnit
VDD3 V supply voltagePins VDDV, VDDC and VDD2.73.03.3V
VIOI/O supply voltageSupply voltage for external pull-up for SCL, SDA and INT.1.621.83.3V
T AMBOperating ambient temperature-302370°C
Current ConsumptionCurrent ConsumptionCurrent ConsumptionCurrent ConsumptionCurrent ConsumptionCurrent ConsumptionCurrent Consumption
I POWER_DOWNPower down currentPin EN=0; state: power down; T AMB =23°C210μA
I STANDBYStandby currentCurrent consumption for PON=0, wakeup by special I²C command, only retention RAM keeps content; state: standby; I/O pins not toggling Only register 0xE0 (ENABLE) accessible by I²C interface when in this mode.8μA
I STANDBY_TIMEDStandby timed currentCurrent consumption for waiting for measurement period to expire. goto_standby_timed = 1, low_power_osc_on = 1 Only register 0xE0 (ENABLE) accessible by I²C interface when in this mode34μA
I WAITWait currentWakeup by I²C or timer, all memories keep content, CPU off, oscillator on; State: wait216μA
I ACTIVEActive currentCurrent consumption for CPU running at 80 MHz, VCSEL and TDC off; State: active - histogram processing2.8mA
I ACTIVE_RANGINGActive current for ranging (VCSEL emitting light)Current consumption for CPU running at 80 MHz, VCSEL and TDC on; State: active - ranging57mA
Average Current Consumption for Running ApplicationAverage Current Consumption for Running ApplicationAverage Current Consumption for Running ApplicationAverage Current Consumption for Running ApplicationAverage Current Consumption for Running ApplicationAverage Current Consumption for Running ApplicationAverage Current Consumption for Running Application
P RANGING_AVGAverage power consumptionDefault settings with 550 k iterations, 3x3 mode, output data rate 30 Hz141mW
P RANGING_AVG_LPAverage power consumption low powerOutput data rate 30 Hz, 3x3 mode, 50 k iterations19mW

Figure 6: Electrical Characteristics of TMF8820/21/28

SymbolParameterConditionsMinTypMaxUnit
I/O Levels - Over Temperature and SupplyI/O Levels - Over Temperature and SupplyI/O Levels - Over Temperature and SupplyI/O Levels - Over Temperature and SupplyI/O Levels - Over Temperature and SupplyI/O Levels - Over Temperature and SupplyI/O Levels - Over Temperature and Supply
I LEAKLeakage current to VDD or GNDSDA, SCL, GPIO0/1, EN, INT-55μA
V IHInput voltage highSDA, SCL, GPIO0/1, EN1.263.3V
V ILInput voltage lowSDA, SCL, GPIO0/1, EN00.54V
V OL2mAOutput voltage lowSDA, INT, 2 mA sink00.36V
V OL4mAOutput voltage lowSDA. INT, 4 mA sink00.6V
I DRIVE_HOutput current high1 V applied on GPIO0/13.6mA
I DRIVE_LOutput current low1 V applied on GPIO0/13.6mA
Timings - over Temperature and SupplyTimings - over Temperature and SupplyTimings - over Temperature and SupplyTimings - over Temperature and SupplyTimings - over Temperature and SupplyTimings - over Temperature and SupplyTimings - over Temperature and Supply
f clkRC oscillatorAll internal timings are derived from this clock4.8555.15MHz
f CPUclkMaximum operating frequency of CPUThe CPU can be switched between f clk and f clk *16f clk * 16 (80 MHz)MHz
VCSEL CLKClock frequency of VCSEL clock17.77MHz
t PORPower on timeEN=1 to ready for I²C command2ms
Time to downloadFor 1 MHz I²C speed [TMF8820/21]50ms
t FW_DOWNLOADfirmwareFor 1 MHz I²C speed [TMF8828]100ms
t FIRST_MEAS_COLD tTime from cold start to first measurement Time from warm start to firstFrom EN=0->1 (power down) to first measurement result; default settings (33 ms) From standby to first measurement190 60ms ms
tTime to switch toFrom command 0x65 to CMD_STAT to first measurement result65ms
SWITCH_to_8820/8821 t SWITCH_to_8828TMF8820/21 mode Time to switch to TMF8828 mode[TMF8828] From command 0x6C to CMD_STAT to first measurement115ms
I²C Interface - over Temperature and SupplyI²C Interface - over Temperature and SupplyI²C Interface - over Temperature and SupplyI²C Interface - over Temperature and SupplyI²C Interface - over Temperature and SupplyI²C Interface - over Temperature and SupplyI²C Interface - over Temperature and Supply
f SCLKSCL clock frequency0400100 0kHz
t BUFBus free time between a STOP and START0.5μs
t HD:STAHold time (Repeated) Start0.26μs
t LOWLOW period of SCL Clock0.5μs
t HIGHHIGH period of SCL clock0.26μs
t SU:STASetup time for a Repeated START0.26μs
t HD:DATData hold time0μs
t SU:DATData setup time50ns
SymbolParameterConditionsMinTypMaxUnit
t RRise time of both SDA and SCL20120ns
t FFall time of both SDA and SCL20120ns
Optical ParametersOptical ParametersOptical ParametersOptical ParametersOptical ParametersOptical ParametersOptical Parameters
FoIField of view of the illuminator main areaDiagonal, FWHM (2) of radiant intensitySee section 7.5.2See section 7.5.2See section 7.5.2See section 7.5.2
Optical Multizone ParametersOptical Multizone ParametersOptical Multizone ParametersOptical Multizone ParametersOptical Multizone ParametersOptical Multizone ParametersOptical Multizone Parameters
SPAD XDelta in angle of single SPAD in xIn optical center2.4degrees
SPAD YDelta in angle of single SPAD in y (1)In optical center5.6degrees
Optical Stack RequirementsOptical Stack RequirementsOptical Stack RequirementsOptical Stack RequirementsOptical Stack RequirementsOptical Stack RequirementsOptical Stack Requirements
GLASS TRANSPARENCYGlass transparency @940 nmThe device can work with IR inked or clear glass8590%
XTALK SYSTEMSystem CrosstalkMeasured in final applicationSee ams OSRAM optical design guideSee ams OSRAM optical design guideSee ams OSRAM optical design guideSee ams OSRAM optical design guide

(1) Due to SPADs with too high dark count, which are disabled by production test (screamer detection), need to use always at least two SPADs next to each other.

(2) FWHM - full width half maximum.

TMF8821-1AM Absolute Maximum Ratings

Stresses beyond those listed under 'Absolute Maximum Ratings' 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. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

Figure 5: Absolute Maximum Ratings of TMF8820/21/28

SymbolParameterMinMaxUnitComments
Electrical ParametersElectrical Parameters
V DDMAX3 V Supply Voltage to Ground-0.33.6 (1)VPins VDDV, VDDC, VDD
V GNDGround0.00.0VPins GNDV, GNDC, GND
V IOMAXDigital I/O Terminal Voltage-0.33.6VSCL, SDA, INT and EN; has no internal diode to VDD
V IO_GPIO_MAXInterface Digital I/O terminal voltage-0.3VDD+0.3 max 3.6VGPIO0, GPIO1 has an internal diode to VDD
I SCRInput Current (latch-up immunity)± 100± 100mAJEDEC JESD78E
Electrostatic DischargeElectrostatic Discharge
ESD HBMElectrostatic Discharge HBM± 2000± 2000VJS-001-2017
ESD CDMElectrostatic Discharge CDM± 500± 500VJEDEC JS-002-2018
Temperature Ranges and Storage ConditionsTemperature Ranges and Storage Conditions
T STRGStorage Temperature Range-4085°C
T BODYPackage Body Temperature260°CIPC/JEDEC J-STD-020 (2)
RH NCRelative Humidity (non- condensing)585%
MSLMoisture Sensitivity Level33Represents a maximum floor life time of 168h with T A <30 °C and RH NC <60%

TMF8821-1AM Package Information

  • (1) All dimensions are in millimeters. Angles in degrees.
  • (2) Dimensioning and tolerancing conform to ASME Y14.5M-1994.
  • (3) n is the total number of terminals.
  • (4) This package contains no lead (Pb).
  • (5) This drawing is subject to change without notice.
  • (6) 8-digit tracecode only on bottom side of the package.
Ref.MinNomMax
A1.31.41.5
A10.2REF
A21.2REF
D4.6BSC
E2BSC
W0.450.50.55
L0.30.350.4
e0.82BSC
n121212
D14.1BSC
E11.35BSC
SD0.41BSC
aaa0.10.10.1
ddd0.080.080.08

Variants on the same datasheet

These parts have exact links to the same datasheet. They are candidates to compare, not verified drop-in replacements; check package, pinout and electrical limits.

Part NumberManufacturerPackage
TMF8820ams-OSRAM USA INC.—
TMF8820/21/28ams-OSRAM USA INC.—
TMF8821ams-OSRAM USA INC.—
TMF8821-1Aams-OSRAM USA INC.Optical Module
TMF8828ams-OSRAM USA INC.—

More datasheets

All ams-OSRAM datasheets (19)

Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Ask your AI agent about the TMF8821-1AM

Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.

claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp

Then ask: "Can the TMF8821-1AM run from my 12 V rail? Check it against the datasheet limits."

Create a free account $2 of usage every month, no card needed.