## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## General Description

The MAX30102 is an integrated pulse oximetry and heart-rate monitor module. It includes internal LEDs, photodetectors, optical elements, and low-noise electronics with ambient light rejection. The MAX30102 provides a complete system solution to ease the design-in process for mobile and wearable devices.

The MAX30102 operates on a single 1.8V power supply and a separate 3.3V power supply for the internal LEDs. Communication is through a standard I2C-compatible interface. The module can be shut down through software with zero standby current, allowing the power rails to remain powered at all times.

## Applications

● Wearable Devices

● Fitness Assistant Devices

● Smartphones

● Tablets

## Benefits and Features

● Heart-Rate Monitor and Pulse Oximeter Sensor in LED Reflective Solution

Tiny 5.6mm x 3.3mm x 1.55mm 14-Pin Optical Module • Integrated Cover Glass for Optimal, Robust Performance

● Ultra-Low Power Operation for Mobile Devices

• Programmable Sample Rate and LED Current for Power Savings

• Low-Power Heart-Rate Monitor (< 1mW)

• Ultra-Low Shutdown Current (0.7µA, typ)

● Fast Data Output Capability

• High Sample Rates

● Robust Motion Artifact Resilience

• High SNR

$\scriptstyle \cdot 4 0 ^ { \circ } \complement$ to $+ 8 5 ^ { \circ } \mathsf { C }$ Operating Temperature Range

Ordering Information appears at end of data sheet.

## System Diagram

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Fb7e4e03c01c3724cd3005b65c4b40102481076f8f17f4f641dce9021950226cf.jpg)

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## Absolute Maximum Ratings

V<sub>DD</sub> to GND . .-0.3V to +2.2V GND to PGND. .-0.3V to +0.3V $\mathsf { V } _ { \mathsf { L E D } + }$ to PGND... .-0.3V to +6.0V All Other Pins to GND . .-0.3V to +6.0V Output Short-Circuit Current Duration.... .Continuous Continuous Input Current into Any Terminal . .±20mA ESD, Human Body Model (HBM)... ..2.5kV Latchup Immunity ... .±250mA

Continuous Power Dissipation $( { \mathsf { T } } _ { \mathsf { A } } = + 7 0 ^ { \circ } { \mathsf { C } } )$ OESIP (derate 5.5mW/°C above +70°C) .... ...440mW Operating Temperature Range.. -40°C to +85°C Junction Temperature... ..+90°C Soldering Temperature (reflow) .. ..+260°C Storage Temperature Range.... . -40°C to +105°C

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 in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

## Package Information

<table><tr><td colspan="2">PACKAGE TYPE: 14 OESIP</td></tr><tr><td>Package Code</td><td>F143A5MK+1</td></tr><tr><td>Outline Number</td><td>21-1048</td></tr><tr><td>Land Pattern Number</td><td>90-0602</td></tr><tr><td colspan="2">THERMAL RESISTANCE, FOUR-LAYER BOARD</td></tr><tr><td>Junction to Ambient ( $\theta_{JA}$ )</td><td>180°C/W</td></tr><tr><td>Junction to Case ( $\theta_{JC}$ )</td><td>150°C/W</td></tr></table>

Package thermal resistances were obtained using the method described in JEDEC specification JESD51-7, using a four-layer board. For detailed information on package thermal considerations, refer to www.maximintegrated.com/thermal-tutorial

For the latest package outline information and land patterns (footprints), go to www.maximintegrated.com/packages. Note that a “+”, “#”, or “-” in the package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the package regardless of RoHS status.

## Electrical Characteristics

