Afe 4400
Afe 4400
AFE4400
SBAS601H – DECEMBER 2012 – REVISED JULY 2014
Amb (RED)
AFE SPI
– Rx = 2.0 V to 3.6 V TIA ûADC
IR SPI Interface
Amb (IR)
LED
Diagnostic Signals
LED Current
Driver Control
LED DAC
Tx OSC
AFE
Tx Supply
(3.0 V or 5.25 V)
8 MHz
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.
AFE4400
SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com
Table of Contents
1 Features .................................................................. 1 8.2 Functional Block Diagram ....................................... 21
2 Applications ........................................................... 1 8.3 Feature Description................................................. 22
3 Description ............................................................. 1 8.4 Device Functional Modes........................................ 38
8.5 Programming........................................................... 44
4 Revision History..................................................... 2
8.6 Register Maps ......................................................... 49
5 Device Family Options .......................................... 5
9 Applications and Implementation ...................... 72
6 Pin Configuration and Functions ......................... 5
9.1 Application Information .......................................... 72
7 Specifications......................................................... 7
9.2 Typical Application .................................................. 72
7.1 Absolute Maximum Ratings ...................................... 7
10 Power Supply Recommendations ..................... 76
7.2 Handling Ratings....................................................... 7
7.3 Recommended Operating Conditions....................... 8 11 Layout................................................................... 78
11.1 Layout Guidelines ................................................. 78
7.4 Thermal Information .................................................. 8
11.2 Layout Example .................................................... 78
7.5 Electrical Characteristics.......................................... 9
7.6 Timing Requirements .............................................. 13 12 Device and Documentation Support ................. 79
7.7 Timing Requirements: Supply Ramp and Power- 12.1 Trademarks ........................................................... 79
Down ........................................................................ 14 12.2 Electrostatic Discharge Caution ............................ 79
7.8 Typical Characteristics ............................................ 16 12.3 Glossary ................................................................ 79
8 Detailed Description ............................................ 21 13 Mechanical, Packaging, and Orderable
8.1 Overview ................................................................. 21 Information ........................................................... 79
4 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
• Changed HBM value from ±4000 to ±1000 in Handling Ratings table .................................................................................. 7
• Changed CDM value from ±1500 to ±250 in Handling Ratings table ................................................................................... 7
• Changed format to meet latest data sheet standards; added new sections, and moved existing sections........................... 1
• Changed sub-bullet of Transmit Features bullet .................................................................................................................... 1
• Changed second sub-bullet of Integrated Fault Diagnostics Features bullet......................................................................... 1
• Added AFE4403 row to Family and Ordering Information table............................................................................................. 5
• Changed title of Device Family Options table ........................................................................................................................ 5
• Changed INM to INN in VCM description of Pin Descriptions table....................................................................................... 6
• Changed Absolute Maximum Ratings table: changed first five rows and added TXP, TXN pins row ................................... 7
• Deleted Typical value (> 1.3) for Logic high input voltage .................................................................................................. 11
• Deleted Typical value (> -0.4) for Logic low input voltage .................................................................................................. 11
• Changed SPISTE, SPISIMO, and SPISOMI pin names in Figure 1 ................................................................................... 13
• Changed SPISTE and SPISIMO pin names in Figure 2 ..................................................................................................... 14
• Added second and third paragraphs to the Receiver Front-End section ............................................................................ 22
• Changed seventh paragraph in Receiver Front-End section ............................................................................................... 23
• Changed title of Ambient Cancellation Scheme and Second Stage Gain Block section ..................................................... 24
• Changed descriptions of LED2, ambient, and LED1 convert phases in Receiver Control Signals section ......................... 26
• Changed description of Receiver Timing section ................................................................................................................ 26
• Changed Example column values for rows t2, t4, t5, t11, t13, t15, t17, t19, t22, t24, t26, and t28 in Table 2 .................................. 31
• Added footnote 2 to Table 2 ................................................................................................................................................. 31
• Added footnote 2 to Figure 42.............................................................................................................................................. 32
• Added footnote 2 to Figure 43.............................................................................................................................................. 33
• Changed the ADC Operation and Averaging Module section: grammatical edits and changed the second sentence
of the second paragraph....................................................................................................................................................... 38
• Changed INN pin name in Figure 53.................................................................................................................................... 41
• Changed INM to INN in Table 5 ........................................................................................................................................... 43
• Changed SPISTE, SPISIMO, SPISOMI, and SCLK pin names in Figure 58 ...................................................................... 47
• Added Application and Implementation section.................................................................................................................... 72
RHA Package
VQFN-40
(Top View)
RX_ANA_GND
RX_ANA_GND
RX_ANA_SUP
RX_ANA_SUP
RX_DIG_GND
RX_DIG_SUP
XOUT
DNC
DNC
XIN
40 39 38 37 36 35 34 33 32 31
INN 1 30 CLKOUT
INP 2 29 RESET
RX_ANA_GND 3 28 ADC_RDY
VCM 4 27 SPISTE
(1)
DNC 5 26 SPISIMO
DNC 6 25 SPISOMI
BG 7 24 SCLK
VSS 8 23 PD_ALM
TX_REF 9 22 LED_ALM
DNC 10 21 DIAG_END
11 12 13 14 15 16 17 18 19 20
TX_CTRL_SUP
LED_DRV_GND
LED_DRV_GND
TXN
TXP
LED_DRV_GND
LED_DRV_SUP
LED_DRV_SUP
RX_DIG_GND
AFE_PDN
Pin Functions
PIN
NAME NO. FUNCTION DESCRIPTION
Output signal that indicates ADC conversion completion.
ADC_RDY 28 Digital
Can be connected to the interrupt input pin of an external microcontroller.
AFE-only power-down input; active low.
AFE_PDN 20 Digital
Can be connected to the port pin of an external microcontroller.
Decoupling capacitor for internal band-gap voltage to ground.
BG 7 Reference
(2.2-µF decoupling capacitor to ground)
Buffered 4-MHz output clock output.
CLKOUT 30 Digital
Can be connected to the clock input pin of an external microcontroller.
Output signal that indicates completion of diagnostics.
DIAG_END 21 Digital
Can be connected to the port pin of an external microcontroller.
DNC (1) 5, 6, 10, 34, 35 — Do not connect these pins. Leave as open circuit.
INN 1 Analog Receiver input pin. Connect to photodiode anode.
INP 2 Analog Receiver input pin. Connect to photodiode cathode.
LED_DRV_GND 12, 13, 16 Supply LED driver ground pin, H-bridge. Connect to common board ground.
LED driver supply pin, H-bridge. Connect to an external power supply capable of supplying the
LED_DRV_SUP 17, 18 Supply
large LED current, which is drawn by this supply pin.
Output signal that indicates an LED cable fault.
LED_ALM 22 Digital
Can be connected to the port pin of an external microcontroller.
Output signal that indicates a PD sensor or cable fault.
PD_ALM 23 Digital
Can be connected to the port pin of an external microcontroller.
AFE-only reset input, active low.
RESET 29 Digital
Can be connected to the port pin of an external microcontroller.
RX_ANA_GND 3, 36, 40 Supply Rx analog ground pin. Connect to common board ground.
RX_ANA_SUP 33, 39 Supply Rx analog supply pin; 0.1-µF decoupling capacitor to ground
RX_DIG_GND 19, 32 Supply Rx digital ground pin. Connect to common board ground.
RX_DIG_SUP 31 Supply Rx digital supply pin; 0.1-µF decoupling capacitor to ground
SCLK 24 SPI SPI clock pin
SPISIMO 26 SPI SPI serial in master out
SPISOMI 25 SPI SPI serial out master in
SPISTE 27 SPI SPI serial interface enable
TX_CTRL_SUP 11 Supply Transmit control supply pin (0.1-µF decoupling capacitor to ground)
Transmitter reference voltage, 0.75 V default after reset.
TX_REF 9 Reference
Connect a 2.2-μF decoupling capacitor to ground.
TXN 14 Analog LED driver out B, H-bridge output. Connect to LED.
TXP 15 Analog LED driver out B, H-bridge output. Connect to LED.
Input common-mode voltage output.
VCM 4 Reference Connect a series resistor (1 kΩ) and a decoupling capacitor (10 nF) to ground.
The voltage across the capacitor can be used to shield (guard) the INP, INN traces.
VSS 8 Supply Substrate ground. Connect to common board ground.
Crystal oscillator pins.
XOUT 37 Digital Connect an external 8-MHz crystal between these pins with the correct load capacitor
(as specified by vendor) to ground.
Crystal oscillator pins.
XIN 38 Digital Connect an external 8-MHz crystal between these pins with the correct load capacitor
(as specified by vendor) to ground.
7 Specifications
7.1 Absolute Maximum Ratings
over operating free-air temperature range (unless otherwise noted) (1)
MIN MAX UNIT
RX_ANA_SUP, RX_DIG_SUP to RX_ANA_GND, RX_DIG_GND –0.3 4 V
TX_CTRL_SUP, LED_DRV_SUP to LED_DRV_GND –0.3 6 V
RX_ANA_GND, RX_DIG_GND to LED_DRV_GND –0.3 0.3 V
Analog inputs RX_ANA_GND – 0.3 RX_ANA_SUP + 0.3 V
Digital inputs RX_DIG_GND – 0.3 RX_DIG_SUP + 0.3 V
Minimum [6,
TXP, TXN pins –0.3 V
(LED_DRV_SUP + 0.3)]
Input current to any pin except supply pins (2) ±7 mA
Momentary ±50 mA
Input current
Continuous ±7 mA
Operating temperature range 0 70 °C
Maximum junction temperature, TJ 125 °C
(1) 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.
(2) Input terminals are diode-clamped to the power-supply rails. Input signals that can swing beyond the supply rails must be current-limited
to 10 mA or less.
(1) JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process.
(2) JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process.
(1) VLED refers to the maximum voltage drop across the external LED (at maximum LED current) connected between the TXP and TXN pins
(in H-bridge mode) and from the TXP and TXN pins to LED_DRV_SUP (in the common anode configuration).
(2) VCABLE refers to voltage drop across any cable, connector, or any other component in series with the LED.
(1) For more information about traditional and new thermal metrics, see the IC Package Thermal Metrics application report, SPRA953.
Noise-free bits (receiver with transmitter loop RF = 100 kΩ, PRF = 600 Hz, duty cycle = 5% 14.3 Bits
NFB
back, 0.1-Hz to 5-Hz bandwidth) RF = 500 kΩ, PRF = 600 Hz, duty cycle = 5% 13.5 Bits
RECEIVER FUNCTIONAL BLOCK LEVEL SPECIFICATION
RF = 500 kΩ, ambient cancellation enabled,
stage 2 gain = 4, PRF = 1200 Hz, 1.4 pARMS
Total integrated noise current, input referred LED duty cycle = 25%
(receiver alone) over 0.1-Hz to 5-Hz bandwidth RF = 500 kΩ, ambient cancellation enabled,
stage 2 gain = 4, PRF = 1200 Hz, 5 pARMS
LED duty cycle = 5%
I-V TRANSIMPEDANCE AMPLIFIER
See the Receiver Channel section
G Gain RF = 10 kΩ to 1 MΩ V/µA
for details
Gain accuracy ±7%
10k, 25k, 50k, 100k, 250k,
Feedback resistance RF Ω
500k, and 1M
Feedback resistor tolerance RF ±20%
Feedback capacitance CF 5, 10, 25, 50, 100, and 250 pF
Feedback capacitor tolerance CF ±20%
Full-scale differential output voltage 1 V
Common-mode voltage on input pins Set internally 0.9 V
Includes equivalent capacitance of
External differential input capacitance 10 1000 pF
photodiode, cables, EMI filter, and so forth
With a 1-kΩ series resistor and a 10-nF
Shield output voltage, VCM 0.9 V
decoupling capacitor to ground
Power-down Rx TX_CTRL_SUP 15 µA
RX_ANA_SUP 220 µA
RX_DIG_SUP 220 µA
LED_DRV_SUP current value.
LED_DRV_SUP 2 µA
Does not include LED current.
Power-down Tx TX_CTRL_SUP 2 µA
RX_ANA_SUP 600 µA
RX_DIG_SUP 230 µA
LED_DRV_SUP current value.
LED_DRV_SUP 55 µA
Does not include LED current.
After reset, with 8-MHz TX_CTRL_SUP 15 µA
clock running
RX_ANA_SUP 600 µA
RX_DIG_SUP 230 µA
LED_DRV_SUP current value.
LED_DRV_SUP 55 µA
Does not include LED current.
With stage 2 mode
enabled and 8-MHz clock TX_CTRL_SUP 15 µA
running RX_ANA_SUP 700 µA
RX_DIG_SUP 270 µA
tCLK
XIN
tSTECLK
SPISTE
tSPICLK
tCLKSTEH
SCLK 31 23 7 0
tCLKSTEL
tSIMOHD
tSIMOSU
SPISIMO A7 A6 A1 A0
tSOMIHD
tSOMIPD
tSOMIPD
(1) The SPI_READ register bit must be enabled before attempting a register read.
(2) Specify the register address whose contents must be read back on A[7:0].
(3) The AFE outputs the contents of the specified register on the SPISOMI pin.
tSTECLK
SPISTE
SCLK 31 23 0
tSIMOHD
tSIMOSU
(1) This time is required for each of the four switched RC filters to fully settle to the new settings. The same time is applicable whenever
there is a change to any of the signal chain controls (for example, LED current setting, TIA gain, and so forth).
(2) If the SPI commands involve a change in the TX_REF value from its default, then there is additional wait time of approximately 1 s (for a
2.2-µF decoupling capacitor on the TX_REF pin).
(3) Dependent on the value of the capacitors on the BG and TX_REF pins. The 1-s wait time is necessary when the capacitors are 2.2 µF
and scale down proportionate to the capacitor value. A very low capacitor (for example, 0.1 µF) on these pins causes the transmitter
dynamic range to reduce to approximately 100 dB.
(4) After an active power-down from AFE_PDN, the device should be reset using a low-going RESET pulse.
RX Supplies
(RX_ANA_SUP, RX_DIG_SUP)
t1
TX Supplies
(TX_CTRL_SUP, LED_DRV_SUP)
t2
RESET t6
t3 t4 t5 t4 t5
SPI Interface
t7 t3
ADC_RDY
~
~
~
~
t6 t8
AFE_PDN
RX Supplies
(RX_ANA_SUP, RX_DIG_SUP)
t1
TX Supplies
(TX_CTRL_SUP, LED_DRV_SUP)
t2
~
~
ADC_RDY
~
~
~
~
t6
AFE_PDN
900 15.00
Stage 2 & Amb Cancel Disabled PRF = 600Hz
Stage 2 & Amb Cancel Enabled 14.95
14.90
700
14.85
600 14.80
14.75
500 RX_ANA_SUP = RX_DIG_SUP
PRF = 600Hz 14.70
Stage 2 Gain = 4
400 14.65
2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 2.5 3.0 3.5 4.0 4.5 5.0
RX Supply Voltage (V) C001 TX_CTRL_SUP Voltage (V) C002
400 400
200 For each setting RF adjusted for Full-Scale Output. 200 For each setting RF adjusted for Full-Scale Output.
Amb Cancellation & stage 2 Gain = 4 used for Low Amb Cancellation & stage 2 Gain = 4 used for Low
Pleth currents (0.125uA, 0.25uA & 0.5uA). Pleth currents (0.125uA, 0.25uA & 0.5uA.)
Noise is calculated in 5Hz B/W. Noise is calculated in 5Hz band.
0 0
0 10 20 30 40 50 0 10 20 30 40 50
Pleth Current (A) C005 Pleth Current (A) C006
Figure 11. Input-Referred Noise Current vs Figure 12. Input-Referred Noise Current vs
Pleth Current (PRF = 1200 Hz) Pleth Current (PRF = 2500 Hz)
2000 16
Duty cycle 1% For each setting RF adjusted for Full-Scale Output. For each setting RF adjusted for Full-Scale Output.
Amb Cancellation & stage 2 Gain = 4 used for Amb Cancellation & stage 2 Gain = 4 used for Low Pleth currents (0.125uA, 0.25uA & 0.5uA).
1800 Duty cycle 5% Low Pleth currents (0.125uA, 0.25uA & 0.5uA). RMS noise is calculated in 5Hz B/W & NFB is calculated using 6.6 u RMS noise.
Noise is calculated in 5Hz band.
Input Referred Noise Current,
Figure 13. Input-Referred Noise Current vs Figure 14. Noise-Free Bits vs Pleth Current
Pleth Current (PRF = 5000 Hz) (PRF = 100 Hz)
16 For each setting RF adjusted for Full-Scale Output.
16 For each setting RF adjusted for Full-Scale Output.
Amb Cancellation & stage 2 Gain = 4 used for Low pleth currents (0.125uA, 0.25uA & 0.5uA.) Amb Cancellation & stage 2 Gain = 4 used for Low Pleth currents (0.125uA, 0.25uA & 0.5uA).
RMS noise is calculated in 5Hz B/W & NFB is calculated using 6.6 u RMS noise. RMS noise is calculated in 5Hz B/W & NFB is calculated using 6.6 u RMS noise.
Input Referred Noise Current,
15 15
pA rms in 5Hz Bandwidth
14 14
13 13
Duty cycle 1% Duty cycle 1%
12 Duty cycle 5% 12 Duty cycle 5%
Duty cycle 10% Duty cycle 10%
11 Duty cycle 15% 11 Duty cycle 15%
Duty cycle 20% Duty cycle 20%
Duty cycle 25% Duty cycle 25%
10 10
0 10 20 30 40 50 0 10 20 30 40 50
Pleth Current (A) C011 Pleth Current (A) C012
Figure 15. Noise-Free Bits vs Pleth Current Figure 16. Noise-Free Bits vs Pleth Current
(PRF = 300 Hz) (PRF = 600 Hz)
13 13
Duty Cycle = 1%
Duty Cycle = 5% Duty Cycle = 1%
12 12 For each setting RF adjusted for Full-
Duty Cycle = 5%
Duty Cycle = 10% Scale Output.
Amb Cancellation & stage 2 Gain = 4 Duty Cycle = 10%
11 Duty Cycle = 15% 11 used for Low Pleth currents (0.125uA,
Duty Cycle = 15%
0.25uA & 0.5uA).
Duty Cycle = 20% RMS noise is calculated in 5Hz B/W & Duty Cycle = 20%
Duty Cycle = 25% NFB is calculated using 6.6 u RMS noise.
Duty Cycle = 25%
10 10
0 10 20 30 40 50 0 10 20 30 40 50
Pleth Current (A) C013 Pleth Current, uA C014
Figure 17. Noise-Free Bits vs Pleth Current Figure 18. Noise-Free Bits vs Pleth Current
(PRF = 1200 Hz) (PRF = 2500 Hz)
16 120
110
Input Referred Noise Current,
15
pA rms in 5Hz Bandwidth
100
14
90
13
80
Duty cycle 1%
12
For each setting RF adjusted for Full-Scale Duty cycle 5% 70
Output. Duty cycle 10%
Amb Cancellation & stage 2 Gain = 4 used for
11 Low Pleth currents (0.125uA, 0.25uA & 0.5uA). Duty cycle 15% 60 TX_CTRL_SUP = LED_DRV_SUP = 3V
RMS noise is calculated in 5Hz B/W & NFB is Duty cycle 20% TX Vref = 0.5V
calculated using 6.6 u RMS noise.
Duty cycle 25%
10 50
0 10 20 30 40 50 0 20 40 60 80 100
Pleth Current, uA C015 % of Full-Scale LED Current C016
Figure 19. Noise-Free Bits vs Pleth Current Figure 20. Transmitter Dynamic Range
(PRF = 5000 Hz) (5-Hz BW)
500
Expected + 1%
400 50
Actual DAC Current
DAC Current Step Error (mA)
300 Expected - 1%
200 40
TX Current (mA)
100
30
0
±100
20
±200
±300 10
±400
TX_REF = 0.5V TX Reference Voltage = 0.5V
±500 0
0 50 100 150 200 250 0 50 100 150 200 250
TX LED DAC Setting C021 TX LED DAC Setting C022
Figure 21. Transmitter DAC Current Step Error Figure 22. Transmitter Current Linearity
(50 mA, Max) (50-mA Range)
Number of Occurences
300
300
200
200
100
100
0 0
1.80
1.83
1.85
1.88
1.90
1.93
1.95
1.98
2.00
2.03
2.05
2.08
2.10
2.13
2.15
2.18
2.20
2.23
2.25
2.28
2.30
4.5
4.6
4.6
4.7
4.7
4.8
4.8
4.9
4.9
5.0
5.0
5.1
5.1
5.2
5.2
5.3
5.3
5.4
5.4
5.5
5.5
LED Current (mA) LED Current (mA)
C023 C024
Figure 23. LED Current with Tx DAC Setting = 10 Figure 24. LED Current with Tx DAC Setting = 25
(2 mA) (5 mA)
400 400
TX_RANGE = 50mA, TX_RANGE = 50mA,
Data from 2326 devices Data from 7737 devices
Number of Occurences
Number of Occurences
300 300
200 200
100 100
0 0
10.0
10.1
10.2
10.3
10.4
10.5
10.6
10.7
10.8
10.9
11.0
9.0
9.1
9.2
9.3
9.4
9.5
9.6
9.7
9.8
9.9
18.0
18.3
18.5
18.8
19.0
19.3
19.5
19.8
20.0
20.3
20.5
20.8
21.0
21.3
21.5
21.8
22.0
LED Current (mA) LED Current (mA)
C025 C026
Figure 25. LED Current with Tx DAC Setting = 51 Figure 26. LED Current with Tx DAC Setting = 102
(10 mA) (20 mA)
400 800
TX_RANGE = 50mA,
Data from 7737 devices 700
Number of Occurences
RX Supply Current, uA
300
600
0 100
45.0
45.5
46.0
46.5
47.0
47.5
48.0
48.5
49.0
49.5
50.0
50.5
51.0
51.5
52.0
52.5
53.0
53.5
54.0
54.5
55.0
C027
Figure 27. LED Current with Tx DAC Setting = 255 Figure 28. Receiver Supplies vs PRF
(50 mA)
500
Supply Current, uA
450
60.00
400
350 RX_ANA_SUP (STG2DIS)
300 RX_ANA_SUP (STG2EN)
40.00
TX_CTRL_SUP 250 RX_DIG_SUP
200 TX_CTRL_SUP
LED_DRV_SUP
150 LED_DRV_SUP
20.00
100
50
0.00 0
0.50 0.75 1.00 0 10 20 30 40 50 60 70
TX_VREF, V C029 Temperature, C C030
Figure 29. Transmitter Supplies vs TX_REF Figure 30. Power Supplies vs Temperature
100 16
STG2=DIS, 5Hz BW (Note 2) PRF = 1200 Hz, Duty cycle = 10%
1) RF = 100K, Stage 2 & ambient cancellation disabled
STG2=EN, 5Hz BW (Note 3) 2) RF = 500K, Stage 2 & ambient cancellation enabled with stage 2 gain = 4
15
Input referred noise current, pA rms
80
14
60
Noise Free Bits
13
40
12
PRF = 1200 Hz, Duty cycle = 10%
20 1) RF = 100K, Stage 2 & ambient cancellation disabled
2) RF = 500K, Stage 2 & ambient cancellation enabled with stage 2 gain = 4 11 STG2=DIS, 5Hz BW (Note 2)
STG2=EN, 5Hz BW (Note 3)
0 10
0 10 20 30 40 50 60 70 0 10 20 30 40 50 60 70
Temperature, C C031 Temperature, C C032
Figure 31. Input-Referred Noise vs Temperature Figure 32. Noise-Free Bits vs Temperature
±10
Attenuation, dB
±20
±30
±40
5% Duty cycle
25% Duty cycle
±50
1 10 100
Input signal frequency, Hz C033
8 Detailed Description
8.1 Overview
The AFE4400 is a complete analog front-end (AFE) solution targeted for pulse oximeter applications. The device
consists of a low-noise receiver channel, an LED transmit section, and diagnostics for sensor and LED fault
detection. To ease clocking requirements and provide the low-jitter clock to the AFE, an oscillator is also
integrated that functions from an external crystal. The device communicates to an external microcontroller or host
processor using an SPI interface. The Functional Block Diagram section provides a detailed block diagram for
the AFE4400. The blocks are described in more detail in the following sections.
TX_CTRL_SUP
RX_ANA_SUP
RX_ANA_SUP
RX_DIG_SUP
DNC
DNC
BG
Device
Reference
CF
r1.2 V
RF SPISTE
SPI Interface
SPISIMO
SPI
SPISOMI
+ + +
INP Stage 2 Digital SCLK
CPD TIA Filter Buffer 4GADC
Gain Filter
INN
RF
Photodiode
CF
Control
VCM
Timing
Controller AFE_PDN
ADC_RDY
C RESET
TXP
DIAG_END
DNC(1)
Diagnostic Diagnostics LED_ALM
DNC(1)
DNC(1)
Signals PD_ALM
OSC
VSS
TX_REF
LED_DRV_GND
LED_DRV_GND
LED_DRV_GND
RX_ANA_GND
RX_ANA_GND
RX_ANA_GND
RX_DIG_GND
RX_DIG_GND
CLKOUT
XIN
XOUT
8 MHz
Rx
SLED2 CONVLED2
LED2
CF
RF
RG
ADC
ADC Output Rate
+ +Stage 2 Amb PRF Sa/sec
TIA
Gain
SLED2_amb CONVLED2_amb +
CPD Buffer ûADC
SLED1 CONVLED1
LED1
RG
RF
CF
ADC Convert
Ambient Amb
ADC Clock
SLED1_amb CONVLED1_amb
DAC
The RF amplifier and the feedback capacitor (CF) form a low-pass filter for the input signal current. Always ensure
that the low-pass filter RC time constant has sufficiently high bandwidth (as shown by Equation 1) because the
input current consists of pulses. For this reason, the feedback capacitor is also programmable. Available CF
values include: 5 pF, 10 pF, 25 pF, 50 pF, 100 pF, and 250 pF. Any combination of these capacitors can also be
used.
Rx Sample Time
R F ´ CF £
10 (1)
Device
Host Processor
LED2 Data
Front End
(LED2 ± Ambient)
Data
Ambient Estimation Block
SPI
Interface
Ambient information is available in the host
ADC Rx SPI processor.
Digital Block
The processor can:
LED1 Data
* Read ambient data
Ambient (LED1)
Data * Estimate ambient value to
be cancelled
ICANCEL
Cf
Rg
Rf
IPLETH + IAMB
Rx Ri
VDIFF
Ri
Rf
Rg
ICANCEL
Cf
Table 1. RG Values
GAIN RG(kΩ)
0 (x1) 100
3.5 (x1.5) 150
6 (x2) 200
9.5 (x3) 300
12 (x4) 400
RED LED
On Signal
Ambient Level
(Dark Level)
Rx Sample Time =
tLED ± Settle Time
SR ,
Sample RED
SR_amb,
Sample Ambient
(RED Phase)
SIR,
Sample IR
SIR_amb,
Sample Ambient
(IR Phase)
CONVIR_amb,
Convert Ambient Sample
(IR Phase)
CONVR,
Convert RED Sample
CONVR_amb,
Convert Ambient Sample
(RED Phase)
CONVIR,
Convert IR Sample
ADC Conversion
0T
0.25 T
0.50 T
0.75 T
1.0 T
Convert Red
Sample N+1
Convert Ambient
Convert Ambient
Sample N
Sample N+1
Sample N
Sample N+1
Convert Ambient
Convert Ambient
Convert Ambient
Convert IR
Convert IR
Sample N
Sample N+1
Sample N-1
Sample N
TCONV
NOTE: Relationship to the AFE4400 EVM is: LED1 = IR and LED2 = RED.
Timer
Module
Divide-
ADC
by-2
Diagnostics
Module
Oscillator
XIN XOUT
CLKOUT
4 MHz
8-MHz Crystal
LED2(Red LED)
ON signal
SLED2_amb,
Sample Ambient
(LED2(Red) phase)
SLED1,
Sample LED1(IR)
SLED1_amb,
Sample Ambient
(LED1(IR) phase)
SLED2,
Sample LED2(Red)
CONVLED2,
Convert LED2(Red) sample
CONVLED2_amb,
Convert ambient sample
(LED2(Red) phase)
CONVLED1,
Convert LED1(IR) sample
CONVLED1_amb,
Convert ambient sample
(LED1(IR) phase)
ADC Conversion
ADC Reset
ADC_RDY Pin
0T
0.25 T
0.50 T
0.75 T
1.0 T
For the timing signals in Figure 37, the start and stop edge positions are programmable with respect to the PRF
period. Each signal uses a separate timer compare module that compares the counter value with
preprogrammed reference values for the start and stop edges. All reference values can be set using the SPI
interface.
After the counter value has exceeded the stop reference value, the output signal is set. When the counter value
equals the stop reference value, the output signal is reset. Figure 40 shows a diagram of the timer compare
register. With a 4-MHz clock, the edge placement resolution is 0.25 µs.
The ADC conversion signal requires four pulses in each PRF clock period. Timer compare register 11 uses four
sets of start and stop registers to control the ADC conversion signal, as shown in Figure 41.
Enable
Reset
Reset
CLKIN 16-Bit Counter
Enable Reset
Counter
S Start PRF
RED LED Timer Compare Timer Compare
R Stop 16-Bit Register 1 16-Bit PRF Register Pulse
En En
S S CONVR_amb,
Start Timer Compare Timer Compare Start
SR_amb, Convert Ambient Sample
Sample Ambient R Stop 16-Bit Register 5 16-Bit Register 10 Stop R (RED Phase)
En En
(red phase)
START-A
SIR_amb, S Start Timer Compare STOP-A
Sample Ambient R Stop 16-Bit Register 6
(IR phase) En START-B
Timer Compare STOP-B ADC
16-Bit Register 11 START-C Conversion
STOP-D
START-D
En STOP-D
Timer Module
(1) Values are based off of a pulse repetition frequency (PRF) = 500 Hz and duty cycle = 25%.
(2) See Figure 43, note 2 for the effect of the ADC reset time crosstalk.
SLED2_amb,
Sample Ambient
LED2 (RED) Phase t5 t6
SLED1,
Sample LED1 (IR)
t7 t8
SLED1_amb,
Sample Ambient
LED1 (IR) Phase t11 t12
SLED2,
Sample LED2 (RED)
t1 t2
CONVLED2, t14
Convert LED2 (RED) Sample t13
CONVLED2_amb,
Convert Ambient Sample t15 t16
LED2 (RED) Phase
CONVLED1,
Convert LED1 (IR) Sample t17 t18
CONVLED1_amb,
Convert Ambient Sample t19 t20
LED1 (IR) Phase
ADC Conversion
t23
t21 t25 t27
ADC Reset
t22 t24 t26 t28
CONVLED2, t14
t13
Convert LED2 (RED) Sample
CONVLED2_amb, t16
Convert Ambient Sample t15
LED2 (RED) Phase
CONVLED1, t18
t17
Convert LED1 (IR) Sample
CONVLED1_amb,
Convert Ambient Sample t19 t20
LED1 (IR) Phase
ADC Conversion
Figure 43. Relationship Between the ADC Reset and ADC Conversion Signals(1)(2)
1.8 V
RX_ANA_SUP RX_ANA_SUP to
1.8-V Regulator
Rx Analog Modules
RX_DIG_SUP to
1.8 V
RX_DIG_SUP 1.8-V Regulator Rx I/O I/O
Rx Digital
Block Pins
Device
LED_DRV_SUP TX_CTRL_SUP
External
Supply
CBULK Tx
H-Bridge
LED2_ON
H-Bridge LED1_ON
Driver
LED2_ON
or
LED1_ON
LED2 Current
Reference
LED
Current
ILED
Control
8-Bit Resolution
LED1 Current
Reference
TX_CTRL_SUP
External LED_DRV_SUP
Supply
CBULK
Tx
LED2_ON
H-Bridge LED1_ON
Driver
LED2_ON
or
LED1_ON
LED2 Current
Reference
LED
Current
ILED
Control
8-Bit Resolution
LED1 Current
Reference
Figure 46. Transmit: Push-Pull LED Drive for Common Anode LED Configuration
TX_CTRL_SUP
Tx Reference
and
Control
LED_DRV_SUP
LED
Tx LED Current
Bridge Control
DAC
Device
0 mA to 50 mA
1 PA 50 PA (See the LEDRANGE bits
in the LEDCNTRL register.)
LED_ON
ADC Reset
ADC Output Rate 22-Bits Register
LED2 Data LED2 Data
ADC PRF Samples per Second 42
Register Ambient
LED2_Ambient Data
43 (LED2) Data
ADC Averager
ADC Reset
Register Ambient
ADC Convert LED1_Ambient Data (LED1) Data
45
ADC Clock
Table 3 shows the mapping of the input voltage to the ADC to its output code.
The data format is binary twos complement format, MSB-first. Because the TIA has a full-scale range of ±1 V, TI
recommends that the input to the ADC does not exceed ±1 V, which is approximately 80% of its full-scale.
In cases where having the processor read the data as a 24-bit word instead of a 22-bit word is more convenient,
the entire register can be mapped to the input level as shown in Figure 51.
Figure 51. 24-Bit Word
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
24-Bit ADC Code, MSB to LSB
Table 4 shows the mapping of the input voltage to the ADC to its output code when the entire 24-bit word is
considered.
Now the data can be considered as a 24-bit data in binary twos complement format, MSB-first. The advantage of
using the entire 24-bit word is that the ADC output is correct, even when the input is over the normal operating
range.
8.4.1.1 Operation
The ADC digital samples are accumulated and averaged after every 50 µs. Then, at the next rising edge of the
ADC reset signal, the average value (22-bit) is written into the output registers sequentially as follows (see
Figure 52):
• At the 25% reset signal, the averaged 22-bit word is written to register 2Ah.
• At the 50% reset signal, the averaged 22-bit word is written to register 2Bh.
• At the 75% reset signal, the averaged 22-bit word is written to register 2Ch.
• At the next 0% reset signal, the averaged 22-bit word is written to register 2Dh. The contents of registers 2Ah
and 2Bh are written to register 2Eh and the contents of registers 2Ch and 2Dh are written to register 2Fh.
At the rising edge of the ADC_RDY signal, the contents of all six result registers can be read out.
The number of samples to be used per conversion phase is preset to 2.
ADC Conversion
ADC Data 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
ADC Reset
Register 42 register 43
are written into register 46.
Register 44 register 45
are written into register 47.
ADC_RDY Pin
8.4.2 Diagnostics
The device includes diagnostics to detect open or short conditions of the LED and photosensor, LED current
profile feedback, and cable on or off detection.
10 k 10 k 1k
Cable Rx On/Off
INN
To Rx Front-End
INP
Rx On/Off
GND Wires
100 PA
100 PA
PD Wires
LED Wires
10 k 10 k
SW1
SW3
Cable
TXP
TXN
SW4
SW2
GND Wires
100 PA
100 PA
PD Wires
LED DAC
LED Wires
Diagnostic State
Machine
Diagnostic State Machine
DIAG_END Pin
By default, the diagnostic function takes tDIAG = 16 ms to complete. After the diagnostics function completes, the
AFE4400 filter must be allowed time to settle. See the Electrical Characteristics for the filter settling time.
8.5 Programming
8.5.1 Serial Programming Interface
The SPI-compatible serial interface consists of four signals: SCLK (serial clock), SPISOMI (serial interface data
output), SPISIMO (serial interface data input), and SPISTE (serial interface enable).
The serial clock (SCLK) is the serial peripheral interface (SPI) serial clock. SCLK shifts in commands and shifts
out data from the device. SCLK features a Schmitt-triggered input and clocks data out on the SPISOMI. Data are
clocked in on the SPISIMO pin. Even though the input has hysteresis, TI recommends keeping SCLK as clean
as possible to prevent glitches from accidentally shifting the data. When the serial interface is idle, hold SCLK
low.
The SPI serial out master in (SPISOMI) pin is used with SCLK to clock out the AFE4400 data. The SPI serial in
master out (SPISIMO) pin is used with SCLK to clock in data to the AFE4400. The SPI serial interface enable
(SPISTE) pin enables the serial interface to clock data on the SPISIMO pin in to the device.
Programming (continued)
In case the word length exceeds a multiple of 32 bits, the excess bits are ignored. Data can be loaded in
multiples of 32-bit words within a single active SPISTE pulse. The first eight bits form the register address and
the remaining 24 bits form the register data. Figure 56 shows an SPI timing diagram for a single write operation.
For multiple read and write cycles, refer to the Multiple Data Reads and Writes section.
SPISTE
SCLK
Programming (continued)
8.5.2.2 Reading Data
The SPI_READ register bit must be first set to 1 before reading from a register. The AFE4400 includes a mode
where the contents of the internal registers can be read back on the SPISOMI pin. This mode may be useful as a
diagnostic check to verify the serial interface communication between the external controller and the AFE. To
enable this mode, first set the SPI_READ register bit using the SPI write command, as described in the Writing
Data section. In the next command, specify the SPI register address with the desired content to be read. Within
the same SPI command sequence, the AFE outputs the contents of the specified register on the SPISOMI pin.
Figure 57 shows an SPI timing diagram for a single read operation. For multiple read and write cycles, refer to
the Multiple Data Reads and Writes section.
SPISTE
SPISIMO A7 A6 A1 A0
SCLK
(1) The SPI_READ register bit must be enabled before attempting a serial readout from the AFE.
(2) Specify the register address of the content that must be readback on bits A[7:0].
(3) The AFE outputs the contents of the specified register on the SPISOMI pin.
SPISTE
Operation
First Write Second Write(1, 2) Read(3, 4)
SCLK
(1) The SPI read register bit must be enabled before attempting a serial readout from the AFE.
(2) The second write operation must be configured for register 0 with data 000001h.
(3) Specify the register address whose contents must be read back on A[7:0].
(4) The AFE outputs the contents of the specified register on the SPISOMI pin.
TIM_COUNT_RST
SPI_READ
DIAG_EN
SW_RST
CONTROL0 W 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(1) R = read only, R/W = read or write, N/A = not available, and W = write only.
Copyright © 2012–2014, Texas Instruments Incorporated Submit Documentation Feedback 49
Product Folder Links: AFE4400
AFE4400
SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com
TIMEREN
CONTROL1 R/W 1E 30 0 0 0 0 0 0 0 0 0 0 0 0 CLKALMPIN[2:0] 0 0 0 0 0 0 1 0
SPARE1 N/A 1F 31 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TIAGAIN R/W 20 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
STAGE2EN
TIA_AMB_GAIN R/W 21 33 0 0 0 0 AMBDAC[3:0] 0 0 0 0 STG2GAIN[2:0] CF_LED[4:0] RF_LED[2:0]
LEDCUROFF
LEDCNTRL R/W 22 34 0 0 0 0 0 0 1 LED1[7:0] LED2[7:0]
DIGOUT_TRISTATE
TXBRGMOD
XTALDIS
PDNAFE
PDNRX
PDNTX
CONTROL2 R/W 23 35 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0
SPARE2 N/A 24 36 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SPARE3 N/A 25 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SPARE4 N/A 26 38 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RESERVED1 N/A 27 39 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RESERVED2 N/A 28 40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ALMPINCLKEN
ALARM R/W 29 41 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LED2VAL R 2A 42 LED2VAL[23:0]
ALED2VAL R 2B 43 ALED2VAL[23:0]
LED1VAL R 2C 44 LED1VAL[23:0]
ALED1VAL R 2D 45 ALED1VAL[23:0]
LED2-ALED2VAL R 2E 46 LED2-ALED2VAL[23:0]
LED1-ALED1VAL R 2F 47 LED1-ALED1VAL[23:0]
OUTNSHGND
OUTPSHGND
INNSCGND
LED1OPEN
LED2OPEN
INPSCGND
INNSCLED
INPSCLED
LED_ALM
PD_ALM
LEDSC
PDOC
PDSC
DIAG R 30 48 0 0 0 0 0 0 0 0 0 0 0
This register is write-only. CONTROL0 is used for AFE software and count timer reset, diagnostics enable, and
SPI read functions.
Figure 60. LED2STC: Sample LED2 Start Count Register (Address = 01h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED2STC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED2STC[15:0]
This register sets the start timing value for the LED2 signal sample.
Figure 61. LED2ENDC: Sample LED2 End Count Register (Address = 02h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED2ENDC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED2ENDC[15:0]
This register sets the end timing value for the LED2 signal sample.
Figure 62. LED2LEDSTC: LED2 LED Start Count Register (Address = 03h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED2LEDSTC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED2LEDSTC[15:0]
This register sets the start timing value for when the LED2 signal turns on.
Figure 63. LED2LEDENDC: LED2 LED End Count Register (Address = 04h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED2LEDENDC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED2LEDENDC[15:0]
This register sets the end timing value for when the LED2 signal turns off.
Figure 64. ALED2STC: Sample Ambient LED2 Start Count Register (Address = 05h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ALED2STC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ALED2STC[15:0]
This register sets the start timing value for the ambient LED2 signal sample.
This register sets the end timing value for the ambient LED2 signal sample.
Figure 66. LED1STC: Sample LED1 Start Count Register (Address = 07h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED1STC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED1STC[15:0]
This register sets the start timing value for the LED1 signal sample.
Figure 67. LED1ENDC: Sample LED1 End Count (Address = 08h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED1ENDC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED1ENDC[15:0]
This register sets the end timing value for the LED1 signal sample.
Figure 68. LED1LEDSTC: LED1 LED Start Count Register (Address = 09h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED1LEDSTC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED1LEDSTC[15:0]
This register sets the start timing value for when the LED1 signal turns on.
Figure 69. LED1LEDENDC: LED1 LED End Count Register (Address = 0Ah, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED1LEDENDC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED1LEDENDC[15:0]
This register sets the end timing value for when the LED1 signal turns off.
Figure 70. ALED1STC: Sample Ambient LED1 Start Count Register (Address = 0Bh, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ALED1STC[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ALED1STC[15:0]
This register sets the start timing value for the ambient LED1 signal sample.
This register sets the end timing value for the ambient LED1 signal sample.
Figure 72. LED2CONVST: LED2 Convert Start Count Register (Address = 0Dh, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED2CONVST[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED2CONVST[15:0]
This register sets the start timing value for the LED2 conversion.
Figure 73. LED2CONVEND: LED2 Convert End Count Register (Address = 0Eh, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED2CONVEND[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED2CONVEND[15:0]
This register sets the end timing value for the LED2 conversion.
This register sets the start timing value for the ambient LED2 conversion.
This register sets the end timing value for the ambient LED2 conversion.
Figure 76. LED1CONVST: LED1 Convert Start Count Register (Address = 11h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED1CONVST[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED1CONVST[15:0]
This register sets the start timing value for the LED1 conversion.
Figure 77. LED1CONVEND: LED1 Convert End Count Register (Address = 12h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 LED1CONVEND[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED1CONVEND[15:0]
This register sets the end timing value for the LED1 conversion.
This register sets the start timing value for the ambient LED1 conversion.
This register sets the end timing value for the ambient LED1 conversion.
Figure 80. ADCRSTSTCT0: ADC Reset 0 Start Count Register (Address = 15h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ADCRSTSTCT0[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ADCRSTSTCT0[15:0]
This register sets the start position of the ADC0 reset conversion signal.
Figure 81. ADCRSTENDCT0: ADC Reset 0 End Count Register (Address = 16h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ADCRSTENDCT0[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ADCRSTENDCT0[15:0]
This register sets the end position of the ADC0 reset conversion signal.
Figure 82. ADCRSTSTCT1: ADC Reset 1 Start Count Register (Address = 17h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ADCRSTSTCT1[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ADCRSTSTCT1[15:0]
This register sets the start position of the ADC1 reset conversion signal.
Figure 83. ADCRSTENDCT1: ADC Reset 1 End Count Register (Address = 18h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ADCRSTENDCT1[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ADCRSTENDCT1[15:0]
This register sets the end position of the ADC1 reset conversion signal.
Figure 84. ADCRSTSTCT2: ADC Reset 2 Start Count Register (Address = 19h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ADCRSTSTCT2[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ADCRSTSTCT2[15:0]
This register sets the start position of the ADC2 reset conversion signal.
Figure 85. ADCRSTENDCT2: ADC Reset 2 End Count Register (Address = 1Ah, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ADCRSTENDCT2[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ADCRSTENDCT2[15:0]
This register sets the end position of the ADC2 reset conversion signal.
Figure 86. ADCRSTSTCT3: ADC Reset 3 Start Count Register (Address = 1Bh, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ADCRSTSTCT3[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ADCRSTSTCT3[15:0]
This register sets the start position of the ADC3 reset conversion signal.
Figure 87. ADCRSTENDCT3: ADC Reset 3 End Count Register (Address = 1Ch, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 ADCRSTENDCT3[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
ADCRSTENDCT3[15:0]
This register sets the end position of the ADC3 reset conversion signal.
Figure 88. PRPCOUNT: Pulse Repetition Period Count Register (Address = 1Dh, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 PRPCOUNT[15:0]
11 10 9 8 7 6 5 4 3 2 1 0
PRPCOUNT[15:0]
Figure 89. CONTROL1: Control Register 1 (Address = 1Eh, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 0 0 0 0
11 10 9 8 7 6 5 4 3 2 1 0
CLKALMPIN[2:0] TIMEREN 0 0 0 0 0 0 1 0
Figure 90. SPARE1: SPARE1 Register For Future Use (Address = 1Fh, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 0 0 0 0
11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0
Figure 92. TIA_AMB_GAIN: Transimpedance Amplifier and Ambient Cancellation Stage Gain Register
(Address = 21h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
STAGE2
0 0 0 0 AMBDAC[3:0] 0 0 0
EN
11 10 9 8 7 6 5 4 3 2 1 0
0 STG2GAIN[2:0] CF_LED2[4:0] RF_LED2[2:0]
This register configures the ambient light cancellation amplifier gain, cancellation current, and filter corner
frequency.
Figure 93. LEDCNTRL: LED Control Register (Address = 22h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
LEDCUR
0 0 0 0 0 0 1 LED1[7:0]
OFF
11 10 9 8 7 6 5 4 3 2 1 0
LED1[7:0] LED2[7:0]
This register sets the LED current range and the LED1 and LED2 drive current.
Figure 94. CONTROL2: Control Register 2 (Address = 23h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 1 0 0 0 0 0
11 10 9 8 7 6 5 4 3 2 1 0
DIGOUT_
TXBRG XTAL
TRI 1 0 0 0 0 0 PDNTX PDNRX PDNAFE
MOD DIS
STATE
This register controls the LED transmitter, crystal, and the AFE, transmitter, and receiver power modes.
Figure 95. SPARE2: SPARE2 Register For Future Use (Address = 24h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 0 0 0 0
11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0
Figure 96. SPARE3: SPARE3 Register For Future Use (Address = 25h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 0 0 0 0
11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0
Figure 97. SPARE4: SPARE4 Register For Future Use (Address = 26h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 0 0 0 0
11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0
This register is reserved for factory use. Readback values vary between devices.
Figure 99. RESERVED2: RESERVED2 Register For Factory Use Only
(Address = 28h, Reset Value = XXXXh)
23 22 21 20 19 18 17 16 15 14 13 12
X (1) X X X X X X X X X X X
11 10 9 8 7 6 5 4 3 2 1 0
X X X X X X X X X X X X
This register is reserved for factory use. Readback values vary between devices.
Figure 100. ALARM: Alarm Register (Address = 29h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 0 0 0 0
11 10 9 8 7 6 5 4 3 2 1 0
ALMPIN
0 0 0 0 0 0 0 0 0 0 0
CLKEN
Figure 101. LED2VAL: LED2 Digital Sample Value Register (Address = 2Ah, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
LED2VAL[23:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED2VAL[23:0]
Figure 103. LED1VAL: LED1 Digital Sample Value Register (Address = 2Ch, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
LED1VAL[23:0]
11 10 9 8 7 6 5 4 3 2 1 0
LED1VAL[23:0]
Figure 107. DIAG: Diagnostics Flag Register (Address = 30h, Reset Value = 0000h)
23 22 21 20 19 18 17 16 15 14 13 12
0 0 0 0 0 0 0 0 0 0 0 PD_ALM
11 10 9 8 7 6 5 4 3 2 1 0
LED_ LED1 LED2 OUTPSH OUTNSH INNSC INPSC INNSC INPSC
LEDSC PDOC PDSC
ALM OPEN OPEN GND GND GND GND LED LED
This register is read only. This register contains the status of all diagnostic flags at the end of the diagnostics
sequence. The end of the diagnostics sequence is indicated by the signal going high on DIAG_END pin.
18 pF 8 MHz 18 pF
0Ω
0Ω
R17
R16
TP11
130 Ω
130 Ω
R15 0 Ω
XIN_MSP
DNI
RX_DIG_SUP
RX_ANA_SUP
R20
R22
C10
C9 0.1 µF
0.1 µF
40
39
38
37
36
35
34
33
32
31
RX_ANA_SUP U1 RX_DIG_SUP
AFE4400
VCM_SHIELD TP6
XOUT
RX_ANA_GND
XIN
RX_ANA_GND
RX_OUTN
RX_ANA_SUP
RX_OUTP
RX_ANA_SUP
RX_DIG_GND
RX_DIG_SUP
DET_N
TP8
3
R98
TP12 10 kΩ
2 1 TP13
LED_DRV_GND
D2
DB9-F BAV99W-7-F C41 C42
TXM
TXP
J2 75 V 2.2 µF 2.2 µF
EP
5
9
4
12
13
14
15
16
17
18
19
20
41
11
8
10 3
7
11 2 AFE_PDNZ
AFE_PDNZ
6
1 TX_CTRL_SUP LED_DRV_SUP
DB9-F-TP
C16 C15
LED_DRV_SUP 0.1 µF 1 µF
TP22
TP25
2 1
D3
BAV99W-7-F
75 V
TP23
2 1
TP30
D4
BAV99W-7-F
75 V
NOTE: The following signals must be considered as two sets of differential pains and routed as adjacent signals within each pair:
TXM, TXP and INM, INP.
INM and INP must be guarded with VCM_SHIELD the signal. Run the VCM_SHIELD signal to the DB9 connector and back to the device.
LED1 LED2
Controls Controls
IR
RED IR
TXP TXM
TXP TXM
LED2 LED1
Controls Controls
LED_DRV_GND
LED_DRV_GND
Figure 109. LEDs in Common Anode Configuration Figure 110. LEDs in H-Bridge Configuration
INN
+1 V TIA max
(Differential)
0V
-1 V TIA min
(Differential)
The ADC output is a 22-bit code that is obtained by discarding the two MSBs of the 24-bit registers. The data
format is binary twos complement format, MSB first. TI recommends that the input to the ADC does not exceed
±1 V (which is approximately 80% full-scale) because the TIA has a full-scale range of ±1 V.
400
3.6 V
Boost (Connect to LED_DRV_SUP, TX_CTRL_SUP)
Converter
The boost converter requires a clock (usually in the megahertz range) and there is usually a ripple at the boost
converter output at this switching frequency. While this frequency is much higher than the signal frequency of
interest (which is at maximum a few tens of hertz around dc), a small fraction of this switching noise can possibly
alias to the low-frequency band. Therefore, TI strongly recommends that the switching frequency of the boost
converter be offset from every multiple of the PRF by at least 20 Hz. This offset can be ensured by choosing the
appropriate PRF.
Case 3: In cases where a high-voltage supply is available in the system, a buck converter or an LDO can be
used to derive the voltage levels required to drive RX_ANA and RX_DIG, as shown in Figure 115.
3.6 V
(Connect to LED_DRV_SUP, TX_CTRL_SUP)
2.2-V supply
(Connect to RX_ANA, RX_DIG)
LDO
For more information on power-supply recommendations, see the AFE44x0SPO2EVM User's Guide (SLAU480).
11 Layout
12.3 Glossary
SLYZ022 — TI Glossary.
This glossary lists and explains terms, acronyms, and definitions.
www.ti.com 10-Dec-2020
PACKAGING INFORMATION
Orderable Device Status Package Type Package Pins Package Eco Plan Lead finish/ MSL Peak Temp Op Temp (°C) Device Marking Samples
(1) Drawing Qty (2) Ball material (3) (4/5)
(6)
AFE4400RHAR ACTIVE VQFN RHA 40 2500 RoHS & Green NIPDAU Level-3-260C-168 HR 0 to 70 AFE4400
AFE4400RHAT ACTIVE VQFN RHA 40 250 RoHS & Green NIPDAU Level-3-260C-168 HR 0 to 70 AFE4400
(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)
RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
(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 finish/Ball material - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead finish/Ball material 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.
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 1
PACKAGE OPTION ADDENDUM
www.ti.com 10-Dec-2020
Addendum-Page 2
PACKAGE MATERIALS INFORMATION
www.ti.com 10-Oct-2015
Pack Materials-Page 1
PACKAGE MATERIALS INFORMATION
www.ti.com 10-Oct-2015
Pack Materials-Page 2
GENERIC PACKAGE VIEW
RHA 40 VQFN - 1 mm max height
6 x 6, 0.5 mm pitch PLASTIC QUAD FLATPACK - NO LEAD
This image is a representation of the package family, actual package may vary.
Refer to the product data sheet for package details.
4225870/A
www.ti.com
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of an
application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated