0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AFE4400RHAT

AFE4400RHAT

  • 厂商:

    BURR-BROWN(德州仪器)

  • 封装:

    VQFN-40_6X6MM-EP

  • 描述:

    IC AFE FRONT END 40VQFN

  • 数据手册
  • 价格&库存
AFE4400RHAT 数据手册
Product Folder Sample & Buy Support & Community Tools & Software Technical Documents AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 AFE4400 Integrated Analog Front-End for Heart Rate Monitors and Low-Cost Pulse Oximeters 1 Features 2 Applications • • • • • • • • • • Fully-Integrated Analog Front-End for Pulse Oximeter Applications: – Flexible Pulse Sequencing and Timing Control Transmit: – Integrated LED Driver (H-Bridge, Push, or Pull) – Dynamic Range: 95 dB – LED Current: – Programmable to 50 mA with 8-Bit Current Resolution – Low Power: – 100 µA + Average LED Current – Programmable LED On-Time – Independent LED2 and LED1 Current Reference Receive Channel with High Dynamic Range: – 13 Noise-Free Bits – Low Power: < 670 µA at 3.3-V Supply – Integrated Digital Ambient Estimation and Subtraction – Flexible Receive Sample Time – Flexible Transimpedance Amplifier with Programmable LED Settings Integrated Fault Diagnostics: – Photodiode and LED Open and Short Detection – Cable On and Off Detection Supplies: – Rx = 2.0 V to 3.6 V – Tx = 3.0 V to 5.25 V Package: Compact VQFN-40 (6 mm × 6 mm) Specified Temperature Range: 0°C to 70°C Low-Cost Medical Pulse Oximeter Applications Optical HRM Industrial Photometry Applications 3 Description The AFE4400 is a fully-integrated analog front-end (AFE) ideally suited for pulse oximeter applications. The device consists of a low-noise receiver channel with an integrated analog-to-digital converter (ADC), an LED transmit section, and diagnostics for sensor and LED fault detection. The device is a very configurable timing controller. This flexibility enables the user to have complete control of the device timing characteristics. To ease clocking requirements and provide a low-jitter clock to the AFE4400, 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 device is a complete AFE solution packaged in a single, compact VQFN-40 package (6 mm × 6 mm) and is specified over the operating temperature range of 0°C to 70°C. Device Information(1) PART NUMBER AFE4400 PACKAGE VQFN (40) BODY SIZE (NOM) 6.00 mm × 6.00 mm (1) For all available packages, see the orderable addendum at the end of the datasheet. Supply (2.0 V to 3.6 V) AFE4400 Rx RED TIA Amb (RED) ûADC IR SPI Interface AFE SPI Amb (IR) Photodiode Diagnostic PD Open or Short Cable Off LED Open or Short LED Driver LED Timing Controller LED Current Control DAC Tx Diagnostic Signals 1 OSC AFE Tx Supply (3.0 V or 5.25 V) 8 MHz 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. AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Table of Contents 1 2 3 4 5 6 7 Features .................................................................. Applications ........................................................... Description ............................................................. Revision History..................................................... Device Family Options .......................................... Pin Configuration and Functions ......................... Specifications......................................................... 1 1 1 2 5 5 7 7.1 7.2 7.3 7.4 7.5 7.6 7.7 Absolute Maximum Ratings ...................................... 7 Handling Ratings....................................................... 7 Recommended Operating Conditions....................... 8 Thermal Information .................................................. 8 Electrical Characteristics.......................................... 9 Timing Requirements .............................................. 13 Timing Requirements: Supply Ramp and PowerDown ........................................................................ 14 7.8 Typical Characteristics ............................................ 16 8 Detailed Description ............................................ 21 8.1 Overview ................................................................. 21 8.2 8.3 8.4 8.5 8.6 9 Functional Block Diagram ....................................... Feature Description................................................. Device Functional Modes........................................ Programming........................................................... Register Maps ......................................................... 21 22 38 44 49 Applications and Implementation ...................... 72 9.1 Application Information .......................................... 72 9.2 Typical Application .................................................. 72 10 Power Supply Recommendations ..................... 76 11 Layout................................................................... 78 11.1 Layout Guidelines ................................................. 78 11.2 Layout Example .................................................... 78 12 Device and Documentation Support ................. 79 12.1 Trademarks ........................................................... 79 12.2 Electrostatic Discharge Caution ............................ 79 12.3 Glossary ................................................................ 79 13 Mechanical, Packaging, and Orderable Information ........................................................... 79 4 Revision History NOTE: Page numbers for previous revisions may differ from page numbers in the current version. Changes from Revision G (July 2014) to Revision H Page • Changed HBM value from ±4000 to ±1000 in Handling Ratings table .................................................................................. 7 • Changed CDM value from ±1500 to ±250 in Handling Ratings table ................................................................................... 7 Changes from Revision F (October 2013) to Revision G Page • 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 2 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 • 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 Changes from Revision E (October 2013) to Revision F Page • Changed footnote 1 in Recommended Operating Conditions table ....................................................................................... 8 • Changed LED_DRV_SUP parameter in Recommended Operating Conditions table............................................................ 8 • Changed TXM to TXN in VLED footnote of Recommended Operating Conditions table......................................................... 8 • Changed Transmitter, Voltage on TXP (or TXN) pin parameter in Electrical Characteristics table ..................................... 10 • Changed Figure 54 (changed TXP and TXN pin names, deleted LED 1 and LED 2 pin names) ....................................... 42 Changes from Revision D (May 2013) to Revision E Page • Deleted chip graphic............................................................................................................................................................... 1 • Changed 1st sub-bullet of 3rd Features bullet ....................................................................................................................... 1 • Changed last sub-bullet of Supplies Features bullet .............................................................................................................. 1 • Updated front page graphic .................................................................................................................................................... 1 • Changed Tx Power Supply column in Family and Ordering Information table ...................................................................... 5 • Changed TX_REF description in Pin Descriptions table ........................................................................................................ 6 • Changed TX_CTRL_SUP value in Recommended Operating Conditions table .................................................................... 8 • Changed conditions for Electrical Characteristics table ......................................................................................................... 9 • Changed Performance, PRF parameter minimum specification in Electrical Characteristics table ....................................... 9 • Deleted Performance, IIN_FS parameter from Electrical Characteristics table......................................................................... 9 • Changed Performance, CMRR parameter in Electrical Characteristics table ........................................................................ 9 • Changed Performance (Full-Signal Chain), Total integrated noise current and NFB parameter test conditions in Electrical Characteristics table ............................................................................................................................................... 9 • Changed Receiver Functional Block Level Specification, Total integrated noise current parameter test conditions in Electrical Characteristics table ............................................................................................................................................... 9 • Changed Ambient Cancellation Stage, Gain parameter in Electrical Characteristics table ................................................. 10 • Added Low-Pass Filter, Filter settling time parameter to Electrical Characteristics table .................................................... 10 • Changed Diagnostics, Duration of diagnostics state machine parameter unit value in Electrical Characteristics table...... 10 • Changed External Clock, Maximum allowable external clock jitter parameter in Electrical Characteristics table ............... 11 • Updated Figure 8 to Figure 10 ............................................................................................................................................. 16 • Updated Figure 11 to Figure 16 ........................................................................................................................................... 16 • Updated Figure 17 to Figure 19 ........................................................................................................................................... 17 • Updated Figure 31 and Figure 32 ........................................................................................................................................ 19 • Updated functional block diagram ........................................................................................................................................ 21 • Updated Figure 34................................................................................................................................................................ 22 • Changed second sentence in second paragraph of Receiver Front-End section ................................................................ 22 • Changed third paragraph of Receiver Front-End section..................................................................................................... 23 • Changed second paragraph of Ambient Cancellation Scheme section ............................................................................... 25 • Added last paragraph and Table 1 to Ambient Cancellation Scheme section ..................................................................... 26 • Updated Figure 37................................................................................................................................................................ 27 • Updated Figure 39................................................................................................................................................................ 29 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 3 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com • Added footnote 1 to Table 2 ................................................................................................................................................. 31 • Changed example column in Table 2................................................................................................................................... 31 • Added last sentence to third column of row t13 in Table 2.................................................................................................... 31 • Deleted last sentence from third column of row t14 in Table 2 ............................................................................................. 31 • Changed corresponding register address name in row t21 of Table 2.................................................................................. 31 • Updated Figure 42................................................................................................................................................................ 32 • Updated Figure 43................................................................................................................................................................ 33 • Updated Figure 44................................................................................................................................................................ 34 • Changed entire Transmit Section ......................................................................................................................................... 34 • Changed second paragraph of the ADC Operation and Averaging Module section............................................................ 38 • Updated Figure 49................................................................................................................................................................ 38 • Changed Operation section title and first sentence.............................................................................................................. 39 • Changed last sentence of the Operation With Averaging section ....................................................................................... 39 • Updated Figure 52................................................................................................................................................................ 40 • Changed last paragraph of Diagnostics Module section ...................................................................................................... 44 • Added first and last sentence to Writing Data section.......................................................................................................... 44 • Changed second to last sentence in Writing Data section................................................................................................... 44 • Added first and last sentence to Reading Data section ....................................................................................................... 46 • Changed second to last sentence in Reading Data section................................................................................................. 46 • Added Multiple Data Reads and Writes section ................................................................................................................... 47 • Added last sentence to the AFE SPI Interface Design Considerations section ................................................................... 48 • Added Register Control column to Table 6 .......................................................................................................................... 49 • Changed name of ADCRSTSTCT0 register (address 15h) in Table 6 ................................................................................ 49 • Changed bit D10 in CONTROL2 row of Table 6 .................................................................................................................. 50 • Changed CONTROL0 paragraph description....................................................................................................................... 52 • Added note to bit D2 description of CONTROL0 register .................................................................................................... 52 • Corrected bit names in ADCRSTSTCT0 register ................................................................................................................. 59 • Changed PRPCOUNT[15:0] (bits D[15:0]) description of PRPCOUNT register .................................................................. 62 • Changed note within CLKALMPIN[2:0] (bits D[11:9]) description of CONTROL1 register .................................................. 62 • Changed second and third columns of Table 7.................................................................................................................... 62 • Changed 001 and 011 bit settings for the STG2GAIN[2:0] bits (bits D[10:8]) in the TIA_AMB_GAIN register ................... 64 • Changed bit D10 of the CONTROL2 register....................................................................................................................... 66 4 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 5 Device Family Options LED DRIVE CURRENT (mA, max) Tx POWER SUPPLY (V) OPERATING TEMPERATURE RANGE PRODUCT PACKAGE-LEAD LED DRIVE CONFIGURATION AFE4400 VQFN-40 Bridge, push-pull 50 3 to 5.25 0°C to 70°C AFE4490 VQFN-40 Bridge, push-pull 50, 75, 100, 150, and 200 3 to 5.25 –40°C to 85°C AFE4403 DSBGA-36 Bridge, push-pull 25, 50, 75, and 100 3 to 5.25 –20°C to 70°C 6 Pin Configuration and Functions RX_ANA_GND RX_ANA_SUP XIN XOUT RX_ANA_GND DNC DNC RX_ANA_SUP RX_DIG_GND RX_DIG_SUP RHA Package VQFN-40 (Top View) 40 39 38 37 36 35 34 33 32 31 ADC_RDY VCM 4 27 SPISTE (1) 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 DNC 11 12 13 14 15 16 17 18 19 20 AFE_PDN 28 RX_DIG_GND 3 LED_DRV_SUP RESET RX_ANA_GND LED_DRV_SUP 29 LED_DRV_GND 2 TXP INP TXN CLKOUT LED_DRV_GND 30 LED_DRV_GND 1 TX_CTRL_SUP INN (1) DNC = Do not connect. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 5 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Pin Functions PIN NAME (1) 6 NO. FUNCTION DESCRIPTION ADC_RDY 28 Digital Output signal that indicates ADC conversion completion. Can be connected to the interrupt input pin of an external microcontroller. AFE_PDN 20 Digital AFE-only power-down input; active low. Can be connected to the port pin of an external microcontroller. BG 7 Reference CLKOUT 30 Digital Buffered 4-MHz output clock output. Can be connected to the clock input pin of an external microcontroller. DIAG_END 21 Digital Output signal that indicates completion of diagnostics. 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. Decoupling capacitor for internal band-gap voltage to ground. (2.2-µF decoupling capacitor to ground) 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_DRV_SUP 17, 18 Supply LED driver supply pin, H-bridge. Connect to an external power supply capable of supplying the large LED current, which is drawn by this supply pin. LED_ALM 22 Digital Output signal that indicates an LED cable fault. Can be connected to the port pin of an external microcontroller. PD_ALM 23 Digital Output signal that indicates a PD sensor or cable fault. Can be connected to the port pin of an external microcontroller. RESET 29 Digital AFE-only reset input, active low. 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 TX_REF 9 Reference 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. VCM 4 Reference VSS 8 Supply Substrate ground. Connect to common board ground. XOUT 37 Digital Crystal oscillator pins. Connect an external 8-MHz crystal between these pins with the correct load capacitor (as specified by vendor) to ground. XIN 38 Digital Crystal oscillator pins. Connect an external 8-MHz crystal between these pins with the correct load capacitor (as specified by vendor) to ground. Transmit control supply pin (0.1-µF decoupling capacitor to ground) Transmitter reference voltage, 0.75 V default after reset. Connect a 2.2-μF decoupling capacitor to ground. Input common-mode voltage output. 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. Leave pins as open circuit. Do not connect. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 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 –0.3 Minimum [6, (LED_DRV_SUP + 0.3)] V TXP, TXN pins Input current to any pin except supply pins (2) Input current ±7 mA Momentary ±50 mA Continuous ±7 mA 70 °C 125 °C Operating temperature range 0 Maximum junction temperature, TJ (1) (2) 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. 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. 7.2 Handling Ratings MIN MAX UNIT –60 150 °C Human body model (HBM), per ANSI/ESDA/JEDEC JS-001, all pins (1) –1000 1000 Charged device model (CDM), per JEDEC specification JESD22-C101, all pins (2) –250 250 Tstg Storage temperature range V(ESD) Electrostatic discharge (1) (2) 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. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 7 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 7.3 Recommended Operating Conditions over operating free-air temperature range (unless otherwise noted) PARAMETER MIN MAX UNIT SUPPLIES RX_ANA_SUP AFE analog supply 2.0 3.6 V RX_DIG_SUP AFE digital supply 2.0 3.6 V TX_CTRL_SUP Transmit controller supply 3.0 5.25 V [3.0 or (1.0 + VLED + VCABLE) , whichever is greater] 5.25 V –0.3 0.3 V 0 70 °C –60 150 °C LED_DRV_SUP Transmit LED driver supply H-bridge or common anode configuration Difference between LED_DRV_SUP and TX_CTRL_SUP (1) (2) TEMPERATURE Specified temperature range Storage temperature range (1) (2) 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). VCABLE refers to voltage drop across any cable, connector, or any other component in series with the LED. 7.4 Thermal Information AFE4400 THERMAL METRIC (1) RHA (VQFN) UNIT 40 PINS RθJA Junction-to-ambient thermal resistance 35 RθJC(top) Junction-to-case (top) thermal resistance 31 RθJB Junction-to-board thermal resistance 26 ψJT Junction-to-top characterization parameter 0.1 ψJB Junction-to-board characterization parameter n/a RθJC(bot) Junction-to-case (bottom) thermal resistance n/a (1) 8 °C/W For more information about traditional and new thermal metrics, see the IC Package Thermal Metrics application report, SPRA953. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com 7.5 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Electrical Characteristics Minimum and maximum specifications are at TA = 0°C to 70°C, typical specifications are at TA = 25°C. All specifications are at RX_ANA_SUP = RX_DIG_SUP = 3 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, stage 2 amplifier disabled, and fCLK = 8 MHz, unless otherwise noted. PARAMETER TEST CONDITIONS MIN TYP MAX UNIT PERFORMANCE (Full-Signal Chain) IIN_FS Full-scale input current RF = 10 kΩ 50 µA RF = 25 kΩ 20 µA RF = 50 kΩ 10 µA RF = 100 kΩ 5 µA RF = 250 kΩ 2 µA RF = 500 kΩ 1 µA RF = 1 MΩ PRF Pulse repetition frequency DCPRF PRF duty cycle CMRR Common-mode rejection ratio 0.5 62.5 µA 5000 SPS 25% fCM = 50 Hz and 60 Hz, LED1 and LED2 with RSERIES = 500 kΩ, RF = 500 kΩ 75 dB fCM = 50 Hz and 60 Hz, LED1-AMB and LED2-AMB with RSERIES = 500 kΩ, RF = 500 kΩ 95 dB fPS = 50 Hz, 60 Hz at PRF = 200 Hz 100 dB fPS = 50 Hz, 60 Hz at PRF = 600 Hz 106 dB PSRR Power-supply rejection ratio PSRRLED PSRR, transmit LED driver With respect to ripple on LED_DRV_SUP 75 dB PSRRTx PSRR, transmit control With respect to ripple on TX_CTRL_SUP 60 dB PSRR, receiver With respect to ripple on RX_ANA_SUP and RX_DIG_SUP 60 dB Total integrated noise current, input-referred (receiver with transmitter loop back, 0.1-Hz to 5-Hz bandwidth) RF = 100 kΩ, PRF = 600 Hz, duty cycle = 5% 36 pARMS RF = 500 kΩ, PRF = 600 Hz, duty cycle = 5% 13 pARMS Noise-free bits (receiver with transmitter loop back, 0.1-Hz to 5-Hz bandwidth) RF = 100 kΩ, PRF = 600 Hz, duty cycle = 5% 14.3 Bits RF = 500 kΩ, PRF = 600 Hz, duty cycle = 5% 13.5 Bits 1.4 pARMS 5 pARMS PSRRRx NFB RECEIVER FUNCTIONAL BLOCK LEVEL SPECIFICATION RF = 500 kΩ, ambient cancellation enabled, stage 2 gain = 4, PRF = 1200 Hz, LED duty cycle = 25% Total integrated noise current, input referred (receiver alone) over 0.1-Hz to 5-Hz bandwidth RF = 500 kΩ, ambient cancellation enabled, stage 2 gain = 4, PRF = 1200 Hz, LED duty cycle = 5% I-V TRANSIMPEDANCE AMPLIFIER G Gain RF = 10 kΩ to 1 MΩ See the Receiver Channel section for details Gain accuracy V/µA ±7% Feedback resistance RF Feedback resistor tolerance RF Feedback capacitance CF Feedback capacitor tolerance CF 10k, 25k, 50k, 100k, 250k, 500k, and 1M ±20% 5, 10, 25, 50, 100, and 250 Set internally External differential input capacitance Includes equivalent capacitance of photodiode, cables, EMI filter, and so forth Shield output voltage, VCM With a 1-kΩ series resistor and a 10-nF decoupling capacitor to ground pF ±20% Full-scale differential output voltage Common-mode voltage on input pins Ω 1 V 0.9 V 10 1000 0.9 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 pF V 9 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Electrical Characteristics (continued) Minimum and maximum specifications are at TA = 0°C to 70°C, typical specifications are at TA = 25°C. All specifications are at RX_ANA_SUP = RX_DIG_SUP = 3 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, stage 2 amplifier disabled, and fCLK = 8 MHz, unless otherwise noted. PARAMETER TEST CONDITIONS MIN TYP MAX UNIT AMBIENT CANCELLATION STAGE Gain 0, 3.5, 6, 9.5, and 12 Current DAC range dB 0 Current DAC step size 10 µA 1 µA LOW-PASS FILTER Low-pass corner frequency Pass-band attenuation, 2 Hz to 10 Hz Filter settling time 3-dB attenuation 500 Hz Duty cycle = 25% 0.004 dB Duty cycle = 10% 0.041 dB 28 ms After diagnostics mode ANALOG-TO-DIGITAL CONVERTER Resolution Sample rate 22 See the ADC Operation and Averaging Module section 4 × PRF ADC full-scale voltage ADC conversion time SPS ±1.2 See the ADC Operation and Averaging Module section 50 ADC reset time Bits V PRF / 4 2 µs tCLK TRANSMITTER Selectable, 0 to 50 (see the LEDCNTRL: LED Control Register for details) Output current range LED current DAC error ±10% Output current resolution Transmitter noise dynamic range, over 0.1-Hz to 5-Hz bandwidth Voltage on TXP (or TXN) pin when low-side switch connected to TXP (or TXN) turns on 8 Bits At 5-mA output current 95 dB At 25-mA output current 95 dB At 50-mA output current 95 dB 1.0 + (voltage drop across LED, cable, and so forth) to 5.25 At 50-mA output current Minimum sample time of LED1 and LED2 pulses LED current DAC leakage current mA V 50 µs LED_ON = 0 1 µA LED_ON = 1 50 µA LED current DAC linearity Percent of full-scale current 0.5% Output current settling time (with resistive load) From zero current to 50 mA 7 µs From 50 mA to zero current 7 µs 16 ms Open fault resistance > 100 kΩ Short fault resistance < 10 kΩ DIAGNOSTICS Duration of diagnostics state machine Start of diagnostics after the DIAG_EN register bit is set. End of diagnostic is indicated by DIAG_END going high. INTERNAL OSCILLATOR fCLKOUT CLKOUT frequency With an 8-MHz crystal connected to the XIN, XOUT pins CLKOUT duty cycle Crystal oscillator start-up time 10 4 MHz 50% With an 8-MHz crystal connected to the XIN, XOUT pins Submit Documentation Feedback 200 µs Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Electrical Characteristics (continued) Minimum and maximum specifications are at TA = 0°C to 70°C, typical specifications are at TA = 25°C. All specifications are at RX_ANA_SUP = RX_DIG_SUP = 3 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, stage 2 amplifier disabled, and fCLK = 8 MHz, unless otherwise noted. PARAMETER TEST CONDITIONS MIN TYP MAX UNIT EXTERNAL CLOCK Maximum allowable external clock jitter External clock input frequency External clock input voltage For SPO2 applications 50 For optical heart rate only ps 1000 ±10% ps 8 MHz Voltage input high (VIH) 0.75 × RX_DIG_SUP V Voltage input low (VIL) 0.25 × RX_DIG_SUP V TIMING Wake-up time from complete power-down 1000 ms Wake-up time from Rx power-down 100 µs Wake-up time from Tx power-down 1000 ms tRESET Active low RESET pulse duration 1 ms tDIAGEND DIAG_END pulse duration at the completion of diagnostics 4 CLKOUT cycles tADCRDY ADC_RDY pulse duration 1 CLKOUT cycle DIGITAL SIGNAL CHARACTERISTICS VIH Logic high input voltage AFE_PDN, SCLK, SPISIMO, SPISTE, RESET 0.8 DVDD DVDD + 0.1 V VIL Logic low input voltage AFE_PDN, SCLK, SPISIMO, SPISTE, RESET –0.1 0.2 DVDD V IIN Logic input current 0 V < VDigitalInput < DVDD –10 10 µA VOH Logic high output voltage DIAG_END, LED_ALM, PD_ALM, SPISOMI, ADC_RDY, CLKOUT 0.9 DVDD > (RX_DIG_SUP – 0.2 V) V VOL Logic low output voltage DIAG_END, LED_ALM, PD_ALM, SPISOMI, ADC_RDY, CLKOUT < 0.4 0.1 DVDD V SUPPLY CURRENT Receiver analog supply current RX_ANA_SUP = 3.0 V, with 8-MHz clock running, Rx stage 2 disabled 0.6 mA RX_ANA_SUP = 3.0 V, with 8-MHz clock running, Rx stage 2 enabled 0.7 mA 0.27 mA 55 µA 15 µA Receiver current only (RX_ANA_SUP) 3 µA Receiver current only (RX_DIG_SUP) 3 µA Transmitter current only (LED_DRV_SUP) 1 µA Transmitter current only (TX_CTRL_SUP) 1 µA Receiver current only (RX_ANA_SUP) 220 µA Receiver current only (RX_DIG_SUP) 220 µA Transmitter current only (LED_DRV_SUP) 2 µA Transmitter current only (TX_CTRL_SUP) 2 µA Receiver digital supply current RX_DIG_SUP = 3.0 V LED_DRV _SUP LED driver supply current With zero LED current setting TX_CTRL _SUP Transmitter control supply current Complete power-down (using AFE_PDN pin) Power-down Rx alone Power-down Tx alone Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 11 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Electrical Characteristics (continued) Minimum and maximum specifications are at TA = 0°C to 70°C, typical specifications are at TA = 25°C. All specifications are at RX_ANA_SUP = RX_DIG_SUP = 3 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, stage 2 amplifier disabled, and fCLK = 8 MHz, unless otherwise noted. PARAMETER TEST CONDITIONS MIN TYP MAX UNIT POWER DISSIPATION 2.84 mW 0.1 mW 1 µA TX_CTRL_SUP 1 µA RX_ANA_SUP 5 µA RX_DIG_SUP 0.1 µA 1 µA TX_CTRL_SUP 1 µA RX_ANA_SUP 15 µA RX_DIG_SUP 20 µA 50 µA TX_CTRL_SUP 15 µA RX_ANA_SUP 220 µA RX_DIG_SUP 220 µA 2 µA Quiescent power dissipation LED_DRV_SUP Power-down with the AFE_PDN pin LED_DRV_SUP Power-down with the PDNAFE register bit LED_DRV_SUP Power-down Rx LED_DRV_SUP Power-down Tx Normal operation (excluding LEDs) Power-down LED_DRV_SUP current value. Does not include LED current. LED_DRV_SUP current value. Does not include LED current. LED_DRV_SUP current value. Does not include LED current. LED_DRV_SUP current value. Does not include LED current. TX_CTRL_SUP 2 µA 600 µA 230 µA 55 µA TX_CTRL_SUP 15 µA RX_ANA_SUP 600 µA RX_DIG_SUP 230 µA 55 µA TX_CTRL_SUP 15 µA RX_ANA_SUP 700 µA RX_DIG_SUP 270 µA RX_ANA_SUP RX_DIG_SUP LED_DRV_SUP After reset, with 8-MHz clock running LED_DRV_SUP With stage 2 mode enabled and 8-MHz clock running 12 LED_DRV_SUP current value. Does not include LED current. LED_DRV_SUP current value. Does not include LED current. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 7.6 Timing Requirements PARAMETER tCLK Clock frequency on the XIN pin tSCLK Serial shift clock period tSTECLK MIN TYP MAX UNIT 8 MHz 62.5 ns STE low to SCLK rising edge, setup time 10 ns tCLKSTEH,L SCLK transition to SPI STE high or low 10 ns tSIMOSU SIMO data to SCLK rising edge, setup time 10 ns tSIMOHD Valid SIMO data after SCLK rising edge, hold time 10 ns tSOMIPD SCLK falling edge to valid SOMI, setup time 17 ns tSOMIHD SCLK rising edge to invalid data, hold time 0.5 tSCLK tCLK XIN tSTECLK SPISTE tSPICLK tCLKSTEH 31 SCLK 7 23 0 tCLKSTEL tSIMOHD tSIMOSU SPISIMO A7 A6 A1 A0 tSOMIHD tSOMIPD tSOMIPD D23 SPISOMI D22 D17 D16 D7 D6 D1 D0 }v[šŒ, can be high or low. (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. Figure 1. Serial Interface Timing Diagram, Read Operation(1)(2)(3) Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 13 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com tSTECLK SPISTE 31 SCLK 23 0 tSIMOHD tSIMOSU A7 SPISIMO A6 A1 A0 D23 D22 D1 D0 Figure 2. Serial Interface Timing Diagram, Write Operation 7.7 Timing Requirements: Supply Ramp and Power-Down PARAMETER VALUE t1 Time between Rx and Tx supplies ramping up Keep as small as possible (for example, ±10 ms) t2 Time between both supplies stabilizing and high-going RESET edge > 100 ms t3 RESET pulse duration > 0.5 ms t4 Time between RESET and SPI commands > 1 µs t5 Time between SPI commands and the ADC_RESET which corresponds to valid data > 3 ms of cumulative sampling time in each phase (1) (2) (3) t6 Time between RESET pulse and high-accuracy data coming out of the signal chain > 1 s (3) t7 Time from AFE_PDN high-going edge and RESET pulse (4) > 100 ms t8 Time from AFE_PDN high-going edge (or PDN_AFE bit reset) to highaccuracy data coming out of the signal chain > 1 s (3) (1) (2) (3) (4) 14 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). 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). 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. After an active power-down from AFE_PDN, the device should be reset using a low-going RESET pulse. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 RX Supplies (RX_ANA_SUP, RX_DIG_SUP) t1 TX Supplies (TX_CTRL_SUP, LED_DRV_SUP) t2 t6 RESET t3 t4 t4 t5 t5 SPI Interface t7 t3 ~ ~ ~ ~ ADC_RDY t6 t8 AFE_PDN Figure 3. Supply Ramp and Hardware Power-Down Timing RX Supplies (RX_ANA_SUP, RX_DIG_SUP) t1 TX Supplies (TX_CTRL_SUP, LED_DRV_SUP) t2 PDN_AFE Bit Set RESET t3 t4 t5 t8 t6 ~ ~ ADC_RDY ~ ~ ~ ~ SPI Interface PDN_AFE Bit Reset AFE_PDN Figure 4. Supply Ramp and Software Power-Down Timing Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 15 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 7.8 Typical Characteristics Minimum and maximum specifications are at TA = 0°C to 70°C. Typical specifications are at TA = 25°C, RX_ANA_SUP = RX_DIG_SUP = 3.0 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, and fCLK = 8 MHz, unless otherwise noted. 900 15.00 Stage 2 & Amb Cancel Disabled PRF = 600Hz TX_CTRL_SUP Current (A) RX Analog Current (A) Stage 2 & Amb Cancel Enabled 800 700 600 500 RX_ANA_SUP = RX_DIG_SUP PRF = 600Hz Stage 2 Gain = 4 400 14.95 14.90 14.85 14.80 14.75 14.70 14.65 2.2 2.4 2.6 2.8 3.0 3.2 3.4 RX Supply Voltage (V) 3.6 2.5 3.0 Figure 5. Total Rx Current vs Rx Supply Voltage 1200 Input Referred Noise Current, pA rms in 5Hz Bandwidth LED_DRV_SUP Current (A) 47.6 47.4 47.2 47.0 46.8 46.6 46.4 1000 800 5.0 C002 600 400 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). Noise is calculated in 5Hz B/W. 200 With LED Current = 0mA 0 46.0 2.5 3.0 3.5 4.0 4.5 0 5.0 LED_DRV_SUP Voltage (V) 10 1,200 Duty Cycle = 1% Duty Cycle = 5% Duty Cycle = 10% Duty Cycle = 15% Duty Cycle = 20% Duty Cycle = 25% 1,000 800 600 400 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). Noise is calculated in 5Hz B/W. 200 0 0 10 20 30 40 Pleth Current (A) 40 50 C004 50 Duty cycle 1% Duty cycle 5% Duty cycle 10% Duty cycle 15% Duty cycle 20% Duty cycle 25% 1,000 800 600 400 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.) Noise is calculated in 5Hz band. 200 0 0 10 20 30 40 Pleth Current (A) C005 Figure 9. Input-Referred Noise Current vs Pleth Current (PRF = 300 Hz) 30 Figure 8. Input-Referred Noise Current vs Pleth Current (PRF = 100 Hz) Input Referred Noise Current, pA rms in 5Hz Bandwidth 1,200 20 Pleth Current (A) C003 Figure 7. LED_DRV_SUP Current vs LED_DRV_SUP Voltage Input Referred Noise Current, pA rms in 5Hz Bandwidth 4.5 Duty Cycle = 1% Duty Cycle = 5% Duty Cycle = 10% Duty Cycle = 15% Duty Cycle = 20% Duty Cycle = 25% 47.8 16 4.0 Figure 6. TX_CTRL_SUP Current vs TX_CTRL_SUP Voltage 48.0 46.2 3.5 TX_CTRL_SUP Voltage (V) C001 50 C006 Figure 10. Input-Referred Noise Current vs Pleth Current (PRF = 600 Hz) Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Typical Characteristics (continued) Minimum and maximum specifications are at TA = 0°C to 70°C. Typical specifications are at TA = 25°C, RX_ANA_SUP = RX_DIG_SUP = 3.0 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, and fCLK = 8 MHz, unless otherwise noted. 2000 Duty Cycle = 1% Duty Cycle = 5% Duty Cycle = 10% Duty Cycle = 15% Duty Cycle = 20% Duty Cycle = 25% 1,000 800 600 400 200 For each RF adjusted for Full-Scale Output. Amb Cancellation & stage 2 Gain = 4 used for Low Pleth currents (0.125uA, 0.25uA & 0.5uA). Noise is calculated in 5Hz band. 0 0 10 20 Duty cycle 1% Duty cycle 5% Duty cycle 10% Duty cycle 15% Duty cycle 20% Duty cycle 25% 1800 30 40 Pleth Current (A) Input Referred Noise Current, pA rms in 5Hz Bandwidth Input Referred Noise Current, pA rms in 5Hz Bandwidth 1,200 1600 1400 1200 1000 800 600 400 200 0 50 0 Input Referred Noise Current, pA rms in 5Hz Bandwidth 1600 1400 1200 20 30 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). Noise is calculated in 5Hz band. 800 600 400 0 15 14 13 Duty cycle 1% Duty cycle 5% Duty cycle 10% Duty cycle 15% Duty cycle 20% Duty cycle 25% 12 11 10 20 30 40 Pleth Current (A) 50 0 Input Referred Noise Current, pA rms in 5Hz Bandwidth Input Referred Noise Current, pA rms in 5Hz Bandwidth 16 15 14 13 Duty cycle 1% Duty cycle 5% Duty cycle 10% Duty cycle 15% Duty cycle 20% Duty cycle 25% 11 10 0 10 20 30 40 Pleth Current (A) 30 40 50 C010 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). RMS noise is calculated in 5Hz B/W & NFB is calculated using 6.6 u RMS noise. 15 14 13 Duty cycle 1% Duty cycle 5% Duty cycle 10% Duty cycle 15% Duty cycle 20% Duty cycle 25% 12 11 10 50 0 10 20 30 40 Pleth Current (A) C011 Figure 15. Noise-Free Bits vs Pleth Current (PRF = 300 Hz) 20 Pleth Current (A) Figure 14. Noise-Free Bits vs Pleth Current (PRF = 100 Hz) 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.) RMS noise is calculated in 5Hz B/W & NFB is calculated using 6.6 u RMS noise. 12 10 C009 Figure 13. Input-Referred Noise Current vs Pleth Current (PRF = 5000 Hz) 16 C008 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). RMS noise is calculated in 5Hz B/W & NFB is calculated using 6.6 u RMS noise. 200 10 50 Figure 12. Input-Referred Noise Current vs Pleth Current (PRF = 2500 Hz) 1000 0 40 Pleth Current (A) Input Referred Noise Current, pA rms in 5Hz Bandwidth Duty cycle 1% Duty cycle 5% Duty cycle 10% Duty cycle 15% Duty cycle 20% Duty cycle 25% 1800 10 C007 Figure 11. Input-Referred Noise Current vs Pleth Current (PRF = 1200 Hz) 2000 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). Noise is calculated in 5Hz band. 50 C012 Figure 16. Noise-Free Bits vs Pleth Current (PRF = 600 Hz) Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 17 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Typical Characteristics (continued) Minimum and maximum specifications are at TA = 0°C to 70°C. Typical specifications are at TA = 25°C, RX_ANA_SUP = RX_DIG_SUP = 3.0 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, and fCLK = 8 MHz, unless otherwise noted. 15 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). RMS noise is calculated in 5Hz B/W & NFB is calculated using 6.6 u RMS noise. Input Referred Noise Current, pA rms in 5Hz Bandwidth Input Referred Noise Current, pA rms in 5Hz Bandwidth 16 14 13 Duty Cycle = 1% Duty Cycle = 5% Duty Cycle = 10% Duty Cycle = 15% Duty Cycle = 20% Duty Cycle = 25% 12 11 10 0 10 20 30 40 15 14 13 12 11 10 0 50 Pleth Current (A) 110 TX Dynamic Range (dB) Input Referred Noise Current, pA rms in 5Hz Bandwidth 15 14 13 Duty cycle 1% Duty cycle 5% Duty cycle 10% Duty cycle 15% Duty cycle 20% Duty cycle 25% 10 0 10 20 30 40 50 C014 90 80 70 TX_CTRL_SUP = LED_DRV_SUP = 3V TX Vref = 0.5V 60 50 0 20 40 60 80 100 % of Full-Scale LED Current C015 Figure 19. Noise-Free Bits vs Pleth Current (PRF = 5000 Hz) C016 Figure 20. Transmitter Dynamic Range (5-Hz BW) 500 Expected + 1% Actual DAC Current Expected - 1% 50 400 300 200 TX Current (mA) DAC Current Step Error (mA) 40 100 50 Pleth Current, uA 100 0 ±100 ±200 ±300 40 30 20 10 ±400 TX_REF = 0.5V TX Reference Voltage = 0.5V 0 ±500 0 50 100 150 200 250 TX LED DAC Setting 0 C021 Figure 21. Transmitter DAC Current Step Error (50 mA, Max) 18 30 Figure 18. Noise-Free Bits vs Pleth Current (PRF = 2500 Hz) 120 11 20 Pleth Current, uA 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). RMS noise is calculated in 5Hz B/W & NFB is calculated using 6.6 u RMS noise. 10 C013 Figure 17. Noise-Free Bits vs Pleth Current (PRF = 1200 Hz) 12 Duty Cycle = 1% Duty Cycle = 5% Duty Cycle = 10% Duty Cycle = 15% Duty Cycle = 20% Duty Cycle = 25% For each setting RF adjusted for FullScale Output. 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. Submit Documentation Feedback 50 100 150 200 TX LED DAC Setting 250 C022 Figure 22. Transmitter Current Linearity (50-mA Range) Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Typical Characteristics (continued) Minimum and maximum specifications are at TA = 0°C to 70°C. Typical specifications are at TA = 25°C, RX_ANA_SUP = RX_DIG_SUP = 3.0 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, and fCLK = 8 MHz, unless otherwise noted. 500 400 TX_RANGE = 50mA, Data from 2326 devices 300 200 100 200 100 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 0 300 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 400 Number of Occurences Number of Occurences TX_RANGE = 50mA, Data from 2326 devices LED Current (mA) LED Current (mA) C023 C024 Figure 23. LED Current with Tx DAC Setting = 10 (2 mA) Figure 24. LED Current with Tx DAC Setting = 25 (5 mA) 400 400 TX_RANGE = 50mA, Data from 7737 devices LED Current (mA) 22.0 21.8 21.5 21.3 21.0 20.8 20.5 20.3 20.0 19.8 19.5 19.3 19.0 0 9.0 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 11.0 0 100 18.8 100 200 18.5 200 300 18.3 300 18.0 Number of Occurences Number of Occurences TX_RANGE = 50mA, Data from 2326 devices LED Current (mA) C025 C026 Figure 25. LED Current with Tx DAC Setting = 51 (10 mA) Figure 26. LED Current with Tx DAC Setting = 102 (20 mA) 800 400 700 RX Supply Current, uA Number of Occurences TX_RANGE = 50mA, Data from 7737 devices 300 200 100 600 500 RX_ANA_SUP = 2V (STG2=DIS) RX_ANA_SUP = 2V (STG2=EN) RX_DIG_SUP=2V RX_ANA_SUP = 3.3V (STG2=DIS) RX_ANA_SUP = 3.3V (STG2=EN) RX_DIG_SUP=3.3V 400 300 0 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 200 100 100 300 500 700 900 1100 PRF, Hz LED Current (mA) C028 C027 Figure 27. LED Current with Tx DAC Setting = 255 (50 mA) Figure 28. Receiver Supplies vs PRF Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 19 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Typical Characteristics (continued) Minimum and maximum specifications are at TA = 0°C to 70°C. Typical specifications are at TA = 25°C, RX_ANA_SUP = RX_DIG_SUP = 3.0 V, TX_CTRL_SUP = LED_DRV_SUP = 3.3 V, and fCLK = 8 MHz, unless otherwise noted. 100.00 80.00 Supply Current, uA TX Supply Current, uA TX_CTRL_SUP = LED_DRV_SUP = 3V TO 3.6V 60.00 40.00 TX_CTRL_SUP LED_DRV_SUP 20.00 0.00 0.50 0.75 700 650 600 550 500 450 400 350 300 250 200 150 100 50 0 0 1.00 TX_VREF, V RX_ANA_SUP (STG2DIS) RX_ANA_SUP (STG2EN) RX_DIG_SUP TX_CTRL_SUP LED_DRV_SUP 10 30 40 50 60 70 Temperature, C Figure 29. Transmitter Supplies vs TX_REF C030 Figure 30. Power Supplies vs Temperature 16 100 PRF = 1200 Hz, Duty cycle = 10% 1) RF = 100K, Stage 2 & ambient cancellation disabled 2) RF = 500K, Stage 2 & ambient cancellation enabled with stage 2 gain = 4 STG2=DIS, 5Hz BW (Note 2) STG2=EN, 5Hz BW (Note 3) 80 15 14 60 Noise Free Bits Input referred noise current, pA rms 20 C029 40 PRF = 1200 Hz, Duty cycle = 10% 1) RF = 100K, Stage 2 & ambient cancellation disabled 2) RF = 500K, Stage 2 & ambient cancellation enabled with stage 2 gain = 4 20 13 12 11 STG2=DIS, 5Hz BW (Note 2) STG2=EN, 5Hz BW (Note 3) 0 10 0 10 20 30 40 Temperature, C 50 60 0 70 10 20 C031 Figure 31. Input-Referred Noise vs Temperature 30 40 50 Temperature, C 60 70 C032 Figure 32. Noise-Free Bits vs Temperature 0 Attenuation, dB ±10 ±20 ±30 ±40 5% Duty cycle 25% Duty cycle ±50 1 10 100 Input signal frequency, Hz C033 Figure 33. Filter Response vs Duty Cycle 20 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 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. BG DNC DNC RX_DIG_SUP RX_ANA_SUP RX_ANA_SUP TX_CTRL_SUP LED_DRV_SUP LED_DRV_SUP 8.2 Functional Block Diagram Device Reference CF r1.2 V SPI Interface SPISTE RF SPISIMO SPI + CPD INP + + Stage 2 Gain TIA Buffer Filter 4GADC SPISOMI SCLK Digital Filter INN RF Photodiode CF Control VCM Timing Controller AFE_PDN ADC_RDY C RESET LED TXN LED Driver LED Current Control DAC TXP DIAG_END DNC(1) DNC(1) DNC(1) Diagnostic Signals Diagnostics LED_ALM PD_ALM VSS XOUT XIN CLKOUT RX_DIG_GND RX_DIG_GND RX_ANA_GND RX_ANA_GND RX_ANA_GND LED_DRV_GND LED_DRV_GND C LED_DRV_GND TX_REF OSC 8 MHz Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 21 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 8.3 Feature Description 8.3.1 Receiver Channel This section describes the functionality of the receiver channel. 8.3.1.1 Receiver Front-End The receiver consists of a differential current-to-voltage (I-V) transimpedance amplifier (TIA) that converts the input photodiode current into an appropriate voltage, as shown in Figure 34. The feedback resistor of the amplifier (RF) is programmable to support a wide range of photodiode currents. Available RF values include: 1 MΩ, 500 kΩ, 250 kΩ, 100 kΩ, 50 kΩ, 25 kΩ, and 10 kΩ. The device is ideally suited as a front-end for a PPG (photoplethysmography) application. In such an application, the light from the LED is reflected (or transmitted) from (or through) the various components inside the body (such as blood, tissue, and so forth) and are received by the photodiode. The signal received by the photodiode has three distinct components: 1. A pulsatile or ac component that arises as a result of the changes in blood volume through the arteries. 2. A constant dc signal that is reflected or transmitted from the time invariant components in the path of light. This constant dc component is referred to as the pleth signal. 3. Ambient light entering the photodiode. The ac component is usually a small fraction of the pleth component, with the ratio referred to as the perfusion index (PI). Thus, the allowed signal chain gain is usually determined by the amplitude of the dc component. Rx SLED2 CONVLED2 LED2 CF RF RG ADC + CPD +Stage 2 TIA Amb SLED2_amb CONVLED2_amb Gain Buffer SLED1 ADC Output Rate PRF Sa/sec + ûADC CONVLED1 LED1 RG RF CF ADC Convert Ambient DAC I-V Amplifier Amb cancellation DAC Amb SLED1_amb ADC Clock CONVLED1_amb Filter Buffer ADC Ambient-cancellation current can be set digitally using SPI interface. Figure 34. Receiver Front-End 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) 22 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Feature Description (continued) The output voltage of the I-V amplifier includes the pleth component (the desired signal) and a component resulting from the ambient light leakage. The I-V amplifier is followed by the second stage, which consists of a current digital-to-analog converter (DAC) that sources the cancellation current and an amplifier that gains up the pleth component alone. The amplifier has five programmable gain settings: 0 dB, 3.5 dB, 6 dB, 9.5 dB, and 12 dB. The gained-up pleth signal is then low-pass filtered (500-Hz bandwidth) and buffered before driving a 22bit ADC. The current DAC has a cancellation current range of 10 µA with 10 steps (1 µA each). The DAC value can be digitally specified with the SPI interface. Using ambient compensation with the ambient DAC allows the dc-biased signal to be centered to near mid-point of the amplifier (±0.9 V). Using the gain of the second stage allows for more of the available ADC dynamic range to be used. The output of the ambient cancellation amplifier is separated into LED2 and LED1 channels. When LED2 is on, the amplifier output is filtered and sampled on capacitor CLED2. Similarly, the LED1 signal is sampled on the CLED1 capacitor when LED1 is on. In between the LED2 and LED1 pulses, the idle amplifier output is sampled to estimate the ambient signal on capacitors CLED2_amb and CLED1_amb. The sampling duration is termed the Rx sample time and is programmable for each signal, independently. The sampling can start after the I-V amplifier output is stable (to account for LED and cable settling times). The Rx sample time is used for all dynamic range calculations; the minimum time recommended is 50 µs. While the AFE4400 can support pulse widths lower than 50 us, having too low a pulse width could result in a degraded signal and noise from the photodiode. A single, 22-bit ADC converts the sampled LED2, LED1, and ambient signals sequentially. Each conversion provides a single digital code at the ADC output. As discussed in the Receiver Timing section, the conversions are meant to be staggered so that the LED2 conversion starts after the end of the LED2 sample phase, and so on. Note that four data streams are available at the ADC output (LED2, LED1, ambient LED2, and ambient LED1) at the same rate as the pulse repetition frequency. The ADC is followed by a digital ambient subtraction block that additionally outputs the (LED2 – ambient LED2) and (LED1 – ambient LED1) data values. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 23 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Feature Description (continued) 8.3.1.2 Ambient Cancellation Scheme and Second Stage Gain Block The receiver provides digital samples corresponding to ambient duration. The host processor (external to the AFE) can use these ambient values to estimate the amount of ambient light leakage. The processor must then set the value of the ambient cancellation DAC using the SPI, as shown in Figure 35. Device Host Processor LED2 Data ADC Output Rate PRF Samples per Second Ambient (LED2) Data Front End (LED2 ± Ambient) Data SPI Interface ADC Rx Digital SPI Block LED1 Data Ambient Estimation Block Ambient information is available in the host processor. The processor can: * Read ambient data Ambient (LED1) Data * Estimate ambient value to be cancelled * Set the value to be used by the ambient cancellation DAC using the SPI of AFE (LED1 ± Ambient) Data Digital Control for Ambient-Cancellation DAC Figure 35. Ambient Cancellation Loop (Closed by the Host Processor) 24 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Feature Description (continued) Using the set value, the ambient cancellation stage subtracts the ambient component and gains up only the pleth component of the received signal; see Figure 36. The amplifier gain is programmable to 0 dB, 3.5 dB, 6 dB, 9.5 dB, and 12 dB. ICANCEL Cf Rg Rf IPLETH + IAMB Ri Rx VDIFF Ri Rf Rg ICANCEL Cf Value of ICANCEL set using the SPI interface. Figure 36. Front-End (I-V Amplifier and Cancellation Stage) Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 25 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Feature Description (continued) The differential output of the second stage is VDIFF, as given by Equation 2: RF RF + IAMB ´ - ICANCEL ´ RG VDIFF = 2 ´ IPLETH ´ RI RI where: • • • • RI = 100 kΩ, IPLETH = photodiode current pleth component, IAMB = photodiode current ambient component, and ICANCEL = the cancellation current DAC value (as estimated by the host processor). (2) RG values with various gain settings are listed in Table 1. 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 8.3.1.3 Receiver Control Signals LED2 sample phase (SLED2 or SR): When this signal is high, the amplifier output corresponds to the LED2 ontime. The amplifier output is filtered and sampled into capacitor CLED2. To avoid settling effects resulting from the LED or cable, program SLED2 to start after the LED turns on. This settling delay is programmable. Ambient sample phase (SLED2_amb or SR_amb): When this signal is high, the amplifier output corresponds to the LED2 off-time and can be used to estimate the ambient signal (for the LED2 phase). The amplifier output is filtered and sampled into capacitor CLED2_amb. LED1 sample phase (SLED1 or SIR): When this signal is high, the amplifier output corresponds to the LED1 ontime. The amplifier output is filtered and sampled into capacitor CLED1. To avoid settling effects resulting from the LED or cable, program SLED1 to start after the LED turns on. This settling delay is programmable. Ambient sample phase (SLED1_amb or SIR_amb): When this signal is high, the amplifier output corresponds to the LED1 off-time and can be used to estimate the ambient signal (for the LED1 phase). The amplifier output is filtered and sampled into capacitor CLED1_amb. LED2 convert phase (CONVLED2 or CONVR): When this signal is high, the voltage sampled on CLED2 is buffered and applied to the ADC for conversion. At the end of the conversion, the ADC provides a single digital code corresponding to the LED2 sample. Ambient convert phases (CONVLED2_amb or CONVR_amb, CONVLED1_ambor CONVIR_amb): When this signal is high, the voltage sampled on CLED2_amb (or CLED1_amb) is buffered and applied to the ADC for conversion. At the end of the conversion, the ADC provides a single digital code corresponding to the ambient sample. LED1 convert phase (CONVLED1 or CONVIR): When this signal is high, the voltage sampled on CLED1 is buffered and applied to the ADC for conversion. At the end of the conversion, the ADC provides a single digital code corresponding to the LED1 sample. 8.3.1.4 Receiver Timing See Figure 37 for a timing diagram detailing the control signals related to the LED on-time, Rx sample time, and the ADC conversion times for each channel. Figure 37 shows the timing for a case where each phase occupies 25% of the pulse repetition period. However, this percentage is not a requirement. In cases where the device is operated with low pulse repetition frequency (PRF) or low LED pulse durations, the active portion of the pulse repetition period can be reduced. Using the dynamic power-down feature, the overall power consumption can be significantly reduced. 26 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 RED LED On Signal tLED LED On-Time d 0.25 T IR LED On Signal N+1 Plethysmograph Signal N+2 N N Photodiode Current Or I-V Output Pulses N+1 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 1.0 T Convert Ambient Sample N+1 Convert IR Sample N+1 Convert Ambient Sample N+1 Convert Ambient Sample N Pulse Repetition Period T = 1 / PRF Convert Red Sample N+1 0.75 T Convert IR Sample N 0.50 T Convert Ambient Sample N Convert Red Sample N Convert Ambient Sample N-1 0.25 T 0T ADC Conversion TCONV Convert Red Sample N-1 Sample phase t input current is converted to an analog voltage. Sample phase width is variable from 0 to 25% duty cycle. Convert phase t sampled analog voltage is converted to a digital code. ADC Conversion time is fixed at 25% duty cycle of PRF. NOTE: Relationship to the AFE4400 EVM is: LED1 = IR and LED2 = RED. Figure 37. Rx Timing Diagram Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 27 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 8.3.2 Clocking and Timing Signal Generation The crystal oscillator generates a master clock signal using an external crystal. In the default mode, a divide-by-2 block converts the 8-MHz clock to 4 MHz, which is used by the AFE to operate the timer modules, ADC, and diagnostics. The 4-MHz clock is buffered and output from the AFE in order to clock an external microcontroller. The clocking functionality is shown in Figure 38. Timer Module Divideby-2 ADC Diagnostics Module Oscillator XIN XOUT CLKOUT 4 MHz 8-MHz Crystal Figure 38. AFE Clocking 8.3.3 Timer Module See Figure 39 for a timing diagram detailing the various timing edges that are programmable using the timer module. The rising and falling edge positions of 11 signals can be controlled. The module uses a single 16-bit counter (running off of the 4-MHz clock) to set the time-base. All timing signals are set with reference to the pulse repetition period (PRP). Therefore, a dedicated compare register compares the 16-bit counter value with the reference value specified in the PRF register. Every time that the 16-bit counter value is equal to the reference value in the PRF register, the counter is reset to 0. 28 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 LED2(Red LED) ON signal tLED LED On-Time d 0.25 T LED1(IR LED) ON signal Rx Sample Time = tLED ± Settling Time 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 1.0 T 0.75 T 0.50 T 0.25 T 0T ADC_RDY Pin Pulse Repetition Period (PRP) T = 1 / PRF NOTE: Programmable edges are shown in blue and red. Figure 39. AFE Control Signals Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 29 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 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. Set Output Signal Reset START STOP Start Reference Register Counter Input Stop Reference Register Enable Timer Compare Register Figure 40. Compare Register Enable Reset 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. Reset CLKIN 16-Bit Counter Reset Counter Enable RED LED S Start R Stop Timer Compare 16-Bit Register 1 En IR LED SR Sample RED SIR Sample IR SR_amb, Sample Ambient (red phase) SIR_amb, Sample Ambient (IR phase) S Start R Stop S Start R Stop S Start R Stop S Start R Stop S Start R Stop Timer Compare 16-Bit Register 2 Timer Compare 16-Bit Register 3 Timer Compare 16-Bit Register 4 Timer Compare 16-Bit Register 5 Timer Compare 16-Bit Register 6 En En En En En En En PRF Pulse Timer Compare 16-Bit PRF Register En En Timer Compare 16-Bit Register 7 Start S Stop R Timer Compare 16-Bit Register 8 Start S Stop R Timer Compare 16-Bit Register 9 Start S Stop R Timer Compare 16-Bit Register 10 Start S Stop R CONVR, Convert RED Sample CONVIR, Convert IR Sample CONVIR_amb, Convert Ambient Sample (IR Phase) CONVR_amb, Convert Ambient Sample (RED Phase) START-A STOP-A En START-B STOP-B Timer Compare 16-Bit Register 11 START-C STOP-D En ADC Conversion START-D STOP-D Timer Module Figure 41. Timer Module 30 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 8.3.3.1 Using the Timer Module The timer module registers can be used to program the start and end instants in units of 4-MHz clock cycles. These timing instants and the corresponding registers are listed in Table 2. Note that the device does not restrict the values in these registers; thus, the start and end edges can be positioned anywhere within the pulse repetition period. Care must be taken by the user to program suitable values in these registers to avoid overlapping the signals and to make sure none of the edges exceed the value programmed in the PRP register. Writing the same value in the start and end registers results in a pulse duration of one clock cycle. The following steps describe the timer sequencing configuration: 1. With respect to the start of the PRP period (indicated by timing instant t0 in Figure 42), the following sequence of conversions must be followed in order: convert LED2 → LED2 ambient → LED1 → LED1 ambient. 2. Also, starting from t0, the sequence of sampling instants must be staggered with respect to the respective conversions as follows: sample LED2 ambient → LED1 → LED1 ambient → LED2. 3. Finally, align the edges for the two LED pulses with the respective sampling instants. Table 2. Clock Edge Mapping to SPI Registers TIME INSTANT (See Figure 42 and Figure 43) (1) (2) DESCRIPTION CORRESPONDING REGISTER ADDRESS AND REGISTER BITS EXAMPLE (1) (Decimal) t0 Start of pulse repetition period No register control t1 Start of sample LED2 pulse LED2STC[15:0], register 01h 6050 t2 End of sample LED2 pulse LED2ENDC[15:0], register 02h 7998 t3 Start of LED2 pulse LED2LEDSTC[15:0], register 03h 6000 t4 End of LED2 pulse LED2LEDENDC[15:0], register 04h 7999 t5 Start of sample LED2 ambient pulse ALED2STC[15:0], register 05h t6 End of sample LED2 ambient pulse ALED2ENDC[15:0], register 06h 1998 t7 Start of sample LED1 pulse LED1STC[15:0], register 07h 2050 t8 End of sample LED1 pulse LED1ENDC[15:0], register 08h 3998 t9 Start of LED1 pulse LED1LEDSTC[15:0], register 09h 2000 t10 End of LED1 pulse LED1LEDENDC[15:0], register 0Ah 3999 t11 Start of sample LED1 ambient pulse ALED1STC[15:0], register 0Bh 4050 t12 End of sample LED1 ambient pulse ALED1ENDC[15:0], register 0Ch 5998 t13 Start of convert LED2 pulse LED2CONVST[15:0], register 0Dh Must start one AFE clock cycle after the ADC reset pulse ends. t14 End of convert LED2 pulse LED2CONVEND[15:0], register 0Eh 1999 t15 Start of convert LED2 ambient pulse ALED2CONVST[15:0], register 0Fh Must start one AFE clock cycle after the ADC reset pulse ends. 2004 t16 End of convert LED2 ambient pulse ALED2CONVEND[15:0], register 10h 3999 t17 Start of convert LED1 pulse LED1CONVST[15:0], register 11h Must start one AFE clock cycle after the ADC reset pulse ends. 4004 t18 End of convert LED1 pulse LED1CONVEND[15:0], register 12h 5999 t19 Start of convert LED1 ambient pulse ALED1CONVST[15:0], register 13h Must start one AFE clock cycle after the ADC reset pulse ends. 6004 t20 End of convert LED1 ambient pulse ALED1CONVEND[15:0], register 14h 7999 t21 Start of first ADC conversion reset pulse ADCRSTSTCT0[15:0], register 15h (2) ADCRSTENDCT0[15:0], register 16h — 50 4 0 t22 End of first ADC conversion reset pulse t23 Start of second ADC conversion reset pulse ADCRSTSTCT1[15:0], register 17h 2000 3 t24 End of second ADC conversion reset pulse (2) ADCRSTENDCT1[15:0], register 18h 2003 t25 Start of third ADC conversion reset pulse ADCRSTSTCT2[15:0], register 19h 4000 t26 End of third ADC conversion reset pulse (2) ADCRSTENDCT2[15:0], register 1Ah 4003 t27 Start of fourth ADC conversion reset pulse ADCRSTSTCT3[15:0], register 1Bh 6000 t28 End of fourth ADC conversion reset pulse (2) ADCRSTENDCT3[15:0], register 1Ch 6003 t29 End of pulse repetition period PRPCOUNT[15:0], register 1Dh 7999 Values are based off of a pulse repetition frequency (PRF) = 500 Hz and duty cycle = 25%. See Figure 43, note 2 for the effect of the ADC reset time crosstalk. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 31 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com LED2 (RED LED) On Signal t3 LED1 (IR LED) On Signal SLED2_amb, Sample Ambient LED2 (RED) Phase t9 t10 t6 t5 SLED1, Sample LED1 (IR) t7 t8 SLED1_amb, Sample Ambient LED1 (IR) Phase t11 t12 SLED2, Sample LED2 (RED) CONVLED2, Convert LED2 (RED) Sample t4 t1 t2 t14 t13 CONVLED2_amb, Convert Ambient Sample LED2 (RED) Phase t15 t16 CONVLED1, Convert LED1 (IR) Sample t17 t18 CONVLED1_amb, Convert Ambient Sample LED1 (IR) Phase t19 t20 ADC Conversion ADC Reset t23 t21 t22 t0 t27 t25 t24 t26 t28 Pulse Repetition Period (PRP), One Cycle t29 (1) RED = LED2, IR = LED1. (2) A low ADC reset time can result in a small component of the LED signal leaking into the ambient phase. With an ADC reset of two clock cycles, a –60-dB leakage is expected. In many cases, this leakage does not affect system performance. However, if this crosstalk must be completely eliminated, a longer ADC reset time of approximately six clock cycles is recommended for t22, t24, t26, and t28. Figure 42. Programmable Clock Edges(1)(2) 32 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 CONVLED2, Convert LED2 (RED) Sample t14 t13 CONVLED2_amb, Convert Ambient Sample LED2 (RED) Phase t16 t15 CONVLED1, Convert LED1 (IR) Sample t18 t17 CONVLED1_amb, Convert Ambient Sample LED1 (IR) Phase t20 t19 ADC Conversion Two 4-MHz Clock Cycles t21 t23 t22 ADC Reset t0 t25 t24 t27 t28 t26 Pulse Repetition Period (PRP), One Cycle t29 (1) RED = LED2, IR = LED1. (2) A low ADC reset time can result in a small component of the LED signal leaking into the ambient phase. With an ADC reset of two clock cycles, a –60-dB leakage is expected. In many cases, this leakage does not affect system performance. However, if this crosstalk must be completely eliminated, a longer ADC reset time of approximately six clock cycles is recommended for t22, t24, t26, and t28. Figure 43. Relationship Between the ADC Reset and ADC Conversion Signals(1)(2) Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 33 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 8.3.4 Receiver Subsystem Power Path The block diagram in Figure 44 shows the AFE4400 Rx subsystem power routing. Internal LDOs running off RX_ANA_SUP and RX_DIG_SUP generate the 1.8-V supplies required to drive the internal blocks. The two receive supplies could be shorted to a single supply on the board. 1.8 V RX_ANA_SUP RX_ANA_SUP to 1.8-V Regulator Rx Analog Modules RX_DIG_SUP RX_DIG_SUP to 1.8-V Regulator 1.8 V Rx I/O Block Rx Digital I/O Pins Device Figure 44. Receive Subsystem Power Routing 8.3.5 Transmit Section The transmit section integrates the LED driver and the LED current control section with 8-bit resolution. This integration is designed to meet a dynamic range of better than 105 dB (based on a 1-sigma LED current noise). The RED and IR LED reference currents can be independently set. The current source (ILED) locally regulates and ensures that the actual LED current tracks the specified reference. The transmitter section uses an internal 0.5-V reference voltage for operation. This reference voltage is available on the REF_TX pin and must be decoupled to ground with a 2.2-μF capacitor. The TX_REF voltage is derived from the TX_CTRL_SUP. The maximum LED current setting supports up to 50-mA LED current. Note that reducing the value of the band-gap reference capacitor on pin 7 reduces the time required for the device to wake-up and settle. However, this reduction in time is a trade-off between wake-up time and noise performance. The minimum LED_DRV_SUP voltage required for operation depends on: • Voltage drop across the LED (VLED), • Voltage drop across the external cable, connector, and any other component in series with the LED (VCABLE), and • Transmitter reference voltage. Using the internal 0.5-V reference voltage, the minimum LED_DRV_SUP voltage can be as low as 3.0 V, provided that [3.0 V – (VLED + VCABLE) > 1.4 V] is met. See the Recommended Operating Conditions table for further details. Two LED driver schemes are supported: • An H-bridge drive for a two-terminal back-to-back LED package; see Figure 45. • A push-pull drive for a three-terminal LED package; see Figure 46. 34 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 LED_DRV_SUP TX_CTRL_SUP External Supply Tx CBULK H-Bridge LED2_ON H-Bridge Driver LED1_ON LED2_ON or LED1_ON LED2 Current Reference ILED LED Current Control 8-Bit Resolution LED1 Current Reference Register LED2 Current Reference Register LED1 Current Reference Figure 45. Transmit: H-Bridge Drive Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 35 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com TX_CTRL_SUP External Supply LED_DRV_SUP CBULK Tx LED2_ON H-Bridge Driver LED1_ON LED2_ON or LED1_ON LED2 Current Reference ILED LED Current Control 8-Bit Resolution LED1 Current Reference Register RED Current Reference Register IR Current Reference Figure 46. Transmit: Push-Pull LED Drive for Common Anode LED Configuration 36 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 8.3.5.1 Transmitter Power Path The block diagram in Figure 47 shows the AFE4400 Tx subsystem power routing. TX_CTRL_SUP Tx Reference and Control LED_DRV_SUP LED Current Control DAC Tx LED Bridge Device Figure 47. Transmit Subsystem Power Routing 8.3.5.2 LED Power Reduction During Periods of Inactivity The diagram in Figure 48 shows how LED bias current passes 50 µA whenever LED_ON occurs. In order to minimize power consumption in periods of inactivity, the LED_ON control must be turned off. Furthermore, the TIMEREN bit in the CONTROL1 register should be disabled by setting the value to 0. Note that depending on the LEDs used, the LED may sometimes appear dimly lit even when the LED current is set to 0 mA. This appearance is because of the switching leakage currents (as shown in Figure 48) inherent to the timer function. The dimmed appearance does not effect the ambient light level measurement because during the ambient cycle, LED_ON is turned off for the duration of the ambient measurement. 1 PA 50 PA 0 mA to 50 mA (See the LEDRANGE bits in the LEDCNTRL register.) LED_ON Figure 48. LED Bias Current Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 37 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 8.4 Device Functional Modes 8.4.1 ADC Operation and Averaging Module After the falling edge of the ADC reset signal, the ADC conversion phase starts (refer to Figure 43). Each ADC conversion takes 50 µs. The ADC operates with averaging. The averaging module averages multiple ADC samples and reduces noise to improve dynamic range. Figure 49 shows a diagram of the averaging module. The ADC output format is in 22-bit twos complement, as shown in Figure 50. The two MSB bits of the 24-bit data can be ignored. Rx Digital ADC Reset ADC 22-Bits ADC Output Rate PRF Samples per Second ADC Register 42 LED2 Data Register 43 LED2_Ambient Data Register 44 LED1 Data Register 45 LED1_Ambient Data LED2 Data Ambient (LED2) Data Averager LED1 Data ADC Reset ADC Convert Ambient (LED1) Data ADC Clock Figure 49. Averaging Module Figure 50. 22-Bit Word 23 22 21 20 10 9 8 19 17 16 15 22-Bit ADC Code, MSB to LSB 7 6 5 4 3 22-Bit ADC Code, MSB to LSB Ignore 11 18 14 13 12 2 1 0 Table 3 shows the mapping of the input voltage to the ADC to its output code. Table 3. ADC Input Voltage Mapping DIFFERENTIAL INPUT VOLTAGE AT ADC INPUT 22-BIT ADC OUTPUT CODE –1.2 V 1000000000000000000000 (–1.2 / 221) V 1111111111111111111111 0 0000000000000000000000 (1.2 / 221) V 0000000000000000000001 1.2 V 0111111111111111111111 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 38 22 21 20 19 18 17 16 15 14 13 12 11 10 9 24-Bit ADC Code, MSB to LSB Submit Documentation Feedback 8 7 6 5 4 3 2 1 0 Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Table 4 shows the mapping of the input voltage to the ADC to its output code when the entire 24-bit word is considered. Table 4. Input Voltage Mapping 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 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. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 39 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 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 25% 0% Average of ADC data 1 to 3 are written into register 42. Average of ADC data 5 to 7 are written into register 43. 0% 75% 50% Average of ADC data 9 to 11 are written into register 44. Average of ADC data 13 to 15 are written into register 45. Register 42  register 43 are written into register 46. Register 44 register 45 are written into register 47. ADC_RDY Pin Pulse Repetition Period T = 1 / PRF 0T 1.0 T NOTE: This example shows three data averages. Figure 52. ADC Data with Averaging 40 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 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. 8.4.2.1 Photodiode-Side Fault Detection Figure 53 shows the diagnostic for the photodiode-side fault detection. Internal TX_CTRL_SUP 10 k 10 k 1 k Cable Rx On/Off INN To Rx Front-End INP Rx On/Off PD Wires LED Wires 100 PA 100 PA GND Wires Legend for Cable Figure 53. Photodiode Diagnostic Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 41 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 8.4.2.2 Transmitter-Side Fault Detection Figure 54 shows the diagnostic for the transmitter-side fault detection. Internal TX_CTRL_SUP SW1 Cable SW3 10 k 10 k TXP D C SW2 SW4 TXN LED Wires 100 PA PD Wires 100 PA GND Wires LED DAC Legend for Cable Figure 54. Transmitter Diagnostic 42 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 8.4.2.3 Diagnostics Module The diagnostics module, when enabled, checks for nine types of faults sequentially. The results of all faults are latched in 11 separate flags. At the end of the sequence, the state of the 11 flags are combined to generate two interrupt signals: PD_ALM for photodiode-related faults and LED_ALM for transmit-related faults. The status of all flags can also be read using the SPI interface. Table 5 details each fault and flag used. Note that the diagnostics module requires all AFE blocks to be enabled in order to function reliably. Table 5. Fault and Flag Diagnostics (1) MODULE SEQ. FLAG1 FLAG2 FLAG3 FLAG4 FLAG5 FLAG6 FLAG7 FLAG8 FLAG9 FLAG10 FLAG11 — — No fault 0 0 0 0 0 0 0 0 0 0 0 1 Rx INP cable shorted to LED cable 1 2 Rx INN cable shorted to LED cable 3 Rx INP cable shorted to GND cable 4 Rx INN cable shorted to GND cable 5 PD open or shorted 1 1 6 Tx OUTM line shorted to GND cable 7 Tx OUTP line shorted to GND cable 8 LED open or shorted 1 1 9 LED open or shorted PD LED (1) FAULT 1 1 1 1 1 1 Resistances below 10 kΩ are considered to be shorted. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 43 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 55 shows the timing for the diagnostic function. DIAG_EN Register Bit = 1 Diagnostic State Machine Diagnostic State Machine Diagnostic Ends Diagnostic Starts DIAG_END Pin tWIDTH = Four 4-MHz Clock Cycles tDIAG Figure 55. Diagnostic Timing Diagram 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. 8.5.2 Reading and Writing Data The device has a set of internal registers that can be accessed by the serial programming interface formed by the SPISTE, SCLK, SPISIMO, and SPISOMI pins. 8.5.2.1 Writing Data The SPI_READ register bit must be first set to 0 before writing to a register. When SPISTE is low: • Serially shifting bits into the device is enabled. • Serial data (on the SPISIMO pin) are latched at every SCLK rising edge. • The serial data are loaded into the register at every 32nd SCLK rising edge. 44 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 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 SPISIMO A7 A6 A1 A0 D23 D22 D17 D16 D15 D14 D9 D8 D7 D6 D1 D0 SCLK 'RQ¶WFDUH, can be high or low. Figure 56. AFE SPI Write Timing Diagram Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 45 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 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 SPISOMI D23 D22 D17 D16 D15 D14 D9 D8 D7 D6 D1 D0 SCLK 'RQ¶WFDUH, can be high or low. (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. Figure 57. AFE SPI Read Timing Diagram 46 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 8.5.2.3 Multiple Data Reads and Writes The device includes functionality where multiple read and write operations can be performed during a single SPISTE event. To enable this functionality, the first eight bits determine the register address to be written and the remaining 24 bits determine the register data. Perform two writes with the SPI read bit enabled during the second write operation in order to prepare for the read operation, 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. This functionality is described in the Writing Data and Reading Data sections. Figure 58 shows a timing diagram for the SPI multiple read and write operations. SPISTE SPISIMO Second Write(1, 2) First Write Operation A7 A0 D23 D16 D15 D8 D7 D0 A7 A0 D23 D16 D15 Read(3, 4) D8 D7 D0 A7 A0 D23 D16 D15 D8 D7 D0 SPISOMI SCLK 'RQ¶WFDUH, can be high or low (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. Figure 58. Serial Multiple Read and Write Operations Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 47 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 8.5.2.4 Register Initialization After power-up, the internal registers must be initialized to the default values. This initialization can be done in one of two ways: • Through a hardware reset by applying a low-going pulse on the RESET pin, or • By applying a software reset. Using the serial interface, set SW_RESET (bit D3 in register 00h) high. This setting initializes the internal registers to the default values and then self-resets to 0. In this case, the RESET pin is kept high (inactive). 8.5.2.5 AFE SPI Interface Design Considerations Note that when the AFE4400 is deselected, the SPISOMI, CLKOUT, ADC_RDY, PD_ALM, LED_ALM, and DIAG_END digital output pins do not enter a 3-state mode. This condition, therefore, must be taken into account when connecting multiple devices to the SPI port and for power-management considerations. In order to avoid loading the SPI bus when multiple devices are connected, the DIGOUT_TRISTATE register bit must be to 1 whenever the AFE SPI is inactive. 48 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 8.6 Register Maps 8.6.1 AFE Register Map The AFE consists of a set of registers that can be used to configure it, such as receiver timings, I-V amplifier settings, transmit LED currents, and so forth. The registers and their contents are listed in Table 6. These registers can be accessed using the AFE SPI interface. Table 6. AFE Register Map Dec 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CONTROL0 W 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DIAG_EN TIM_COUNT_RST SPI_READ REGISTER DATA Hex SW_RST ADDRESS REGISTER CONTROL (1) NAME LED2STC R/W 01 1 0 0 0 0 0 0 0 0 LED2STC[15:0] LED2ENDC R/W 02 2 0 0 0 0 0 0 0 0 LED2ENDC[15:0] LED2LEDSTC R/W 03 3 0 0 0 0 0 0 0 0 LED2LEDSTC[15:0] LED2LEDENDC R/W 04 4 0 0 0 0 0 0 0 0 LED2LEDENDC[15:0] ALED2STC R/W 05 5 0 0 0 0 0 0 0 0 ALED2STC[15:0] ALED2ENDC R/W 06 6 0 0 0 0 0 0 0 0 ALED2ENDC[15:0] LED1STC R/W 07 7 0 0 0 0 0 0 0 0 LED1STC[15:0] LED1ENDC R/W 08 8 0 0 0 0 0 0 0 0 LED1ENDC[15:0] LED1LEDSTC R/W 09 9 0 0 0 0 0 0 0 0 LED1LEDSTC[15:0] LED1LEDENDC R/W 0A 10 0 0 0 0 0 0 0 0 LED1LEDENDC[15:0] ALED1STC R/W 0B 11 0 0 0 0 0 0 0 0 ALED1STC[15:0] ALED1ENDC R/W 0C 12 0 0 0 0 0 0 0 0 ALED1ENDC[15:0] LED2CONVST R/W 0D 13 0 0 0 0 0 0 0 0 LED2CONVST[15:0] LED2CONVEND R/W 0E 14 0 0 0 0 0 0 0 0 LED2CONVEND[15:0] ALED2CONVST R/W 0F 15 0 0 0 0 0 0 0 0 ALED2CONVST[15:0] ALED2CONVEND R/W 10 16 0 0 0 0 0 0 0 0 ALED2CONVEND[15:0] LED1CONVST R/W 11 17 0 0 0 0 0 0 0 0 LED1CONVST[15:0] LED1CONVEND R/W 12 18 0 0 0 0 0 0 0 0 LED1CONVEND[15:0] ALED1CONVST R/W 13 19 0 0 0 0 0 0 0 0 ALED1CONVST[15:0] ALED1CONVEND R/W 14 20 0 0 0 0 0 0 0 0 ALED1CONVEND[15:0] ADCRSTSTCT0 R/W 15 21 0 0 0 0 0 0 0 0 ADCRSTCT0[15:0] ADCRSTENDCT0 R/W 16 22 0 0 0 0 0 0 0 0 ADCRENDCT0[15:0] ADCRSTSTCT1 R/W 17 23 0 0 0 0 0 0 0 0 ADCRSTCT1[15:0] ADCRSTENDCT1 R/W 18 24 0 0 0 0 0 0 0 0 ADCRENDCT1[15:0] ADCRSTSTCT2 R/W 19 25 0 0 0 0 0 0 0 0 ADCRSTCT2[15:0] ADCRSTENDCT2 R/W 1A 26 0 0 0 0 0 0 0 0 ADCRENDCT2[15:0] (1) R = read only, R/W = read or write, N/A = not available, and W = write only. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 49 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Table 6. AFE Register Map (continued) ADDRESS REGISTER DATA REGISTER CONTROL (1) Hex Dec 23 22 21 20 19 18 17 16 ADCRSTSTCT3 R/W 1B 27 0 0 0 0 0 0 0 0 ADCRSTCT3[15:0] ADCRSTENDCT3 R/W 1C 28 0 0 0 0 0 0 0 0 ADCRENDCT3[15:0] PRPCOUNT R/W 1D 29 0 0 0 0 0 0 0 0 PRPCT[15:0] CONTROL1 R/W 1E 30 0 0 0 0 0 0 0 0 0 0 0 0 12 11 10 9 7 6 5 4 3 2 1 0 0 0 0 0 0 1 0 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 TIA_AMB_GAIN R/W 21 33 0 0 0 0 0 0 0 0 LEDCNTRL R/W 22 34 0 0 0 0 0 0 1 CONTROL2 R/W 23 35 0 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 SPARE3 N/A 25 37 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 RESERVED1 N/A 27 39 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 ALARM R/W 29 41 0 0 0 0 0 0 0 0 0 0 0 STG2GAIN[2:0] CF_LED[4:0] 1 0 0 0 0 0 PDNTX PDNRX PDNAFE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 LED2[7:0] XTALDIS LED1[7: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] R 2D 45 ALED1VAL[23:0] LED2-ALED2VAL R 2E 46 LED2-ALED2VAL[23:0] LED1-ALED1VAL R 2F 47 LED1-ALED1VAL[23:0] Submit Documentation Feedback RF_LED[2:0] DIGOUT_TRISTATE AMBDAC[3:0] CLKALMPIN[2:0] ALED1VAL 50 8 TIMEREN 13 TXBRGMOD 14 STAGE2EN 15 LEDCUROFF NAME Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Table 6. AFE Register Map (continued) 17 16 15 14 13 12 11 10 9 8 7 R 30 48 0 0 0 0 0 0 0 0 0 0 0 LED1OPEN LED2OPEN LEDSC OUTPSHGND 6 5 4 3 2 1 0 INPSCLED 18 INNSCLED 19 INPSCGND 20 INNSCGND 21 PDSC 22 PDOC 23 OUTNSHGND Dec LED_ALM DIAG REGISTER DATA Hex PD_ALM NAME ADDRESS REGISTER CONTROL (1) Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 51 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 8.6.2 AFE Register Description Figure 59. CONTROL0: Control Register 0 (Address = 00h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 0 6 17 0 5 16 0 4 0 0 0 0 0 0 0 0 15 0 3 14 0 2 SW_RST DIAG_EN 13 0 1 TIM_ COUNT_ RST 12 0 0 SPI_ READ This register is write-only. CONTROL0 is used for AFE software and count timer reset, diagnostics enable, and SPI read functions. Bits 23:4 Must be 0 Bit 3 SW_RST: Software reset 0 = No action (default after reset) 1 = Software reset applied; resets all internal registers to the default values and self-clears to 0 Bit 2 DIAG_EN: Diagnostic enable 0 = No action (default after reset) 1 = Diagnostic mode is enabled and the diagnostics sequence starts when this bit is set. At the end of the sequence, all fault status are stored in the DIAG: Diagnostics Flag Register. Afterwards, the DIAG_EN register bit self-clears to 0. Note that the diagnostics enable bit is automatically reset after the diagnostics completes (16 ms). During the diagnostics mode, ADC data are invalid because of the toggling diagnostics switches. Bit 1 TIM_CNT_RST: Timer counter reset 0 = Disables timer counter reset, required for normal timer operation (default after reset) 1 = Timer counters are in reset state Bit 0 SPI READ: SPI read 0 = SPI read is disabled (default after reset) 1 = SPI read is enabled Figure 60. LED2STC: Sample LED2 Start Count Register (Address = 01h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED2STC[15:0] 16 0 4 15 3 14 13 LED2STC[15:0] 2 1 12 0 This register sets the start timing value for the LED2 signal sample. Bits 23:16 Must be 0 Bits 15:0 LED2STC[15:0]: Sample LED2 start count The contents of this register can be used to position the start of the sample LED2 signal with respect to the pulse repetition period (PRP), as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. 52 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 61. LED2ENDC: Sample LED2 End Count Register (Address = 02h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED2ENDC[15:0] 16 0 4 15 3 14 13 LED2ENDC[15:0] 2 1 12 0 This register sets the end timing value for the LED2 signal sample. Bits 23:16 Must be 0 Bits 15:0 LED2ENDC[15:0]: Sample LED2 end count The contents of this register can be used to position the end of the sample LED2 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 62. LED2LEDSTC: LED2 LED Start Count Register (Address = 03h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED2LEDSTC[15:0] 16 0 4 15 3 14 13 LED2LEDSTC[15:0] 2 1 12 0 This register sets the start timing value for when the LED2 signal turns on. Bits 23:16 Must be 0 Bits 15:0 LED2LEDSTC[15:0]: LED2 start count The contents of this register can be used to position the start of the LED2 with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 63. LED2LEDENDC: LED2 LED End Count Register (Address = 04h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED2LEDENDC[15:0] 16 0 4 15 3 14 13 LED2LEDENDC[15:0] 2 1 12 0 This register sets the end timing value for when the LED2 signal turns off. Bits 23:16 Must be 0 Bits 15:0 LED2LEDENDC[15:0]: LED2 end count The contents of this register can be used to position the end of the LED2 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 53 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 64. ALED2STC: Sample Ambient LED2 Start Count Register (Address = 05h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ALED2STC[15:0] 16 0 4 15 3 14 13 ALED2STC[15:0] 2 1 12 0 This register sets the start timing value for the ambient LED2 signal sample. Bits 23:16 Must be 0 Bits 15:0 ALED2STC[15:0]: Sample ambient LED2 start count The contents of this register can be used to position the start of the sample ambient LED2 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 65. ALED2ENDC: Sample Ambient LED2 End Count Register (Address = 06h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ALED2ENDC[15:0] 16 0 4 15 3 14 13 ALED2ENDC[15:0] 2 1 12 0 This register sets the end timing value for the ambient LED2 signal sample. Bits 23:16 Must be 0 Bits 15:0 ALED2ENDC[15:0]: Sample ambient LED2 end count The contents of this register can be used to position the end of the sample ambient LED2 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 66. LED1STC: Sample LED1 Start Count Register (Address = 07h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED1STC[15:0] 16 0 4 15 3 14 13 LED1STC[15:0] 2 1 12 0 This register sets the start timing value for the LED1 signal sample. Bits 23:17 Must be 0 Bits 16:0 LED1STC[15:0]: Sample LED1 start count The contents of this register can be used to position the start of the sample LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. 54 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 67. LED1ENDC: Sample LED1 End Count (Address = 08h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED1ENDC[15:0] 16 0 4 15 3 14 13 LED1ENDC[15:0] 2 1 12 0 This register sets the end timing value for the LED1 signal sample. Bits 23:17 Must be 0 Bits 16:0 LED1ENDC[15:0]: Sample LED1 end count The contents of this register can be used to position the end of the sample LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 68. LED1LEDSTC: LED1 LED Start Count Register (Address = 09h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED1LEDSTC[15:0] 16 0 4 15 3 14 13 LED1LEDSTC[15:0] 2 1 12 0 This register sets the start timing value for when the LED1 signal turns on. Bits 23:16 Must be 0 Bits 15:0 LED1LEDSTC[15:0]: LED1 start count The contents of this register can be used to position the start of the LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 69. LED1LEDENDC: LED1 LED End Count Register (Address = 0Ah, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED1LEDENDC[15:0] 16 0 4 15 3 14 13 LED1LEDENDC[15:0] 2 1 12 0 This register sets the end timing value for when the LED1 signal turns off. Bits 23:16 Must be 0 Bits 15:0 LED1LEDENDC[15:0]: LED1 end count The contents of this register can be used to position the end of the LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 55 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 70. ALED1STC: Sample Ambient LED1 Start Count Register (Address = 0Bh, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ALED1STC[15:0] 16 0 4 15 3 14 13 ALED1STC[15:0] 2 1 12 0 This register sets the start timing value for the ambient LED1 signal sample. Bits 23:16 Must be 0 Bits 15:0 ALED1STC[15:0]: Sample ambient LED1 start count The contents of this register can be used to position the start of the sample ambient LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 71. ALED1ENDC: Sample Ambient LED1 End Count Register (Address = 0Ch, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ALED1ENDC[15:0] 16 0 4 15 3 14 13 ALED1ENDC[15:0] 2 1 12 0 This register sets the end timing value for the ambient LED1 signal sample. Bits 23:16 Must be 0 Bits 15:0 ALED1ENDC[15:0]: Sample ambient LED1 end count The contents of this register can be used to position the end of the sample ambient LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 72. LED2CONVST: LED2 Convert Start Count Register (Address = 0Dh, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED2CONVST[15:0] 16 0 4 15 3 14 13 LED2CONVST[15:0] 2 1 12 0 This register sets the start timing value for the LED2 conversion. Bits 23:16 Must be 0 Bits 15:0 LED2CONVST[15:0]: LED2 convert start count The contents of this register can be used to position the start of the LED2 conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. 56 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 73. LED2CONVEND: LED2 Convert End Count Register (Address = 0Eh, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED2CONVEND[15:0] 16 0 4 15 3 14 13 LED2CONVEND[15:0] 2 1 12 0 This register sets the end timing value for the LED2 conversion. Bits 23:16 Must be 0 Bits 15:0 LED2CONVEND[15:0]: LED2 convert end count The contents of this register can be used to position the end of the LED2 conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 74. ALED2CONVST: LED2 Ambient Convert Start Count Register (Address = 0Fh, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ALED2CONVST[15:0] 16 0 4 15 3 14 13 ALED2CONVST[15:0] 2 1 12 0 This register sets the start timing value for the ambient LED2 conversion. Bits 23:16 Must be 0 Bits 15:0 ALED2CONVST[15:0]: LED2 ambient convert start count The contents of this register can be used to position the start of the LED2 ambient conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 75. ALED2CONVEND: LED2 Ambient Convert End Count Register (Address = 10h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ALED2CONVEND[15:0] 16 0 4 15 3 14 13 ALED2CONVEND[15:0] 2 1 12 0 This register sets the end timing value for the ambient LED2 conversion. Bits 23:16 Must be 0 Bits 15:0 ALED2CONVEND[15:0]: LED2 ambient convert end count The contents of this register can be used to position the end of the LED2 ambient conversion signal with respect to the PRP. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 57 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 76. LED1CONVST: LED1 Convert Start Count Register (Address = 11h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED1CONVST[15:0] 16 0 4 15 3 14 13 LED1CONVST[15:0] 2 1 12 0 This register sets the start timing value for the LED1 conversion. Bits 23:16 Must be 0 Bits 15:0 LED1CONVST[15:0]: LED1 convert start count The contents of this register can be used to position the start of the LED1 conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 77. LED1CONVEND: LED1 Convert End Count Register (Address = 12h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 LED1CONVEND[15:0] 16 0 4 15 3 14 13 LED1CONVEND[15:0] 2 1 12 0 This register sets the end timing value for the LED1 conversion. Bits 23:16 Must be 0 Bits 15:0 LED1CONVEND[15:0]: LED1 convert end count The contents of this register can be used to position the end of the LED1 conversion signal with respect to the PRP. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 78. ALED1CONVST: LED1 Ambient Convert Start Count Register (Address = 13h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ALED1CONVST[15:0] 16 0 4 15 3 14 13 ALED1CONVST[15:0] 2 1 12 0 This register sets the start timing value for the ambient LED1 conversion. Bits 23:16 Must be 0 Bits 15:0 ALED1CONVST[15:0]: LED1 ambient convert start count The contents of this register can be used to position the start of the LED1 ambient conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. 58 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 79. ALED1CONVEND: LED1 Ambient Convert End Count Register (Address = 14h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ALED1CONVEND[15:0] 16 0 4 15 3 14 13 ALED1CONVEND[15:0] 2 1 12 0 This register sets the end timing value for the ambient LED1 conversion. Bits 23:16 Must be 0 Bits 15:0 ALED1CONVEND[15:0]: LED1 ambient convert end count The contents of this register can be used to position the end of the LED1 ambient conversion signal with respect to the PRP. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. Figure 80. ADCRSTSTCT0: ADC Reset 0 Start Count Register (Address = 15h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ADCRSTSTCT0[15:0] 16 0 4 15 3 14 13 ADCRSTSTCT0[15:0] 2 1 12 0 This register sets the start position of the ADC0 reset conversion signal. Bits 23:16 Must be 0 Bits 15:0 ADCRSTSTCT0[15:0]: ADC RESET 0 start count The contents of this register can be used to position the start of the ADC reset conversion signal (default value after reset is 0000h). Refer to the Using the Timer Module section for details. Figure 81. ADCRSTENDCT0: ADC Reset 0 End Count Register (Address = 16h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ADCRSTENDCT0[15:0] 16 0 4 15 3 14 13 ADCRSTENDCT0[15:0] 2 1 12 0 This register sets the end position of the ADC0 reset conversion signal. Bits 23:16 Must be 0 Bits 15:0 ADCRSTENDCT0[15:0]: ADC RESET 0 end count The contents of this register can be used to position the end of the ADC reset conversion signal (default value after reset is 0000h). Refer to the Using the Timer Module section for details. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 59 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 82. ADCRSTSTCT1: ADC Reset 1 Start Count Register (Address = 17h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ADCRSTSTCT1[15:0] 16 0 4 15 3 14 13 ADCRSTSTCT1[15:0] 2 1 12 0 This register sets the start position of the ADC1 reset conversion signal. Bits 23:16 Must be 0 Bits 15:0 ADCRSTSTCT1[15:0]: ADC RESET 1 start count The contents of this register can be used to position the start of the ADC reset conversion. Refer to the Using the Timer Module section for details. Figure 83. ADCRSTENDCT1: ADC Reset 1 End Count Register (Address = 18h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ADCRSTENDCT1[15:0] 16 0 4 15 3 14 13 ADCRSTENDCT1[15:0] 2 1 12 0 This register sets the end position of the ADC1 reset conversion signal. Bits 23:16 Must be 0 Bits 15:0 ADCRSTENDCT1[15:0]: ADC RESET 1 end count The contents of this register can be used to position the end of the ADC reset conversion. Refer to the Using the Timer Module section for details. Figure 84. ADCRSTSTCT2: ADC Reset 2 Start Count Register (Address = 19h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ADCRSTSTCT2[15:0] 16 0 4 15 3 14 13 ADCRSTSTCT2[15:0] 2 1 12 0 This register sets the start position of the ADC2 reset conversion signal. Bits 23:16 Must be 0 Bits 15:0 ADCRSTSTCT2[15:0]: ADC RESET 2 start count The contents of this register can be used to position the start of the ADC reset conversion. Refer to the Using the Timer Module section for details. 60 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 85. ADCRSTENDCT2: ADC Reset 2 End Count Register (Address = 1Ah, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ADCRSTENDCT2[15:0] 16 0 4 15 3 14 13 ADCRSTENDCT2[15:0] 2 1 12 0 This register sets the end position of the ADC2 reset conversion signal. Bits 23:16 Must be 0 Bits 15:0 ADCRSTENDCT2[15:0]: ADC RESET 2 end count The contents of this register can be used to position the end of the ADC reset conversion. Refer to the Using the Timer Module section for details. Figure 86. ADCRSTSTCT3: ADC Reset 3 Start Count Register (Address = 1Bh, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ADCRSTSTCT3[15:0] 16 0 4 15 3 14 13 ADCRSTSTCT3[15:0] 2 1 12 0 This register sets the start position of the ADC3 reset conversion signal. Bits 23:16 Must be 0 Bits 15:0 ADCRSTSTCT3[15:0]: ADC RESET 3 start count The contents of this register can be used to position the start of the ADC reset conversion. Refer to the Using the Timer Module section for details. Figure 87. ADCRSTENDCT3: ADC Reset 3 End Count Register (Address = 1Ch, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 ADCRSTENDCT3[15:0] 16 0 4 15 3 14 13 ADCRSTENDCT3[15:0] 2 1 12 0 This register sets the end position of the ADC3 reset conversion signal. Bits 23:16 Must be 0 Bits 15:0 ADCRSTENDCT3[15:0]: ADC RESET 3 end count The contents of this register can be used to position the end of the ADC reset conversion signal (default value after reset is 0000h). Refer to the Using the Timer Module section for details. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 61 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 88. PRPCOUNT: Pulse Repetition Period Count Register (Address = 1Dh, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 17 0 0 6 5 PRPCOUNT[15:0] 16 0 4 15 3 14 13 PRPCOUNT[15:0] 2 1 12 0 This register sets the device pulse repetition period count. Bits 23:16 Must be 0 Bits 15:0 PRPCOUNT[15:0]: Pulse repetition period count The contents of this register can be used to set the pulse repetition period (in number of clock cycles of the 4-MHz clock). The PRPCOUNT value must be set in the range of 800 to 64000. Values below 800 do not allow sufficient sample time for the four samples; see the Electrical Characteristics table. Figure 89. CONTROL1: Control Register 1 (Address = 1Eh, Reset Value = 0000h) 23 0 11 22 21 0 0 10 9 CLKALMPIN[2:0] 20 0 8 TIMEREN 19 0 7 0 18 0 6 0 17 0 5 0 16 0 4 0 15 0 3 0 14 0 2 0 13 0 1 1 12 0 0 0 This register configures the clock alarm pin and timer. Bits 23:12 Must be 0 Bits 11:9 CLKALMPIN[2:0]: Clocks on ALM pins Internal clocks can be brought to the PD_ALM and LED_ALM pins for monitoring. Note that the ALMPINCLKEN register bit must be set before using this register bit. Table 7 defines the settings for the two alarm pins. Bit 8 TIMEREN: Timer enable 0 = Timer module is disabled and all internal clocks are off (default after reset) 1 = Timer module is enabled Bits 7:2 Must be 0 Bit 1 Must be 1 Bit 0 Must be 0 Table 7. PD_ALM and LED_ALM Pin Settings 62 CLKALMPIN[2:0] PD_ALM PIN SIGNAL LED_ALM PIN SIGNAL 000 Sample LED2 pulse Sample LED1 pulse 001 LED2 LED pulse LED1 LED pulse 010 Sample LED2 ambient pulse Sample LED1 ambient pulse 011 LED2 convert LED1 convert 100 LED2 ambient convert LED1 ambient convert 101 No output No output 110 No output No output 111 No output No output Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 90. SPARE1: SPARE1 Register For Future Use (Address = 1Fh, Reset Value = 0000h) 23 0 11 0 22 0 10 0 21 0 9 0 20 0 8 0 19 0 7 0 18 0 6 0 17 0 5 0 16 0 4 0 15 0 3 0 14 0 2 0 13 0 1 0 12 0 0 0 This register is a spare register and is reserved for future use. Bits 23:0 Must be 0 Figure 91. TIAGAIN: Transimpedance Amplifier Gain Setting Register (Address = 20h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 19 0 7 18 0 6 17 0 5 16 0 4 15 0 3 14 0 2 13 0 1 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 This register is reserved for factory use. Bits 23:0 Must be 0 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 63 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 92. TIA_AMB_GAIN: Transimpedance Amplifier and Ambient Cancellation Stage Gain Register (Address = 21h, Reset Value = 0000h) 23 22 21 20 0 0 0 0 11 0 10 9 STG2GAIN[2:0] 8 19 18 17 16 15 AMBDAC[3:0] 7 6 14 STAGE2 EN 2 0 5 CF_LED2[4:0] 4 3 13 12 0 0 1 RF_LED2[2:0] 0 This register configures the ambient light cancellation amplifier gain, cancellation current, and filter corner frequency. Bits 23:20 Must be 0 Bits 19:16 AMBDAC[3:0]: Ambient DAC value These bits set the value of the cancellation current. 0000 0001 0010 0011 0100 0101 0110 0111 = = = = = = = = 0 µA (default after reset) 1 µA 2 µA 3 µA 4 µA 5 µA 6 µA 7 µA Bit 15 Must be 0 Bit 14 STAGE2EN: Stage 2 enable for LED 2 1000 1001 1010 1011 1100 1101 1110 1111 = = = = = = = = 8 µA 9 µA 10 µA Do not Do not Do not Do not Do not use use use use use 0 = Stage 2 is bypassed (default after reset) 1 = Stage 2 is enabled with the gain value specified by the STG2GAIN[2:0] bits Bits 13:11 Must be 0 Bits 10:8 STG2GAIN[2:0]: Stage 2 gain setting 000 001 010 011 100 101 110 111 Bits 7:3 = = = = = = = = 0 dB, or linear gain of 1 (default after reset) 3.5 dB, or linear gain of 1.5 6 dB, or linear gain of 2 9.5 dB, or linear gain of 3 12 dB, or linear gain of 4 Do not use Do not use Do not use CF_LED[4:0]: Program CF for LEDs 00000 = 5 pF (default after reset) 00001 = 5 pF + 5 pF 00010 = 15 pF + 5 pF 00100 = 25 pF + 5 pF 01000 = 50 pF + 5 pF 10000 = 150 pF + 5 pF Note that any combination of these CF settings is also supported by setting multiple bits to 1. For example, to obtain CF = 100 pF, set D[7:3] = 01111. Bits 2:0 RF_LED[2:0]: Program RF for LEDs 000 001 010 011 64 = = = = 500 kΩ 250 kΩ 100 kΩ 50 kΩ 100 101 110 111 Submit Documentation Feedback = = = = 25 kΩ 10 kΩ 1 MΩ None Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 93. LEDCNTRL: LED Control Register (Address = 22h, Reset Value = 0000h) 23 22 21 20 19 18 0 0 0 0 0 0 11 10 9 LED1[7:0] 8 7 6 17 LEDCUR OFF 5 16 15 14 1 13 12 LED1[7:0] 4 3 2 1 0 LED2[7:0] This register sets the LED current range and the LED1 and LED2 drive current. Bits 23:18 Must be 0 Bit 17 LEDCUROFF: Turns the LED current source on or off 0 = On (50 mA) 1 = Off Bit 16 Must be 1 Bits 15:8 LED1[7:0]: Program LED current for LED1 signal Use these register bits to specify the LED current setting for LED1 (default after reset is 00h). The nominal value of the LED current is given by Equation 3, where the full-scale LED current is 50 mA. Bits 7:0 LED2[7:0]: Program LED current for LED2 signal Use these register bits to specify the LED current setting for LED2 (default after reset is 00h). The nominal value of LED current is given by Equation 4, where the full-scale LED current is 50 mA. LED1[7:0] 256 LED2[7:0] 256 ´ Full-Scale Current (3) ´ Full-Scale Current (4) Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 65 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 94. CONTROL2: Control Register 2 (Address = 23h, Reset Value = 0000h) 23 0 11 TXBRG MOD 22 0 10 DIGOUT_ TRI STATE 21 0 9 20 0 8 19 0 7 18 0 6 17 1 5 16 0 4 15 0 3 14 0 2 13 0 1 12 0 0 XTAL DIS 1 0 0 0 0 0 PDNTX PDNRX PDNAFE This register controls the LED transmitter, crystal, and the AFE, transmitter, and receiver power modes. Bits 23:18 Must be 0 Bit 17 Must be 1 Bits 16:12 Must be 0 Bit 11 TXBRGMOD: Tx bridge mode 0 = LED driver is configured as an H-bridge (default after reset) 1 = LED driver is configured as a push-pull Bit 10 DIGOUT_TRISTATE: Digital output 3-state mode This bit determines the state of the device digital output pins, including the clock output pin and SPI output pins. In order to avoid loading the SPI bus when multiple devices are connected, this bit must be set to 1 (3-state mode) whenever the device SPI is inactive. 0 = Normal operation (default) 1 = 3-state mode Bit 9 XTALDIS: Crystal disable mode 0 = The crystal module is enabled; the 8-MHz crystal must be connected to the XIN and XOUT pins 1 = The crystal module is disabled; an external 8-MHz clock must be applied to the XIN pin Bit 8 Must be 1 Bits 7:3 Must be 0 Bit 2 PDN_TX: Tx power-down 0 = The Tx is powered up (default after reset) 1 = Only the Tx module is powered down Bit 1 PDN_RX: Rx power-down 0 = The Rx is powered up (default after reset) 1 = Only the Rx module is powered down Bit 0 PDN_AFE: AFE power-down 0 = The AFE is powered up (default after reset) 1 = The entire AFE is powered down (including the Tx, Rx, and diagnostics blocks) Figure 95. SPARE2: SPARE2 Register For Future Use (Address = 24h, Reset Value = 0000h) 23 0 11 0 22 0 10 0 21 0 9 0 20 0 8 0 19 0 7 0 18 0 6 0 17 0 5 0 16 0 4 0 15 0 3 0 14 0 2 0 13 0 1 0 12 0 0 0 This register is a spare register and is reserved for future use. Bits 23:0 66 Must be 0 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 96. SPARE3: SPARE3 Register For Future Use (Address = 25h, Reset Value = 0000h) 23 0 11 0 22 0 10 0 21 0 9 0 20 0 8 0 19 0 7 0 18 0 6 0 17 0 5 0 16 0 4 0 15 0 3 0 14 0 2 0 13 0 1 0 12 0 0 0 This register is a spare register and is reserved for future use. Bits 23:0 Must be 0 Figure 97. SPARE4: SPARE4 Register For Future Use (Address = 26h, Reset Value = 0000h) 23 0 11 0 22 0 10 0 21 0 9 0 20 0 8 0 19 0 7 0 18 0 6 0 17 0 5 0 16 0 4 0 15 0 3 0 14 0 2 0 13 0 1 0 12 0 0 0 13 X 1 X 12 X 0 X 13 X 1 X 12 X 0 X This register is a spare register and is reserved for future use. Bits 23:0 Must be 0 Figure 98. RESERVED1: RESERVED1 Register For Factory Use Only (Address = 27h, Reset Value = XXXXh) 23 X (1) 11 X (1) 22 X 10 X 21 X 9 X 20 X 8 X 19 X 7 X 18 X 6 X 17 X 5 X 16 X 4 X 15 X 3 X 14 X 2 X X = don't care. 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 X (1) 11 X (1) 22 X 10 X 21 X 9 X 20 X 8 X 19 X 7 X 18 X 6 X 17 X 5 X 16 X 4 X 15 X 3 X 14 X 2 X X = don't care. This register is reserved for factory use. Readback values vary between devices. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 67 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 100. ALARM: Alarm Register (Address = 29h, Reset Value = 0000h) 23 0 11 22 0 10 21 0 9 20 0 8 0 0 0 0 19 0 7 ALMPIN CLKEN 18 0 6 17 0 5 16 0 4 15 0 3 14 0 2 13 0 1 12 0 0 0 0 0 0 0 0 0 This register controls the alarm pin functionality. Bits 23:8 Must be 0 Bit 7 ALMPINCLKEN: Alarm pin clock enable 0 = Disables the monitoring of internal clocks; the PD_ALM and LED_ALM pins function as diagnostic fault alarm output pins (default after reset) 1 = Enables the monitoring of internal clocks; these clocks can be brought out on PD_ALM and LED_ALM selectively (depending on the value of the CLKALMPIN[2:0] register bits). Bits 6:0 Must be 0 Figure 101. LED2VAL: LED2 Digital Sample Value Register (Address = 2Ah, Reset Value = 0000h) 23 22 21 20 19 11 10 9 8 7 Bits 23:0 18 17 LED2VAL[23:0] 6 5 LED2VAL[23:0] 16 15 14 13 12 4 3 2 1 0 LED2VAL[23:0]: LED2 digital value This register contains the digital value of the latest LED2 sample converted by the ADC. The ADC_RDY signal goes high each time that the contents of this register are updated. The host processor must readout this register before the next sample is converted by the AFE. Figure 102. ALED2VAL: Ambient LED2 Digital Sample Value Register (Address = 2Bh, Reset Value = 0000h) 23 22 21 20 19 11 10 9 8 7 Bits 23:0 18 17 ALED2VAL[23:0] 6 5 ALED2VAL[23:0] 16 15 14 13 12 4 3 2 1 0 ALED2VAL[23:0]: LED2 ambient digital value This register contains the digital value of the latest LED2 ambient sample converted by the ADC. The ADC_RDY signal goes high each time that the contents of this register are updated. The host processor must readout this register before the next sample is converted by the AFE. 68 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Figure 103. LED1VAL: LED1 Digital Sample Value Register (Address = 2Ch, Reset Value = 0000h) 23 22 21 20 19 11 10 9 8 7 Bits 23:0 18 17 LED1VAL[23:0] 6 5 LED1VAL[23:0] 16 15 14 13 12 4 3 2 1 0 LED1VAL[23:0]: LED1 digital value This register contains the digital value of the latest LED1 sample converted by the ADC. The ADC_RDY signal goes high each time that the contents of this register are updated. The host processor must readout this register before the next sample is converted by the AFE. Figure 104. ALED1VAL: Ambient LED1 Digital Sample Value Register (Address = 2Dh, Reset Value = 0000h) 23 22 21 20 19 11 10 9 8 7 Bits 23:0 18 17 ALED1VAL[23:0] 6 5 ALED1VAL[23:0] 16 15 14 13 12 4 3 2 1 0 ALED1VAL[23:0]: LED1 ambient digital value This register contains the digital value of the latest LED1 ambient sample converted by the ADC. The ADC_RDY signal goes high each time that the contents of this register are updated. The host processor must readout this register before the next sample is converted by the AFE. Figure 105. LED2-ALED2VAL: LED2-Ambient LED2 Digital Sample Value Register (Address = 2Eh, Reset Value = 0000h) 23 22 21 20 19 11 10 9 8 7 Bits 23:0 18 17 LED2-ALED2VAL[23:0] 6 5 LED2-ALED2VAL[23:0] 16 15 14 13 12 4 3 2 1 0 LED2-ALED2VAL[23:0]: (LED2 – LED2 ambient) digital value This register contains the digital value of the LED2 sample after the LED2 ambient is subtracted. The host processor must readout this register before the next sample is converted by the AFE. Note that this value is inverted when compared to waveforms shown in many publications. Figure 106. LED1-ALED1VAL: LED1-Ambient LED1 Digital Sample Value Register (Address = 2Fh, Reset Value = 0000h) 23 22 21 20 19 11 10 9 8 7 Bits 23:0 18 17 LED1-ALED1VAL[23:0] 6 5 LED1-ALED1VAL[23:0] 16 15 14 13 12 4 3 2 1 0 LED1-ALED1VAL[23:0]: (LED1 – LED1 ambient) digital value This register contains the digital value of the LED1 sample after the LED1 ambient is subtracted from it. The host processor must readout this register before the next sample is converted by the AFE. Note that this value is inverted when compared to waveforms shown in many publications. Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 69 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Figure 107. DIAG: Diagnostics Flag Register (Address = 30h, Reset Value = 0000h) 23 0 11 LED_ ALM 22 0 10 LED1 OPEN 21 0 9 LED2 OPEN 20 0 8 LEDSC 19 0 7 OUTPSH GND 18 0 6 OUTNSH GND 17 0 5 16 0 4 PDOC PDSC 15 0 3 INNSC GND 14 0 2 INPSC GND 13 0 1 INNSC LED 12 PD_ALM 0 INPSC 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. Bits 23:13 Read only Bit 12 PD_ALM: Power-down alarm status diagnostic flag This bit indicates the status of PD_ALM (and the PD_ALM pin). 0 = No fault (default after reset) 1 = Fault present Bit 11 LED_ALM: LED alarm status diagnostic flag This bit indicates the status of LED_ALM (and the LED_ALM pin). 0 = No fault (default after reset) 1 = Fault present Bit 10 LED1OPEN: LED1 open diagnostic flag This bit indicates that LED1 is open. 0 = No fault (default after reset) 1 = Fault present Bit 9 LED2OPEN: LED2 open diagnostic flag This bit indicates that LED2 is open. 0 = No fault (default after reset) 1 = Fault present This bit indicates that LED2 is open. 0 = No fault (default after reset) 1 = Fault present Bit 8 LEDSC: LED short diagnostic flag This bit indicates an LED short. 0 = No fault (default after reset) 1 = Fault present Bit 7 OUTPSHGND: OUTP to GND diagnostic flag This bit indicates that OUTP is shorted to the GND cable. 0 = No fault (default after reset) 1 = Fault present Bit 6 OUTNSHGND: OUTN to GND diagnostic flag This bit indicates that OUTN is shorted to the GND cable. 0 = No fault (default after reset) 1 = Fault present Bit 5 PDOC: PD open diagnostic flag This bit indicates that PD is open. 0 = No fault (default after reset) 1 = Fault present 70 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com Bit 4 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 PDSC: PD short diagnostic flag This bit indicates a PD short. 0 = No fault (default after reset) 1 = Fault present Bit 3 INNSCGND: INN to GND diagnostic flag This bit indicates a short from the INN pin to the GND cable. 0 = No fault (default after reset) 1 = Fault present Bit 2 INPSCGND: INP to GND diagnostic flag This bit indicates a short from the INP pin to the GND cable. 0 = No fault (default after reset) 1 = Fault present Bit 1 INNSCLED: INN to LED diagnostic flag This bit indicates a short from the INN pin to the LED cable. 0 = No fault (default after reset) 1 = Fault present Bit 0 INPSCLED: INP to LED diagnostic flag This bit indicates a short from the INP pin to the LED cable. 0 = No fault (default after reset) 1 = Fault present Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 71 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 9 Applications and Implementation 9.1 Application Information The AFE4400 can be used for measuring SPO2 and for monitoring heart rate. The high dynamic range of the device enables measuring SPO2 with a high degree of accuracy even under low-perfusion (ac-to-dc ratio) conditions. An SPO2 measurement system involves two different wavelength LEDs—usually Red and IR. By computing the ratio of the ac to dc at the two different wavelengths, the SPO2 can be calculated. Heart rate monitoring systems can also benefit from the high dynamic range of the device, which enables capturing a highfidelity pulsating signal even in cases where the signal strength is low. For more information on application guidelines, refer to the AFE44x0SPO2EVM User's Guide (SLAU480). 9.2 Typical Application Device connections in a typical application are shown in Figure 108. Refer to the AFE44x0SPO2EVM User's Guide (SLAU480) for more details. The schematic in Figure 108 is a part of the AFE44x0SPO2EVM and shows a cabled application in which the LEDs and photodiode are connected to the AFE4400 through a cable. However, in an application without cables, the LEDs and photodiode can be directly connected to the TXP, TXN and INP, INN pins directly, as shown in the Design Requirements section. C6 Y1 1 C7 2 8 MHz 18 pF R17 R16 0Ω 0Ω 18 pF DNI RX_DIG_SUP R20 R22 RX_ANA_SUP TP11 130 Ω 130 Ω R15 0 Ω XIN_MSP C10 0.1 µF 40 39 38 37 36 35 34 33 32 31 C9 0.1 µF RX_ANA_SUP TP7 VCM_AFE R28 DET_P R32 R36 R40 130 Ω 130 Ω 130 Ω 3 1.00 kΩ R41 TP14 NellCor DS-100A PulseOx Connectors 2 D2 BAV99W-7-F 75 V DB9-F J2 10 11 C12 0.01 µF 1 130 Ω INM INP RX_ANA_GND VCM DNC DNC BG VSS RSVD DNC VBG C41 2.2 µF C42 2.2 µF 11 12 13 14 15 16 17 18 19 20 5 9 4 8 3 7 2 6 1 1 2 3 4 5 6 7 8 9 10 TX_CTRL_SUP LED_DRV_GND LED_DRV_GND TXM TXP LED_DRV_GND LED_DRV_SUP LED_DRV_SUP RX_DIG_GND AFE_PDNZ D1 BAV99W-7-F 75 V 0 Ω IN_N 0 Ω IN_P R98 10 kΩ CLK_OUT RESETZ ADC_RDY SPI_STE SPI_SIMO SPI_SOMI SPI_CLK PD_ALM LED_ALM DIAG_END R23 30 29 28 27 26 25 24 23 22 21 AFE_CLKOUT AFE_RESETZ ADC_RDY STE SIMO SOMI SCLK PD_ALM LED_ALM DIAG_END TP20 AFE_PDNZ TX_CTRL_SUP 10 Ω EP TP12 TP13 R24 R27 TP6 41 3 TP8 1 2 RX_DIG_SUP U1 AFE4400 RX_ANA_GND RX_ANA_SUP XIN XOUT RX_ANA_GND RX_OUTP RX_OUTN RX_ANA_SUP RX_DIG_GND RX_DIG_SUP VCM_SHIELD DET_N AFE_PDNZ LED_DRV_SUP DB9-F-TP C16 0.1 µF LED_DRV_SUP C15 1 µF TP22 R44 0Ω Jumper TX_LED_N TX_N 3 TP17 TP25 2 1 D3 BAV99W-7-F 75 V 0Ω R48 Jumper 3 TX_LED_P TP23 2 TP30 TX_P 1 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. Figure 108. AFE44x0SPO2EVM: Connections to the AFE4490 72 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Typical Application (continued) 9.2.1 Design Requirements An SPO2 application usually involves a Red LED and an IR LED. These LEDs can be connected either in the common anode configuration or H-bridge configuration to the TXP, TXN pins. Figure 109 shows common anode configuration and Figure 110 shows H-bridge configuration. LED_DRV_SUP LED_DRV_SUP LED2 Controls LED1 Controls IR RED IR TXM TXP TXM TXP LED2 Controls RED LED1 Controls LED2 Controls LED1 Controls LED_DRV_GND LED_DRV_GND Figure 109. LEDs in Common Anode Configuration Figure 110. LEDs in H-Bridge Configuration 9.2.2 Detailed Design Procedure The photodiode receives the light from both the Red and IR phases and usually has good sensitivities at both these wavelengths. The photodiode connected in this manner operates in zero bias because of the negative feedback from the transimpedance amplifier. The connections of the photodiode to the AFE inputs are shown in Figure 111. INP INN Figure 111. Photodiode Connection Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 73 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com Typical Application (continued) The signal current generated by the photodiode is converted into a voltage by the transimpedance amplifier, which has a programmable transimpedance gain. The rest of the signal chain then presents a voltage to the ADC. The full-scale output of the transimpedance amplifier is ±1 V and the full-scale input to the ADC is ±1.2 V. An automatic gain control loop can be used to set the target dc voltage at the ADC input to approximately 50% of full scale. This type of AGC loop can control a combination of LED current and TIA gain to achieve this target value; see Figure 112. +1.2 V ADC max (Differential) +1 V TIA max (Differential) +0.6 V Ideal Operating Point 0V TIA min (Differential) -1 V ADC min (Differential) -1.2 V Figure 112. AGC Loop 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. 74 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 Typical Application (continued) 9.2.3 Application Curve The dc component of the current from the PPG signal is referred to as Pleth (short for photoplethysmography) current. The input-referred noise current (referred differentially to the INP, INN inputs) as a function of the Pleth current is shown in Figure 113 at a PRF of 100 Hz and for various duty cycles of LED pulsing. For example, a duty cycle of 25% refers to a case where the LED is pulsed for 25% of the pulse repetition period and the receiver samples the photodiode current for the same period of time. The noise shown in Figure 113 is the integrated noise over a 5-Hz bandwidth from dc. Input Referred Noise Current, pA rms in 5Hz Bandwidth 1200 Duty Cycle = 1% Duty Cycle = 5% Duty Cycle = 10% Duty Cycle = 15% Duty Cycle = 20% Duty Cycle = 25% 1000 800 600 400 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). Noise is calculated in 5Hz B/W. 200 0 0 10 20 30 40 50 Pleth Current (A) C004 Figure 113. Input-Referred Noise Current vs Pleth Current (PRF = 100 Hz) Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 75 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 10 Power Supply Recommendations The AFE4400 has two sets of supplies: the receiver supplies (RX_ANA_SUP, RX_DIG_SUP) and the transmitter supplies (TX_CTRL_SUP, LED_DRV_SUP). The receiver supplies can be between 2.0 V to 3.6 V, whereas the transmitter supplies can be between 3.0 V to 5.25 V. Another consideration that determines the minimum allowed value of the transmitter supplies is the forward voltage of the LEDs being driven. The current source and switches inside the AFE require voltage headroom that mandates the transmitter supply to be a few hundred millivolts higher than the LED forward voltage. TX_REF is the voltage that governs the generation of the LED current from the internal reference voltage. Choosing the lowest allowed TX_REF setting reduces the additional headroom required but results in higher transmitter noise. Other than for the highest-end clinical SPO2 applications, this extra noise resulting from a lower TX_REF setting can be acceptable. LED_DRV_SUP and TX_CTRL_SUP are recommended to be tied together to the same supply (between 3.0 V to 5.25 V). The external supply (connected to the common anode of the two LEDs) must be high enough to account for the forward drop of the LEDs as well as the voltage headroom required by the current source and switches inside the AFE. In most cases, this voltage is expected to fall below 5.25 V; thus the external supply can be the same as LED_DRV_SUP. However, there may be cases (for instance when two LEDs are connected in series) where the voltage required on the external supply is higher than 5.25 V. Such a case must be handled with care to ensure that the voltage on the TXP and TXN pins remains less than 5.25 V and never exceeds the supply voltage of LED_DRV_SUP, TX_CTRL_SUP by more than 0.3 V. Many scenarios of power management are possible. Case 1: The LED forward voltage is such that a voltage of 3.3 V is acceptable on LED_DRV_SUP. In this case, a single 3.3-V supply can be used to drive all four pins (RX_ANA_SUP, RX_DIG_SUP, TX_CTRL_SUP, LED_DRV_SUP). Care should be taken to provide some isolation between the transmit and receive supplies because LED_DRV_SUP carries the high-switching current from the LEDs. Case 2: A low-voltage supply of 2.2 V is available in the system. In this case, a boost converter can be used to derive the voltage for LED_DRV_SUP, as shown in Figure 114. 2.2-V supply (Connect to RX_ANA, RX_DIG) Boost Converter 3.6 V (Connect to LED_DRV_SUP, TX_CTRL_SUP) Figure 114. Boost 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. 76 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 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) LDO 2.2-V supply (Connect to RX_ANA, RX_DIG) Figure 115. Buck Converter or an LDO For more information on power-supply recommendations, see the AFE44x0SPO2EVM User's Guide (SLAU480). Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 77 AFE4400 SBAS601H – DECEMBER 2012 – REVISED JULY 2014 www.ti.com 11 Layout 11.1 Layout Guidelines Some key layout guidelines are mentioned below: 1. TXP, TXN are fast-switching lines and should be routed away from sensitive reference lines as well as from the INP, INN inputs. 2. If the INP, INN lines are required to be routed over a long trace, TI recommends that VCM be used as a shield for the INP, INN lines. 3. The device can draw high-switching currents from the LED_DRV_SUP pin. Therefore, TI recommends having a decoupling capacitor electrically close to the pin. 11.2 Layout Example Figure 116. Typical Layout of the AFE4400 Board 78 Submit Documentation Feedback Copyright © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 AFE4400 www.ti.com SBAS601H – DECEMBER 2012 – REVISED JULY 2014 12 Device and Documentation Support 12.1 Trademarks SPI is a trademark of Motorola. All other trademarks are the property of their respective owners. 12.2 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.3 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 © 2012–2014, Texas Instruments Incorporated Product Folder Links: AFE4400 79 PACKAGE OPTION ADDENDUM www.ti.com 10-Dec-2020 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Pins Package Drawing Qty Eco Plan (2) Lead finish/ Ball material MSL Peak Temp Op Temp (°C) Device Marking (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
AFE4400RHAT 价格&库存

很抱歉,暂时无法提供与“AFE4400RHAT”相匹配的价格&库存,您可以联系我们找货

免费人工找货
AFE4400RHAT
    •  国内价格
    • 1+54.28000

    库存:27

    AFE4400RHAT
    •  国内价格 香港价格
    • 1+68.636021+8.24090
    • 10+53.1695310+6.38389
    • 25+49.3060725+5.92002
    • 100+45.05526100+5.40964

    库存:762

    AFE4400RHAT
    •  国内价格 香港价格
    • 250+37.02349250+4.44529

    库存:762