(V<sub>DD</sub> = 1.8V, V<sub>LED+</sub> = 5.0V, $\mathsf { T } _ { \mathsf { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to +85°C, unless otherwise noted. Typical values are at ${ \mathsf { T } } _ { \mathsf { A } } = + 2 5 ^ { \circ } { \mathsf { C } } )$ (Note 1)

<table><tr><td>PARAMETER</td><td>SYMBOL</td><td>CONDITIONS</td><td>MIN</td><td>TYP</td><td>MAX</td><td>UNITS</td></tr><tr><td colspan="7">POWER SUPPLY</td></tr><tr><td>Power-Supply Voltage</td><td> $V_{DD}$ </td><td>Guaranteed by RED and IR count tolerance</td><td>1.7</td><td>1.8</td><td>2.0</td><td>V</td></tr><tr><td>LED Supply Voltage $V_{LED+}$  to PGND</td><td> $V_{LED+}$ </td><td>Guaranteed by PSRR of LED driver</td><td>3.1</td><td>3.3</td><td>5.0</td><td>V</td></tr><tr><td rowspan="2">Supply Current</td><td rowspan="2"> $I_{DD}$ </td><td>SpO2and HR mode, PW = 215μs, 50sps</td><td></td><td>600</td><td>1200</td><td rowspan="2">μA</td></tr><tr><td>IR only mode, PW = 215μS, 50sps</td><td></td><td>600</td><td>1200</td></tr><tr><td>Supply Current in Shutdown</td><td> $I_{SHDN}$ </td><td>TA= +25°C, MODE = 0x80</td><td></td><td>0.7</td><td>10</td><td>μA</td></tr></table>

(V<sub>DD</sub> = 1.8V, V<sub>LED+</sub> = 5.0V, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to +85°C, unless otherwise noted. Typical values are at ${ \mathsf { T } } _ { \mathsf { A } } = + 2 5 ^ { \circ } { \mathsf { C } } )$ (Note 1)

High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## Electrical Characteristics (continued)

<table><tr><td>PARAMETER</td><td>SYMBOL</td><td colspan="2">CONDITIONS</td><td>MIN</td><td>TYP</td><td>MAX</td><td>UNITS</td></tr><tr><td colspan="8">PULSE OXIMETRY/HEART-RATE SENSOR CHARACTERISTICS</td></tr><tr><td>ADC Resolution</td><td></td><td colspan="2"></td><td colspan="3">18</td><td>bits</td></tr><tr><td>Red ADC Count (Note 2)</td><td>REDC</td><td colspan="2">LED1_PA = 0x0C, LED_PW = 0x01, SPO2_SR = 0x05, ADC_RGE = 0x00</td><td colspan="3">65536</td><td>Counts</td></tr><tr><td>IR ADC Count (Note 2)</td><td>IRC</td><td colspan="2">LED2_PA = 0x0C, LED_PW = 0x01, SPO2_SR = 0x05 ADC_RGE = 0x00</td><td colspan="3">65536</td><td>Counts</td></tr><tr><td rowspan="2">Dark Current Count</td><td rowspan="2">LED_DCC</td><td rowspan="2" colspan="2">LED1_PA = LED2_PA = 0x00, LED_PW = 0x03, SPO2_SR = 0x01 ADC_RGE = 0x02</td><td>30</td><td colspan="2">128</td><td>Counts</td></tr><tr><td>0.01</td><td colspan="2">0.05</td><td>% of FS</td></tr><tr><td rowspan="2">DC Ambient Light Rejection</td><td rowspan="2">ALR</td><td rowspan="2">ADC counts with finger on sensor under direct sunlight (100K lux), ADC_RGE = 0x3, LED_PW = 0x03, SPO2_SR = 0x01</td><td>Red LED</td><td colspan="3">2</td><td>Counts</td></tr><tr><td>IR LED</td><td colspan="3">2</td><td>Counts</td></tr><tr><td rowspan="2">ADC Count—PSRR (VDD)</td><td rowspan="2">PSRRVDD</td><td colspan="2">1.7V &lt; VDD &lt; 2.0V, LED_PW = 0x01, SPO2_SR = 0x05</td><td>0.25</td><td colspan="2">1</td><td>% of FS</td></tr><tr><td colspan="2">Frequency = DC to 100kHz, 100mVP-P</td><td colspan="3">10</td><td>LSB</td></tr><tr><td rowspan="2">ADC Count—PSRR (LED Driver Outputs)</td><td rowspan="2">PSRRLED</td><td colspan="2">3.1V &lt; VLED+, &lt; 5.0V, LED1_PA = LED2_PA = 0x0C, LED_PW = 0x01, SPO2_SR = 0x05</td><td>0.05</td><td colspan="2">1</td><td>% of FS</td></tr><tr><td colspan="2">Frequency = DC to 100kHz, 100mVP-P</td><td colspan="3">10</td><td>LSB</td></tr><tr><td>ADC Clock Frequency</td><td>CLK</td><td colspan="2"></td><td>10.32</td><td>10.48</td><td>10.64</td><td>MHz</td></tr><tr><td rowspan="4">ADC Integration Time</td><td rowspan="4">INT</td><td colspan="2">LED_PW = 0x00</td><td colspan="3">69</td><td rowspan="4">μs</td></tr><tr><td colspan="2">LED_PW = 0x01</td><td colspan="3">118</td></tr><tr><td colspan="2">LED_PW = 0x02</td><td colspan="3">215</td></tr><tr><td colspan="2">LED_PW = 0x03</td><td colspan="3">411</td></tr><tr><td rowspan="4">Slot Timing (Timing Between Sequential Channel Samples; e.g., Red Pulse Rising Edge To IR Pulse Rising Edge)</td><td rowspan="4">INT</td><td colspan="2">LED_PW = 0x00</td><td colspan="3">427.1</td><td rowspan="4">μs</td></tr><tr><td colspan="2">LED_PW = 0x01</td><td colspan="3">524.7</td></tr><tr><td colspan="2">LED_PW = 0x02</td><td colspan="3">720.0</td></tr><tr><td colspan="2">LED_PW = 0x03</td><td colspan="3">1106.6</td></tr><tr><td colspan="8">COVER GLASS CHARACTERISTICS (Note 3)</td></tr><tr><td>Hydrolytic Resistance Class</td><td></td><td colspan="2">Per DIN ISO 719</td><td colspan="3">HGB 1</td><td></td></tr></table>

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## Electrical Characteristics (continued)

(V<sub>DD</sub> = 1.8V, V<sub>LED+</sub> = 5.0V, $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to +85°C, unless otherwise noted. Typical values are at ${ \mathsf { T } } _ { \mathsf { A } } = + 2 5 ^ { \circ } { \mathsf { C } } )$ (Note 1)

<table><tr><td>PARAMETER</td><td>SYMBOL</td><td>CONDITIONS</td><td>MIN</td><td>TYP</td><td>MAX</td><td>UNITS</td></tr><tr><td colspan="7">IR LED CHARACTERISTICS (Note 3)</td></tr><tr><td>LED Peak Wavelength</td><td> $\lambda_P$ </td><td> $I_{LED} = 20mA, T_A = +25°C$ </td><td>870</td><td>880</td><td>900</td><td>nm</td></tr><tr><td>Full Width at Half Max</td><td> $\Delta\lambda$ </td><td> $I_{LED} = 20mA, T_A = +25°C$ </td><td></td><td>30</td><td></td><td>nm</td></tr><tr><td>Forward Voltage</td><td> $V_F$ </td><td> $I_{LED} = 20mA, T_A = +25°C$ </td><td></td><td>1.4</td><td></td><td>V</td></tr><tr><td>Radiant Power</td><td> $P_O$ </td><td> $I_{LED} = 20mA, T_A = +25°C$ </td><td></td><td>6.5</td><td></td><td>mW</td></tr><tr><td colspan="7">RED LED CHARACTERISTICS (Note 3)</td></tr><tr><td>LED Peak Wavelength</td><td> $\lambda_P$ </td><td> $I_{LED} = 20mA, T_A = +25°C$ </td><td>650</td><td>660</td><td>670</td><td>nm</td></tr><tr><td>Full Width at Half Max</td><td> $\Delta\lambda$ </td><td> $I_{LED} = 20mA, T_A = +25°C$ </td><td></td><td>20</td><td></td><td>nm</td></tr><tr><td>Forward Voltage</td><td> $V_F$ </td><td> $I_{LED} = 20mA, T_A = +25°C$ </td><td></td><td>2.1</td><td></td><td>V</td></tr><tr><td>Radiant Power</td><td> $P_O$ </td><td> $I_{LED} = 20mA, T_A = +25°C$ </td><td></td><td>9.8</td><td></td><td>mW</td></tr><tr><td colspan="7">PHOTODETECTOR CHARACTERISTICS (Note 3)</td></tr><tr><td>Spectral Range of Sensitivity</td><td> $\lambda(QE > 50\%)$ </td><td>QE: Quantum Efficiency</td><td>600</td><td></td><td>900</td><td>nm</td></tr><tr><td>Radiant Sensitive Area</td><td>A</td><td></td><td></td><td>1.36</td><td></td><td>mm2</td></tr><tr><td>Dimensions of Radiant Sensitive Area</td><td>L x W</td><td></td><td></td><td>1.38 x0.98</td><td></td><td>mm x mm</td></tr><tr><td colspan="7">INTERNAL DIE TEMPERATURE SENSOR</td></tr><tr><td>Temperature ADC Acquisition Time</td><td> $T_T$ </td><td> $T_A = +25°C$ </td><td></td><td>29</td><td></td><td>ms</td></tr><tr><td>Temperature Sensor Accuracy</td><td> $T_A$ </td><td> $T_A = +25°C$ </td><td></td><td>±1</td><td></td><td>°C</td></tr><tr><td>Temperature Sensor Minimum Range</td><td> $T_{MIN}$ </td><td></td><td></td><td>-40</td><td></td><td>°C</td></tr><tr><td>Temperature Sensor Maximum Range</td><td> $T_{MAX}$ </td><td></td><td></td><td>85</td><td></td><td>°C</td></tr><tr><td colspan="7">DIGITAL INPUT CHARACTERISTICS: SCL, SDA</td></tr><tr><td>Input High Voltage</td><td> $V_{IH}$ </td><td> $V_{DD} = 2V$ </td><td>0.7 x  $V_{DD}$ </td><td></td><td></td><td>V</td></tr><tr><td>Input Low Voltage</td><td> $V_{IL}$ </td><td> $V_{DD} = 2V$ </td><td></td><td></td><td>0.3 x  $V_{DD}$ </td><td>V</td></tr><tr><td>Hysteresis Voltage</td><td> $V_H$ </td><td></td><td></td><td>0.2</td><td></td><td>V</td></tr><tr><td>Input Leakage Current</td><td> $I_{IN}$ </td><td> $V_{IN} = GND or V_{DD} (STATIC)$ </td><td></td><td>±0.05</td><td>±1</td><td>μA</td></tr><tr><td colspan="7">DIGITAL OUTPUT CHARACTERISTICS: SDA, INT</td></tr><tr><td>Output Low Voltage</td><td> $V_{OL}$ </td><td> $I_{SINK} = 6mA$ </td><td></td><td></td><td>0.2</td><td>V</td></tr></table>

# High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Electrical Characteristics (continued)  
(V<sub>DD</sub> = 1.8V, $\mathsf { V } _ { \mathsf { L E D } + } = 5 . 0 \mathsf { V } ,$ $\mathsf { T _ { A } } = - 4 0 ^ { \circ } \mathsf { C }$ to +85°C, unless otherwise noted. Typical values are at ${ \mathsf { T } } _ { \mathsf { A } } = + 2 5 ^ { \circ } { \mathsf { C } } )$ (Note 1)

<table><tr><td>PARAMETER</td><td>SYMBOL</td><td>CONDITIONS</td><td>MIN</td><td>TYP</td><td>MAX</td><td>UNITS</td></tr><tr><td colspan="7">I2C TIMING CHARACTERISTICS (SDA, SDA, INT) (Note 3)</td></tr><tr><td>I2C Write Address</td><td></td><td></td><td colspan="3">AE</td><td>Hex</td></tr><tr><td>I2C Read Address</td><td></td><td></td><td colspan="3">AF</td><td>Hex</td></tr><tr><td>Serial Clock Frequency</td><td> $f_{SCL}$ </td><td></td><td>0</td><td colspan="2">400</td><td>kHz</td></tr><tr><td>Bus Free Time Between STOP and START Conditions</td><td> $t_{BUF}$ </td><td></td><td colspan="3">1.3</td><td>μs</td></tr><tr><td>Hold Time (Repeated) START Condition</td><td> $t_{HD;STA}$ </td><td></td><td colspan="3">0.6</td><td>μs</td></tr><tr><td>SCL Pulse-Width Low</td><td> $t_{LOW}$ </td><td></td><td colspan="3">1.3</td><td>μs</td></tr><tr><td>SCL Pulse-Width High</td><td> $t_{HIGH}$ </td><td></td><td colspan="3">0.6</td><td>μs</td></tr><tr><td>Setup Time for a Repeated START Condition</td><td> $t_{SU;STA}$ </td><td></td><td colspan="3">0.6</td><td>μs</td></tr><tr><td>Data Hold Time</td><td> $t_{HD;DAT}$ </td><td></td><td>0</td><td colspan="2">900</td><td>ns</td></tr><tr><td>Data Setup Time</td><td> $t_{SU;DAT}$ </td><td></td><td colspan="3">100</td><td>ns</td></tr><tr><td>Setup Time for STOP Condition</td><td> $t_{SU;STO}$ </td><td></td><td colspan="3">0.6</td><td>μs</td></tr><tr><td>Pulse Width of Suppressed Spike</td><td> $t_{SP}$ </td><td></td><td>0</td><td colspan="2">50</td><td>ns</td></tr><tr><td>Bus Capacitance</td><td> $C_B$ </td><td></td><td colspan="3">400</td><td>pF</td></tr><tr><td>SDA and SCL Receiving Rise Time</td><td> $t_R$ </td><td></td><td>20 + 0.1 $C_B$ </td><td colspan="2">300</td><td>ns</td></tr><tr><td>SDA and SCL Receiving Fall Time</td><td> $t_{RF}$ </td><td></td><td>20 + 0.1 $C_B$ </td><td colspan="2">300</td><td>ns</td></tr><tr><td>SDA Transmitting Fall Time</td><td> $t_{TF}$ </td><td></td><td colspan="3">300</td><td>ns</td></tr></table>

Note 1: All devices are 100% production tested at $\mathsf { T } _ { \mathsf { A } } = + 2 5 ^ { \circ } \mathsf { C }$ . Specifications over temperature limits are guaranteed by Maxim Integrated’s bench or proprietary automated test equipment (ATE) characterization.  
Note 2: Specifications are guaranteed by Maxim Integrated’s bench characterization and by 100% production test using proprietary ATE setup and conditions.  
Note 3: Guaranteed by design and characterization. Not tested in final production.

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Fa79bc7a95d17e7ba3c4e5b9801adee06b4bd3e67422c81056cb89036b1065714.jpg)  
Figure 1. I2C-Compatible Interface Timing Diagram

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Typical Operating Characteristics

(V<sub>DD</sub> = 1.8V, V<sub>LED+</sub> = 5.0V, ${ \mathsf { T } } _ { \mathsf { A } } = + 2 5 ^ { \circ } { \mathsf { C } }$ , RST, unless otherwise noted.)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F63aa8ca3009b63cfa85bcf8397c0598ec3fb677f4666f3d83c7e982b226bec32.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F31cb1c100272f26268cc1b464de552e0196950f319a336add999bb3b55714848.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Fd9fc362c7c33a64e956e090cd9eff09ab98b424ce6c9e277ac5f4266462acf51.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F984941d11479e9c3f40df542999c5008f95f41fd45274bf4d0d70785fc97e47b.jpg)

![](./images/881a9ccd8de465cd56cc93e18d43b3b451bafe82dc5a56885eb981c23d8e38f9.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Fbd56a82d3ee3c385e2945d5e7ef732918ece3320edae87cef4b8f9f35f985979.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F8f92337306ead4aa7d6045ceab9ded231c6b7d45a8da5472c039f6b6a918fdc6.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F3c8f8bc551cbb280a22f21bd1230ae64a2ec8650c5497928d4079353ace816af.jpg)

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Typical Operating Characteristics (continued) (V<sub>DD</sub> = 1.8V, V<sub>LED+</sub> = 5.0V, T<sub>A</sub> = +25°C, RST, unless otherwise noted.)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F042514b1a7c6d6c476f5e4f8175e795f2073460b1264822cb5303611e0b3f5c6.jpg)

![](./images/e8b4f8a3ec71be65fcdeab3ab0b357693651e06dbb81ac1230439fa32017b30e.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Fe3f3e649b0dcdc95055b1eb9664d6bb521e3158dc4844ffc3f38968266f0425b.jpg)

![](./images/df7be5d85fa9a9edb1eba91f0d0d777c752426caf94bfc54a47cb5bb538c8848.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F355e848b70f18043ccc7e23178cf0078218e82025c446d2d7303f8b11c31f402.jpg)

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F43ee5be96ad30f62d86b6a041f05fcb468c51729eeefe975ebdea65515bf63d6.jpg)

## Pin Configuration

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F6f27b6fd509b9cfd39850f5a5d407000268bd39d3d9dbe1a37e83ccea3793841.jpg)

## Pin Description

<table><tr><td>PIN</td><td>NAME</td><td>FUNCTION</td></tr><tr><td>1, 5, 6,7, 8, 14</td><td>N.C.</td><td>No Connection. Connect to PCB pad for mechanical stability.</td></tr><tr><td>2</td><td>SCL</td><td> $I^{2}C$  Clock Input</td></tr><tr><td>3</td><td>SDA</td><td> $I^{2}C$  Data, Bidirectional (Open-Drain)</td></tr><tr><td>4</td><td>PGND</td><td>Power Ground of the LED Driver Blocks</td></tr><tr><td>9</td><td> $V_{LED+}$ </td><td rowspan="2">LED Power Supply (anode connection). Use a bypass capacitor to PGND for best performance.</td></tr><tr><td>10</td><td> $V_{LED+}$ </td></tr><tr><td>11</td><td> $V_{DD}$ </td><td>Analog Power Supply Input. Use a bypass capacitor to GND for best performance.</td></tr><tr><td>12</td><td>GND</td><td>Analog Ground</td></tr><tr><td>13</td><td> $\overline{INT}$ </td><td>Active-Low Interrupt (Open-Drain). Connect to an external voltage with a pullup resistor.</td></tr></table>

Functional Diagram  
![](./images/06a11ba7d4bba7d7b9d8441db6a4cec82833b08d4bb671522b3597f6cdb1a4d9.jpg)

## Detailed Description

The MAX30102 is a complete pulse oximetry and heart-rate sensor system solution module designed for the demanding requirements of wearable devices. The device maintains a very small solution size without sacrificing optical or electrica performance. Minimal external hardware components are required for integration into a wearable system.

The MAX30102 is fully adjustable through software registers, and the digital output data can be stored in a 32-deep FIFO within the IC. The FIFO allows the MAX30102 to be connected to a microcontroller or processor on a shared bus, where the data is not being read continuously from the MAX30102’s registers.

## SpO2 Subsystem

The $\mathsf { S p O } _ { 2 }$ subsystem of the MAX30102 contains ambient light cancellation (ALC), a continuous-time sigma-delta ADC, and a proprietary discrete time filter. The ALC has an internal Track/Hold circuit to cancel ambient light and increase the effective dynamic range. The $\mathsf { S p O } _ { 2 }$ ADC has programmable full-scale ranges from $2 \mu \ A$ to $1 6 \mu \mathsf { A }$ . The ALC can cancel up to 200µA of ambient current.

The internal ADC is a continuous time oversampling sigma-delta converter with 18-bit resolution. The ADC sampling rate is 10.24MHz. The ADC output data rate can be programmed from 50sps (samples per second) to 3200sps.

## Temperature Sensor

The MAX30102 has an on-chip temperature sensor for calibrating the temperature dependence of the $\mathsf { S p O } _ { 2 }$ subsystem. The temperature sensor has an inherent resolution of 0.0625°C.

The device output data is relatively insensitive to the wavelength of the IR LED, where the Red LED’s wavelength is critical to correct interpretation of the data. An $\mathsf { S p O } _ { 2 }$ algorithm used with the MAX30102 output signal can compensate for the associated $\mathsf { S p O } _ { 2 }$ error with ambient temperature changes.

## LED Driver

The MAX30102 integrates Red and IR LED drivers to modulate LED pulses for $\mathsf { S p O } _ { 2 }$ and HR measurements. The LED current can be programmed from 0 to 50mA with proper supply voltage. The LED pulse width can be programmed from 69µs to 411µs to allow the algorithm to optimize $\mathsf { S p O } _ { 2 }$ and HR accuracy and power consumption based on use cases.

High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Register Maps and Descriptions

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td colspan="12">STATUS</td></tr><tr><td>Interrupt Status 1</td><td>A_FULL</td><td>PPG_RDY</td><td>ALC_OVF</td><td></td><td></td><td></td><td></td><td>PWR_RDY</td><td>0x00</td><td>0X00</td><td>R</td></tr><tr><td>Interrupt Status 2</td><td></td><td></td><td></td><td></td><td></td><td></td><td>DIE_TEMP_RDY</td><td></td><td>0x01</td><td>0x00</td><td>R</td></tr><tr><td>Interrupt Enable 1</td><td>A_FULL_EN</td><td>PPG_RDY_EN</td><td>ALC_OVF_EN</td><td></td><td></td><td></td><td></td><td></td><td>0x02</td><td>0X00</td><td>R/W</td></tr><tr><td>Interrupt Enable 2</td><td></td><td></td><td></td><td></td><td></td><td></td><td>DIE_TEMP_RDY_EN</td><td></td><td>0x03</td><td>0x00</td><td>R/W</td></tr><tr><td colspan="12">FIFO</td></tr><tr><td>FIFO Write Pointer</td><td></td><td></td><td></td><td colspan="5">FIFO_WR_PTR[4:0]</td><td>0x04</td><td>0x00</td><td>R/W</td></tr><tr><td>Overflow Counter</td><td></td><td></td><td></td><td colspan="5">OVF_COUNTER[4:0]</td><td>0x05</td><td>0x00</td><td>R/W</td></tr><tr><td>FIFO Read Pointer</td><td></td><td></td><td></td><td colspan="5">FIFO_RD_PTR[4:0]</td><td>0x06</td><td>0x00</td><td>R/W</td></tr><tr><td>FIFO Data Register</td><td colspan="8">FIFO_DATA[7:0]</td><td>0x07</td><td>0x00</td><td>R/W</td></tr><tr><td colspan="12">CONFIGURATION</td></tr><tr><td>FIFO Configuration</td><td colspan="3">SMP_AVE[2:0]</td><td>FIFO_ROLLOVER_EN</td><td colspan="4">FIFO_A_FULL[3:0]</td><td>0x08</td><td>0x00</td><td>R/W</td></tr><tr><td>Mode Configuration</td><td>SHDN</td><td>RESET</td><td></td><td></td><td></td><td colspan="3">MODE[2:0]</td><td>0x09</td><td>0x00</td><td>R/W</td></tr><tr><td>SpO2Configuration</td><td>0(Reserved)</td><td colspan="2">SPO2_ADC_RGE[1:0]</td><td colspan="3">SPO2_SR[2:0]</td><td colspan="2">LED_PW[1:0]</td><td>0x0A</td><td>0x00</td><td>R/W</td></tr><tr><td>RESERVED</td><td colspan="8"></td><td>0x0B</td><td>0x00</td><td>R/W</td></tr><tr><td rowspan="2">LED Pulse Amplitude</td><td colspan="8">LED1_PA[7:0]</td><td>0x0C</td><td>0x00</td><td>R/W</td></tr><tr><td colspan="8">LED2_PA[7:0]</td><td>0x0D</td><td>0x00</td><td>R/W</td></tr><tr><td>RESERVED</td><td colspan="8"></td><td>0x0E</td><td>0x00</td><td>R/W</td></tr><tr><td>RESERVED</td><td colspan="8"></td><td>0x0F</td><td>0x00</td><td>R/W</td></tr><tr><td rowspan="2">Multi-LED Mode Control Registers</td><td></td><td colspan="2">SLOT2[2:0]</td><td colspan="2"></td><td colspan="3">SLOT1[2:0]</td><td>0x11</td><td>0x00</td><td>R/W</td></tr><tr><td></td><td colspan="2">SLOT4[2:0]</td><td colspan="2"></td><td colspan="3">SLOT3[2:0]</td><td>0x12</td><td>0x00</td><td>R/W</td></tr></table>

High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Register Maps and Descriptions (continued)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td>RESERVED</td><td colspan="8"></td><td>0x13-0x17</td><td>0xFF</td><td>R/W</td></tr><tr><td>RESERVED</td><td colspan="8"></td><td>0x18-0x1E</td><td>0x00</td><td>R</td></tr><tr><td colspan="12">DIE TEMPERATURE</td></tr><tr><td>Die Temp Integer</td><td colspan="8">TINT[7:0]</td><td>0x1F</td><td>0x00</td><td>R</td></tr><tr><td>Die Temp Fraction</td><td></td><td></td><td></td><td></td><td colspan="4">TFRAC[3:0]</td><td>0x20</td><td>0x00</td><td>R</td></tr><tr><td>Die Temperature Config</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>TEMP_EN</td><td>0x21</td><td>0x00</td><td>R/W</td></tr><tr><td>RESERVED</td><td colspan="8"></td><td>0x22-0x2F</td><td>0x00</td><td>R/W</td></tr><tr><td colspan="12">PART ID</td></tr><tr><td>Revision ID</td><td colspan="8">REV_ID[7:0]</td><td>0xFE</td><td>0xXX*</td><td>R</td></tr><tr><td>Part ID</td><td colspan="8">PART_ID[7]</td><td>0xFF</td><td>0x15</td><td>R</td></tr></table>

\*XX denotes a 2-digit hexadecimal number (00 to FF) for part revision identification. Contact Maxim Integrated for the revision ID number assigned for your product.

Interrupt Status (0x00–0x01)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td>Interrupt Status 1</td><td>A_FULL</td><td>PPG_RDY</td><td>ALC_OVF</td><td></td><td></td><td></td><td></td><td>PWR_RDY</td><td>0x00</td><td>0X00</td><td>R</td></tr><tr><td>Interrupt Status 2</td><td></td><td></td><td></td><td></td><td></td><td></td><td>DIE_TEMP_RDY</td><td></td><td>0x01</td><td>0x00</td><td>R</td></tr></table>

Whenever an interrupt is triggered, the MAX30102 pulls the active-low interrupt pin into its low state until the interrupt is cleared.

## A\_FULL: FIFO Almost Full Flag

In SpO<sub>2</sub> and HR modes, this interrupt triggers when the FIFO write pointer has a certain number of free spaces remaining. The trigger number can be set by the FIFO\_A\_FULL[3:0] register. The interrupt is cleared by reading the Interrupt Status 1 register (0x00).

## PPG\_RDY: New FIFO Data Ready

In SpO<sub>2</sub> and HR modes, this interrupt triggers when there is a new sample in the data FIFO. The interrupt is cleared by reading the Interrupt Status 1 register (0x00), or by reading the FIFO\_DATA register.

## ALC\_OVF: Ambient Light Cancellation Overflow

This interrupt triggers when the ambient light cancellation function of the SpO /HR photodiode has reached its maximum limit, and therefore, ambient light is affecting the output of the ADC. The interrupt is cleared by reading the Interrupt Status 1 register (0x00).

## PWR\_RDY: Power Ready Flag

On power-up or after a brownout condition, when the supply voltage V<sub>DD</sub> transitions from below the undervoltage lockout (UVLO) voltage to above the UVLO voltage, a power-ready interrupt is triggered to signal that the module is powered-up and ready to collect data.

## DIE\_TEMP\_RDY: Internal Temperature Ready Flag

When an internal die temperature conversion is finished, this interrupt is triggered so the processor can read the temperature data registers. The interrupt is cleared by reading either the Interrupt Status 2 register (0x01) or the TFRAC register (0x20).

# High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

The interrupts are cleared whenever the interrupt status register is read, or when the register that triggered the interrupt is read. For example, if the SpO<sub>2</sub> sensor triggers an interrupt due to finishing a conversion, reading either the FIFO data register or the interrupt register clears the interrupt pin (which returns to its normal HIGH state). This also clears all the bits in the interrupt status register to zero.

Interrupt Enable (0x02-0x03)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td>Interrupt Enable 1</td><td>A_FULL_EN</td><td>PPG_RDY_EN</td><td>ALC_OVF_EN</td><td></td><td></td><td></td><td></td><td></td><td>0x02</td><td>0X00</td><td>R/W</td></tr><tr><td>Interrupt Enable 2</td><td></td><td></td><td></td><td></td><td></td><td></td><td>DIE_TEMP_RDY_EN</td><td></td><td>0x03</td><td>0x00</td><td>R/W</td></tr></table>

Each source of hardware interrupt, with the exception of power ready, can be disabled in a software register within the MAX30102 IC. The power-ready interrupt cannot be disabled because the digital state of the module is reset upon a brownout condition (low power supply voltage), and the default condition is that all the interrupts are disabled. Also, it is important for the system to know that a brownout condition has occurred, and the data within the module is reset as a result.

The unused bits should always be set to zero for normal operation.

## FIFO (0x04–0x07)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td>FIFO Write Pointer</td><td></td><td></td><td></td><td colspan="5">FIFO_WR_PTR[4:0]</td><td>0x04</td><td>0x00</td><td>R/W</td></tr><tr><td>Over Flow Counter</td><td></td><td></td><td></td><td colspan="5">OVF_COUNTER[4:0]</td><td>0x05</td><td>0x00</td><td>R/W</td></tr><tr><td>FIFO Read Pointer</td><td></td><td></td><td></td><td colspan="5">FIFO_RD_PTR[4:0]</td><td>0x06</td><td>0x00</td><td>R/W</td></tr><tr><td>FIFO Data Register</td><td colspan="8">FIFO_DATA[7:0]</td><td>0x07</td><td>0x00</td><td>R/W</td></tr></table>

## FIFO Write Pointer

The FIFO Write Pointer points to the location where the MAX30102 writes the next sample. This pointer advances for each sample pushed on to the FIFO. It can also be changed through the I2C interface when MODE[2:0] is 010, 011, or 111.

## FIFO Overflow Counter

When the FIFO is full, samples are not pushed on to the FIFO, samples are lost. OVF\_COUNTER counts the number of samples lost. It saturates at 0x1F. When a complete sample is “popped” (i.e., removal of old FIFO data and shifting the samples down) from the FIFO (when the read pointer advances), OVF\_COUNTER is reset to zero.

## FIFO Read Pointer

The FIFO Read Pointer points to the location from where the processor gets the next sample from the FIFO through the I2C interface. This advances each time a sample is popped from the FIFO. The processor can also write to this pointer after reading the samples to allow rereading samples from the FIFO if there is a data communication error.

# High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## FIFO Data Register

The circular FIFO depth is 32 and can hold up to 32 samples of data. The sample size depends on the number of LED channels (a.k.a. channels) configured as active. As each channel signal is stored as a 3-byte data signal, the FIFO width can be 3 bytes or 6 bytes in size.

The FIFO\_DATA register in the I2C register map points to the next sample to be read from the FIFO. FIFO\_RD\_PTR points to this sample. Reading FIFO\_DATA register, does not automatically increment the I2C register address. Burst reading this register, reads the same address over and over. Each sample is 3 bytes of data per channel (i.e., 3 bytes for RED, 3 bytes for IR, etc.).

The FIFO registers (0x04–0x07) can all be written and read, but in practice only the FIFO\_RD\_PTR register should be written to in operation. The others are automatically incremented or filled with data by the MAX30102. When starting a new SpO<sub>2</sub> or heart rate conversion, it is recommended to first clear the FIFO\_WR\_PTR, OVF\_COUNTER, and FIFO\_RD\_PTR registers to all zeroes (0x00) to ensure the FIFO is empty and in a known state. When reading the MAX30102 registers in one burst-read I2C transaction, the register address pointer typically increments so that the next byte of data sent is from the next register, etc. The exception to this is the FIFO data register, register 0x07. When reading this register, the address pointer does not increment, but the FIFO\_RD\_PTR does. So the next byte of data sent represents the next byte of data available in the FIFO.

## Reading from the FIFO

Normally, reading registers from the I2C interface autoincrements the register address pointer, so that all the registers can be read in a burst read without an I2C start event. In the MAX30102, this holds true for all registers except for the FIFO\_DATA register (register 0x07).

Reading the FIFO\_DATA register does not automatically increment the register address. Burst reading this register reads data from the same address over and over. Each sample comprises multiple bytes of data, so multiple bytes should be read from this register (in the same transaction) to get one full sample.

The other exception is 0xFF. Reading more bytes after the 0xFF register does not advance the address pointer back to 0x00, and the data read is not meaningful.

## FIFO Data Structure

The data FIFO consists of a 32-sample memory bank that can store IR and Red ADC data. Since each sample consists of two channels of data, there are 6 bytes of data for each sample, and therefore 192 total bytes of data can be stored in the FIFO.

The FIFO data is left-justified as shown in Table 1; in other words, the MSB bit is always in the bit 17 data position regardless of ADC resolution setting. See Table 2 for a visual presentation of the FIFO data structure.

Table 1. FIFO Data is Left-Justified

<table><tr><td>15-bit</td><td>16-bit</td><td>17-bit</td><td>18-bit</td><td>ADCResolution</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[17]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[16]</td></tr><tr><td></td><td></td><td></td><td></td><td>...</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[12]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[11]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[10]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[9]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[8]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[7]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[6]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[5]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[4]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[3]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[2]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[1]</td></tr><tr><td></td><td></td><td></td><td></td><td>FIFO_DATA[0]</td></tr></table>

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F158cc4b67622182f9ce29491ad26a905522f8098997f8769c770996b3d658dd5.jpg)

# High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## FIFO Data Contains 3 Bytes per Channel

The FIFO data is left-justified, meaning that the MSB is always in the same location regardless of the ADC resolution setting. FIFO DATA[18] – [23] are not used. Table 2 shows the structure of each triplet of bytes (containing the 18-bit ADC data output of each channel).

Each data sample in $\mathsf { S p O } _ { 2 }$ mode comprises two data triplets (3 bytes each), To read one sample, requires an $\mathsf { I 2 C }$ read command for each byte. Thus, to read one sample in $\mathsf { S p O } _ { 2 }$ mode, requires 6 I2C byte reads. The FIFO read pointer is automatically incremented after the first byte of each sample is read.

## Write/Read Pointers

Write/Read pointers are used to control the flow of data in the FIFO. The write pointer increments every time a new sample is added to the FIFO. The read pointer is incremented every time a sample is read from the FIFO. To reread a sample from the FIFO, decrement its value by one and read the data register again.

The FIFO write/read pointers should be cleared (back to 0x00) upon entering $\mathsf { S p O } _ { 2 }$ mode or HR mode, so that there is no old data represented in the FIFO. The pointers are automatically cleared if $\mathsf { V } _ { \mathsf { D D } }$ is power-cycled or $\mathsf { V } _ { \mathsf { D D } }$ drops below its UVLO voltage.

<table><tr><td>BYTE 1</td><td></td><td></td><td></td><td></td><td></td><td></td><td>FIFO_DATA[17]</td><td>FIFO_DATA[16]</td></tr><tr><td>BYTE 2</td><td>FIFO_DATA[15]</td><td>FIFO_DATA[14]</td><td>FIFO_DATA[13]</td><td>FIFO_DATA[12]</td><td>FIFO_DATA[11]</td><td>FIFO_DATA[10]</td><td>FIFO_DATA[9]</td><td>FIFO_DATA[8]</td></tr><tr><td>BYTE 3</td><td>FIFO_DATA[7]</td><td>FIFO_DATA[6]</td><td>FIFO_DATA[5]</td><td>FIFO_DATA[4]</td><td>FIFO_DATA[3]</td><td>FIFO_DATA[2]</td><td>FIFO_DATA[1]</td><td>FIFO_DATA[0]</td></tr></table>

Figure 2. Graphical Representation of the FIFO Data Register. It shows IR and Red in $S p O _ { 2 }$ Mode.

```txt
Pseudo-Code Example of Reading Data from FIFO
First transaction: Get the FIFO_WR_PTR:
START;
Send device address + write mode
Send address of FIFO_WR_PTR;
REPEATED_START;
Send device address + read mode
Read FIFO_WR_PTR;
STOP;
The central processor evaluates the number of samples to be read from the FIFO:
NUM_AVAILABLE_SAMPLES = FIFO_WR_PTR - FIFO_RD_PTR
(Note: pointer wrap around should be taken into account)
NUM_SAMPLES_TO_READ = < less than or equal to NUM_AVAILABLE_SAMPLES >
Second transaction: Read NUM_SAMPLES_TO_READ samples from the FIFO:
START;
Send device address + write mode
Send address of FIFO_DATA;
REPEATED_START;
Send device address + read mode
for (i = 0; i < NUM_SAMPLES_TO_READ; i++) {
Read FIFO_DATA;
Save LED1[23:16];
Read FIFO_DATA;
Save LED1[15:8];
Read FIFO_DATA;
Save LED1[7:0];
Read FIFO_DATA;
Save LED2[23:16];
Read FIFO_DATA;
Save LED2[15:8];
Read FIFO_DATA;
Save LED2[7:0];
Read FIFO_DATA;
}
STOP;
START;
Send device address + write mode
Send address of FIFO_RD_PTR;
Write FIFO_RD_PTR;
STOP;
```

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Third transaction: Write to FIFO\_RD\_PTR register. If the second transaction was successful, FIFO\_RD\_PTR points to the next sample in the FIFO, and this third transaction is not necessary. Otherwise, the processor updates the FIFO\_RD\_PTR appropriately, so that the samples are reread.

## FIFO Configuration (0x08)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td>FIFO Configuration</td><td colspan="3">SMP_AVE[2:0]</td><td>FIFO_ROL LOVER_EN</td><td colspan="4">FIFO_A_FULL[3:0]</td><td>0x08</td><td>0x00</td><td>R/W</td></tr></table>

## Bits 7:5: Sample Averaging (SMP\_AVE)

To reduce the amount of data throughput, adjacent samples (in each individual channel) can be averaged and decimated on the chip by setting this register.

Table 3. Sample Averaging

<table><tr><td>SMP_AVE[2:0]</td><td>NO. OF SAMPLES AVERAGED PER FIFO SAMPLE</td></tr><tr><td>000</td><td>1 (no averaging)</td></tr><tr><td>001</td><td>2</td></tr><tr><td>010</td><td>4</td></tr><tr><td>011</td><td>8</td></tr><tr><td>100</td><td>16</td></tr><tr><td>101</td><td>32</td></tr><tr><td>110</td><td>32</td></tr><tr><td>111</td><td>32</td></tr></table>

## Bit 4: FIFO Rolls on Full (FIFO\_ROLLOVER\_EN)

This bit controls the behavior of the FIFO when the FIFO becomes completely filled with data. If FIFO\_ROLLOVER\_EN is set (1), the FIFO address rolls over to zero and the FIFO continues to fill with new data. If the bit is not set (0), then the FIFO is not updated until FIFO\_DATA is read or the WRITE/READ pointer positions are changed.

## Bits 3:0: FIFO Almost Full Value (FIFO\_A\_FULL)

This register sets the number of data samples (3 bytes/sample) remaining in the FIFO when the interrupt is issued. For example, if this field is set to 0x0, the interrupt is issued when there is 0 data samples remaining in the FIFO (all 32 FIFO words have unread data). Furthermore, if this field is set to 0xF, the interrupt is issued when 15 data samples are remaining in the FIFO (17 FIFO data samples have unread data).

<table><tr><td>FIFO_A_FULL[3:0]</td><td>EMPTY DATA SAMPLES IN FIFO WHEN INTERRUPT IS ISSUED</td><td>UNREAD DATA SAMPLES IN FIFO WHEN INTERRUPT IS ISSUED</td></tr><tr><td>0x0h</td><td>0</td><td>32</td></tr><tr><td>0x1h</td><td>1</td><td>31</td></tr><tr><td>0x2h</td><td>2</td><td>30</td></tr><tr><td>0x3h</td><td>3</td><td>29</td></tr><tr><td>...</td><td>...</td><td>...</td></tr><tr><td>0xFh</td><td>15</td><td>17</td></tr></table>

# High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Mode Configuration (0x09)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td>Mode Configuration</td><td>SHDN</td><td>RESET</td><td></td><td></td><td></td><td colspan="3">MODE[2:0]</td><td>0x09</td><td>0x00</td><td>R/W</td></tr></table>

## Bit 7: Shutdown Control (SHDN)

The part can be put into a power-save mode by setting this bit to one. While in power-save mode, all registers retain their values, and write/read operations function as normal. All interrupts are cleared to zero in this mode.

## Bit 6: Reset Control (RESET)

