TI1 AFE4404YZPR Ultra-small, integrated afe Datasheet

Sample &
Buy
Product
Folder
Support &
Community
Tools &
Software
Technical
Documents
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
AFE4404 Ultra-Small, Integrated AFE for
Wearable, Optical, Heart-Rate Monitoring and Bio-Sensing
1 Features
2 Applications
•
•
•
•
•
•
1
•
•
•
•
•
•
•
•
Transmitter:
– Supports Common Anode LED Configuration
– Dynamic Range: 100 dB
– 6-Bit Programmable LED Current to 50 mA
(Extendable to 100 mA)
– Programmable LED On-Time
– Simultaneous Support of 3 LEDs for Optimized
SPO2, HRM, or Multi-Wavelength HRM
Receiver:
– 24-Bit Representation of the Current Input from
a Photodiode in Twos Complement Format
– Individual DC Offset Subtraction DAC at TIA
Input for Each LED and Ambient Phase
– Digital Ambient Subtraction at ADC Output
– Programmable Transimpedance Gain:
10 kΩ to 2 MΩ
– Dynamic Range: 100 dB
– Dynamic Power-Saving Mode to Reduce
Current to Less Than 200 µA
Pulse Frequency: 10 SPS to 1000 SPS
Flexible Pulse Sequencing and Timing Control
Flexible Clock Options:
– External Clocking:
4-MHz to 60-MHz Input Clock
– Internal Clocking: 4-MHz Oscillator
I2C Interface
Operating Temperature Range: –20°C to 70°C
2.6-mm × 1.6-mm DSBGA Package, 0.5-mm Pitch
Supplies: Rx: 2 V to 3.6 V, Tx: 3 V to 5.25 V,
IO: 1.8 V to 3.6 V
Optical Heart-Rate Monitoring (HRM)
Heart-Rate Variability (HRV)
Pulse Oximetry (SpO2 Measurement)
VO2 Max
Calorie Expenditure
3 Description
The AFE4404 is an analog front-end (AFE) for optical
bio-sensing applications, such as heart-rate
monitoring (HRM) and saturation of peripheral
capillary oxygen (SpO2). The device supports three
switching light-emitting diodes (LEDs) and a single
photodiode. The current from the photodiode is
converted into voltage by the transimpedance
amplifier (TIA) and digitized using an analog-to-digital
converter (ADC). The ADC code can be read out
using an I2C interface. The AFE also has a fullyintegrated LED driver with a 6-bit current control. The
device has a high dynamic range transmit and
receive circuitry that helps with the sensing of very
small signal levels.
Device Information(1)
PART NUMBER
AFE4404
PACKAGE
DSBGA (15)
BODY SIZE (NOM)
2.60 mm × 1.60 mm(2)
(1) For all available packages, see the orderable addendum at
the end of the datasheet.
(2) Refers to dimensions D × E in Figure 96.
Simplified Block Diagram
TX_SUP
RX_SUP
Offset
Cancellation
DAC
TX_SUP
TX1
TX2
TX3
LDO
I-V Amplifier (TIA)
Cf
LED
Driver
ILED
IO_SUP
INP
INM
CLK
Rf
Buffer
I2C_CLK
NoiseReduction
Filter
ADC
I2C Interface
I2C_DAT
RESETZ
Rf
Cf
IO
Buffer
Internal,
External
Clock
Timing
Engine
ADC_RDY
GND
1
An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
intellectual property matters and other important disclaimers. PRODUCTION DATA.
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Table of Contents
1
2
3
4
5
6
7
8
Features ..................................................................
Applications ...........................................................
Description .............................................................
Revision History.....................................................
Device Comparison Table.....................................
Pin Configuration and Functions .........................
Specifications.........................................................
1
1
1
2
3
3
5
7.1
7.2
7.3
7.4
7.5
7.6
7.7
5
5
5
5
6
7
8
Absolute Maximum Ratings ......................................
ESD Ratings..............................................................
Recommended Operating Conditions.......................
Thermal Information ..................................................
Electrical Characteristics...........................................
Timing Requirements ...............................................
Typical Characteristics ..............................................
Detailed Description ............................................ 12
8.1 Overview ................................................................. 12
8.2 Functional Block Diagram ....................................... 12
8.3 Feature Description................................................. 13
8.4 Device Functional Modes........................................ 28
8.5 Register Map........................................................... 32
9
Application and Implementation ........................ 67
9.1 Application Information............................................ 67
9.2 Typical Application .................................................. 67
10 Power Supply Recommendations ..................... 72
11 Layout................................................................... 74
11.1 Layout Guidelines ................................................. 74
11.2 Layout Example .................................................... 74
12 Device and Documentation Support ................. 75
12.1
12.2
12.3
12.4
Community Resources..........................................
Trademarks ...........................................................
Electrostatic Discharge Caution ............................
Glossary ................................................................
75
75
75
75
13 Mechanical, Packaging, and Orderable
Information ........................................................... 75
4 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
Changes from Revision A (August 2015) to Revision B
Page
•
Changed TX_SUP pin number to E3 in Pin Functions table ................................................................................................. 4
•
Added Figure 9 ....................................................................................................................................................................... 9
•
Added Decimation Mode section ......................................................................................................................................... 31
•
Added rows 3Dh, 3Fh, and 40h to Table 16 ........................................................................................................................ 34
•
Added Register 3Dh description to Register Map section.................................................................................................... 65
•
Added Register 3Fh and Register 40h descriptions to Register Map section...................................................................... 66
•
Added System-Level ESD Considerations section ............................................................................................................. 68
•
Added input-referred current paragraph associated to Figure 9 in Application Curves section........................................... 69
Changes from June 16, 2015 to August 13, 2015
Page
•
Deleted Diagnostics Mode section ....................................................................................................................................... 30
•
Changed bit 2 of address 00h to 0 in Table 16 ................................................................................................................... 32
•
Deleted row 30h from Table 16 ........................................................................................................................................... 33
•
Changed bit 2 name and description in Register 0h ........................................................................................................... 35
•
Deleted Register 30h ........................................................................................................................................................... 58
2
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
5 Device Comparison Table
PRODUCT
PACKAGE-LEAD
LED DRIVE
CONFIGURATION
LED DRIVE
CURRENT
(mA, Max)
OPERATING
TEMPERATURE
RANGE
AFE4400
VQFN-40
H-bridge,
common anode
50
0°C to 70°C
AFE4490
VQFN-40
H-bridge,
common anode
200
–40°C to 85°C
Clinical-grade pulse oximeters
AFE4403
DSBGA-36
H-bridge,
common anode
100
–20°C to 70°C
Clinical pulse oximeter patches, wearables
Common anode
(1)
–20°C to 70°C
Wearable optical bio-sensing
AFE4404
(1)
DSBGA-15
50
OPTIMIZED APPLICATION
Finger-clip pulse oximeters
Mode that doubles the range to 100 mA with additional restrictions.
6 Pin Configuration and Functions
YZP Package
15-Ball DSBGA
Bottom View
I2C_DAT
I2C_CLK
TX_SUP
RESETZ
TX2
GND
DNC
CLK
TX3
INP
ADC_RDY
TX1
INM
RX_SUP
IO_SUP
1
2
3
E
D
C
B
A
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
3
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Pin Functions
PIN
I/O
DESCRIPTION
NAME
NO.
ADC_RDY
B2
Digital
ADC ready interrupt signal (output)
CLK
C2
Digital
Clock input or output, selectable based on register. Default is input (external clock mode).
Can be set via a register to output the clock when the oscillator is enabled. (1) (2)
DNC
C1
GND
D3
Ground
Common ground for transmitter and receiver
I2C_CLK
E2
Digital
I2C clock input, external pullup resistor to IO_SUP (for example, 10 kΩ)
I2C_DAT
E1
Digital
I2C data, external pullup resistor to IO_SUP (for example, 10 kΩ)
INM
A1
Analog
Connect only to anode of photodiode (3)
INP
B1
Analog
Connect only to cathode of photodiode (3)
IO_SUP
A3
Supply
Separate supply for digital I/O. Must be less than or equal to RX_SUP.
Can be tied to RX_SUP.
RESETZ
D1
Digital
RESETZ or PWDN: function based on (active low) duration of RESETZ pulse (4).
A 25-µs to 50-µs duration = RESETZ active.
A > 200-µs duration = PWDN active.
RX_SUP
A2
Supply
Receiver supply; 1-µF decapacitor to GND
TX1
B3
Analog
Transmit output, LED1
TX2
D2
Analog
Transmit output, LED2
TX3
C3
Analog
Transmit output, LED3
TX_SUP
E3
Supply
Transmitter supply; 1-µF decapacitor to GND
(1)
(2)
(3)
(4)
4
Do not connect (leave floating)
Depending on whether external clock mode or internal oscillator mode is used, extra series or shunt resistors are recommended on the
CLK pin. For more details, see the Typical Application section.
In both hardware power-down (PWDN) and software power-down (PDNAFE) modes, the CLK pin is driven by the AFE to 0 V.
Therefore, if operating in external clock mode, take care to shut off the external clock to the AFE when in these power-down modes.
Maintain the indicated polarity of photodiode connections to the AFE input pins.
A RESET pulse must be applied after power-up to ensure that the registers are all reset to their default values.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
7 Specifications
7.1 Absolute Maximum Ratings
over operating free-air temperature range (unless otherwise noted) (1)
Supply voltage range
MIN
MAX
RX_SUP to GND
–0.3
4
IO_SUP to GND
–0.3
4
RX_SUP-IO_SUP
–0.3
TX_SUP to GND
UNIT
V
–0.3
6
Voltage applied to analog inputs
Max [–0.3, (GND – 0.3)]
Min [4, (RX_SUP + 0.3)]
V
Voltage applied to digital inputs
Max [–0.3, (GND – 0.3)]
Min [4, (IO_SUP + 0.3)]
V
Maximum duty cycle (cumulative):
sum of all LED phase durations as a function
of the total period
50-mA LED current mode
(ILED_2X = 0)
10%
100-mA LED current mode
(ILED_2X = 1)
3%
Storage temperature, Tstg
(1)
–60
150
°C
Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings
only, which do not imply functional operation of the device at these or any other conditions beyond those indicated under Recommended
Operating Conditions. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
7.2 ESD Ratings
VALUE
V(ESD)
(1)
(2)
Electrostatic discharge
Human body model (HBM), per ANSI/ESDA/JEDEC JS-001 (1)
±1000
Charged device model (CDM), per JEDEC specification JESD22-C101 (2)
±250
UNIT
V
JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process.
JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process.
7.3 Recommended Operating Conditions
over operating free-air temperature range (unless otherwise noted)
RX_SUP
Receiver supply
IO_SUP
Input/output supply
TX_SUP
Transmitter supply
50-mA LED current mode
(ILED_2X = 0)
100-mA LED current mode
(ILED_2X = 1)
MAX
2
3.6
UNIT
V
1.7
Min (3.6, RX_SUP)
V
(1)
3.0 or (0.5 + VLED) ,
whichever is greater
5.25
V
(1)
3.0 or (1.0 + VLED) ,
whichever is greater
5.25
Digital inputs
0
IO_SUP
Analog inputs
0
RX_SUP
V
–20
70
°C
Operating temperature range
(1)
MIN
V
VLED refers to the maximum voltage drop across the external LED (at maximum LED current). This value is usually governed by the
forward drop voltage (VFB) of the LED.
7.4 Thermal Information
AFE4404
THERMAL METRIC (1)
YZP (DSBGA)
UNIT
15 BALLS
RθJA
Junction-to-ambient thermal resistance
67.5
°C/W
RθJC(top)
Junction-to-case (top) thermal resistance
0.5
°C/W
RθJB
Junction-to-board thermal resistance
12.9
°C/W
ψJT
Junction-to-top characterization parameter
0.2
°C/W
ψJB
Junction-to-board characterization parameter
12.9
°C/W
RθJC(bot)
Junction-to-case (bottom) thermal resistance
n/a
°C/W
(1)
For more information about traditional and new thermal metrics, see the IC Package Thermal Metrics application report, SPRA953.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
5
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
7.5 Electrical Characteristics
Minimum and maximum specifications are at TA = –20°C to 70°C, typical specifications are at 25°C. TX_SUP = 4 V, RX_SUP
= IO_SUP = 3 V, 100-Hz PRF, 8-MHz external clock (with CLKDIV_EXTMODE set to divide-by-2), detector CIN = 50 pF, and
CLKDIV_PRF set to 1, unless otherwise noted.
PARAMETER
TEST CONDITIONS
MIN
TYP
MAX
UNIT
PULSE REPETITION FREQUENCY
PRF (1)
10 (2)
Pulse repetition frequency
1000
SPS
RECEIVER
Offset cancellation DAC current range
Offset cancellation DAC current step
TIA gain setting
Cf setting
µA
0.47
µA
10k to 2M
Ω
2.5 to 25
pF
2.5 (3)
Switched RC filter bandwidth
ADC averages
Detector capacitance
–7 to 7
Differential capacitance between INP, INN
kHz
1
16
10
200
pF
TRANSMITTER
LED current range
ILED_2X = 0
0 to 50
ILED_2X = 1
0 to 100
LED current resolution
mA
6
Bits
4
MHz
CLOCKING (Internal Oscillator)
Frequency
Accuracy
Room temperature
Frequency drift with temperature
Full temperature range
±1%
±0.5%
Jitter (RMS)
Output clock high level
Output clock low level
Output clock rise and fall times
10% to 90%, 15-pF load capacitance on
CLK pin
100
ps
IO_SUP
V
0
V
< 30
ns
CLOCKING (External Clock)
Frequency range (4)
4
Input clock high level
Input clock low level
Input capacitance of CLK pin
60
IO_SUP
Capacitance to ground
MHz
V
0
V
<4
pF
I2C INTERFACE
Maximum clock speed
I2C slave address
400
kHz
58
Hex
PERFORMANCE
(1)
(2)
(3)
(4)
(5)
6
Receiver SNR
SNR over a 20-Hz bandwidth for a 500-kΩ
gain setting, 50% FS output, 2% LED and
sampling pulse duration,
ADC averages set to 16
100
dBFS (5)
Transmitter SNR
SNR over a 20-Hz bandwidth for a 50-mA
LED current setting
100
dBFS (5)
PRF refers to the rate at which samples from each of the four phases are output from the AFE.
To extend the lower range of PRF down to 10 Hz, program the CLKDIV_PRF setting.
The effective bandwidth of the switched RC filter scales as a function of the sampling duty cycle. For example, at 2% sampling width
duty cycle, the effective bandwidth of the switched RC filter is approximately 50 Hz.
With appropriate setting of the clock divider ratio (CLKDIV_EXTMODE).
dBFS refers to a full scale voltage of 2 V.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Electrical Characteristics (continued)
Minimum and maximum specifications are at TA = –20°C to 70°C, typical specifications are at 25°C. TX_SUP = 4 V, RX_SUP
= IO_SUP = 3 V, 100-Hz PRF, 8-MHz external clock (with CLKDIV_EXTMODE set to divide-by-2), detector CIN = 50 pF, and
CLKDIV_PRF set to 1, unless otherwise noted.
PARAMETER
TEST CONDITIONS
MIN
TYP
MAX
UNIT
CURRENT CONSUMPTION
RX_SUP current
Normal operation, external clock mode
620
Normal operation, internal oscillator mode
670
In dynamic power-down mode (6)
300
Hardware power-down (PWDN) mode (7)
Software power-down (PDNAFE) mode (7)
35
Normal operation, external clock mode
20
Normal operation, internal oscillator mode
IO_SUP current
5
In dynamic power-down mode (6)
20
Hardware power-down (PWDN) mode (7)
TX_SUP current
µA
3
µA
3
Software power-down (PDNAFE) mode (7)
5
Normal operation, external clock mode (8)
25
Normal operation, internal oscillator mode (8)
25
In dynamic power-down mode (6) (8)
5
Hardware power-down (PWDN) mode (7) (8)
2
Software power-down (PDNAFE) mode (7) (8)
2
µA
TRANSIENT RECOVERY
tACTIVE
Recovery from PWDN mode
Time for signal chain to be functional (9)
tCHANNEL
Recovery from any event causing a
change in signal characteristics
PRF = 100 Hz, sampling duty cycle
(each phase) of 2% (10)
10
ms
200
ms
DIGITAL INPUTS
VIH
High-level input voltage
VIL
Low-level input voltage
0.9 ×
IO_SUP
IO_SUP
0
V
0.1 ×
IO_SUP
V
DIGITAL OUTPUTS
VOH
High-level output voltage
IO_SUP
V
VOL
Low-level output voltage
0
V
(6)
(7)
(8)
(9)
(10)
In dynamic power-down mode for 90% and active mode for 10% of the period.
External clock mode with the external clock switched off.
LED currents set to 0 mA.
For full performance to be restored, a longer time as governed by tCHANNEL can be applicable.
tCHANNELscales inversely with the sampling duty cycle.
7.6 Timing Requirements
MIN
tI2C_RISE
I2C data rise time with a 10-kΩ pullup resistor with a 20-pF load from I2C
data to GND
tI2C_FALL
TYP
MAX
UNIT
1200
ns
I2C data fall time (when the data line is pulled down by the AFE) with a 20-pF
load from I2C data to GND
28
ns
tADC_RDY_RISE
ADC_RDY rise time (10% to 90%) with a 15-pF capacitive load to ground
21
ns
tADC_RDY_FALL
ADC_RDY fall time (90% to 10%) with a 15-pF capacitive load to ground
21
ns
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
7
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
7.7 Typical Characteristics
At 25°C, TX_SUP = 4 V, RX_SUP = IO_SUP = 3.3 V, 100-Hz PRF, 25% duty cycle, Rf = 500 kΩ, Cf is adjusted to keep the
TIA time constant at 1/10th of the sampling duration, 8-MHz external clock (with CLKDIV_EXTMODE set to divide-by-2),
CLKDIV_PRF = 1, detector CIN = 50 pF, ADC averaging = max allowed, SNR (dBFS) = noise referred to full-scale range of
2 V, noise integrated from 1 Hz to Nyquist (= PRF / 2), and values assigned to CLKDIV_EXTMODE and CLK_DIV_PRF
parameters correspond to division ratios controlled by these modes, unless otherwise specified.
900
1250
CLKDIV_EXTMODE = 1
CLKDIV_EXTMODE = 2
CLKDIV_EXTMODE = 3
CLKDIV_EXTMODE = 4
CLKDIV_EXTMODE = 6
CLKDIV_EXTMODE = 8
CLKDIV_EXTMODE = 12
1050
950
CLKDIV_PRF = 1
CLKDIV_PRF = 16
800
Receiver Current (PA)
Receiver Current (PA)
1150
850
750
650
700
600
500
400
300
200
550
100
0
10
20
30
40
External Clock Frequency (MHz)
50
60
0
200
400
600
800
PRF (Hz)
1000
1200
1400
Active window = 500 µs, LED pulse = 100 µs,
all four DYNAMIC bits set to 1
Figure 2. Receiver Current vs PRF in
Dynamic Power-Down Mode
Figure 1. Receiver Current vs External Clock Frequency
106
Output Voltage = 0% of FS
Output Voltage = 10% of FS
Output Voltage = 25% of FS
Output Voltage = 50% of FS
Output Voltage = 75% of FS
35
30
SNR (dBFS) over 20-Hz Bandwidth
Input-Referred Noise Current (pArms)
over 20-Hz Bandwidth
40
25
20
15
10
5
10
15
Duty Cycle (%)
20
102
100
98
25
Duty cycle (x-axis) refers to the sampling duration expressed as a
percentage of the pulse repetition period.
Figure 3. Input-Referred Noise Current in 20-Hz Bandwidth
vs Duty Cycle for Different Output Levels
(As a Percentage of Full-Scale)
0
5
10
15
Duty Cycle (%)
20
25
Duty cycle (x-axis) refers to the sampling duration expressed as a
percentage of the pulse repetition period.
Figure 4. Signal-to-Noise Ratio in 20-Hz Bandwidth vs Duty
Cycle for Different Output Levels
(As a Percentage of Full-Scale)
108
100000
50000
Rf = 10 k:
Rf = 25 k:
Rf = 50 k:
Rf = 100 k:
20000
10000
5000
Rf = 250 k:
Rf = 500 k:
Rf = 1000 k:
Rf = 2000 k:
SNR (dBFS) over 20-Hz Bandwidth
Input-Referred Noise Current (pArms)
over 20-Hz BandWidth
104
96
0
2000
1000
500
200
100
50
20
10
5
2
1
Rf = 10 k:
Rf = 25 k:
Rf = 50 k:
Rf = 100 k:
106
Rf = 250 k:
Rf = 500 k:
Rf = 1000 k:
Rf = 2000 k:
104
102
100
98
0
5
10
15
Duty Cycle (%)
20
25
Figure 5. Receiver Input-Referred Noise Current in 20-Hz
BW vs Duty Cycle (Different TIA Gain Settings)
8
Output Voltage = 0% of FS
Output Voltage = 10% of FS
Output Voltage = 25% of FS
Output Voltage = 50% of FS
Output Voltage = 75% of FS
0
5
10
15
Duty Cycle (%)
20
25
Figure 6. Receiver SNR in 20-Hz BW vs Duty Cycle
(Different TIA Gain Settings)
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Typical Characteristics (continued)
At 25°C, TX_SUP = 4 V, RX_SUP = IO_SUP = 3.3 V, 100-Hz PRF, 25% duty cycle, Rf = 500 kΩ, Cf is adjusted to keep the
TIA time constant at 1/10th of the sampling duration, 8-MHz external clock (with CLKDIV_EXTMODE set to divide-by-2),
CLKDIV_PRF = 1, detector CIN = 50 pF, ADC averaging = max allowed, SNR (dBFS) = noise referred to full-scale range of
2 V, noise integrated from 1 Hz to Nyquist (= PRF / 2), and values assigned to CLKDIV_EXTMODE and CLK_DIV_PRF
parameters correspond to division ratios controlled by these modes, unless otherwise specified.
102
ADC Averaging = 1
ADC Averaging = 2
ADC Averaging = 4
ADC Averaging = 8
ADC Averaging = 16
45
40
SNR (dBFS) over Nyquist Bandwidth
Input-Referred Noise Current (pArms)
over Nyquist Bandwidth
50
35
30
25
100
98
96
94
20
0
5
10
15
Duty Cycle (%)
20
0
25
Figure 7. Receiver Input-Referred Noise Current over
Nyquist Bandwidth vs Duty Cycle (Different ADC Averaging)
10
15
Duty Cycle (%)
20
25
500
Decimation Factor = 1
Decimation Factor = 2
Decimation Factor = 4
Decimation Factor = 8
Decimation Factor = 16
180
Input-Referred Noise Current (pArms)
in 20-Hz Bandwidth
Input-Referred Noise Current (pArms)
in Nyquist Bandwidth
5
Figure 8. Receiver Signal-to-Noise Ratio over Nyquist
Bandwidth vs Duty Cycle (Different ADC Averaging)
220
140
100
60
I_OFFDAC = 0 PA, Rf = 25 k:
I_OFFDAC = 7 PA, Rf = 1000 k:
I_OFFDAC = 7 PA, Rf = 250 k:
400
300
200
100
0
20
0
5
10
15
Duty Cycle (%)
20
0
25
5
10
15
Duty Cycle (%)
D022
Figure 9. Input-Referred Noise Current in Nyquist
Bandwidth vs Duty Cycle (Different Decimation Factor)
20
25
Figure 10. Receiver Input-Referred Noise in 20-Hz
Bandwidth vs Duty Cycle (Different Offset Cancellation DAC
Currents)
10
8
5% Duty Cycle
25% Duty Cycle
0
Filter Attenuation (dB)
4
Filter Attenuation (dB)
ADC Averaging = 1
ADC Averaging = 2
ADC Averaging = 4
ADC Averaging = 8
ADC Averaging = 16
0
-4
-8
-12
-10
-20
PRF = 50 Hz
PRF = 100 Hz
PRF = 200 Hz
PRF = 400 Hz
PRF = 800 Hz
PRF = 1000 Hz
-30
-40
-16
-20
-50
1
2
3 4 5 67 10
20 30 50 70100
Frequency (Hz)
200
500 1000
0
100
200
300
400 500 600
Frequency (Hz)
700
800
900 1000
PRF = 2000 Hz
Figure 11. Response of the Switched-RC Filter
at the AFE Output
Figure 12. Filter Response for Multiple PRFs at
1% Duty Cycle
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
9
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Typical Characteristics (continued)
At 25°C, TX_SUP = 4 V, RX_SUP = IO_SUP = 3.3 V, 100-Hz PRF, 25% duty cycle, Rf = 500 kΩ, Cf is adjusted to keep the
TIA time constant at 1/10th of the sampling duration, 8-MHz external clock (with CLKDIV_EXTMODE set to divide-by-2),
CLKDIV_PRF = 1, detector CIN = 50 pF, ADC averaging = max allowed, SNR (dBFS) = noise referred to full-scale range of
2 V, noise integrated from 1 Hz to Nyquist (= PRF / 2), and values assigned to CLKDIV_EXTMODE and CLK_DIV_PRF
parameters correspond to division ratios controlled by these modes, unless otherwise specified.
5
120
50-mA LED Current Mode
100-mA LED Current Mode
100
-5
LED Current (mA)
Filter Attenuation (dB)
0
-10
-15
PRF = 50 Hz
PRF = 100 Hz
PRF = 200 Hz
PRF = 400 Hz
PRF = 800 Hz
PRF = 1000 Hz
-20
-25
80
60
40
20
-30
0
0
100
200
300
400 500 600
Frequency (Hz)
700
800
900 1000
0
Figure 13. Filter Response for Multiple PRFs at
5% Duty Cycle
60
60
LED Current Step Error (PA)
50-mA LED Current Mode
100-mA LED Current Mode
100
LED Current (mA)
20
30
40
50
Transmitter DAC Current Setting Code
Figure 14. Transmitter Current Linearity
120
80
60
40
20
0.3
40
20
0
-20
-40
-60
0.9
1.5
2.1
2.7
Transmitter Head_Room Voltage (V)
0
3.3
Figure 15. LED Current vs Transmitter Headroom Voltage
10
20
30
40
50
Transmitter DAC Current Setting Code
60
Figure 16. Transmitter DAC Current Step Error in
50-mA Mode
100
100
75
90
50
80
25
PSRR (dB)
LED Current Step Error (PA)
10
0
-25
70
60
-50
50
-75
-100
0
10
20
30
40
50
Transmitter DAC Current Setting Code
60
40
10
100
1000
10000
100000
Frequency (Hz) of Tone at TX_SUP Pin
1000000
Duty cycle = 1%
Figure 17. Transmitter DAC Current Step Error in
100-mA Mode
10
Figure 18. PSRR vs Tone Frequency at TX_SUP
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Typical Characteristics (continued)
At 25°C, TX_SUP = 4 V, RX_SUP = IO_SUP = 3.3 V, 100-Hz PRF, 25% duty cycle, Rf = 500 kΩ, Cf is adjusted to keep the
TIA time constant at 1/10th of the sampling duration, 8-MHz external clock (with CLKDIV_EXTMODE set to divide-by-2),
CLKDIV_PRF = 1, detector CIN = 50 pF, ADC averaging = max allowed, SNR (dBFS) = noise referred to full-scale range of
2 V, noise integrated from 1 Hz to Nyquist (= PRF / 2), and values assigned to CLKDIV_EXTMODE and CLK_DIV_PRF
parameters correspond to division ratios controlled by these modes, unless otherwise specified.
120
50
LED Data
(LED - AMB) Data
Rejection (dB) of 50-Hz Tone
100
PSRR (dB)
80
60
40
20
0
10
40
30
20
10
0
100
1000
10000
100000
Frequency (Hz) of Tone at RX_SUP Pin
0
1000000
1000
2000
3000
4000
5000
Spacing between LED and AMB Sampling Instants (Ps)
Duty cycle = 1%
PRF = 200 Hz, NUMAV = 0
Figure 19. PSRR vs Tone Frequency at RX_SUP
Figure 20. Rejection of a 50-Hz Differential Tone Across
Spacing Between LED and Ambient Phases
4.06
Temperature = -40q C
Temperature = 27q C
Temperature = 85q C
106
104
102
100
98
0
5
10
15
Duty Cycle (%)
20
25
Figure 21. Receiver SNR in a 20-Hz Bandwidth vs
Duty Cycle Across Different Temperatures
Internal Clock Frequency (MHz)
SNR (dBFS) over 20-Hz Bandwidth
108
4.04
4.02
4
3.98
3.96
-40
-20
0
20
40
Temperature (q C)
60
80
100
Figure 22. Internal Oscillator Frequency vs
Temperature on a Typical Unit
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
11
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8 Detailed Description
8.1 Overview
The AFE has an integrated transmitter and receiver for optical heart-rate monitoring and pulse oximetry
applications. The system is characterized by a parameter termed the pulse repetition frequency (PRF) that
determines the repetition periodicity of a sequence of operations. Every cycle of a PRF results in four 24-bit
digital samples at the output of the AFE, each of which is stored in a separate register.
8.2 Functional Block Diagram
TX_SUP
RX_SUP
TX2
TX_SUP
TX1
SLED2
CONVLED2
TX3
LDO
Offset
Cancellation DAC
ILED
I-V Amplifier (TIA)
Cf
6-Bit LED
Current Control
LED2
Filter
Rf
Filter
Buffer
INP
LED2 Ambient, LED3
CONVLED2_amb
SLED2_amb
SLED1
Analog-to-Digital
Converter
IO_SUP
CONVLED1
INM
LED1
Rf
Filter
I2C_CLK
Filter
Cf
I2C Interface
I2C_DAT
LED1 Ambient
SLED1_amb
CONVLED1_amb
IO
Buffer
OSC_ENABLE
4-MHz
Oscillator
RESET
1
4-MHz Clock
CLK
Timing
Engine
ADC_RDY
0
GND
12
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.3 Feature Description
8.3.1 TIA and Switched RC Filter
The receiver input pins (INP, INM) are meant to be connected differentially to a photodiode. The signal current
from the photodiode is converted to a differential voltage using a transimpedance amplifier (TIA). The TIA gain is
set by its feedback resistor (Rf) and can be programmed from 10 kΩ to 2 MΩ. The transimpedance gain between
the input current and output differential voltage of the TIA is equal to 2 × Rf. At the output of the TIA is a switched
RC filter. There are four parallel instances of the filter, each of which are connected to the TIA output signal
during one of four sampling phases.
The signal chain is kept fully differential throughout the receiver channel in order to enable excellent rejection of
common-mode noise as well as noise on power supplies. For simplicity, the scheme with the four parallel filters
is shown in Figure 23 for a single-ended representation of the signal chain. The ADCRST signal corresponds to
the collection of active phases of four ADCRST pulses: ADCRST0, ADCRST1, ADCRST2, and ADCRST3.
SLED2
CONVLED2
Cf
CSAMP1
SLED2_AMB, SLED3
Rf
CONVLED2_AMB,
CONVLED3
CSAMP2
Buffer
SLED1
Analog-to-Digital
Converter
CBUF
CONVLED1
ADCRST(1)
Transimpedance Amplifier
CSAMP3
SLED_AMB
CONVLED_AMB
CSAMP4
Switched RC Filter
NOTE: For simplicity, this circuit is shown in single-ended format.
(1)
ADCRST corresponds to ADCRST0, ADCRST1, ADCRST2, or ADCRST3.
Figure 23. Four Sampling and Conversion Phases Diagram
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
13
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Feature Description (continued)
8.3.1.1 Operation with Two and Three LEDs
The four sampling phases can correspond to either of the following signal state sequences received by the
photodiode:
1. 2-LED mode: LED2 → ambient phase 2 → LED1 → ambient phase 1
2. 3-LED mode: LED2 → LED3 → LED1 → ambient
The sequence of the phases within a pulse repetition cycle is shown in Figure 24.
Pulse Repetition Period
Rf2, Cf2
Sample LED2
Sample Ambient 2 or LED3
Rf1, Cf1
Sample LED1
Sample Ambient 1
Convert LED2
Convert Ambient 2 or LED3
Convert LED1
Convert Ambient 1
PDN_CYCLE
ADC_RDY
Figure 24. Sequence of Four Sampling and Conversion Phases
In the 2-LED mode, LED1 and LED2 are pulsed during the corresponding sampling instants. In the 3-LED mode,
LED1, LED2, and LED3 are pulsed during the corresponding sampling instants. As mentioned in the TIA Gain
Settings and Operation with Two and Three LEDs sections, the TIA gain (Rf) and feedback capacitor (Cf) can be
programmed differently between two sets: Rf1 / Cf1 and Rf2 / Cf2. The way these sets are applied to the four
phases is shown in Figure 24.
14
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Feature Description (continued)
8.3.1.1.1 LED Current Setting
The default LED current range is from 0 mA to 50 mA. The individual currents of each of the three LEDs can be
controlled independently, each with a separate 6-bit control.
Taken as a decimal number, the 6-bit setting provides 63 equal steps between 0 mA and 50 mA. Each increment
of the ILED 6-bit code causes the LED current setting to increment by approximately 0.8 mA. For details, see
register 22h.
The LED current range can be doubled by setting the ILED_2X bit to 1. The accuracy of higher current settings
close to 100 mA can be low because of current saturation of the driver. Each increment of the ILED 6-bit code
causes the LED current to increment by approximately 1.6 mA when ILED_2X is set to 1.
8.3.1.2 TIA Gain Settings
The TIA gain is set by programming the value of Rf (the feedback resistor of the TIA). The Rf setting is controlled
using the TIA_GAIN register bit. For details see register 21h.
By default, the same TIA_GAIN setting is applied for all four phases of the receiver. Separate gains can be set
for two of the four phases by setting the EN_SEP_GAIN bit. When the EN_SEP_GAIN bit is enabled, the
TIA_GAIN register controls the Rf1 setting and the TIA_GAIN_SEP register controls the Rf2 settings.
Mapping of the Rf1 / Rf2 values to the two sets of 3-bit controls is described in Table 50.
8.3.1.3 TIA Bandwidth Settings
TIA bandwidth settings are similar to TIA gain settings. The TIA bandwidth is set by programming the value of Cf
(the feedback capacitance of the TIA). The product of Rf and Cf gives the time constant of the TIA and must be
set approximately 1/5th (or less) of the LED or sampling pulse durations. This choice of time constant allows the
TIA to pass the incoming pulses from the photodiode.
Cf is controlled using the TIA_CF register bit. For details, see register 21.
By default, the same TIA_CF setting is applied for all four phases of the receiver. Similar to the TIA gain settings,
a separate Cf can be set for two of the four phases by setting the EN_SEP_GAIN bit. When the EN_SEP_GAIN
bit is enabled, the TIA_CF register controls the Cf1 settings and TIA_CF_SEP controls the Cf2 settings. Mapping
the Cf1 / Cf2 values to the two sets of 3-bit controls is the same as illustrated in Table 51.
8.3.2 Power Management
The AFE has three independent supplies for the transmitter, receiver, and I/O.
8.3.2.1 Transmitter Supply (TX_SUP)
The transmitter supply has a range of 3.0 V to 5.25 V. In the most common arrangement, this supply can be the
same supply that the anodes of the LEDs are tied to, as shown in Figure 25.
TX_SUP
LEDs
TX_SUP
TX1
TX2
TX3
AFE
Figure 25. LED to Pin Connections
When the LEDs must be tied to a different supply, care must be taken to ensure that the LED supply is within
0.3 V of TX_SUP. This consideration of the LED supply voltage prevents the electrostatic discharge (ESD)
diodes inside the AFE from turning on during the off state of the LEDs.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
15
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Feature Description (continued)
8.3.2.2 Receiver Supply (RX_SUP)
The receiver supply has a range of 2.0 V to 3.6 V. The AFE has internal low-dropout (LDO) regulators operating
at 1.8 V that regulate both the analog and digital blocks inside the AFE. This rejection of supply noise from the
internal LDOs, coupled with the differential nature of the architecture, enables excellent noise rejection on the
supplies (for instance, 50-Hz noise).
8.3.2.3 I/O Supply (IO_SUP)
The I/O supply can either be tied to RX_SUP or can be separately driven. The motivation for a separate I/O
supply is to interface with certain microcontrollers (MCUs) that require a 1.8-V I/O current. In this case, IO_SUP
can be driven separately from RX_SUP and can be tied to 1.8 V.
8.3.2.4 Boost Converters Selection
If the supply voltage for TX_SUP (and the LEDs) is unavailable in the system, a boost converter may be required
to generate the supply voltage. TI has a portfolio of boost converters from which an appropriate device can be
selected. Some choices are listed in Table 1.
Table 1. TI Boost Converter Details (1)
TI PART NUMBER
SIZE
(mm, L × W × H)
INPUT SUPPLY
(V)
OUTPUT SUPPLY
TYPICAL
QUIESCENT
CURRENT (µA)
EXTERNAL COMPONENTS
TPS61254
1.2 × 1.3 × 0.625
2.3 to 5.5
Different parts with a
fixed voltage up to 5 V
36
2 capacitors, 1 inductor
TPS61240
0.9 × 1.3 × 0.625
2.3 to 5.5
5 V (fixed)
30
2 capacitors, 1 inductor
TPS61252
2 × 2 × 0.75
2.3 to 6
Adjustable up to 6.5 V
30
3 capacitors, 1 inductor, 4 resistors
TPS61220
2 × 2.2 × 1
0.7 to 5.5
Adjustable from 1.8 V to 6 V
5.5
2 capacitors, 1 inductor, 2 resistors
(1)
For the most current information, see the TI data sheets corresponding to each device (available for download from www.ti.com).
8.3.3 Offset Cancellation DAC
A typical optical heart-rate signal has a dc component and an ac component. Although a higher TIA gain
maximizes the ac signal at the AFE output, the magnitude of the dc component limits the maximum gain possible
in the TIA. In order to decouple the affect of the dc level on the allowed ac signal gain, a current digital-to-analog
converter (DAC) is placed at the input of the device. By setting a programmable cancellation current (based on
the dc current signal level), the effective signal that is gained up by the TIA can be reduced. This reduction in the
effective signal current into the TIA results in the ability to set a higher TIA gain than what is otherwise possible
without enabling the offset correction. In each of the four phases of operation, a separate programmable current
value can be set by programming four different sets of register bits. These cancellation currents are automatically
presented to the input of the TIA in the appropriate phase. The ability to set a different cancellation current in
each of the four phases can be used to cancel out the ambient current in the ambient phase. In the LED on
phase, this ability can be used to cancel out the sum of the ambient current and dc current of the heart-rate
signal. The polarities of the signal current and offset cancellation current is illustrated in Figure 26. The polarity of
the offset cancellation current can be reversed by programming the POL_OFFDAC bits.
16
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
With zero input current and zero current in the offset cancellation DAC, the output of the AFE will be close to
zero. Based on the channel offset, the output voltage for zero input current could be a small positive or negative
value, usually in the range of several mV. With the photodiode connected as shown in Figure 26 and a signal
current coming from the photodiode, the output code of the device is expected to be positive with the offset
cancellation DAC set to zero (Ioffset = 0). With Ioffset set negative (POL_OFFFAC = 1), a dc offset can be
subtracted from the signal and the ac signal can be amplified with a higher gain than what is otherwise possible.
Cf
IPD
Ioffset
Rf
+
INP
PD
TIA_diff
_
INM
Cf
Ioffset
IPD
Rf
Figure 26. Offset Cancellation Current Polarity Diagram
A breakdown of the signal current and voltage levels is provided in Table 2 for a variety of signal levels. In
Table 2, the current transfer ratio (CTR) is used to describe the relationship between the set LED current and the
resulting photodiode current (IPD). CTR is the ratio of the photodiode current for a given LED current and is a
function of the optical and mechanical parameters as well as human physiology.
Table 2. Signal Current and Voltage Levels for a Hypothetical Use Case (1)
(1)
PHASE
ILED (mA)
CTR
(µA / mA)
Isig (µA)
Iamb (µA)
IPD (µA)
I_OFFDAC
(µA)
Ieff (µA)
LED2
25
0.025
0.625
1
LED3
50
0.025
1.25
1
1.625
–1.4
2.25
–1.87
LED1
12.5
0.025
0.3125
1
1.3125
AMB1
0
0.025
0
1
1
Rf (MΩ)
TIA_diff (V)
0.225
1
0.45
0.38
0.5
0.38
–0.93
0.3825
0.5
0.3825
–0.93
0.07
2
0.28
ILED is the set LED current; CTR is the current transfer ratio (in µA / mA); Isig is the photodiode signal current resulting from LED
pulsing (Isig = ILED × CTR); Iamb is the current in the photodiode resulting from ambient light (that is present in all phases and adds to
Isig); IPD is the total input current (Isig + Iamb); I_OFFDAC is the current setting of the offset cancellation DAC; Ieff is the effective current
after offset cancellation (Isig + I_OFFDAC); Rf is the TIA gain setting; and TIA_diff is the output differential signal of the TIA (note that
this signal must be within the range of ±1 V).
8.3.3.1 Offset Cancellation DAC Controls
The I_OFFDAC bits control the magnitude of the current subtracted (or added) at the TIA input. The
POL_OFFDAC bits control the polarity of the current and determine whether the current is subtracted from or
added to the input. For details, see register 3Ah.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
17
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.3.4 Analog-to-Digital Converter (ADC)
The AFE has an ADC that provides a 22-bit representation of the current from the photodiode. The ADC codes
corresponding to the various sampling phases can be read out from 24-bit registers in twos complement format.
The ADC full-scale input range is ±1.2 V and spans bits 21 to 0. The mapping of the ADC input voltage to the
ADC code is shown in Table 3.
Table 3. Mapping the ADC Input Voltage to the ADC Code
DIFFERENTIAL INPUT VOLTAGE AT ADC INPUT
24-BIT ADC OUTPUT CODE
–1.2 V
111000000000000000000000
(–1.2 / 221) V
111111111111111111111111
0
000000000000000000000000
(1.2 / 221) V
000000000000000000000001
1.2 V
000111111111111111111111
The two MSBs of the 24-bit word serve as sign-extension bits to the 22-bit ADC code and are equal to the MSB
of the 22-bit ADC code when the input to the ADC is within its full-scale range, as shown in Table 4.
Table 4. Using Sign-Extension Bits to Determine the Input Operating Voltage
BITS 23-21
INPUT STATUS
000
Positive and lower than positive full-scale (within full-scale range)
111
Negative and higher than negative full-scale (within full-scale range)
001
Positive and higher than positive full-scale (outside full-scale range)
110
Negative and lower than negative full-scale (outside full-scale range)
Noted that the TIA has an operating range of ±1 V even though the ADC input full-scale range is ±1.2 V, as
shown in Figure 27. When setting the TIA gain, ensure that the signal at the TIA output does not exceed ±1 V.
ADC Max
(Differential)
1.2 V
TIA Max
(Differential)
1V
0V
TIA Min
(Differential)
-1 V
ADC Min
(Differential)
-1.2 V
Figure 27. TIA and ADC Dynamic Ranges
18
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.3.5 I2C Interface
The AFE has an I2C interface for communication. The I2C_CLK and I2C_DAT lines require external pullup
resistors to IO_SUP. See the I2C protocol standards documents for details of the I2C interface. This section only
describes certain key features of the interface. The data on I2C_DAT must be stable during the high level of
I2C_CLK and may transition during the low level of I2C_CLK, as shown in Figure 28.
Data Line
Stable Data
Data Line
Transition
Allowed
I2C_DAT
I2C_CLK
Figure 28. Allowed Transition of I2C_DAT while Transmission of Data Bits
The start condition is indicated by a high-to-low transition of the I2C_DAT line when the I2C_CLK is high. A stop
condition is indicated by a low-to-high transition of the I2C_DAT line when the I2C_CLK is high. Figure 29 shows
the start and stop conditions.
I2C_DAT
I2C_CLK
STOP
Condition (P)
START
Condition (S)
Figure 29. Transition of I2C_DAT during Start and Stop Conditions
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
19
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
With the previously mentioned protocols for data, start, and stop conditions in place, the write and read
operations are as shown in Figure 30 and Figure 31, respectively. In Figure 30 and Figure 31, the slave address
for the AFE (indicated as SA6 to SA0) is a 7-bit representation of address 58h. The R/W bit is the read/write bit
and is set to '1' for Read and '0' for Write. Only the ADC output registers (addressed from 2Ah to 2Fh) can be
read out without the need for setting the REG_READ bit. Prior to reading out any other register, the REG_READ
bit needs to be additionally set to '1'. In Figure 30 and Figure 31, the activity performed by the host is shown in
black whereas activity from the AFE is shown in red. Thus, after the host sends the slave address during a write
operation, the AFE pulls the I2C_DAT line low (shown as ACK) if the slave address matches 58h. Similarly, the
host pulls the I2C_DAT line high (shown as NACK) as acknowledgment of a successfully completed read
operation involving three bytes of data. Continuous read/write mode is not supported.
P
S
I2C_DAT
SA6
SA5
SA4
SA3
SA2
SA1
SA0
R/W
ACK
A7
A6
A5
Slave Address
(1)
A4
A3
A2
A1
A0
ACK
DATA[23:16]
ACK
DATA[15:8]
ACK
DATA[7:0]
ACK
Register Address
Activity performed by the host is shown in black whereas activity from the AFE is shown in red. Continuous read/write
mode is not supported.
Figure 30. I2C Write Option Timing
S
I2C_DAT
P
S
SLAVE ADDRESS
R/W
ACK
REG ADDRESS
ACK
SLAVE ADDRESS
R/W
ACK
DATA[23:16]
ACK
DATA[15:8]
ACK
DATA[7:0]
NACK
Figure 31. I2C Read Option Timing
8.3.6 Timing Engine
The AFE has a fully-integrated timing engine that can be programmed to generate all clock phases for
synchronized transmit drive, receive sampling, and data conversion. To enable the timing engine (after powering
up the device), enable the TIMEREN bit.
8.3.6.1 Timer and PRF Controls
The timing engine inside the AFE has a 16-bit counter. The duration of the count with respect to an internal clock
(the timer clock) determines the pulse repetition period. The pulse repetition frequency (PRF) can be set using
the PRPCT register bits that represent the high value of the counter (the low value of the counter is 0). The
counter automatically counts until reaching PRPCT and then returns to 0 to start the next count. To suspend the
count and keep the counter in reset state, enable the TM_COUNT_RST bit.
20
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.3.6.2 Timing Control Registers
The start and stop counts for the various dynamic signals generated by the timing engine are shown in Table 5.
The timing edge numbers are in reference to Figure 32.
Table 5. Timing Register and Edge Details
TIMING SIGNAL
DESCRIPTION
REGISTER
ADDRESS (Hex)
TIMING EDGE
LED2STC
Sample LED2 start
1h
TE3
LED2ENDC
Sample LED2 end
2h
TE4
LED1LEDSTC
LED1 start
3h
TE17
LED1LEDENDC
LED1 end
4h
TE18
ALED2STC\LED3STC
Sample ambient 2 (or sample LED3) start
5h
TE11
ALED2ENDC\LED3ENDC
Sample ambient 2 (or sample LED3) end
6h
TE12
LED1STC
Sample LED1 start
7h
TE19
LED1ENDC
Sample LED1 end
8h
TE20
LED2LEDSTC
LED2 start
9h
TE1
LED2LEDENDC
LED2 end
Ah
TE2
ALED1STC
Sample ambient 1 start
Bh
TE25
ALED1ENDC
Sample ambient 1 end
Ch
TE26
TE7
LED2CONVST
LED2 convert phase start
Dh
LED2CONVEND
LED2 convert phase end
Eh
TE8
ALED2CONVST\LED3CONVST
Ambient 2 (or LED3) convert phase start
Fh
TE15
ALED2CONVEND\LED3CONVEND
Ambient 2 (or LED3) convert phase end
10h
TE16
LED1CONVST
LED1 convert phase start
11h
TE23
LED1CONVEND
LED1 convert phase end
12h
TE24
ALED1CONVST
Ambient 1 convert phase start
13h
TE29
ALED1CONVEND
Ambient 1 convert phase end
14h
TE30
ADCRSTSTCT0
ADC reset phase 0 start
15h
TE5
ADCRSTENDCT0
ADC reset phase 0 end
16h
TE6
ADCRSTSTCT1
ADC reset phase 1 start
17h
TE13
ADCRSTENDCT1
ADC reset phase 1 end
18h
TE14
ADCRSTSTCT2
ADC reset phase 2 start
19h
TE21
ADCRSTENDCT2
ADC reset phase 2 end
1Ah
TE22
ADCRSTSTCT3
ADC reset phase 3 start
1Bh
TE27
ADCRSTENDCT3
ADC reset phase 3 end
1Ch
TE28
When three LEDs are used within a single period, the Ambient2 phase is replaced by the LED3 phase. The
timing controls for driving the third LED are as shown in Table 6.
Table 6. Timing Controls for Driving the Third LED
TIMING SIGNAL
DESCRIPTION
REGISTER ADDRESS (Hex)
TIMING EDGE
LED3LEDSTC
LED3 start
36h
TE9
LED3LEDENDC
LED3 end
37h
TE10
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
21
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
The timing diagram for when all three LEDs are active is shown in Figure 32.
Count = 0
LED2
SLED2
ADCRST0
CONVLED2
LED3
SLED3
ADCRST1
CONVLED3
LED1
SLED1
Count = PRPCT
TE1
TE2
TE3
TE4
TE5
TE6
TE7
TE8
TE9
TE10
TE11
TE12
TE13
TE14
TE15
TE16
TE17
TE18
TE19
ADCRST2
CONVLED1
SLED_amb
ADCRST3
CONVLED_amb
PDNCYCLE
TE20
TE21
TE22
TE23
TE24
TE25
TE26
TE27
TE29
TE28
TE30
TE31
TE32
Figure 32. Timing Diagram
22
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.3.6.3 Receiver Timing
The timing engine can be programmed to set the different phases of the receiver. The relative timings of the LED
phase, sampling phase, ADC reset phase, and ADC conversion phases are shown in Figure 33 and Table 7.
t1
LED2
t2
SLED2
ADCRST0
t3
t4
CONVLED2
t5
Figure 33. Receiver Timing Guidelines
Table 7. Receiver Timing Details
MIN
t1
Start of LED to start of sampling
t2
End of LED to start of ADC reset phase
2
t3
Duration of ADC reset phase
6
t4
End of ADC reset phase to start of ADC conversion phase
1
t5
Duration of ADC conversion phase (2)
(1)
(2)
(3)
MAX
UNIT
Min [20, (0.2 × LED pulse duration)]
µs
Counts (1)
Counts
1
Count
(NUMAV + 2) × 200 × tADC + 15 (3)
µs
Refers to one clock period of CLK_TE.
See Figure 36 for notations of the clocking domain.
tADC = 1 / fADC.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
23
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
The fourth ADCRST signal (ADCRST3) in a period also defines the start of the ADC_RDY pulse. The rising edge
of the ADC_RDY signal can be used as an interrupt by the MCU to readout the registers corresponding to the
preceding four conversions in that period. If any of the four conversion phases are not needed, then their
duration can be set to 0. However, the corresponding ADCRSTx pulse must still be defined. All four ADCRSTx
pulses must be defined in order to generate the ADC_RDY pulse. A scheme of the ADC_RDY pulse generation
is shown in Figure 34. The ADC_RDY pulse timing is shown in Table 8.
Pulse Repetition Period
ADCRST0
ADCRST1
Programmed
CONV1'
CONV1
CONV2
ADCRST2
CONV2'
CONV3
CONV3'
CONV4
ADCRST3
CONV4'
t7
ADC_RDY
(Generated by Device)
t6
ADC registers hold contents of CONV1, CONV2, CONV3, and CONV4.
Data in ADC Registers
« &2191', CONV2', CONV3', CONV4'
Figure 34. ADC_RDY Generation Scheme
Table 8. ADC_RDY Timing Details
t6
End of fourth ADC reset phase to start of
ADC_RDY pulse
t7
ADC_RDY pulse duration
(1)
24
TYP
MAX
(NUMAV + 1) × 200 × tADC
(NUMAV + 2) × 200 × tADC + 15
tADC (1)
UNIT
µs
µs
If a larger pulse duration is needed for the ADC_RDY interrupt, use PROG_TG_EN to enable a programmable timing signal to come out
of the ADC_RDY pin. The location of the signal can be set using the PROG_TG_STC and PROG_TG_ENDC counts.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.3.6.4 Dynamic Power-Down Timing
The dynamic power-down feature can be used to shut down the receiver inside every cycle to save power, as
shown in Figure 35 and Table 9.
Count =
PRPCT
Count = 0
CONVLED2
CONVLED3
CONVLED1
CONVLED_amb
PDNCYCLE
t8
t9
Figure 35. Dynamic Power-Down Timing Diagram
Table 9. Dynamic Power-Down Timing Details
MIN
UNIT
t8
End of 4th conversion phase to the start of PDNCYCLE
200
µs
t9
End of PDNCYCLE to start of next period
200
µs
The timing controls for the PDNCYCLE pulse are shown in Table 10.
Table 10. Timing Controls for Dynamic Power-Down
(1)
TIMING SIGNAL
DESCRIPTION
REGISTER ADDRESS (Hex)
TIMING EDGE (1)
PDNCYCLESTC
PDNCYCL start
32h
TE31
PDNCYCLEENDC
PDNCYCL end
33h
TE32
See Figure 32.
8.3.6.5 Sample Register Values
Table 11 lists a sample of the register settings for generating the different timing signals. These sample settings
correspond to CLK_INT = 4 MHz and a PRF of 100 Hz. Three LEDs are used in a cycle, each with a duty cycle
of 1%, corresponding to a pulse duration of 100 µs. The conversion durations are set in order to accommodate
four averages (NUMAV = 3). Two cases are described in Table 11: one for CLKDIV_PRF = 1 (CLK_TE = 4 MHz)
and the other for CLKDIV_PRF = 16 (CLK_TE = 250 kHz).
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
25
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Table 11. Sample Register Settings
SIGNAL (1)
PRF COUNTER
LED2
SLED2
ADCRST0
CONVLED2
LED3
SLED3
ADCRST1
CONVLED3
LED1
SLED1
ADCRST2
CONVLED1
SLED_AMB
ADCRST3
CONVLED_AMB
PDNCYCLE
(1)
(2)
(3)
26
NO DIVISION OF CLOCK TO TIMING
ENGINE CLOCK
(CLKDIV_PRF = 1)
REGISTER FIELD
PRPCT
LED2LEDSTC
TIME DURATION
(µs)
REGISTER
SETTING (2)
TIME DURATION
(µs)
REGISTER
SETTING (2)
10000
39999 (3)
10000
2499 (3)
100
LED2LEDENDC
LED2STC
80
LED2ENDC
ADCRSTSTCT0
1.75
ADCRSTENDCT0
LED2CONVST
265
LED2CONVEND
LED3LEDSTC
100
LED3LEDENDC
ALED2STC\
LED3STC
ADC CLOCK TO TIMING ENGINE
CLOCK DIVIDED BY 16
(CLKDIV_PRF = 16)
0
399
80
399
401
407
408
1467
400
799
100
80
8
268
100
480
80
ALED2ENDC\
LED3ENDC
ADCRSTSTCT1
1.75
ALED2CONVST\
LED3CONVST
1469
1475
100
LED1LEDENDC
LED1STC
80
LED1ENDC
ADCRSTSTCT2
1.75
ADCRSTENDCT2
LED1CONVST
265
LED1CONVEND
ALED1STC
80
ALED1ENDC
ADCRSTSTCT3
1.75
ADCRSTENDCT3
ALED1CONVST
265
ALED1CONVEND
PDNCYCLESTC
8432.25
PDNCYCLEENDC
27
28
94
25
49
49
8
96
97
98
268
2535
LED1LEDSTC
26
30
1476
265
ALED2CONVEND\
LED3CONVEND
5
24
80
799
ADCRSTENDCT1
0
24
800
1199
880
1199
2537
2543
2544
3603
1279
1598
3605
3611
3612
4671
5471
39199
164
100
80
8
268
80
8
268
8384
50
74
55
74
166
167
168
234
79
98
236
237
238
304
354
2449
For signal names, see Figure 23.
Time duration = (end count – start count + 1) / fTE.
For PRPCT, start count = 0.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
The timing described in Table 11 minimizes the active time, thereby enabling the signal chain to be in the
dynamic power-down state for the maximum fraction of time. In this timing, the LED active phase overlaps with
the conversion phase corresponding to a previous LED. The ground bounce from the LED switching can couple
into the receiver and cause a small interference between one phase and the next. In most intended applications,
this bounce is not expected to cause any problems. However, if the lowest level of interference across phases
must be attained, the timing registers can be programmed as shown in Table 12.
Table 12. Sample Register Settings for Low Interference Across Phases
SIGNAL (1)
REGISTER FIELD
PRF COUNTER
PRPCT
LED2
SLED2
ADCRST0
CONVLED2
LED3
SLED3
ADCRST1
CONVLED3
LED1
SLED1
ADCRST2
CONVLED1
SLED_AMB
ADCRST3
CONVLED_AMB
PDNCYCLE
(1)
LED2LEDSTC
LED2LEDENDC
LED2STC
LED2ENDC
ADCRSTSTCT0
ADCRSTENDCT0
NO DIVISION OF CLOCK TO TIMING ENGINE CLOCK
(CLKDIV_PRF = 1)
TIME DURATION (µs)
REGISTER SETTING
10000
39999
99.75
79.75
1.75
LED2CONVST
115
LED2CONVEND
LED3LEDSTC
LED3LEDENDC
ALED2STC\
LED3STC
ALED2ENDC\
LED3ENDC
ADCRSTSTCT1
ADCRSTENDCT1
99.75
LED1STC
LED1ENDC
ADCRSTSTCT2
ADCRSTENDCT2
LED1CONVST
LED1CONVEND
ALED1STC
ALED1ENDC
ADCRSTSTCT3
ADCRSTENDCT3
1.75
5607
6066
400
798
6068
6074
6075
115
6534
99.75
79.75
1.75
115.25
79.75
1.75
115
ALED1CONVEND
PDNCYCLESTC
5606
798
ALED1CONVST
PDNCYCLEENDC
5600
480
ALED2CONVEND\
LED3CONVEND
LED1LEDENDC
80
398
79.75
ALED2CONVST\
LED3CONVST
LED1LEDSTC
0
398
7882.25
800
1198
880
1198
6536
6542
6543
7003
1280
1598
7005
7011
7012
7471
7671
39199
For signal names, see Figure 23.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
27
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.4 Device Functional Modes
8.4.1 Power Modes
The AFE has the following power modes:
1. Normal mode.
2. Hardware power-down mode (PWDN): this mode is set using the RESETZ pin. When the RESETZ pin is
pulled low for more than 200 µs, the device enters hardware power-down mode where the power
consumption is very low (of a few µA).
3. Software power-down mode (PDNAFE) using a register bit.
4. Dynamic power-down mode: this mode is enabled by setting the start and end points of the PDN_CYCLE
signal that is controlled using the timing engine. During the PDN_CYCLE high phase, the functional blocks
(as selected by the DYNAMICx bits) are powered down. When powering down the TIA in dynamic powerdown mode, consideration must be given to the dynamics of the photodiode. When the TIA is powered down,
the feedback mechanism is no longer available to maintain zero bias across the photodiode, resulting in a
voltage drift across the photodiode. When the AFE comes out of dynamic power-down into active mode, a
transient recovery time for the photodiode results. Additionally, the INP, INM pins can be shorted through a
switch to an internal reference voltage (VCM) to keep the photodiode in zero bias whenever the TIA is in
power-down mode. Maintaining zero bias across the photodiode is accomplished by setting the
ENABLE_INPUT_SHORT bit to 1. By setting this bit in conjunction with the DYNAMIC3 bit, the dynamics of
the photodiode can be better controlled during the dynamic power-down mode.
8.4.2 RESET Modes
The AFE has internal registers that must be reset before valid operation. There are two ways to reset the device:
1. Either through the RESETZ pin (a reset signal can be issued by pulsing the RESETZ pin low for a duration of
time between 25 to 50 µs) or
2. A software reset via the SW_RESET register bit.
8.4.3 Clocking Modes
The AFE has an internal oscillator that can generate a 4-MHz clock. This clock can be made to come out of the
CLK pin for use by the rest of the system. The default mode is to use an external clock. The frequency range of
this external clock is between 4 MHz to 60 MHz. A programmable internal division ratio between 1 to 12 must be
set so that the divided clock is between 4 MHz to 6 MHz. For high-accuracy measurements, operating the AFE
using an input (external) clock with high accuracy is preferable. If a high-accuracy measurement is required when
using the internal oscillator, a correction scheme can be used in the MCU to digitally compensate for the
inaccuracy in the oscillator. One method of this approach is to accurately estimate the PRF by measuring the
ADC_RDY periodicity in terms of a high-accuracy MCU clock (for example, a 32-kHz clock) to establish the
accurate PRF. This information can then be used to digitally correct the heart rate computation.
8.4.4 PRF Programmability
By default, the internal clock is 4 MHz. This clock also goes to the timing engine that has a 16-bit counter. The
maximum setting of this counter (all 16 bits set to 1) determines the lowest value of PRF, resulting in a minimum
PRF of 61 Hz. To extend the lower range of PRF, an independent programmable divider is introduced in the
clock going to the timing engine. By programming this divider between 1 to 16 with the CLKDIV_PRF register
control, the lower range of PRF can be extended from 61 Hz to approximately 4 Hz (limit the minimum PRF to
10 Hz). The various clocking domains and controls are described in Figure 36 and Table 13.
28
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Device Functional Modes (continued)
To ADC
CLKDIV_CLKOUT
OSC_ENABLE
ENABLE_CLKOUT
/
CLK_INT
4-MHz
Oscillator
fINT
1
CLK_ADC
CLK
CLK_EXT
/
CLK_TE
/
0
Timing Engine
(TE)
ADC_RDY
fPRF
fTE
fADC
fEXT
CLKDIV_PRF
OSC_ENABLE
CLKDIV_EXTMODE
Figure 36. Clocking Domains Diagram
Table 13. Clock Domains and Operating Ranges
CLOCK
DESCRIPTION
FREQUENCY
FREQUENCY RANGE
COMMENTS
CLK_INT
Clock generated by the internal
oscillator
fINT
4 MHz
CLK_EXT
External clock
fEXT
4 MHz to 60 MHz
Set the division ratio with
CLKDIV_EXTMODE so that CLK_ADC is
4 MHz to 6 MHz
CLK_ADC
Clock used by the ADC for
conversion
fADC
4 MHz to 6 MHz
Selected as either an internal clock or a
divided version of the external clock
CLK_TE
Clock used by the timing engine
fTE
fADC divided by 1 to 16
Division ratio is set by CLKDIV_PRF
ADC_RDY
Interrupt to MCU at the same
rate as the PRF
fPRF
Limit to 10 Hz-1000 Hz, limited to 1000 /
(division ratio as set by CLKDIV_PRF)
Set by PRPCT and fTE
(1)
(1)
Internal clock when the oscillator is
enabled
Refer Electrical Characteristics for accuracy of Internal Oscillator.
8.4.5 Averaging Modes
To reduce the noise, the input to the ADC (sampled on the CSAMPx capacitors) can be converted by the ADC
multiple times and averaged. The number of averages is set using the NUMAV register control based on
Equation 1:
Number of Averages = (NUMAV + 1)
(1)
By default, NUMAV = 0. Therefore, the default mode corresponds to when the ADC converts its input one time in
each of the four phases and stores the content in the register corresponding to that phase.
When NUMAV is programmed (for example if NUMAV = 3), the ADC converts its input four times in each phase,
averages the four conversions, and stores the averaged value in the register corresponding to that phase.
Averaging only helps in reducing ADC noise and not the front end noise because the input to the ADC is the
same sampled voltage across all the ADC conversions used to generate the average (this voltage corresponds
to the voltage sampled on the four CSAMPx capacitors in Figure 23). The number of samples that can be
averaged ranges from 1 to 16 (when NUMAV is programmed from 0 to 15). A higher number of averages results
in larger conversion times; see Table 7.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
29
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Averaging is implemented in the following manner:
The number of ADC samples corresponding to the number of averages (NUMAV + 1) are accumulated, as
shown in Equation 2.
where
•
ADCi = the ith sample converted by the ADC.
(2)
The accumulator output (SUMADC) is then divided by a factor D that is obtained by D = 128 ÷ X , with X being
an integer.
The averaged output is shown in Equation 3:
ADCOUT = SUMADC ÷ D
where
•
D = 128 ÷ X, with X being an integer.
(3)
This implementation gives an averaging function that is exact when the number of averages is a power of 2 but
deviates from ideal values for other settings, as shown in Table 14.
Table 14. Averaging Mode Settings
30
NUMAV
NUMBER OF AVERAGES
INTEGER (X)
DIVISION FACTOR (D)
0
1
128
1.0
1
2
64
2.0
2
3
43
2.97
3
4
32
4.0
4
5
26
4.92
5
6
21
6.10
6
7
18
7.11
7
8
16
8.0
8
9
14
9.14
9
10
13
9.85
10
11
12
10.67
11
12
11
11.64
12
13
10
12.8
13
14
9
14.22
14
15
9
14.22
15
16
8
16.0
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.4.6 Decimation Mode
The AFE4404 has a decimation mode that can be used to improve the performance at low pulse repetition
frequencies (PRFs). In this mode, up to N (N = 2, 4, 8, or 16) consecutive data samples can be averaged. The
averaged output comes out one time every N clock cycles. The ADC_RDY frequency also reduces to PRF / N.
A timing diagram is shown in Figure 37 for where the decimation factor = 4 and PRF = 100 Hz. Figure 37 is only
intended to illustrate the change in periodicity of ADC_RDY and the update rate of the registers relative to the
pulse repetition period. However, the timing of all other signals continues to be as per the descriptions mentioned
in the Timing Engine section.
LED On
PRF Setting,
100 Hz
ADC Conversion of
(LED2-Ambient2)
Data 4
Data 5
Data 6
Data 7
Data 8
Data 9
Data 10
Data 11
Data 12
Register 2Eh
Data 4
Data 5
Data 6
Data 7
Data 8
Data 9
Data 10
Data 11
Data 12
Average of Data 1, 2, 3, 4
Register 3Fh
Average of Data 5, 6, 7, 8
ADC_RDY
25-Hz Frequency
Figure 37. Decimation Mode Enabled Timing Diagram
(Decimation Factor = 4, PRF = 100 Hz)
8.4.6.1 Decimation Mode Power and Performance
The main advantage of the decimation mode is that this mode can be used to reduce the readout rate of the
MCU because the data rate reduces by the decimation factor. Normally, reducing the data rate leads to SNR
loss. However, with decimation mode, there is no SNR loss regardless of the lower data rate because of the
averaging of consecutive samples. Table 15 compares different modes of operation.
Table 15. Different Modes of Operation
MODE
RATE OF DEVICE SAMPLES
AND CONVERSIONS
RATE OF MCU DATA READS
No decimation, 100-Hz PRF
100 Hz
100 Hz
Reference
No decimation, 25-Hz PRF
25 Hz
25 Hz
SNR is approximately 6 dB lower
than reference
4X decimation mode, 100-Hz
PRF
100 Hz
25 Hz
SNR is comparable to reference
RELATIVE PERFORMANCE
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
31
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5 Register Map
ADDRESS
(Hex)
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
00h
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SW_RESET
0
TM_COUNT_RST
REG_READ
Table 16. Register Map (1)
01h
0
0
0
0
0
0
0
0
LED2STC
02h
0
0
0
0
0
0
0
0
LED2ENDC
03h
0
0
0
0
0
0
0
0
LED1LEDSTC
04h
0
0
0
0
0
0
0
0
LED1LEDENDC
05h
0
0
0
0
0
0
0
0
ALED2STC\LED3STC
06h
0
0
0
0
0
0
0
0
ALED2ENDC\LED3ENDC
07h
0
0
0
0
0
0
0
0
LED1STC
08h
0
0
0
0
0
0
0
0
LED1ENDC
09h
0
0
0
0
0
0
0
0
LED2LEDSTC
0Ah
0
0
0
0
0
0
0
0
LED2LEDENDC
0Bh
0
0
0
0
0
0
0
0
ALED1STC
0Ch
0
0
0
0
0
0
0
0
ALED1ENDC
0Dh
0
0
0
0
0
0
0
0
LED2CONVST
0Eh
0
0
0
0
0
0
0
0
LED2CONVEND
0Fh
0
0
0
0
0
0
0
0
ALED2CONVST\LED3CONVST
10h
0
0
0
0
0
0
0
0
ALED2CONVEND\LED3CONVEND
11h
0
0
0
0
0
0
0
0
LED1CONVST
12h
0
0
0
0
0
0
0
0
LED1CONVEND
13h
0
0
0
0
0
0
0
0
ALED1CONVST
14h
0
0
0
0
0
0
0
0
ALED1CONVEND
15h
0
0
0
0
0
0
0
0
ADCRSTSTCT0
16h
0
0
0
0
0
0
0
0
ADCRSTENDCT0
17h
0
0
0
0
0
0
0
0
ADCRSTSTCT1
18h
0
0
0
0
0
0
0
0
ADCRSTENDCT1
19h
0
0
0
0
0
0
0
0
ADCRSTSTCT2
1Ah
0
0
0
0
0
0
0
0
ADCRSTENDCT2
1Bh
0
0
0
0
0
0
0
0
ADCRSTSTCT3
1Ch
0
0
0
0
0
0
0
0
ADCRSTENDCT3
1Dh
0
0
0
0
0
0
0
0
PRPCT
(1)
After reset, all register bits are reset to 0.
32
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Register Map (continued)
ADDRESS
(Hex)
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
1Eh
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
TIMEREN
0
0
0
0
20h
0
0
0
0
0
0
0
0
ENSEPGAIN
0
0
0
0
0
0
0
0
0
TIA_CF_SEP
TIA_GAIN_SEP
21h
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
PROG_TG_EN
0
0
TIA_CF
TIA_GAIN
22h
0
0
0
0
0
0
23h
0
0
0
DYNAMIC1
Table 16. Register Map(1) (continued)
0
0
28h
0
0
0
0
0
0
29h
0
0
0
0
0
0
(2)
2Fh
LED1-ALED1VAL
32h
0
0
0
0
0
0
0
0
0
0
0
0
0
LED2-ALED2VAL (2)
0
0
0
2Eh
0
0
0
LED1VAL
0
0
0
ALED1VAL
0
0
0
2Dh
0
0
0
2Ch
0
0
0
LED2VAL
0
0
0
ALED2VAL\LED3VAL
0
0
0
2Bh
0
0
0
2Ah
31h
0
0
0
0
0
0
0
PDNAFE
0
0
0
PDNRX
0
0
0
0
DYNAMIC4
0
0
DYNAMIC3
0
0
ENABLE_INPUT_SHORT
0
OSC_ENABLE
0
0
ENABLE_CLKOUT
0
1
ILED1
PD_DISCONNECT
0
2
NUMAV
ILED2
DYNAMIC2
ILED_2X
ILED3
3
0
0
0
0
CLKDIV_CLKOUT
0
0
0
CLKDIV_EXTMODE
PDNCYCLESTC
Ignore the contents of this register when LED3 is used.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
33
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Register Map (continued)
ADDRESS
(Hex)
23
22
21
20
19
18
17
16
33h
0
0
0
0
0
0
0
0
34h
0
0
0
0
0
0
0
0
PROG_TG_STC
35h
0
0
0
0
0
0
0
0
PROG_TG_ENDC
36h
0
0
0
0
0
0
0
0
LED3LEDSTC
37h
0
0
0
0
0
0
0
0
LED3LEDENDC
39h
0
0
0
0
0
0
0
0
3Ah
0
0
0
0
POL_OFFDAC_LED2
Table 16. Register Map(1) (continued)
3Dh
0
0
0
0
0
34
15
0
0
13
12
11
10
9
8
7
6
5
4
3
0
0
0
0
2
1
0
0
0
0
0
0
0
I_OFFDAC_AMB1
0
0
0
3Fh
AVG_LED2-ALED2VAL
40h
AVG_LED1-ALED1VAL
Submit Documentation Feedback
0
0
POL_OFFDAC_LED1
0
POL_OFFDAC_AMB1
0
0
0
0
POL_OFFDAC_AMB2\POL_OFFDAC_LED3
PDNCYCLEENDC
I_OFFDAC_LED2
0
14
I_OFFDAC_LED1
0
0
0
DEC_E
N
0
CLKDIV_PRF
I_OFFDAC_AMB2\
I_OFFDAC_LED3
DEC_FACTOR
0
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.1 Register 0h (address = 0h) [reset = 0h]
Figure 38. Register 0h
23
0
W-0h
15
0
W-0h
7
22
0
W-0h
14
0
W-0h
6
21
0
W-0h
13
0
W-0h
5
20
0
W-0h
12
0
W-0h
4
19
0
W-0h
11
0
W-0h
3
18
0
W-0h
10
0
W-0h
2
0
0
0
0
SW_RESET
0
W-0h
W-0h
W-0h
W-0h
W-0h
W-0h
17
0
W-0h
9
0
W-0h
1
TM_COUNT_
RST
W-0h
16
0
W-0h
8
0
W-0h
0
REG_READ
W-0h
LEGEND: W = Write only; -n = value after reset
Table 17. Register 0h Field Descriptions
Bit
23-4
Field
Type
Reset
Description
0
W
0h
Must write 0.
3
SW_RESET
W
0h
Self-clearing reset bit.
For a software reset, write 1.
2
0
W
0h
Must write 0.
1
TM_COUNT_RST
W
0h
Used to suspend the count and keep the counter in a reset state.
0
REG_READ
W
0h
Register readout enable for write registers
(not needed for ADC output registers).
0 = Register write mode
1 = Enables the readout of write registers
8.5.2 Register 1h (address = 1h) [reset = 0h]
Figure 39. Register 1h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
3
2
1
0
LED2STC
R/W-0h
7
6
5
4
LED2STC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 18. Register 1h Field Descriptions
Bit
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0.
15-0
LED2STC
R/W
0h
Sample LED2 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
35
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.3 Register 2h (address = 2h) [reset = 0h]
Figure 40. Register 2h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
3
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LED2ENDC
R/W-0h
7
6
5
4
LED2ENDC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 19. Register 2h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED2ENDC
R/W
0h
Sample LED2 end
8.5.4 Register 3h (address = 3h) [reset = 0h]
Figure 41. Register 3h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED1LEDSTC
R/W-0h
4
3
LED1LEDSTC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 20. Register 3h Field Descriptions
Bit
36
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0.
15-0
LED1LEDSTC
R/W
0h
LED1 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.5 Register 4h (address = 4h) [reset = 0h]
Figure 42. Register 4h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED1LEDENDC
R/W-0h
4
3
LED1LEDENDC
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 21. Register 4h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED1LEDENDC
R/W
0h
LED1 end
8.5.6 Register 5h (address = 5h) [reset = 0h]
Figure 43. Register 5h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ALED2STC\LED3STC
R/W-0h
4
3
ALED2STC\LED3STC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 22. Register 5h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ALED2STC\LED3STC
R/W
0h
Sample ambient 2 (or sample LED3) start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
37
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.7 Register 6h (address = 6h) [reset = 0h]
Figure 44. Register 6h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ALED2ENDC\LED3ENDC
R/W-0h
4
3
ALED2ENDC\LED3ENDC
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 23. Register 6h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ALED2ENDC\LED3ENDC
R/W
0h
Sample ambient 2 (or sample LED3) end
8.5.8 Register 7h (address = 7h) [reset = 0h]
Figure 45. Register 7h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
3
2
1
0
LED1STC
R/W-0h
7
6
5
4
LED1STC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 24. Register 7h Field Descriptions
Bit
38
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0.
15-0
LED1STC
R/W
0h
Sample LED1 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.9 Register 8h (address = 8h) [reset = 0h]
Figure 46. Register 8h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
3
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LED1ENDC
R/W-0h
7
6
5
4
LED1ENDC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 25. Register 8h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED1ENDC
R/W
0h
Sample LED1 end
8.5.10 Register 9h (address = 9h) [reset = 0h]
Figure 47. Register 9h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED2LEDSTC
R/W-0h
4
3
LED2LEDSTC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 26. Register 9h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED2LEDSTC
R/W
0h
LED2 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
39
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.11 Register Ah (address = Ah) [reset = 0h]
Figure 48. Register Ah
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED2LEDENDC
R/W-0h
4
3
LED2LEDENDC
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 27. Register Ah Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED2LEDENDC
R/W
0h
LED2 end
8.5.12 Register Bh (address = Bh) [reset = 0h]
Figure 49. Register Bh
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
3
2
1
0
ALED1STC
R/W-0h
7
6
5
4
ALED1STC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 28. Register Bh Field Descriptions
Bit
40
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0.
15-0
ALED1STC
R/W
0h
Sample ambient 1 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.13 Register Ch (address = Ch) [reset = 0h]
Figure 50. Register Ch
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ALED1ENDC
R/W-0h
4
3
ALED1ENDC
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 29. Register Ch Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ALED1ENDC
R/W
0h
Sample ambient 1 end
8.5.14 Register Dh (address = Dh) [reset = 0h]
Figure 51. Register Dh
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED2CONVST
R/W-0h
4
3
LED2CONVST
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 30. Register Dh Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED2CONVST
R/W
0h
LED2 convert phase start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
41
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.15 Register Eh (address = Eh) [reset = 0h]
Figure 52. Register Eh
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED2CONVEND
R/W-0h
4
3
LED2CONVEND
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 31. Register Eh Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED2CONVEND
R/W
0h
LED2 convert phase end
8.5.16 Register Fh (address = Fh) [reset = 0h]
Figure 53. Register Fh
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ALED2CONVST\LED3CONVST
R/W-0h
4
3
ALED2CONVST\LED3CONVST
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 32. Register Fh Field Descriptions
Bit
42
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0.
15-0
ALED2CONVST\LED3CONVST
R/W
0h
Ambient 2 (or LED3) convert phase start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.17 Register 10h (address = 10h) [reset = 0h]
Figure 54. Register 10h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ALED2CONVEND\LED3CONVEND
R/W-0h
4
3
ALED2CONVEND\LED3CONVEND
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 33. Register 10h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ALED2CONVEND\LED3CONVEND
R/W
0h
Ambient 2 (or LED3) convert phase end
8.5.18 Register 11h (address = 11h) [reset = 0h]
Figure 55. Register 11h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED1CONVST
R/W-0h
4
3
LED1CONVST
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 34. Register 11h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED1CONVST
R/W
0h
LED1 convert phase start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
43
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.19 Register 12h (address = 12h) [reset = 0h]
Figure 56. Register 12h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED1CONVEND
R/W-0h
4
3
LED1CONVEND
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 35. Register 12h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED1CONVEND
R/W
0h
LED1 convert phase end
8.5.20 Register 13h (address = 13h) [reset = 0h]
Figure 57. Register 13h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ALED1CONVST
R/W-0h
4
3
ALED1CONVST
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 36. Register 13h Field Descriptions
Bit
44
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0
15-0
ALED1CONVST
R/W
0h
Ambient 1 convert phase start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.21 Register 14h (address = 14h) [reset = 0h]
Figure 58. Register 14h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ALED1CONVEND
R/W-0h
4
3
ALED1CONVEND
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 37. Register 14h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ALED1CONVEND
R/W
0h
Ambient 1 convert phase end
8.5.22 Register 15h (address = 15h) [reset = 0h]
Figure 59. Register 15h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ADCRSTSTCT0
R/W-0h
4
3
ADCRSTSTCT0
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 38. Register 15h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ADCRSTSTCT0
R/W
0h
ADC reset phase 0 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
45
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.23 Register 16h (address = 16h) [reset = 0h]
Figure 60. Register 16h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ADCRSTENDCT0
R/W-0h
4
3
ADCRSTENDCT0
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 39. Register 16h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ADCRSTENDCT0
R/W
0h
ADC reset phase 0 end
8.5.24 Register 17h (address = 17h) [reset = 0h]
Figure 61. Register 17h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ADCRSTSTCT1
R/W-0h
4
3
ADCRSTSTCT1
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 40. Register 17h Field Descriptions
Bit
46
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0.
15-0
ADCRSTSTCT1
R/W
0h
ADC reset phase 1 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.25 Register 18h (address = 18h) [reset = 0h]
Figure 62. Register 18h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ADCRSTENDCT1
R/W-0h
4
3
ADCRSTENDCT1
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 41. Register 18h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ADCRSTENDCT1
R/W
0h
ADC reset phase 1 end
8.5.26 Register 19h (address = 19h) [reset = 0h]
Figure 63. Register 19h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ADCRSTSTCT2
R/W-0h
4
3
ADCRSTSTCT2
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 42. Register 19h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ADCRSTSTCT2
R/W
0h
ADC reset phase 2 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
47
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.27 Register 1Ah (address = 1Ah) [reset = 0h]
Figure 64. Register 1Ah
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ADCRSTENDCT2
R/W-0h
4
3
ADCRSTENDCT2
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 43. Register 1Ah Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ADCRSTENDCT2
R/W
0h
ADC reset phase 2 end
8.5.28 Register 1Bh (address = 1Bh) [reset = 0h]
Figure 65. Register 1Bh
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ADCRSTSTCT3
R/W-0h
4
3
ADCRSTSTCT3
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 44. Register 1Bh Field Descriptions
Bit
48
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0.
15-0
ADCRSTSTCT3
R/W
0h
ADC reset phase 3 start
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.29 Register 1Ch (address = 1Ch) [reset = 0h]
Figure 66. Register 1Ch
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
ADCRSTENDCT3
R/W-0h
4
3
ADCRSTENDCT3
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 45. Register 1Ch Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
ADCRSTENDCT3
R/W
0h
ADC reset phase 3 end
8.5.30 Register 1Dh (address = 1Dh) [reset = 0h]
Figure 67. Register 1Dh
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
3
2
1
0
PRPCT
R/W-0h
7
6
5
4
PRPCT
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 46. Register 1Dh Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
PRPCT
R/W
0h
These bits are the count value for the counter that sets the PRF.
The counter automatically counts until PRPCT and then returns back to
0 to start the next count.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
49
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.31 Register 1Eh (address = 1Eh) [reset = 0h]
Figure 68. Register 1Eh
23
0
W-0h
15
0
W-0h
7
0
W-0h
22
0
W-0h
14
0
W-0h
6
0
W-0h
21
0
W-0h
13
0
W-0h
5
0
W-0h
20
0
W-0h
12
0
W-0h
4
0
W-0h
19
0
W-0h
11
0
W-0h
3
18
0
W-0h
10
0
W-0h
2
17
0
W-0h
9
0
W-0h
1
16
0
W-0h
8
TIMEREN
R/W-0h
0
NUMAV
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 47. Register 1Eh Field Descriptions
Bit
Field
Type
Reset
Description
0
W
0h
Must write 0.
TIMEREN
R/W
0h
0 = Timer module disabled
1 = Enables timer module. This bit enables the timing engine that can
be programmed to generate all clock phases for the synchronized
transmit drive, receive sampling, and data conversion.
7-4
0
W
0h
Must write 0.
3-0
NUMAV
R/W
0h
These bits determine the number of ADC averages. By programming a
higher ADC conversion time, the ADC can be set to do multiple
conversions and average these multiple conversions to achieve lower
noise. This programmability is set with the NUMAV bit control. The
number of samples that are averaged is represented by the decimal
equivalent of NUMAV + 1. For example, NUMAV = 0 represents no
averaging, NUMAV = 2 represents averaging of three samples, and
NUMAV = 15 represents averaging of 16 samples.
23-9
8
8.5.32 Register 20h (address = 20h) [reset = 0h]
Figure 69. Register 20h
23
0
W-0h
15
ENSEPGAIN
R/W-0h
7
0
W-0h
22
0
W-0h
14
0
W-0h
6
0
W-0h
21
0
W-0h
13
0
W-0h
5
20
0
W-0h
12
0
W-0h
4
TIA_CF_SEP
R/W-0h
19
0
W-0h
11
0
W-0h
3
18
0
W-0h
10
0
W-0h
2
17
0
W-0h
9
0
W-0h
1
TIA_GAIN_SEP
R/W-0h
16
0
W-0h
8
0
W-0h
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 48. Register 20h Field Descriptions
Bit
Field
Type
Reset
Description
0
W
0h
Must write 0.
ENSEPGAIN
R/W
0h
0 = Single TIA gain for all phases
1 = Enables two separate sets of TIA gains
14-6
0
W
0h
Must write 0.
5-3
TIA_CF_SEP
R/W
0h
When ENSEPGAIN = 1, TIA_CF_SEP is the control for the Cf2 setting.
2-0
TIA_GAIN_SEP
R/W
0h
When ENSEPGAIN = 1, TIA_GAIN_SEP is the control for the Rf2
setting.
23-16
15
50
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.33 Register 21h (address = 21h) [reset = 0h]
Figure 70. Register 21h
23
0
W-0h
15
0
W-0h
7
0
W-0h
22
0
W-0h
14
0
W-0h
6
0
W-0h
21
0
W-0h
13
0
W-0h
5
20
0
W-0h
12
0
W-0h
4
TIA_CF
R/W-0h
19
0
W-0h
11
0
W-0h
3
18
0
W-0h
10
0
W-0h
2
17
0
W-0h
9
0
W-0h
1
TIA_GAIN
R/W-0h
16
0
W-0h
8
PROG_TG_EN
W-0h
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 49. Register 21h Field Descriptions
Bit
Field
Type
Reset
Description
0
W
0h
Must write 0.
PROG_TG_EN
W
0h
This bit replaces the ADC_RDY output with a fullyprogrammable signal from the timing engine. The start and end
points of this signal are set using the PROG_TG_STC and
PROG_TG_ENDC controls.
7-6
0
W
0h
Must write 0.
5-3
TIA_CF
R/W
0h
When ENSEPGAIN = 0, these bits control the Cf setting (both
Cf1 and Cf2); see Table 51 for details.
When ENSEPGAIN = 1, these bits control the Cf1 setting.
2-0
TIA_GAIN
R/W
0h
When ENSEPGAIN = 0, these bits control the Rf setting (both
Rf1 and Rf2); see Table 50 for details.
When ENSEPGAIN = 1, these bits control the Rf1 setting.
23-9
8
Table 50. TIA_GAIN Register Settings
TIA_GAIN, TIA_GAIN_SEP REGISTER VALUE
Rf
0
500 kΩ
1
250 kΩ
2
100 kΩ
3
50 kΩ
4
25 kΩ
5
10 kΩ
6
1 MΩ
7
2 MΩ
Table 51. TIA_CF Register Settings
TIA_CF, TIA_CF_SEP REGISTER VALUE
Cf
0
5 pF
1
2.5 pF
2
10 pF
3
7.5 pF
4
20 pF
5
17.5 pF
6
25 pF
7
22.5 pF
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
51
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.34 Register 22h (address = 22h) [reset = 0h]
Figure 71. Register 22h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
18
0
W-0h
10
ILED3
R/W-0h
7
6
17
16
ILED3
R/W-0h
9
8
1
0
ILED2
R/W-0h
5
4
3
ILED2
R/W-0h
2
ILED1
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 52. Register 22h Field Descriptions
Field
Type
Reset
Description
23-18
Bit
0
W
0h
Must write 0.
17-12
ILED3
R/W
0h
LED3 current control
11-6
ILED2
R/W
0h
LED2 current control
5-0
ILED1
R/W
0h
LED1 current control. Increments of the LED1 current setting are
listed in Table 53.
Table 53. ILED1 Register Settings
ILED1, ILED2, ILED3 REGISTER VALUES
52
LED CURRENT SETTING (mA)
0
0
1
0.8
2
1.6
3
2.4
…
…
63
50
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.35 Register 23h (address = 23h) [reset = 0h]
Figure 72. Register 23h
23
0
W-0h
15
0
W-0h
7
0
W-0h
22
0
W-0h
14
DYNAMIC2
R/W-0h
6
0
W-0h
21
0
W-0h
13
0
W-0h
5
0
W-0h
20
DYNAMIC1
R/W-0h
12
0
W-0h
4
DYNAMIC3
R/W-0h
19
0
W-0h
11
0
W-0h
3
DYNAMIC4
R/W-0h
18
0
W-0h
10
0
W-0h
2
0
W-0h
17
ILED_2X
R/W-0h
9
OSC_ENABLE
R/W-0h
1
PDNRX
R/W-0h
16
0
W-0h
8
0
W-0h
0
PDNAFE
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 54. Register 23h Field Descriptions
Bit
23-21
20
19-18
17
16-15
14
13-10
9
8-5
Field
Type
Reset
Description
0
W
0h
Must write 0.
DYNAMIC1
R/W
0h
0 = Transmitter is not powered down
1 = Transmitter is powered down in dynamic power-down mode
0
W
0h
Must write 0.
ILED_2X
R/W
0h
0 = LED current range is 0 mA to 50 mA
1 = LED current range is 0 mA to 100 mA
0
W
0h
Must write 0.
DYNAMIC2
R/W
0h
0 = ADC is not powered down
1 = ADC is powered down in dynamic power-down mode
0
W
0h
Must write 0.
OSC_ENABLE
R/W
0h
0 = External clock mode (default). In this mode, the CLK pin
functions as an input pin where the external clock can be input.
1 = Enables oscillator mode. In this mode, the 4-MHz internal
oscillator is enabled.
0
W
0h
Must write 0.
4
DYNAMIC3
R/W
0h
0 = TIA is not powered down
1 = TIA is powered down in dynamic power-down mode
3
DYNAMIC4
R/W
0h
0 = Rest of ADC is not powered down
1 = Rest of ADC is powered down in dynamic power-down mode
2
0
W
0h
Must write 0.
1
PDNRX
R/W
0h
0 = Normal mode
1 = RX portion of the AFE is powered down
0
PDNAFE
R/W
0h
0 = Normal mode
1 = Entire AFE is powered down
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
53
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.36 Register 29h (address = 29h) [reset = 0h]
Figure 73. Register 29h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
18
0
W-0h
10
0
0
0
0
0
0
W-0h
7
0
W-0h
W-0h
6
0
W-0h
W-0h
5
0
W-0h
W-0h
4
W-0h
W-0h
3
2
CLKDIV_CLKOUT
R/W-0h
17
0
W-0h
9
ENABLE_
CLKOUT
R/W-0h
1
16
0
W-0h
8
0
W-0h
0
0
W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 55. Register 29h Field Descriptions
Bit
Field
Type
Reset
Description
0
W
0h
Must write 0.
ENABLE_CLKOUT
R/W
0h
In internal clock mode, the internally-generated clock can be
output on the CLK pin.
0 = Disables the clock output
1 = Enables CLKOUT generation and buffering on the CLK pin.
The frequency of the clock output on the CLK pin (in internal
clock mode) can be set using a programmable divider controlled
by the CLKDIV_CLKOUT register bit.
8-5
0
W
0h
Must write 0.
4-1
CLKDIV_CLKOUT
R/W
0h
Set the frequency of the clock output on the CLK pin (in the
internal clock mode), as shown in Table 56.
23-10
9
Table 56. CLKDIV_CLKOUT Register Settings
CLKDIV_CLKOUT REGISTER SETTINGS
DIVISION RATIO
FREQUENCY OF OUTPUT CLOCK IN MHz
0
1
4
1
2
2
2
4
1
54
3
8
0.5
4
16
0.25
5
32
0.125
6
64
0.0625
7
128
0.03125
8..15
Do not use
Do not use
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.37 Register 2Ah (address = 2Ah) [reset = 0h]
Figure 74. Register 2Ah
23
22
21
20
19
18
17
16
11
10
9
8
3
2
1
0
LED2VAL
R-0h
15
14
13
12
LED2VAL
R-0h
7
6
5
4
LED2VAL
R-0h
LEGEND: R = Read only; -n = value after reset
Table 57. Register 2Ah Field Descriptions
Bit
23-0
Field
Type
Reset
Description
LED2VAL
R
0h
These bits are the LED2 output code in 24-bit, twos complement
format.
8.5.38 Register 2Bh (address = 2Bh) [reset = 0h]
Figure 75. Register 2Bh
23
22
21
15
14
13
7
6
5
20
19
ALED2VAL\LED3VAL
R-0h
12
11
ALED2VAL\LED3VAL
R-0h
4
3
ALED2VAL\LED3VAL
R-0h
18
17
16
10
9
8
2
1
0
LEGEND: R = Read only; -n = value after reset
Table 58. Register 2Bh Field Descriptions
Bit
23-0
Field
Type
Reset
Description
ALED2VAL\LED3VAL
R
0h
These bits are the ambient 2 or LED3 output code in 24-bit, twos
complement format.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
55
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.39 Register 2Ch (address = 2Ch) [reset = 0h]
Figure 76. Register 2Ch
23
22
21
20
19
18
17
16
11
10
9
8
3
2
1
0
LED1VAL
R-0h
15
14
13
12
LED1VAL
R-0h
7
6
5
4
LED1VAL
R-0h
LEGEND: R = Read only; -n = value after reset
Table 59. Register 2Ch Field Descriptions
Bit
23-0
Field
Type
Reset
Description
LED1VAL
R
0h
These bits are the LED1 output code in 24-bit, twos complement
format.
8.5.40 Register 2Dh (address = 2Dh) [reset = 0h]
Figure 77. Register 2Dh
23
22
21
20
19
18
17
16
11
10
9
8
3
2
1
0
ALED1VAL
R-0h
15
14
13
12
ALED1VAL
R-0h
7
6
5
4
ALED1VAL
R-0h
LEGEND: R = Read only; -n = value after reset
Table 60. Register 2Dh Field Descriptions
Bit
23-0
56
Field
Type
Reset
Description
ALED1VAL
R
0h
These bits are the ambient 1 output code in 24-bit, twos
complement format.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.41 Register 2Eh (address = 2Eh) [reset = 0h]
Figure 78. Register 2Eh
23
22
21
15
14
13
7
6
5
20
19
LED2-ALED2VAL
R-0h
12
11
LED2-ALED2VAL
R-0h
4
3
LED2-ALED2VAL
R-0h
18
17
16
10
9
8
2
1
0
LEGEND: R = Read only; -n = value after reset
Table 61. Register 2Eh Field Descriptions
Bit
23-0
(1)
Field
Type
Reset
Description
LED2-ALED2VAL (1)
R
0h
These bits are the LED2-ambient2 output code in 24-bit, twos
complement format.
Ignore the content of this register when LED3 is used.
8.5.42 Register 2Fh (address = 2Fh) [reset = 0h]
Figure 79. Register 2Fh
23
22
21
15
14
13
7
6
5
20
19
LED1-ALED1VAL
R-0h
12
11
LED1-ALED1VAL
R-0h
4
3
LED1-ALED1VAL
R-0h
18
17
16
10
9
8
2
1
0
LEGEND: R = Read only; -n = value after reset
Table 62. Register 2Fh Field Descriptions
Bit
23-0
Field
Type
Reset
Description
LED1-ALED1VAL
R
0h
These bits are the LED1-ambient1 output code in 24-bit, twos
complement format.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
57
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.43 Register 31h (address = 31h) [reset = 0h]
Figure 80. Register 31h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
20
0
W-0h
12
19
0
W-0h
11
0
0
0
0
0
W-0h
7
W-0h
6
W-0h
4
W-0h
3
0
0
0
0
W-0h
W-0h
W-0h
5
ENABLE_
INPUT_
SHORT
R/W-0h
18
0
W-0h
10
PD_
DISCONNECT
W-0h
2
17
0
W-0h
9
16
0
W-0h
8
0
0
W-0h
1
W-0h
0
CLKDIV_EXTMODE
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 63. Register 31h Field Descriptions
Bit
23-11
10
Field
Type
Reset
Description
0
W
0h
Must write 0.
PD_DISCONNECT
W
0h
This bit disconnects the PD signals (INP, INM) from the TIA
inputs. When enabled, the current input to the TIA is determined
completely by the offset cancellation DAC current (I_OFFDAC).
Note that in this mode, the AFE no longer sets the bias for the
PD.
9-6
0
W
0h
Must write 0.
ENABLE_INPUT_SHORT
R/W
0h
INP, INN are shorted to VCM whenever the TIA is in powerdown.
4-3
0
W
0h
Must write 0.
2-0
CLKDIV_EXTMODE
R/W
0h
These bits are used to set the division ratio to allow flexible
clocking in external clock mode. For details, see Table 64.
5
Table 64. CLKDIV_EXTMODE Register Settings
ALLOWED FREQUENCY RANGE OF
EXTERNAL CLOCK IN MHz
CLKDIV_EXTMODE REGISTER SETTINGS
DIVISION RATIO
0
2
8-12
1
8
32-48
2
Do not use
Do not use
3
12
48-60
4
4
16-24
5
1
4-6
6
6
24-36
7
Do not use
Do not use
58
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.44 Register 32h (address = 32h) [reset = 0h]
Figure 81. Register 32h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
PDNCYCLESTC
R/W-0h
4
3
PDNCYCLESTC
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 65. Register 32h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
PDNCYCLESTC
R/W
0h
PDN_CYCLE start
8.5.45 Register 33h (address = 33h) [reset = 0h]
Figure 82. Register 33h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
PDNCYCLEENDC
R/W-0h
4
3
PDNCYCLEENDC
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 66. Register 33h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
PDNCYCLEENDC
R/W
0h
PDN_CYCLE end
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
59
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.46 Register 34h (address = 34h) [reset = 0h]
Figure 83. Register 34h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
PROG_TG_STC
W-0h
4
3
PROG_TG_STC
W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: W = Write only; -n = value after reset
Table 67. Register 34h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
PROG_TG_STC
W
0h
These bits define the start time for the programmable timing
engine signal that can replace ADC_RDY.
8.5.47 Register 35h (address = 35h) [reset = 0h]
Figure 84. Register 35h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
PROG_TG_ENDC
W-0h
4
3
PROG_TG_ENDC
W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: W = Write only; -n = value after reset
Table 68. Register 35h Field Descriptions
Bit
60
Field
Type
Reset
Description
23-16
0
W
0h
Must write 0.
15-0
PROG_TG_ENDC
W
0h
These bits define the end time for the programmable timing
engine signal that can replace ADC_RDY.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.48 Register 36h (address = 36h) [reset = 0h]
Figure 85. Register 36h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED3LEDSTC
R/W-0h
4
3
LED3LEDSTC
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 69. Register 36h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED3LEDSTC
R/W
0h
LED3 start. If LED3 is not used, set these register bits to '0'.
8.5.49 Register 37h (address = 37h) [reset = 0h]
Figure 86. Register 37h
23
0
W-0h
15
22
0
W-0h
14
21
0
W-0h
13
7
6
5
20
19
0
0
W-0h
W-0h
12
11
LED3LEDENDC
R/W-0h
4
3
LED3LEDENDC
R/W-0h
18
0
W-0h
10
17
0
W-0h
9
16
0
W-0h
8
2
1
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 70. Register 37h Field Descriptions
Field
Type
Reset
Description
23-16
Bit
0
W
0h
Must write 0.
15-0
LED3LEDENDC
R/W
0h
LED3 end. If LED3 is not used, set these register bits to '0'.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
61
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.50 Register 39h (address = 39h) [reset = 0h]
Figure 87. Register 39h
23
0
W-0h
15
0
W-0h
7
0
W-0h
22
0
W-0h
14
0
W-0h
6
0
W-0h
21
0
W-0h
13
0
W-0h
5
0
W-0h
20
0
W-0h
12
0
W-0h
4
0
W-0h
19
0
W-0h
11
0
W-0h
3
0
W-0h
18
0
W-0h
10
0
W-0h
2
17
0
W-0h
9
0
W-0h
1
CLKDIV_PRF
R/W-0h
16
0
W-0h
8
0
W-0h
0
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 71. Register 39h Field Descriptions
Field
Type
Reset
Description
23-3
Bit
0
W
0h
Must write 0.
2-0
CLKDIV_PRF
R/W
0h
Clock division ratio for the clock to the timing engine.
For details, see Table 72.
Table 72. CLKDIV_PRF Register Settings
CLKDIV_PRF
REGISTER SETTINGS
(1)
62
DIVISION RATIO
FREQUENCY OF THE TIMING CLOCK in
MHz (When the ADC Clock is 4 MHz)
LOWEST PRF SETTING
(In Hz (1))
0
1
4
61
1
Do not use
Do not use
Do not use
2
Do not use
Do not use
Do not use
3
Do not use
Do not use
Do not use
4
2
2
31
5
4
1
15
6
8
0.5
8
7
16
0.25
4
Limit to 10 Hz.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.51 Register 3Ah (address = 3Ah) [reset = 0h]
Figure 88. Register 3Ah
23
22
21
20
0
0
0
0
W-0h
15
I_OFFDAC_
LED2
R/W-0h
7
W-0h
14
POL_OFFDAC
_AMB1
R/W-0h
6
W-0h
13
W-0h
12
19
POL_OFFDAC
_LED2
R/W-0h
11
18
I_OFFDAC_LED1
R/W-0h
R/W-0h
4
POL_OFFDAC
_AMB2\
POL_OFFDAC
_LED3
R/W-0h
16
I_OFFDAC_LED2
10
I_OFFDAC_AMB1
5
17
3
2
R/W-0h
9
POL_OFFDAC
_LED1
R/W-0h
1
8
I_OFFDAC_
LED1
R/W-0h
0
I_OFFDAC_AMB2\I_OFFDAC_LED3
R/W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 73. Register 3Ah Field Descriptions
Bit
23-20
19
18-15
14
13-10
9
8-5
4
3-0
Field
Type
Reset
Description
0
W
0h
Must write 0.
POL_OFFDAC_LED2
R/W
0h
Offset cancellation DAC polarity for LED2
I_OFFDAC_LED2
R/W
0h
Offset cancellation DAC setting forLED2
POL_OFFDAC_AMB1
R/W
0h
Offset cancellation DAC polarity for ambient 1
I_OFFDAC_AMB1
R/W
0h
Offset cancellation DAC setting for ambient 1
POL_OFFDAC_LED1
R/W
0h
Offset cancellation DAC polarity for LED1
I_OFFDAC_LED1
R/W
0h
Offset cancellation DAC setting for LED1, as described in
Table 74.
POL_OFFDAC_AMB2\POL_OFFDAC_LED3
R/W
0h
Offset cancellation DAC polarity for ambient 2 (or LED3)
I_OFFDAC_AMB2\I_OFFDAC_LED3
R/W
0h
Offset cancellation DAC setting for ambient 2 (or LED3)
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
63
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Table 74. I_OFFDAC Register Settings (1) (2)
(1)
(2)
64
I_OFFDAC REGISTER SETTINGS
OFFSET CANCELLATION DAC CURRENT
(µA) WITH POL_OFFDAC = 0
OFFSET CANCELLATION DAC CURRENT
(µA) WITH POL_OFFDAC = 1
0
0
0
1
0.47
–0.47
2
0.93
–0.93
3
1.4
–1.4
4
1.87
–1.87
5
2.33
–2.33
6
2.8
–2.8
7
3.27
–3.27
8
3.73
–3.73
9
4.2
–4.2
10
4.67
–4.67
11
5.13
–5.13
12
5.6
–5.6
13
6.07
–6.07
14
6.53
–6.53
15
7
–7
I_OFFDAC can correspond to one of the four phases. POL_OFFDAC corresponds to the polarity control for the same phase.
The offset cancellation DAC is not trimmed at production and, therefore, the value of the full-scale current can vary across units by
±20%.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
8.5.52 Register 3Dh (address = 3Dh) [reset = 0h]
Figure 89. Register 3Dh
23
0
W-0h
15
0
W-0h
7
0
W-0h
22
0
W-0h
14
0
W-0h
6
0
W-0h
21
0
W-0h
13
0
W-0h
5
DEC_EN
R/W-0h
20
0
W-0h
12
0
W-0h
4
0
W-0h
19
0
W-0h
11
0
W-0h
3
18
0
W-0h
10
0
W-0h
2
DEC_FACTOR
R/W-0h
17
0
W-0h
9
0
W-0h
1
16
0
W-0h
8
0
W-0h
0
0
W-0h
LEGEND: R/W = Read/Write; W = Write only; -n = value after reset
Table 75. Register 3Dh Field Descriptions
Bit
Field
Type
Reset
Description
0
W
0h
Must write 0.
5
DEC_EN
R/W
0h
0 = Decimation mode disabled
1 = Decimation mode enabled
4
0
W
0h
Must write 0.
DEC_FACTOR
R/W
0h
Decimation factor (how many samples are to be
averaged); see Table 76 for details.
0
W
0h
Must write 0.
23-6
3-1
0
Table 76. DEC_FACTOR Register Settings
DEC_FACTOR REGISTER SETTINGS
DECIMATION FACTOR
0
1
1
2
2
4
3
8
4
16
5-8
Do not use
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
65
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
8.5.53 Register 3Fh (address = 3Fh) [reset = 0h]
Figure 90. Register 3Fh
23
22
21
15
14
13
7
6
5
20
19
AVG_LED2-ALED2VAL
R-0h
12
11
AVG_LED2-ALED2VAL
R-0h
4
3
AVG_LED2-ALED2VAL
R-0h
18
17
16
10
9
8
2
1
0
LEGEND: R = Read only; -n = value after reset
Table 77. Register 3Fh Field Descriptions
Bit
23-0
Field
Type
Reset
Description
AVG_LED2-ALED2VAL
R
0h
These bits are the 24-bit averaged output code for (LED2Ambient2) when decimation mode is enabled. The
averaging is done over the number of samples specified
by the decimation factor.
8.5.54 Register 40h (address = 40h) [reset = 0h]
Figure 91. Register 40h
23
22
21
15
14
13
7
6
5
20
19
AVG_LED1-ALED1VAL
R-0h
12
11
AVG_LED1-ALED1VAL
R-0h
4
3
AVG_LED1-ALED1VAL
R-0h
18
17
16
10
9
8
2
1
0
LEGEND: R = Read only; -n = value after reset
Table 78. Register 40h Field Descriptions
Bit
23-0
66
Field
Type
Reset
Description
AVG_LED1-ALED1VAL
R
0h
These bits are the 24-bit averaged output code for (LED1Ambient1) when decimation mode is enabled. The
averaging is done over the number of samples specified
by the decimation factor.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
9 Application and Implementation
NOTE
Information in the following applications sections is not part of the TI component
specification, and TI does not warrant its accuracy or completeness. TI’s customers are
responsible for determining suitability of components for their purposes. Customers should
validate and test their design implementation to confirm system functionality.
9.1 Application Information
The AFE is designed to operate with a minimal number of external components. Deriving the power supplies for
the AFE from the available source of power in the system can require an additional external LDO or boost
converter. A reset is essential after power-up to ensure that all registers are reset to their default values. TI also
recommends that the entire system be operated using a single master clock. The AFE can either be set to
accept an external clock derived from a master clock generated elsewhere in the system, or the AFE can provide
its internal oscillator as an output clock to serve as the master clock for the rest of the system. If a single master
clock is not possible, extra care must be taken to ensure that spurious energy from unrelated clocks does not get
coupled into the AFE. If this energy does couple into the AFE the spurs get aliased based on the sampling
operation. These aliased spurs can result in a faulty detection of parameters (such as heart rate). The
photodiode outputs are specifically prone to picking up noise. Especially when operating in coexistence and
close proximity with RF communication circuitry [such as Bluetooth® low energy (BLE)], a common-mode choke
may become essential to add in the path of the AFE inputs to reject the interference.
9.2 Typical Application
TX_SUP
LEDs
RX_SUP
TX_SUP
TX1
TX2
TX3
IO_SUP
Photodiode
INP
I2C_CLK
AFE
I2C_DAT
INM
RESETZ
MCU
ADC_RDY
CLK
Rseries
GND
Rshunt
NOTE: Use Rseries in external clock mode and Rshunt in internal oscillator mode.
Figure 92. Typical AFE Connection
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
67
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Typical Application (continued)
Figure 92 illustrates the typical connection of the AFE. The following points are to be noted:
1. Use decoupling capacitors (1 µF or higher) placed close to the device to filter noise on RX_SUP and
TX_SUP.
2. The voltage level used for IO_SUP must be the same as the I/O voltage level for the MCU.
3. In external clock mode, TI recommends connecting a series resistor (Rseries) on the CLK pin. At power-up
and before a RESET pulse is applied, the register bits can be in an uninitialized state. The CLK pin can
possibly be configured as an output pin in this uninitialized state because the CLK pin is an I/O pin. In such a
scenario, Rseries limits the current (because the MCU also attempts to drive the CLK pin). For maximum
frequency of the external clock (60 MHz), the Rseries value is recommended to be 500 Ω.
4. In internal oscillator mode, a shunt resistor (Rshunt) equal to 500 kΩ is recommended to be connected to the
CLK pin. At power-up and after reset, the device resets to the default mode of the external clock. The CLK
pin is in a tri-state mode until the internal clock mode with the CLK output enabled is written through the I2C
interface. The function of Rshunt is to pull down the CLK pin to a logic level of 0 so that the input clock to the
MCU is at a logic level even when the CLK pin is tri-stated.
5. When in power-down mode (PWDN and PDNAFE) the CLK pin must be shut off (tri-stated or driven to zero),
if externally driven.
9.2.1 Design Requirements
The AFE architecture is very flexible, and can be used for both high-performance saturation of peripheral
capillary oxygen (SpO2) applications as well as low-power, battery-operated heart-rate monitoring (HRM)
applications as a result of this flexibility. The high dynamic range of the AFE enables excellent SNR for the signal
of interest (usually small in amplitude) even in the presence of large-signal artifacts resulting from ambient and
motion changes.
9.2.2 Detailed Design Procedure
The following important factors are key to extracting the full performance benefit from the AFE:
1. Good optics including bright LEDs and high-sensitivity photodiodes
2. Good mechanical design
3. A calibration loop that sets the optimal AFE settings based on the signal conditions
TI recommends that a system-level budgeting of dynamic range be initially done based on the following factors:
1. The range of the dc signal currents that are input to the AFE
2. The range of ac-to-dc ratio across different users
3. Signal current changes expected from artifacts (such as motion and ambient light changes)
4. The SNR required for heart-rate extraction algorithms to function successfully
Based on the above analysis, the available dynamic range from the AFE (approximately 100 dB) can be
partitioned between the various components, and the target dc level for the calibration algorithm can also be
arrived at.
9.2.2.1 System-Level ESD Considerations
To meet system-level ESD requirements, additional on-board ESD protection diodes may be required to be
connected to the AFE4404 input pins. The input pins are sensitive to leakage, so using low-leakage ESD diodes
is recommended for protecting these pins.
TI’s portfolio of ESD protection devices can be accessed at the Overview for ESD Protection Diodes page.
The ESD Protection Layout Guide (SLVA680) is available for download at www.ti.com.
68
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Typical Application (continued)
9.2.3 Application Curves
This section outlines the trends described in the Typical Characteristics section from an application perspective.
Figure 1 illustrates the receiver current across different external clock frequencies. Each of the curves
corresponds to a different CLKDIV_EXTMODE setting that determines the division ratio between the external
clock and the internal clock (CLK_INT). The internal clock frequency must be in the range of 4 MHz to 6 MHz for
proper operation, and each curve corresponds to a sweep of the external clock frequency that corresponds to an
internal clock frequency sweep over the range of 4 MHz to 6 MHz.
Figure 2 illustrates the receiver current across the PRF with the dynamic power-down signal (PDN_CYCLE)
enabled during the portion of the period when the receiver does not need to be active. The active period is
maintained as 500 µs for each PRF setting and the device is in power-down mode (set by PDN_CYCLE) for the
rest of the period. Additionally, the timing margins indicated as t8 and t9 in Figure 35 are included before and
after the PDN_CYCLE pulse. The fraction of time that the device is in power-down mode over a period increases
with reduction in the PRF because the period scales inversely with PRF. This timing is the reason why the curve
displays a reduction in the average receiver current with reduction in PRF. The curve corresponding to
CLKDIV_PRF = 1 terminates at a lower PRF of approximately 61 Hz, which is determined by the maximum
range of the 16-bit timing counter (4 MHz divided by 216). With the CLKDIV_PRF set to 16, the timer clock is
divided by 16. Thus, the lower PRF range can be extended down to a few hertz (the recommended operation is
to restrict the range to 10 Hz or higher). For the same PRF (for example 100 Hz), a higher CLKDIV_PRF setting
results in a lower power consumption because the timer engine runs on a slower clock and takes less switching
current.
The noise plots from Figure 3 to Figure 7 are taken at a PRF of 100 Hz. For this PRF setting, the noise at the
output of the AFE is distributed from 0 Hz to 50 Hz. Plots that indicate the noise as over Nyquist bandwidth have
integrated noise from 1 Hz to 50 Hz. The plots that indicate the noise as over 20-Hz bandwidth have integrated
noise until 20 Hz. These plots are suitable for when additional low-pass filtering is implemented in the MCU to
limit the noise bandwidth (in this case, to 20 Hz). This low-pass filtering can improve SNR because the PPG
signal has information contained in the frequency band below 10 Hz.
Figure 3 illustrates the input-referred noise current versus sampling duration duty cycle for different voltage levels
at the receiver output. The PPG signal has a dc component that can cause the signal at the output of the
receiver to be anywhere between ±FS (full-scale). The curves in Figure 3 illustrate a slight increase in the noise
around higher dc levels, which results from additional noise sources in the ADC. The input-referred noise current
can be visualized as a noise current flowing into one of the input pins (for instance, INP) and flowing out of the
other (for example, INM). The noise is computed on the samples that constitute the difference between the LED
phase and the ambient phase.
Figure 4 illustrates the SNR plots corresponding to the same data as Figure 3. The input-referred noise and SNR
can be related as follows: the input-referred noise current can be first referred to the receiver output using a
factor of 2Rf, where Rf is 500 kΩ for this case. This output-referred voltage gives the output noise that can then
be referred to the full-scale value of 2 V (note that when the full-scale differential input to the ADC is 2.4 VPP, the
operating range is 2 VPP, which is the valid operating range of the TIA).
Figure 5 plots the input-referred noise current versus sampling duty cycle across different TIA gain settings.
Figure 6 corresponds to the SNR plot of the data in Figure 5. As illustrated in Figure 5, a dynamic range of 100
dB or more can be achieved in the receiver for many of the TIA gain settings. A reduction in SNR for higher TIA
gain settings is in line with what is expected from the receiver because a higher TIA gain setting implies a lower
signal level at the input of the receiver.
Figure 7 and Figure 8 correspond to the input-referred noise current and corresponding SNR across the
sampling duration duty cycle for different settings of the ADC averaging (as set by the NUMAV register setting).
An ADC averaging of 1 implies no averaging. As illustrated in these curves, the SNR improves with averaging
more samples. This improvement becomes more pronounced at lower TIA gain settings where the ADC noise
has a higher affect on the overall receiver noise.
The input-referred current noise current versus sampling duty cycle for different decimation factors is illustrated in
Figure 9. As illustrated in Figure 9, a 4X decimation leads to almost a 2X reduction in input-referred noise.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
69
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
Typical Application (continued)
Figure 10 refers to a hypothetical case that is used to illustrate the improvement in the receiver dynamic range
when using the offset cancellation DAC. Assume that the dc level of the signal current corresponds to 7.25 µA.
Without the offset cancellation DAC, assume operation is with a TIA gain of 25 kΩ, which causes the output of
the receiver to be at 362.5 mV. If the offset cancellation DAC is enabled with a subtraction current of 7 µA (the
maximum setting), then the signal level at the input of the TIA after the offset cancellation DAC subtraction is
0.25 µA. For this current, a TIA gain setting of 1 MΩ causes the TIA output to be at 500 mV. In effect, by
enabling the offset cancellation DAC with the right setting, a higher TIA gain setting is allowed, which ends up
reducing the contribution of the ADC noise and thereby reduces the input-referred noise current of the receiver.
Note that the benefit from the offset cancellation DAC may not be so dramatic in an actual use case because
perfect cancellation of the dc signal may not be achieved from the 0.5-µA resolution of the offset cancellation
DAC. Even if achieved, the highest possible TIA gain setting on the residual current may cause receiver
saturation with small changes in the dc signal level. For this reason, a safe value for the maximum gain setting
when operating with the offset cancellation DAC is 250 kΩ or less. The third curve in Figure 10 illustrates this
case.
Figure 11 illustrates the effective response of the switched RC filter at the receiver output. The switched RC filter
has a physical RC time constant that corresponds to a bandwidth of approximately 2.5 kHz. However, the
effective bandwidth of the filter scales approximately with the sampling duration duty cycle. For a lower duty
cycle, the effective filter bandwidth reduces as described from the comparison of a 5% duty cycle with a 25%
duty cycle. At even lower duty cycles, the filter can double-up as a noise bandwidth reduction filter that can relax
the digital-filtering requirements in the MCU.
Figure 12 illustrates the switched RC filter response for a sampling duty cycle of 1% across different PRF
settings.
Figure 13 illustrates the switched RC filter response for a sampling duty cycle of 5% across different PRF
settings.
Figure 14 illustrates the LED current value versus the LED current setting code. The mode marked as 50-mA
LED Current Mode corresponds to the default setting of ILED_2X = 0, whereas the mode marked as 100-mA
LED Current Mode corresponds to ILED_2X = 1. The ideal slope of these curves corresponds to 0.793 mA per
code for the 50-mA current mode and 1.587 mA per code for the 100-mA current mode. However, a small
deviation from these ideal values can exist from device to device, and can be viewed as a gain error in the LED
current versus code. This deviation can be larger for the 100-mA current mode, with slight saturation of current
especially at the high-current settings.
Figure 15 illustrates the LED current as a function of the voltage at the TX pin. The voltage at the TX pin is
changed by connecting a load resistor from the TX pin to TX_SUP and changing the voltage of TX_SUP. In the
50-mA current mode, with a 50-mA current setting, the LED current starts to drop when the voltage at the TX pin
goes below 0.5 V. In the 100-mA current mode, with a 100-mA current setting, the current starts to drop when
the voltage at the TX pin goes below 1 V.
Figure 16 and Figure 17 illustrate the LED current step error as a function of the LED current setting code for the
50-mA and 100-mA current modes. These plots are generated from the data in Figure 14 after removing the gain
error component (based on the best-fit curve).
Figure 18 illustrates the power-supply rejection ratio (PSRR) for a tone on the TX_SUP power rail. The frequency
of the tone is swept and the magnitude of the same tone at the device output (LED-ambient) is monitored. Note
that in cases where the tone frequency is greater than PRF / 2, power is monitored at the aliasing frequency.
PSRR is computed as the RMS value of the output tone referred to the RMS value of the tone applied on the
supply pin.
Figure 19 illustrates the PSRR for a tone applied on the RX_SUP power rail. PSRR is enhanced because of the
presence of an internal LDO that drives the signal chain as well as the differential nature of the signal chain.
Figure 20 illustrates the rejection of a 50-Hz differential input tone. A differential current input with a frequency of
50 Hz is applied on the input pins. The magnitude of the tone at the output of the device (LED minus ambient
phase) is converted to an input-referred current and compared with the magnitude of the injected current to
estimate the rejection. The rejection is plotted as a function of the separation between the sampling instants of
the LED and ambient phases. As illustrated in Figure 20, with reducing separation between the sampling
instants, the rejection keeps improving because of an increased correlation of the injected tone between the two
phases. A similar rejection is not obtained if only the LED phase data are considered.
70
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Typical Application (continued)
Figure 21 illustrates the SNR in dBFS over a 20-Hz bandwidth across sampling duty cycle over multiple
operating temperatures ranging from –40°C to 85°C.
Figure 22 illustrates the variation of the internal oscillator frequency over operating temperature on a typical unit.
9.2.3.1 Choosing the Right AFE Settings
The AFE signal chain offers several knobs that can be adjusted to achieve the SNR requirements needed for
high-end, clinical, pulse-oximeter applications as well as for the low-power demands of battery-operated, optical,
heart-rate monitoring applications. The knobs include TIA gain (Rf), TIA bandwidth, LED current (ILED), and
offset cancellation DAC (I_OFFDAC). TI highly recommends running a calibration algorithm at startup and also
periodically on the MCU to monitor the dc level at the output of the AFE and adjust the AFE signal chain settings
to get close to the target dc level.
In addition to a target dc level, the high and low thresholds can also be determined (for example, 80% and 20%
of full-scale), which can cause the algorithm to switch to a different TIA gain or LED current setting when the
signal amplitude changes beyond the thresholds.
The optimum gain and LED current depends on the following conditions:
1. The current transfer ratio (CTR) from the LED to the photodiode
2. The perfusion index at the ADC output (the ac to dc ratio of the signal)
For clinical SPO2 applications demanding the highest SNR, where power may not be a primary concern, TI
recommends setting the LED and sampling pulse durations to > 200 µs. To simplify system design, keeping the
pulse duration fixed across use cases is easiest. Set the LED current to the highest value that can be afforded by
the system power budget. Initialize the TIA gain to the lowest gain setting of 10 kΩ and use the initial calibration
routine to determine the optimum gain. Set the ADC in averaging mode with the number of averages being the
maximum afforded by the choice of pulse repetition period and pulse duration. Eight ADC averages is usually
sufficient to obtain good SNR.
For power-critical, battery-operated applications, choose a sampling pulse duration between 50 µs to 100 µs and
operate the device at a high TIA gain setting (for example, 1 MΩ). Set the ADC in averaging mode with four to
eight averages. Initialize the LED current to the desired lowest setting (of a few milliamps) and use the initial
calibration routine to determine the optimum LED current setting up to the highest value allowed by the system
power budget.
For pulse-oximeter applications using red and IR LEDs, the target dc level can be typically set to 50% of positive
full-scale.
For HRM applications, the offset cancellation DAC can be additionally used such that the dc offset can be
subtracted from the signal, thereby allowing for a larger TIA gain to be applied without saturating the signal.
The calibration routine must be designed in a manner that does not rely on the accuracy of the LED current, TIA
gain, and offset cancellation DAC, thus allowing for device-to-device variations. Specifically, the offset
cancellation DAC is not trimmed at production and can have a significant device-to-device variation (±20%). If the
calibration routine requires an accurate estimate of the offset cancellation DAC, then the PD_DISCONNECT
mode can be used to estimate the offset cancellation DAC range on a given unit. The PD_DISCONNECT mode
disconnects the photodiode from the TIA inputs. In this mode IPD = 0 and, thus, the effective input current to the
TIA comes solely from the offset cancellation DAC (Ieff = I_OFFDAC). As a result, the offset cancellation DAC
value can be directly estimated from the AFE output code.
When the calibration loop is in the process of converging to the steady state, the device settings can continue to
be refreshed to new values. Ideally, a time equal to tCHANNEL is provided for the AFE to settle to any change in
signal-chain settings. However, this time can lead to unacceptably large delays in the convergence of the
calibration routine. Therefore, during the transient (when the calibration routine is in the transient phase), the wait
times can be reduced to as low as tCHANNEL / 10. After the calibration routine converges to the final settings, a
wait time of tCHANNEL can then be applied before high-accuracy data are read out from the AFE.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
71
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
10 Power Supply Recommendations
The guidelines for power-supply sequencing and device initialization are shown in Figure 93, Figure 94, and
Table 79.
RX_SUP
t1
IO_SUP
t2
TX_SUP
t3
RESETZ
t4
t5
t7
t6
t4
t5
t6
Device
Settings
Device
Settings
I2C Interface
t8
ADC_RDY
Reset
CLK
(External Clock Mode)
Device State
High-Accuracy Operation
Hardware
PowerDown
(PWDN)
High-Accuracy
Operation
Reset
Figure 93. Power-Supply Sequencing, Device Initialization, and Hardware Power-Down Timing
RX_SUP
t1
IO_SUP
t2
TX_SUP
t3
RESETZ
t4
t5
t6
t6
Device
Settings
I2C Interface
PDNAFE
=1
PDNAFE
=0
ADC_RDY
Device State
Reset
CLK
(External Clock Mode)
High-Accuracy Operation
Software Power-Down (PDNAFE)
High-Accuracy
Operation
Figure 94. Power-Supply Sequencing, Device Initialization, and Software Power-Down Timing
72
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
Table 79. Timing Parameters for Power Supply Sequencing, Device Initialization, and Power-Down
Timing
VALUE
t1
Time between RX_SUP and IO_SUP ramping up
Ramp up RX_SUP before or at the same time as IO_SUP. Keep t1 as
small as possible (for example,10 ms).
t2
Time between RX_SUP and TX_SUP ramping up
Keep t2 as small as possible (for example,10 ms).
t3
Time between all supplies stabilizing and start of the RESETZ lowgoing pulse
t4
RESETZ pulse duration for the device to get reset
t5
Time between resetting the device and issuing of I2C commands
t6
Time between I2C commands and the ADC_RDY pulse that
corresponds to valid data
t7
RESETZ pulse duration for the device to enter PWDN (power-down)
mode
> 200 µs
t8
Time from exiting power-down mode and subsequently resetting the
device
> 10 ms
(1)
> 10 ms
Between 25 µs and 50 µs
> 1 ms
tCHANNEL (1)
The tCHANNEL parameter is specified in the Electrical Characteristics table.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
73
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
11 Layout
11.1 Layout Guidelines
Two key layout guidelines are:
1. TX1, TX2, and TX3 are fast-switching lines and must be routed away from sensitive lines (such as the INP,
INN inputs).
2. The device can draw high-switching currents from the TX_SUP pin. A decoupling capacitor must be
electrically close to the pin.
11.2 Layout Example
Figure 95. Example Layout
74
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
12 Device and Documentation Support
12.1 Community Resources
The following links connect to TI community resources. Linked contents are provided "AS IS" by the respective
contributors. They do not constitute TI specifications and do not necessarily reflect TI's views; see TI's Terms of
Use.
TI E2E™ Online Community TI's Engineer-to-Engineer (E2E) Community. Created to foster collaboration
among engineers. At e2e.ti.com, you can ask questions, share knowledge, explore ideas and help
solve problems with fellow engineers.
Design Support TI's Design Support Quickly find helpful E2E forums along with design support tools and
contact information for technical support.
12.2 Trademarks
E2E is a trademark of Texas Instruments.
Bluetooth is a registered trademark of Bluetooth SIG, Inc.
All other trademarks are the property of their respective owners.
12.3 Electrostatic Discharge Caution
This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with
appropriate precautions. Failure to observe proper handling and installation procedures can cause damage.
ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more
susceptible to damage because very small parametric changes could cause the device not to meet its published specifications.
12.4 Glossary
SLYZ022 — TI Glossary.
This glossary lists and explains terms, acronyms, and definitions.
13 Mechanical, Packaging, and Orderable Information
The following pages include mechanical, packaging, and orderable information. This information is the most
current data available for the designated devices. This data is subject to change without notice and revision of
this document. For browser-based versions of this data sheet, refer to the left-hand navigation.
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
75
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
YZP0015
DSBGA - 0.5 mm max height
SCALE 7.000
DIE SIZE BALL GRID ARRAY
B
A
E
BALL A1
CORNER
E = 1.6 mm
D = 2.6 mm
D
C
0.5 MAX
SEATING PLANE
0.19
0.13
0.05 C
BALL TYP
1 TYP
0.5 TYP
E
D
SYMM
2
TYP
C
B
0.5
TYP
A
0.25
0.21
C A
B
1
2
3
15X
0.015
SYMM
4221665/A 09/2014
NanoFree Is a trademark of Texas Instruments.
NOTES:
1. All linear dimensions are in millimeters. Any dimensions in parenthesis are for reference only. Dimensioning and tolerancing
per ASME Y14.5M.
2. This drawing is subject to change without notice.
TM
3. NanoFree package configuration.
Figure 96. Package Outline
76
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
AFE4404
www.ti.com
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
EXAMPLE BOARD LAYOUT
YZP0015
DSBGA - 0.5 mm max height
DIE SIZE BALL GRID ARRAY
(0.5) TYP
15X (
0.23)
1
3
2
A
(0.5) TYP
B
SYMM
C
D
E
SYMM
LAND PATTERN EXAMPLE
SCALE:30X
0.05 MAX
( 0.23)
METAL
METAL
UNDER
SOLDER MASK
0.05 MIN
( 0.23)
SOLDER MASK
OPENING
SOLDER MASK
OPENING
NON-SOLDER MASK
DEFINED
(PREFERRED)
SOLDER MASK
DEFINED
SOLDER MASK DETAILS
NOT TO SCALE
4221665/A 09/2014
NOTES: (continued)
4. Final dimensions may vary due to manufacturing tolerance considerations and also routing constraints.
For more information, see Texas Instruments literature number SBVA017 (www.ti.com/lit/sbva017).
Figure 97. Example Board Layout
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
77
AFE4404
SBAS689B – JUNE 2015 – REVISED OCTOBER 2015
www.ti.com
EXAMPLE STENCIL DESIGN
YZP0015
DSBGA - 0.5 mm max height
DIE SIZE BALL GRID ARRAY
(0.5) TYP
(R0.05) TYP
15X ( 0.25)
1
2
3
A
(0.5)
TYP
B
METAL
TYP
SYMM
C
D
E
SYMM
SOLDER PASTE EXAMPLE
BASED ON 0.1 mm THICK STENCIL
SCALE:40X
4221665/A 09/2014
NOTES: (continued)
5. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release.
Figure 98. Example Stencil Design
78
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Product Folder Links: AFE4404
PACKAGE OPTION ADDENDUM
www.ti.com
8-Oct-2015
PACKAGING INFORMATION
Orderable Device
Status
(1)
Package Type Package Pins Package
Drawing
Qty
Eco Plan
Lead/Ball Finish
MSL Peak Temp
(2)
(6)
(3)
Op Temp (°C)
Device Marking
(4/5)
AFE4404YZPR
ACTIVE
DSBGA
YZP
15
3000
Green (RoHS
& no Sb/Br)
SNAGCU
Level-1-260C-UNLIM
-20 to 70
AFE4404
AFE4404YZPT
ACTIVE
DSBGA
YZP
15
250
Green (RoHS
& no Sb/Br)
SNAGCU
Level-1-260C-UNLIM
-20 to 70
AFE4404
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability
information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that
lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between
the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight
in homogeneous material)
(3)
MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5)
Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
Lead/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish values may wrap to two lines if the finish
value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI 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 underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
Addendum-Page 1
Samples
PACKAGE OPTION ADDENDUM
www.ti.com
8-Oct-2015
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 2
PACKAGE MATERIALS INFORMATION
www.ti.com
10-Oct-2015
TAPE AND REEL INFORMATION
*All dimensions are nominal
Device
Package Package Pins
Type Drawing
SPQ
Reel
Reel
A0
Diameter Width (mm)
(mm) W1 (mm)
AFE4404YZPR
DSBGA
YZP
15
3000
180.0
8.4
AFE4404YZPT
DSBGA
YZP
15
250
180.0
8.4
Pack Materials-Page 1
B0
(mm)
K0
(mm)
P1
(mm)
W
Pin1
(mm) Quadrant
1.68
2.68
0.59
4.0
8.0
Q1
1.68
2.68
0.59
4.0
8.0
Q1
PACKAGE MATERIALS INFORMATION
www.ti.com
10-Oct-2015
*All dimensions are nominal
Device
Package Type
Package Drawing
Pins
SPQ
Length (mm)
Width (mm)
Height (mm)
AFE4404YZPR
DSBGA
YZP
15
3000
182.0
182.0
20.0
AFE4404YZPT
DSBGA
YZP
15
250
182.0
182.0
20.0
Pack Materials-Page 2
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products
Applications
Audio
www.ti.com/audio
Automotive and Transportation
www.ti.com/automotive
Amplifiers
amplifier.ti.com
Communications and Telecom
www.ti.com/communications
Data Converters
dataconverter.ti.com
Computers and Peripherals
www.ti.com/computers
DLP® Products
www.dlp.com
Consumer Electronics
www.ti.com/consumer-apps
DSP
dsp.ti.com
Energy and Lighting
www.ti.com/energy
Clocks and Timers
www.ti.com/clocks
Industrial
www.ti.com/industrial
Interface
interface.ti.com
Medical
www.ti.com/medical
Logic
logic.ti.com
Security
www.ti.com/security
Power Mgmt
power.ti.com
Space, Avionics and Defense
www.ti.com/space-avionics-defense
Microcontrollers
microcontroller.ti.com
Video and Imaging
www.ti.com/video
RFID
www.ti-rfid.com
OMAP Applications Processors
www.ti.com/omap
TI E2E Community
e2e.ti.com
Wireless Connectivity
www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2015, Texas Instruments Incorporated
Similar pages