When the RESET bit is set to one, all configuration, threshold, and data registers are reset to their power-on-state through a power-on reset. The RESET bit is cleared automatically back to zero after the reset sequence is completed.

Note: Setting the RESET bit does not trigger a PWR\_RDY interrupt event.

## Bits 2:0: Mode Control

These bits set the operating state of the MAX30102. Changing modes does not change any other setting, nor does it erase any previously stored data inside the data registers.

## Table 4. Mode Control

<table><tr><td>MODE[2:0]</td><td>MODE</td><td>ACTIVE LED CHANNELS</td></tr><tr><td>000</td><td colspan="2">Do not use</td></tr><tr><td>001</td><td colspan="2">Do not use</td></tr><tr><td>010</td><td>Heart Rate mode</td><td>Red only</td></tr><tr><td>011</td><td> $SpO_{2}$  mode</td><td>Red and IR</td></tr><tr><td>100–110</td><td colspan="2">Do not use</td></tr><tr><td>111</td><td>Multi-LED mode</td><td>Red and IR</td></tr></table>

## SpO2 Configuration (0x0A)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td> $SpO_{2}$ Configuration</td><td></td><td colspan="2">SPO2_ADC_RGE[1:0]</td><td colspan="3">SPO2_SR[2:0]</td><td colspan="2">LED_PW[1:0]</td><td>0x0A</td><td>0x00</td><td>R/W</td></tr></table>

## Bits 6:5: $\$ 1002$ ADC Range Control

This register sets the $\mathsf { S p O } _ { 2 }$ sensor ADC’s full-scale range as shown in Table 5.

## Table 5. SpO<sub>2</sub> ADC Range Control (18-Bit Resolution)

<table><tr><td>SPO2_ADC_RGE[1:0]</td><td>LSB SIZE (pA)</td><td>FULL SCALE (nA)</td></tr><tr><td>00</td><td>7.81</td><td>2048</td></tr><tr><td>01</td><td>15.63</td><td>4096</td></tr><tr><td>10</td><td>31.25</td><td>8192</td></tr><tr><td>11</td><td>62.5</td><td>16384</td></tr></table>

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## Bits 4:2: SpO<sub>2</sub> Sample Rate Control

These bits define the effective sampling rate with one sample consisting of one IR pulse/conversion and one Red pulse/ conversion.

The sample rate and pulse width are related in that the sample rate sets an upper bound on the pulse width time. If the use selects a sample rate that is too high for the selected LED\_PW setting, the highest possible sample rate is programmed instead into the register.

Table 6. SpO<sub>2</sub> Sample Rate Control

<table><tr><td>SPO2_SR[2:0]</td><td>SAMPLES PER SECOND</td></tr><tr><td>000</td><td>50</td></tr><tr><td>001</td><td>100</td></tr><tr><td>010</td><td>200</td></tr><tr><td>011</td><td>400</td></tr><tr><td>100</td><td>800</td></tr><tr><td>101</td><td>1000</td></tr><tr><td>110</td><td>1600</td></tr><tr><td>111</td><td>3200</td></tr></table>

See Table 11 and Table 12 for Pulse Width vs. Sample Rate information.

## Bits 1:0: LED Pulse Width Control and ADC Resolution

These bits set the LED pulse width (the IR and Red have the same pulse width), and therefore, indirectly sets the integration time of the ADC in each sample. The ADC resolution is directly related to the integration time.

Table 7. LED Pulse Width Control

<table><tr><td>LED_PW[1:0]</td><td>PULSE WIDTH (μs)</td><td>ADC RESOLUTION (bits)</td></tr><tr><td>00</td><td>69 (68.95)</td><td>15</td></tr><tr><td>01</td><td>118 (117.78)</td><td>16</td></tr><tr><td>10</td><td>215 (215.44)</td><td>17</td></tr><tr><td>11</td><td>411 (410.75)</td><td>18</td></tr></table>

High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

LED Pulse Amplitude (0x0C–0x0D)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td rowspan="2">LED Pulse Amplitude</td><td colspan="8">LED1_PA[7:0]</td><td>0x0C</td><td>0x00</td><td>R/W</td></tr><tr><td colspan="8">LED2_PA[7:0]</td><td>0x0D</td><td>0x00</td><td>R/W</td></tr></table>

These bits set the current level of each LED as shown in Table 8.

Table 8. LED Current Control

<table><tr><td>LEDx_PA [7:0], RED_PA[7:0], or IR_PA[7:0]</td><td>TYPICAL LED CURRENT (mA)*</td></tr><tr><td>0x00h</td><td>0.0</td></tr><tr><td>0x01h</td><td>0.2</td></tr><tr><td>0x02h</td><td>0.4</td></tr><tr><td>...</td><td>...</td></tr><tr><td>0x0Fh</td><td>3.0</td></tr><tr><td>...</td><td>...</td></tr><tr><td>0x1Fh</td><td>6.2</td></tr><tr><td>...</td><td>...</td></tr><tr><td>0x3Fh</td><td>12.6</td></tr><tr><td>...</td><td>...</td></tr><tr><td>0x7Fh</td><td>25.4</td></tr><tr><td>...</td><td>...</td></tr><tr><td>0xFFh</td><td>51.0</td></tr></table>

\*Actual measured LED current for each part can vary widely due to the trimming methodology.

High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Multi-LED Mode Control Registers (0x11–0x12)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td rowspan="2">Multi-LED Mode Control Registers</td><td></td><td colspan="3">SLOT2[2:0]</td><td></td><td colspan="3">SLOT1[2:0]</td><td>0x11</td><td>0x00</td><td>R/W</td></tr><tr><td></td><td colspan="3">SLOT4[2:0]</td><td></td><td colspan="3">SLOT3[2:0]</td><td>0x12</td><td>0x00</td><td>R/W</td></tr></table>

In multi-LED mode, each sample is split into up to four time slots, SLOT1 through SLOT4. These control registers determine which LED is active in each time slot, making for a very flexible configuration.

Table 9. Multi-LED Mode Control Registers

<table><tr><td>SLOTx[2:0] Setting</td><td>WHICH LED IS ACTIVE</td><td>LED PULSE AMPLITUDE SETTING</td></tr><tr><td>000</td><td>None (time slot is disabled)</td><td>N/A (Off)</td></tr><tr><td>001</td><td>LED1 (Red)</td><td>LED1_PA[7:0]</td></tr><tr><td>010</td><td>LED2 (IR)</td><td>LED2_PA[7:0]</td></tr><tr><td>011</td><td>None</td><td>N/A (Off)</td></tr><tr><td>100</td><td>None</td><td>N/A (Off)</td></tr><tr><td>101</td><td>Reserved</td><td>Reserved</td></tr><tr><td>110</td><td>Reserved</td><td>Reserved</td></tr><tr><td>111</td><td>Reserved</td><td>Reserved</td></tr></table>

Each slot generates a 3-byte output into the FIFO. One sample comprises all active slots, for example if SLOT1 and SLOT2 are non-zero, then one sample is 2 x 3 = 6 bytes.  
The slots should be enabled in order (i.e., SLOT1 should not be disabled if SLOT2 is enabled).

# High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Temperature Data (0x1F–0x21)

<table><tr><td>REGISTER</td><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>REG ADDR</td><td>POR STATE</td><td>R/W</td></tr><tr><td>Die Temp Integer</td><td colspan="8">TINT[7]</td><td>0x1F</td><td>0x00</td><td>R</td></tr><tr><td>Die Temp Fraction</td><td></td><td></td><td></td><td></td><td colspan="4">TFRAC[3:0]</td><td>0x20</td><td>0x00</td><td>R</td></tr><tr><td>Die Temperature Config</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>TEMP_EN</td><td>0x21</td><td>0x00</td><td>R/W</td></tr></table>

## Temperature Integer

The on-board temperature ADC output is split into two registers, one to store the integer temperature and one to store the fraction. Both should be read when reading the temperature data, and the equation below shows how to add the two registers together:

$$
T _ {\text { M   E   A   S   U   R   E   D }} = T _ {\text { I   N   T   E   G   E   R }} + T _ {\text { F   R   A   C   T   I   O   N }}
$$

This register stores the integer temperature data in 2’s complement format, where each bit corresponds to 1°C.

Table 10. Temperature Integer

<table><tr><td>REGISTER VALUE (hex)</td><td>TEMPERATURE (°C)</td></tr><tr><td>0x00</td><td>0</td></tr><tr><td>0x01</td><td>+1</td></tr><tr><td>...</td><td>...</td></tr><tr><td>0x7E</td><td>+126</td></tr><tr><td>0x7F</td><td>+127</td></tr><tr><td>0x80</td><td>-128</td></tr><tr><td>0x81</td><td>-127</td></tr><tr><td>...</td><td>...</td></tr><tr><td>0xFE</td><td>-2</td></tr><tr><td>0xFF</td><td>-1</td></tr></table>

## Temperature Fraction

This register stores the fractional temperature data in increments of 0.0625°C. If this fractional temperature is paired with a negative integer, it still adds as a positive fractional value (e.g., -128°C + 0.5°C = -127.5°C).

## Temperature Enable (TEMP\_EN)

This is a self-clearing bit which, when set, initiates a single temperature reading from the temperature sensor. This bit clears automatically back to zero at the conclusion of the temperature reading when the bit is set to one.

High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## Applications Information

## Sample Rate and Performance

The maximum sample rate for the ADC depends on the selected pulse width, which in turn, determines the ADC resolution. For instance, if the pulse width is set to 69µs then the ADC resolution is 15 bits, and all sample rates are selectable. However, if the pulse width is set to 411µs, then the samples rates are limited. The allowed sample rates for both SpO<sub>2</sub> and HR Modes are summarized in the Table 11 and Table 12.

Table 11. SpO<sub>2</sub> Mode (Allowed Settings)

<table><tr><td rowspan="2">SAMPLES PER SECOND</td><td colspan="4">PULSE WIDTH (μs)</td></tr><tr><td>69</td><td>118</td><td>215</td><td>411</td></tr><tr><td>50</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>100</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>200</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>400</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>800</td><td>O</td><td>O</td><td>O</td><td></td></tr><tr><td>1000</td><td>O</td><td>O</td><td></td><td></td></tr><tr><td>1600</td><td>O</td><td></td><td></td><td></td></tr><tr><td>3200</td><td></td><td></td><td></td><td></td></tr><tr><td>Resolution(bits)</td><td>15</td><td>16</td><td>17</td><td>18</td></tr></table>

## Power Considerations

The LED waveforms and their implication for power supply design are discussed in this section.

The LEDs in the MAX30102 are pulsed with a low duty cycle for power savings, and the pulsed currents can cause ripples in the V<sub>LED+</sub> power supply. To ensure these pulses do not translate into optical noise at the LED outputs, the power supply must be designed to handle these. Ensure that the resistance and inductance from the power supply (battery, DC/DC converter, or LDO) to the pin is much smaller than 1Ω, and that there is at least 1µF of power supply bypass capacitance to a good ground plane. The capacitance should be located as close as physically possible to the IC.

Table 12. HR Mode (Allowed Settings)

<table><tr><td rowspan="2">SAMPLES PER SECOND</td><td colspan="4">PULSE WIDTH (μs)</td></tr><tr><td>69</td><td>118</td><td>215</td><td>411</td></tr><tr><td>50</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>100</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>200</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>400</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>800</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>1000</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>1600</td><td>O</td><td>O</td><td>O</td><td></td></tr><tr><td>3200</td><td>O</td><td></td><td></td><td></td></tr><tr><td>Resolution (bits)</td><td>15</td><td>16</td><td>17</td><td>18</td></tr></table>

In the Heart Rate mode, only the Red LED is used to capture optical data and determine the user’s heart rate and/or photoplethysmogram (PPG).

## SpO<sub>2</sub> Temperature Compensation

The MAX30102 has an accurate on-board temperature sensor that digitizes the IC’s internal temperature upon command from the I2C master. The temperature has an effect on the wavelength of the red and IR LEDs. While the device output data is relatively insensitive to the wavelength of the IR LED, the red LED’s wavelength is critical to correct interpretation of the data.

Table 13 shows the correlation of red LED wavelength versus the temperature of the LED. Since the LED die heats up with a very short thermal time constant (tens of microseconds), the LED wavelength should be calculated according to the current level of the LED and the temperature of the IC. Use Table 13 to estimate the temperature.

High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## Red LED Current Settings vs.

## LED Temperature Rise

Add the temperature rise to the module temperature reading to estimate the LED temperature and output wavelength. The LED temperature estimate is valid even with very short pulse widths, due to the fast thermal time constant of the LED.

## Interrupt Pin Functionality

The active-low interrupt pin pulls low when an interrupt is triggered. The pin is open-drain, which means it normally requires a pullup resistor or current source to an external voltage supply (up to +5V from GND). The interrupt pin is not designed to sink large currents, so the pullup resistor value should be large, such as 4.7kΩ.

Table 13. RED LED Current Settings vs. LED Temperature Rise

<table><tr><td>RED LED CURRENT SETTING</td><td>RED LED DUTY CYCLE (% OF LED PULSE WIDTH TO SAMPLE TIME)</td><td>ESTIMATED TEMPERATURE RISE (ADD TO TEMP SENSOR MEASUREMENT) (°C)</td></tr><tr><td>00000001 (0.2mA)</td><td>8</td><td>0.1</td></tr><tr><td>11111010 (50mA)</td><td>8</td><td>2</td></tr><tr><td>00000001 (0.2mA)</td><td>16</td><td>0.3</td></tr><tr><td>11111010 (50mA)</td><td>16</td><td>4</td></tr><tr><td>00000001 (0.2mA)</td><td>32</td><td>0.6</td></tr><tr><td>11111010 (50mA)</td><td>32</td><td>8</td></tr></table>

## Timing for Measurements and Data Collection

## Slot Timing in Multi-LED Modes

The MAX30102 can support two LED channels of sequentia processing (Red and IR). Table 14 below displays the four possible channel slot times associated with each pulse width setting. Figure 3 shows an example of channel slot timing for a SpO mode application with a 1kHz sample rate.

Table 14. Slot Timing

<table><tr><td>PULSE-WIDTH SETTING (μs)</td><td>CHANNEL SLOT TIMING (TIMING PERIOD BETWEEN PULSES) (μs)</td><td>CHANNEL-CHANNEL TIMING (RISING EDGE-TO-RISING EDGE) (μs)</td></tr><tr><td>69</td><td>358</td><td>427</td></tr><tr><td>118</td><td>407</td><td>525</td></tr><tr><td>215</td><td>505</td><td>720</td></tr><tr><td>411</td><td>696</td><td>1107</td></tr></table>

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F0d76c4f51831b4a19257a163e7fd2ac50671ba33a3f460a452177f318a196215.jpg)  
Figure 3. Channel Slot Timing for the SpO<sub>2</sub> Mode with a 1kHz Sample Rate

## Timing in $\mathsf { s p o } _ { 2 }$ Mode

The internal FIFO stores up to 32 samples, so that the system processor does not need to read the data after every sample. The temperature does not need to be sampled very often–once a second or every few seconds should be sufficient.

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Faf19f8bf11f1aa8d2ddcb2556796a0cf52bfa87dc8d93dcb6845f520b609f068.jpg)  
Figure 4. Timing for Data Acquisition and Communication When in SpO<sub>2</sub> Mode

Table 15. Events Sequence for Figure 4 in $\mathsf { s p o } _ { 2 }$ Mode

<table><tr><td>EVENT</td><td>DESCRIPTION</td><td>COMMENTS</td></tr><tr><td>1</td><td>Enter into  $SpO_{2}$  Mode. Initiate a Temperature measurement.</td><td>I2C Write Command sets MODE[2:0] = 0x03 and A_FULL_EN. Then to enable and initiate a single temperature measurement, set TEMP_EN and DIE_TEMP_RDY_EN.</td></tr><tr><td>2</td><td>Temperature Measurement Complete, Interrupt Generated</td><td>DIE_TEMP_RDY interrupt triggers, alerting the central processor to read the data.</td></tr><tr><td>3</td><td>Temp Data is Read, Interrupt Cleared</td><td></td></tr><tr><td>4</td><td>FIFO is Almost Full, Interrupt Generated</td><td>Interrupt is generated when the FIFO almost full threshold is reached.</td></tr><tr><td>5</td><td>FIFO Data is Read, Interrupt Cleared</td><td></td></tr><tr><td>6</td><td>Next Sample is Stored</td><td>New Sample is stored at the new read pointer location. Effectively, it is now the first sample in the FIFO.</td></tr></table>

## Timing in HR Mode

The internal FIFO stores up to 32 samples, so that the system processor does not need to read the data after every sample. In HR mode (Figure 5), unlike in $\mathsf { S p O } _ { 2 }$ mode, temperature information is not necessary to interpret the data. The user can select either the red LED or the infrared LED channel for heart rate measurements.

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Fc832c59b36059f0b54b6b5470a6d9405d8f543ca66582d2c09eff6bfa2b40f2d.jpg)  
Figure 5. Timing for Data Acquisition and Communication When in HR Mode  
Table 16. Events Sequence for Figure 5 in HR Mode

<table><tr><td>EVENT</td><td>DESCRIPTION</td><td>COMMENTS</td></tr><tr><td>1</td><td>Enter into Mode</td><td>I2C Write Command sets MODE[2:0] = 0x02. Mask the A_FULL_EN Interrupt.</td></tr><tr><td>2</td><td>FIFO is Almost Full, Interrupt Generated</td><td>Interrupt is generated when the FIFO has only one empty space left.</td></tr><tr><td>3</td><td>FIFO Data is Read, Interrupt Cleared</td><td></td></tr><tr><td>4</td><td>Next Sample is Stored</td><td>New sample is stored at the new read pointer location. Effectively, it is now the first sample in the FIFO.</td></tr></table>

## Power Sequencing and Requirements

## Power-Up Sequencing

Figure 6. shows the recommended power-up sequence for the MAX30102.

It is recommended to power the V<sub>DD</sub> supply first, before the LED power supplies $( \mathsf { V } _ { \mathsf { L E D + } } )$ . The interrupt and I2C pins can be pulled up to an external voltage even when the power supplies are not powered up.

After the power is established, an interrupt occurs to alert the system that the MAX30102 is ready for operation. Reading the I2C interrupt register clears the interrupt, as shown in Figure 6.

## Power-Down Sequencing

The MAX30102 is designed to be tolerant of any power supply sequencing on power-down.

## I2C Interface

The MAX30102 features an I2C/SMBus-compatible, 2-wire serial interface consisting of a serial data line (SDA) and a serial clock line (SCL). SDA and SCL facilitate communication between the MAX30102 and the master at clock rates up to 400kHz. Figure 1 shows the 2-wire interface timing diagram. The master generates SCL and initiates data transfer on the bus. The master device writes data to the MAX30102 by transmitting the proper slave address followed by data. Each transmit sequence is framed by a START (S) or REPEATED START (Sr) condition and a STOP (P) condition. Each word transmitted to the MAX30102 is 8 bits long and is followed by an acknowledge clock pulse. A master reading data from the MAX30102 transmits the proper slave address followed by a series of nine SCL pulses.

The MAX30102 transmits data on SDA in sync with the master-generated SCL pulses. The master acknowledges receipt of each byte of data. Each read sequence is framed by a START (S) or REPEATED START (Sr) condition, a not acknowledge, and a STOP (P) condition. SDA operates as both an input and an open-drain output. A pullup resistor, typically greater than 500Ω, is required on SDA. SCL operates only as an input. A pullup resistor, typically greater than 500Ω, is required on SCL if there are multiple masters on the bus, or if the single master has an open-drain SCL output. Series resistors in line with SDA and SCL are optional. Series resistors protect the digital inputs of the MAX30102 from high voltage spikes on the bus lines and minimize crosstalk and undershoot of the bus signals.

High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Feac3b45568afe0cc2b8adb2ee10d615ec411f3f672747aa00ea364fae73066b7.jpg)  
Figure 6. Power-Up Sequence of the Power Supply Rails

## Bit Transfer

One data bit is transferred during each SCL cycle. The data on SDA must remain stable during the high period of the SCL pulse. Changes in SDA while SCL is high are control signals. See the START and STOP Conditions section.

## START and STOP Conditions

SDA and SCL idle high when the bus is not in use. A master initiates communication by issuing a START condition. A START condition is a high-to-low transition on SDA with SCL high. A STOP condition is a low-to-high transition on SDA while SCL is high (Figure 7). A START condition from the master signals the beginning of a transmission to the device. The master terminates transmission, and frees the bus, by issuing a STOP condition. The bus remains active if a REPEATED START condition is generated instead of a STOP condition.

## Early STOP Conditions

The MAX30102 recognizes a STOP condition at any point during data transmission except if the STOP condition occurs in the same high pulse as a START condition. For proper operation, do not send a STOP condition during the same SCL high pulse as the START condition.

## Slave Address

A bus master initiates communication with a slave device by issuing a START condition followed by the 7-bit slave ID. When idle, the MAX30102 waits for a START condition followed by its slave ID. The serial interface compares each slave ID bit by bit, allowing the interface to power down and disconnect from SCL immediately if an incorrect slave ID is detected. After recognizing a START condition followed by the correct slave ID, the MAX30102 is programmed to accept or send data. The LSB of the slave ID word is the read/write (R/W) bit. R/W indicates whether the master is writing to or reading data from the MAX30102 (R/W = 0 selects a write condition, R/W = 1 selects a read condition).

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

After receiving the proper slave ID, the MAX30102 issues an ACK by pulling SDA low for one clock cycle.

The MAX30102 slave ID consists of seven fixed bits, B7–B1 (set to 0b1010111). The most significant slave ID bit (B7) is transmitted first, followed by the remaining bits. Table 17 shows the possible slave IDs of the device.

## Acknowledge

The acknowledge bit (ACK) is a clocked 9th bit that the MAX30102 uses to handshake receipt each byte of data when in write mode (Figure 8). The MAX30102 pulls down SDA during the entire master-generated 9th clock pulse if the previous byte is successfully received. Monitoring ACK allows for detection of unsuccessful data transfers. An unsuccessful data transfer occurs if a receiving device is busy or if a system fault has occurred. In the event of an unsuccessful data transfer, the bus master retries communication. The master pulls down SDA during the 9th clock cycle to acknowledge receipt of data when the MAX30102 is in read mode. An acknowledge is sent by the master after each read byte to allow data transfer to continue. A not-acknowledge is sent when the master reads the final byte of data from the MAX30102, followed by a STOP condition.

## Write Data Format

For the write operation, send the slave ID as the first byte followed by the register address byte and then one or more data bytes. The register address pointer increments automatically after each byte of data received, so for example the entire register bank can be written by at one time. Terminate the data transfer with a STOP condition. The write operation is shown in Figure 9.

The internal register address pointer increments automatically, so writing additional data bytes fill the data registers in order.

Table 17. Slave ID Description

<table><tr><td>B7</td><td>B6</td><td>B5</td><td>B4</td><td>B3</td><td>B2</td><td>B1</td><td>B0</td><td>WRITE ADDRESS</td><td>READ ADDRESS</td></tr><tr><td>1</td><td>0</td><td>1</td><td>0</td><td>1</td><td>1</td><td>1</td><td>R/W</td><td>0xAE</td><td>0xAF</td></tr></table>

![](./images/e452f2d44096ee265102a6171c3b48da4a125be818ab9ae4f0068c16dcab8350.jpg)

![](./images/530a4fbd3b1841f8752cb86e40bc1779292c79d3287fa0716e7d505bd662d3f0.jpg)  
Figure 8. Acknowledge

Figure 7. START, STOP, and REPEATED START Conditions  
![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F2767805366685cee0cdab8675263c5ee62dd1e1622278640963f123fbb54af2d.jpg)  
Figure 9. Writing One Data Byte to the MAX30102

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

## Read Data Format

For the read operation, two I2C operations must be performed. First, the slave ID byte is sent followed by the I2C register that you wish to read. Then a REPEAT START (Sr) condition is sent, followed by the read slave ID. The MAX30102 then begins sending data beginning with the register selected in the first operation. The read pointer increments automatically, so the device continues sending data from additional registers in sequential order until a STOP (P) condition is received. The exception to this is the FIFO\_DATA register, at which the read pointer no longer increments when reading additional bytes. To read the next register after FIFO\_DATA, an I2C write command is necessary to change the location of the read pointer.

Figure 10 and Figure 11 show the process of reading one byte and multiple bytes of data.

An initial write operation is required to send the read register address.

Data is sent from registers in sequential order, starting from the register selected in the initial I2C write operation. If the FIFO\_DATA register is read, the read pointer will not automatically increment, and subsequent bytes of data will contain the contents of the FIFO.

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2Fb7760ee80b2d1d6b9b969c4d60bbf5b3a4edcb73e9ece75ca39a1bed2857d636.jpg)  
Figure 10. Reading One Byte of Data from MAX30102

![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F0df1fa97b77ab69c6387bb14880d2fd09d5273d760fe413239a48ad126110cd9.jpg)  
Figure 11. Reading Multiple Bytes of Data from the MAX30102

Typical Application Circuit  
![](https://www.embedr.app/api/datasheets/ds_a083cb4174e53eaabe9b/asset?path=images%2F6fadadc6db18632ecd19af69e351583504be611559e35fa21b6490d9dedabe7c.jpg)

Ordering Information

<table><tr><td>PART</td><td>TEMP RANGE</td><td>PIN-PACKAGE</td></tr><tr><td>MAX30102EFD+T</td><td>-40°C to +85°C</td><td>14-Lead OESIP(0.8mm Pin Pitch)</td></tr></table>

+Denotes lead(Pb)-free/RoHS-compliant package.  
T = Tape and reel.

## High-Sensitivity Pulse Oximeter and Heart-Rate Sensor for Wearable Health

Revision History

<table><tr><td>REVISION NUMBER</td><td>REVISION DATE</td><td>DESCRIPTION</td><td>PAGES CHANGED</td></tr><tr><td>0</td><td>9/15</td><td>Initial release</td><td>—</td></tr><tr><td>1</td><td>10/18</td><td>Updated the General Description, Applications, Absolute Maximum Ratings, Electrical Characteristics, Pin Description, Timing in  $SpO_{2}$  Mode, Power-Up Sequencing sections; updated the System Diagram, Pin Configuration, and Functional Diagram; updated the Register Map, Interrupt Status (0x00–0x01), Interrupt Enable (0x02–0x03), FIFO (0x04–0x07), LED Pulse Amplitude (0x0C–0x0D), Table 8, Multi-LED Mode Control Registers (0x11–0x12), Table 9, Temperature Data (0x1F–0x21), Table 13, Table 15, Table 16; replaced the Typical Application Circuit; removed the Proximity Function section and the Proximity Mode Interrupt Threshold (0x30) register</td><td>1–5, 8–14, 1820–24, 26–28, 31</td></tr></table>