Ads 1299
Ads 1299
Ads 1299
FEATURES
Eight Low-Noise PGAs and Eight HighResolution Simultaneous-Sampling ADCs Very Low Input-Referred Noise: 1.0 VPP (70-Hz BW) Low Power: 5 mW/channel Input Bias Current: 300 pA Data Rate: 250 SPS to 16 kSPS CMRR: 110 dB Programmable Gain: 1, 2, 4, 6, 8, 12, or 24 Unipolar or Bipolar Supplies: Analog: 4.75 V to 5.25 V Digital: 1.8 V to 3.6 V Built-In Bias Drive Amplifier, Lead-Off Detection, Test Signals Built-In Oscillator Internal or External Reference Flexible Power-Down, Standby Mode Pin-Compatible with the ADS1298IPAG SPI-Compatible Serial Interface Operating Temperature Range: 40C to +85C
23
With its high levels of integration and exceptional performance, the ADS1299 enables the creation of scalable medical instrumentation systems at significantly reduced size, power, and overall cost. The ADS1299 has a flexible input multiplexer per channel that can be independently connected to the internally-generated signals for test, temperature, and lead-off detection. Additionally, any configuration of input channels can be selected for derivation of the patient bias output signal. The ADS1299 operates at data rates from 250 SPS to 16 kSPS. Lead-off detection can be implemented internal to the device, either with an external pull-up or pull-down resistor or an excitation current sink or source. Multiple ADS1299 devices can be cascaded in high channel count systems in a daisy-chain configuration. The ADS1299 is offered in a TQFP-64 package specified from 40C to +85C.
REF Test Signals and Monitors
Reference
SPI
A1
ADC1
SPI
A2
ADC2
A3
ADC3
CLK
INPUTS
APPLICATIONS
Medical Instrumentation (EEG and ECG) Including: EEG, Bispectral index (BIS), Evoked audio potential (EAP), Sleep study monitor High-Precision, Simultaneous, Multichannel Signal Acquisition
A4 MUX
ADC4 Control
Oscillator
A5
ADC5
A6
ADC6
A7
ADC7
A8 To Channel
ADC8
DESCRIPTION
The ADS1299 is a low-noise, multichannel, simultaneous-sampling, 24-bit, delta-sigma () analog-to-digital converter (ADC) with a built-in programmable gain amplifier (PGA), internal reference, and an onboard oscillator. The ADS1299 incorporates all commonly-required features for electroencephalogram (EEG) applications.
PATIENT BIAS AND REFERENCE
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. SPI is a trademark of Motorola. All other trademarks are the property of their respective owners.
Copyright 2012, Texas Instruments Incorporated
PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters.
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
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.
For the most current package and ordering information, see the Package Option Addendum at the end of this document, or visit the device product folder at www.ti.com.
Stresses above these ratings may cause permanent damage. Exposure to absolute maximum conditions for extended periods may degrade device reliability. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those specified is not implied.
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
ELECTRICAL CHARACTERISTICS
Minimum and maximum specifications apply from 40C to +85C. Typical specifications are at +25C. All specifications are at DVDD = 3.3 V, AVDD AVSS = 5 V, VREF = 4.5 V, external fCLK = 2.048 MHz, data rate = 250 SPS, and gain = 12, unless otherwise noted.
ADS1299 PARAMETER ANALOG INPUTS Full-scale differential input voltage (AINP AINN) Input common-mode range Ci IIB Input capacitance Input bias current TA = +25C, input = 2.5 V TA = 40C to +85C, input = 2.5 V No lead-off DC input impedance PGA PERFORMANCE Gain settings BW Bandwidth 1, 2, 4, 6, 8, 12, 24 See Table 5 Current source lead-off detection (ILEADOFF = 6 nA) 1000 500 300 VREF / gain See the Input Common-Mode Range subsection of the PGA Settings and Input Range section 20 300 pF pA pA M M V TEST CONDITIONS MIN TYP MAX UNIT
ADC PERFORMANCE Resolution DR Data rate fCLK = 2.048 MHz 10 seconds of data, gain = 24 (1) 250 points, 1 second of data, gain = 24, TA = +25C 250 points, 1 second of data, gain = 24, TA = 40C to +85C All other sample rates and gain settings INL EO EG Integral nonlinearity Offset error Offset error drift Gain error Gain drift Gain match between channels CHANNEL PERFORMANCE (AC Performance) CMRR PSRR Common-mode rejection ratio Power-supply rejection ratio Crosstalk SNR THD Signal-to-noise ratio Total harmonic distortion fCM = 50 Hz and 60 Hz (2) fPS = 50 Hz and 60 Hz fIN = 50 Hz and 60 Hz VIN = 2 dBFs, fIN = 10-Hz input, gain = 12 VIN = 0.5 dBFs, fIN = 10 Hz 110 120 96 110 121 99 dB dB dB dB dB Excluding voltage reference error Excluding voltage reference drift Full-scale with gain = 12, best fit 24 250 16000 Bits SPS
CHANNEL PERFORMANCE (DC Performance) 1.0 1.0 1.0 See Noise Measurements section 8 60 80 0.1 3 0.2 0.5 ppm V nV/C % of FS ppm/C % of FS 1.35 1.6 VPP VPP VPP
(1) (2)
Noise data measured in a 10-second interval. Test not performed in production. Input-referred noise is calculated with the input shorted (without electrode resistance) over a 10-second interval. CMRR is measured with a common-mode signal of AVSS + 0.3 V to AVDD 0.3 V. The values indicated are the minimum of the eight channels.
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
TEST CONDITIONS
MIN
TYP
MAX
UNIT
BW = 150 Hz 50 k || 10 pF load, gain = 1 50 k || 10 pF load, gain = 1 fIN = 10 Hz, gain = 1 AVSS + 0.3
Hz Hz nA nA A A % mV
V V V k
V % ppm ms
% % ms s mV V/C Hz mV %
TA = +25C
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
POWER-SUPPLY REQUIREMENTS Analog supply (AVDD AVSS) DVDD Digital supply AVDD DVDD SUPPLY CURRENT (Bias Turned Off) IAVDD IDVDD Normal mode AVDD AVSS = 5 V DVDD = 3.3 V DVDD = 1.8 V 7.14 1 0.5 mA mA mA 4.75 1.8 2.1 5 1.8 5.25 3.6 3.6 V V V
POWER DISSIPATION (Analog Supply = 5 V, Bias Amplifiers Turned Off) Normal mode Quiescent power dissipation Power-down Standby mode, internal reference Quiescent power dissipation, per channel TEMPERATURE Specified Temperature range Operating Storage 40 40 60 +85 +85 +150 C C C Normal mode 39 10 5.1 4.3 42 mW W mW mW
THERMAL INFORMATION
ADS1299 THERMAL METRIC JA JCtop JB JT JB JCbot (1) Junction-to-ambient thermal resistance Junction-to-case (top) thermal resistance Junction-to-board thermal resistance Junction-to-top characterization parameter Junction-to-board characterization parameter Junction-to-case (bottom) thermal resistance
(1)
UNITS
C/W
For more information about traditional and new thermal metrics, see the IC Package Thermal Metrics application report, SPRA953.
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
(1)
At least 1000 consecutive readings were used to calculate the RMS and peak-to-peak noise values in this table.
Table 2. Input-Referred Noise (VRMS / VPP) in Normal Mode 5-V Analog Supply and 4.5-V Reference (1)
PGA GAIN = 4 DR BITS OF CONFIG1 REGISTER 000 001 010 011 100 101 110 111 OUTPUT DATA RATE (SPS) 16000 8000 4000 2000 1000 500 250 n/a 3-dB BANDWIDTH (Hz) 4193 2096 1048 524 262 131 65 n/a NOISEFREE BITS 15.81 17.31 17.99 18.49 18.99 19.49 19.99 PGA GAIN = 6 NOISEFREE BITS 15.76 17.32 17.82 18.32 18.81 19.31 19.82
(1)
At least 1000 consecutive readings were used to calculate the RMS and peak-to-peak noise values in this table.
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Table 3. Input-Referred Noise (VRMS / VPP) in Normal Mode 5-V Analog Supply and 4.5-V Reference (1)
PGA GAIN = 8 DR BITS OF CONFIG1 REGISTER 000 001 010 011 100 101 110 111 OUTPUT DATA RATE (SPS) 16000 8000 4000 2000 1000 500 250 n/a 3-dB BANDWIDTH (Hz) 4193 2096 1048 524 262 131 65 n/a NOISEFREE BITS 15.69 17.14 17.64 18.14 18.64 19.14 19.64 PGA GAIN = 12 NOISEFREE BITS 15.53 16.84 17.34 17.84 18.34 18.83 19.34
(1)
At least 1000 consecutive readings were used to calculate the RMS and peak-to-peak noise values in this table.
Table 4. Input-Referred Noise (VRMS / VPP) in Normal Mode 5-V Analog Supply and 4.5-V Reference (1)
PGA GAIN = 24 DR BITS OF CONFIG1 REGISTER 000 001 010 011 100 101 110 111 OUTPUT DATA RATE (SPS) 16000 8000 4000 2000 1000 500 250 n/a 3-dB BANDWIDTH (Hz) 4193 2096 1048 524 262 131 65 n/a NOISEFREE BITS 14.98 16.04 16.54 17.04 17.54 18.04 18.54
(1)
At least 1000 consecutive readings were used to calculate the RMS and peak-to-peak noise values in this table.
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
TIMING CHARACTERISTICS
tCLK CLK tCSSC CS tSCLK SCLK 1 2 tDIST DIN tCSDOD Hi-Z DOUT tCSDOZ Hi-Z 3 tDIHD 8 tSPWH 1 tDOPD 2 tSDECODE tSPWL 3 tDOHD 8 tCSH tSCCS
DOUT
MSB
LSB
MSBD1
Figure 2. Daisy-Chain Interface Timing Timing Requirements For Figure 1 and Figure 2 (1)
2.7 V DVDD 3.6 V PARAMETER tCLK tCSSC tSCLK tSPWH, tDIST tDIHD tDOHD tDOPD tCSH tCSDOD tSCCS tSDECODE tCSDOZ tDISCK2ST tDISCK2HT (1)
L
1.8 V DVDD 2 V MIN 444 17 66.6 25 10 11 10 TYP MAX 666 UNIT ns ns ns ns ns ns ns 32 2 20 4 4 ns tCLKs ns tCLKs tCLKs 20 10 10 ns ns ns
DESCRIPTION Master clock period CS low to first SCLK, setup time SCLK period SCLK pulse width, high and low DIN valid to SCLK falling edge: setup time Valid DIN after SCLK falling edge: hold time SCLK falling edge to invalid DOUT: hold time SCLK rising edge to DOUT valid: setup time CS high pulse CS low to DOUT driven Eighth SCLK falling edge to CS high Command decode time CS high to DOUT Hi-Z Valid DAISY_IN to SCLK rising edge: setup time Valid DAISY_IN after SCLK rising edge: hold time
MIN 444 6 50 15 10 10 10
TYP
MAX 666
17 2 10 4 4 10 10 10
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
PIN CONFIGURATION
PAG PACKAGE TQFP-64 (TOP VIEW)
64 RESERVED 63 BIASOUT 60 BIASREF 61 BIASINV 52 CLKSEL
54 AVDD1
62 BIASIN
55 VCAP3
53 AVSS1
51 DGND
49 DGND
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
50 DVDD
59 AVDD
56 AVDD
58 AVSS
57 AVSS
1 2 3 4 5 6 7 8 9
DVDD DRDY GPIO4 GPIO3 GPIO2 DOUT GPIO1 DAISY_IN SCLK CS START CLK RESET PWDN DIN DGND
SRB1 17
SRB2 18
AVDD 19
AVSS 20
AVDD 21
AVDD 22
AVSS 23
VREFP 24
VREFN 25
VCAP4 26
NC 27
VCAP1 28
NC 29
VCAP2 30
RESV1 31
PIN ASSIGNMENTS
NAME AVDD AVDD AVDD1 AVSS AVSS AVSS1 BIASIN BIASINV BIASOUT BIASREF CS CLK CLKSEL DAISY_IN DGND DIN DOUT DRDY TERMINAL 19, 21, 22, 56 59 54 20, 23, 32, 57 58 53 62 61 63 60 39 37 52 41 33, 49, 51 34 43 47 FUNCTION Supply Supply Supply Supply Supply Supply Analog input Analog input/output Analog output Analog input Digital input Digital input Digital input Digital input Supply Digital input Digital output Digital output DESCRIPTION Analog supply Charge pump analog supply Analog supply Analog ground Charge pump analog ground Analog ground Bias drive input to MUX Bias drive inverting input Bias drive output Bias drive noninverting input SPI chip select; active low Master clock input Master clock select Daisy-chain input Digital ground SPI data in SPI data out Data ready; active low
AVSS 32
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
(1)
10
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
TYPICAL CHARACTERISTICS
All plots are at TA = +25C, AVDD = 5 V, AVSS = 0 V, DVDD = 3.3 V, internal VREFP = 4.5 V, VREFN = AVSS, external clock = 2.048 MHz, data rate = 250 SPS, and gain = 12, unless otherwise noted.
INPUT-REFERRED NOISE
0.5 0.4 InputReferred Noise (V) 0.3 0.2
Occurences 600 500 400 300 200 100 800
NOISE HISTOGRAM
Gain = 24
700 Gain = 24
0 0.5 0.4 0.3 0.2 0.1 0.1 0.2 0.3 0.4 0.5
G004
1000
G008
Figure 7.
Figure 8.
11
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
Figure 9.
INL vs TEMPERATURE
8 6 Integral Nonlinearity (ppm) 4 2 0 2 4 6 8 10 1 +25C 40C +85C 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 Input Range (Normalized to FullScale) Gain = 12
180
50
200
250
G012
1 PGA Gain
10
30
G014
Figure 13.
Figure 14.
12
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Number of Bins
Number of Bins
50 40 30 20 10 0
50 40 30 20 10 0
-15
-10
10
15
20
25
30
-0.29
-0.18
-0.53
-0.41
-0.06
0.06
0.18
0.42
0.54
0.66
-20
0.3
Error (%)
35
G016
Figure 15.
Figure 16.
Figure 17.
13
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
OVERVIEW
The ADS1299 is a low-noise, low-power, multichannel, simultaneously-sampling, 24-bit, delta-sigma () analogto-digital converter (ADC) with an integrated programmable gain amplifier (PGA). This device integrates various EEG-specific functions that makes it well-suited for scalable electroencephalography (EEG) applications. The device can also be used in high-performance, multichannel, data acquisition systems by powering down the EEG-specific circuitry. The ADS1299 has a highly-programmable multiplexer that allows for temperature, supply, input short, and bias measurements. Additionally, the multiplexer allows any input electrodes to be programmed as the patient reference drive. The PGA gain can be chosen from one of seven settings (1, 2, 4, 6, 8, 12, and 24). The ADCs in the device offer data rates from 250 SPS to 16 kSPS. Communication to the device is accomplished using an SPI-compatible interface. The device provides four general-purpose input/output (GPIO) pins for general use. Multiple devices can be synchronized using the START pin. The internal reference can be programmed to 4.5 V. The internal oscillator generates a 2.048-MHz clock. The versatile patient bias drive block allows the average of any electrode combination to be chosen in order to generate the patient drive signal. Lead-off detection can be accomplished by using a current source or sink. A one-time, in-band, lead-off option and a continuous, out-of-band, internal lead-off option are available. Refer to Figure 18 for a block diagram.
14
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
AVDD AVDD1
VREFP VREFN
DVDD
IN1P
Low-Noise PGA1
DRDY
DS ADC1
SPI
IN1N
IN2P
Low-Noise PGA2
DS ADC2
IN2N
IN3P
Low-Noise PGA3
DS ADC3
DS ADC4
Oscillator
CLK
IN4N
MUX
Control
Low-Noise PGA5
IN5P
DS ADC5
IN5N
IN6P
Low-Noise PGA6
DS ADC6
IN6N
PWDN
IN7P
Low-Noise PGA7
DS ADC7
IN7N
RESET
IN8P
Low-Noise PGA8
START
DS ADC8
IN8N
BIAS Amplifier
BIASIN
SRB2
SRB1
AVSS AVSS1
BIAS INV
DGND
15
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
THEORY OF OPERATION
This section contains details of the ADS1299 internal functional elements. The analog blocks are discussed first, followed by the digital interface. Blocks implementing EEG-specific functions are covered at the end of this document. Throughout this document, fCLK denotes the CLK pin signal frequency, tCLK denotes the CLK pin signal period, fDR denotes the output data rate, tDR denotes the output data time period, and fMOD denotes the frequency at which the modulator samples the input.
INPUT MULTIPLEXER
The ADS1299 input multiplexers are very flexible and provide many configurable signal-switching options. Figure 19 shows the multiplexer on a single channel of the device. Note that the device has eight such blocks, one for each channel. SRB1, SRB2, and BIASIN are common to all eight blocks. VINP and VINN are separate for each of the eight blocks. This flexibility allows for significant device and sub-system diagnostics, calibration, and configuration. Switch setting selections for each channel are made by writing the appropriate values to the CHnSET[3:0] register (see the CHnSET: Individual Channel Settings section for details) by writing the BIAS_MEAS bit in the CONFIG3 register and the SRB1 bit in the MISC1 register (see the CONFIG3: Configuration Register 3 subsection of the Register Map section for details). Refer to the Input Multiplexer subsection of the EEG-Specifc Functions section for further information regarding the EEG-specific features of the multiplexer.
To Ne"# $%&''e() INT_TEST TESTP MUX[2:0] = 101 TempP MVDDP From LOFFP VINP $*"SET+,- . / MUX[2:0] =111 VINN From LoffN
(AVDD+AVSS) 2
To Ne"# $%&''e()
Device MUX
To PGAP
(VREFP + VREFN) 2
MVDDN TempN
TESTM SR /
SR 2
IAS!IN
IASREF
(1) MAIN is equal to either MUX[2:0] = 000, MUX[2:0] = 110, or MUX[2:0] = 111.
16
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Device Noise Measurements Setting CHnSET[2:0] = 001 sets the common-mode voltage of [(VREFP + VREFN) / 2] to both channel inputs. This setting can be used to test inherent device noise in the user system. Test Signals (TestP and TestN) Setting CHnSET[2:0] = 101 provides internally-generated test signals for use in sub-system verification at powerup. This functionality allows the device internal signal chain to be tested out. Test signals are controlled through register settings (see the CONFIG2: Configuration Register 2 subsection in the Register Map section for details). TEST_AMP controls the signal amplitude and TEST_FREQ controls switching at the required frequency. Temperature Sensor (TempP, TempN) The ADS1299 contains an on-chip temperature sensor. This sensor uses two internal diodes with one diode having a current density 16x that of the other, as shown in Figure 20. The difference in diode current densities yields a voltage difference proportional to absolute temperature. As a result of the low thermal resistance of the package to the printed circuit board (PCB), the internal device temperature tracks PCB temperature closely. Note that self-heating of the ADS1299 causes a higher reading than the temperature of the surrounding PCB. The scale factor of Equation 1 converts the temperature reading to degrees Celsius. Before using this equation, the temperature reading code must first be scaled to microvolts.
Temperature (C) =
+ 25C
(1)
1x
8x
1x
AVSS
Figure 20. Temperature Sensor Measurement in the Input Supply Measurements (MVDDP, MVDDN) Setting CHnSET[2:0] = 011 sets the channel inputs to different supply voltages of the device. For channels 1, 2, 5, 6, 7, and 8, (MVDDP MVDDN) is [0.5 (AVDD + AVSS)]; for channels 3 and 4, (MVDDP MVDDN) is DVDD / 4. Note that to avoid saturating the PGA while measuring power supplies, the gain must be set to '1'. Lead-Off Excitation Signals (LoffP, LoffN) The lead-off excitation signals are fed into the multiplexer before the switches. The comparators that detect the lead-off condition are also connected to the multiplexer block before the switches. For a detailed description of the lead-off block, refer to the Lead-Off Detection subsection in the EEG-Specific Functions section.
17
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
Auxiliary Single-Ended Input The BIASIN pin is primarily used for routing the bias signal to any electrodes in case the bias electrode falls off. However, the BIASIN pin can be used as a multiple single-ended input channel. The signal at the BIASIN pin can be measured with respect to the voltage at the BIASREF pin using any of the eight channels. This measurement is done by setting the channel multiplexer setting to '010' and the BIAS_MEAS bit of the CONFIG3 register to '1'.
ANALOG INPUT
The ADS1299 analog input is fully differential. Assuming PGA = 1, the input (INP INN) can span between VREF to +VREF. Refer to Table 7 for an explanation of the correlation between the analog input and digital codes. There are two general methods of driving the ADS1299 analog input: single-ended or differential (as shown in Figure 21 and Figure 22, respectively). Note that INP and INN are 180C out-of-phase in the differential input method. When the input is single-ended, the INN input is held at the common-mode voltage, preferably at midsupply. The INP input swings around the same common voltage and the peak-to-peak amplitude is (commonmode + 1/2 VREF) and (common-mode 1/2 VREF). When the input is differential, the common-mode is given by [(INP + INN) / 2]. Both INP and INN inputs swing from (common-mode + 1/2 VREF) to (common-mode 1/2 VREF). For optimal performance, the ADS1299 is recommended to be used in a differential configuration.
-1/2 VREF to +1/2 VREF Common Voltage
Figure 22. Using the ADS1299 in Single-Ended and Differential Input Modes
18
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Low-Noise PgaN
From MuxN
The PGA resistor string that implements the gain has 39.6 k of resistance for a gain of 12. This resistance provides a current path across the PGA outputs in the presence of a differential input signal. This current is in addition to the quiescent current specified for the device in the presence of a differential signal at the input.
19
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
Input Common-Mode Range The usable input common-mode range of the front-end depends on various parameters, including the maximum differential input signal, supply voltage, PGA gain, and so forth. This range is described in Equation 2:
AVDD - 0.2 Gain VMAX_DIFF 2 > CM > AVSS + 0.2 + Gain VMAX_DIFF 2
where: VMAX_DIFF = maximum differential signal at the PGA input CM = common-mode range For example: If VDD = 5 V, gain = 12, and VMAX_DIFF = 350 mV Then 2.3 V < CM < 2.7 V Input Differential Dynamic Range The differential (INP INN) signal range depends on the analog supply and reference used in the system. This range is shown in Equation 3. VREF VREF 2 VREF Max (INP - INN) < ; Full-Scale Range = = Gain Gain Gain (3) The 5-V supply, with a reference of 4.5 V and a gain of 12 for EEGs, is optimized for power with a differential input signal of approximately 300 mV. ADC Modulator Each ADS1299 channel has a 24-bit, ADC. This converter uses a second-order modulator optimized for lownoise applications. The modulator samples the input signal at the rate of (fMOD = fCLK / 2). As in the case of any modulator, the ADS1299 noise is shaped until fMOD / 2, as shown in Figure 24. The on-chip digital decimation filters explained in the next section can be used to filter out the noise at higher frequencies. These on-chip decimation filters also provide antialias filtering. This converter feature drastically reduces the complexity of the analog antialiasing filters typically required with nyquist ADCs.
0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 0.001
(2)
1
G001
20
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
(4)
The frequency domain transfer function of the sinc filter is shown in Equation 5.
sin H(f) = N sin Npf fMOD pf fMOD
(5)
21
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
The sinc filter has notches (or zeroes) that occur at the output data rate and multiples thereof. At these frequencies, the filter has infinite attenuation. Figure 25 shows the sinc filter frequency response and Figure 26 shows the sinc filter roll-off. With a step change at input, the filter takes 3 tDR to settle. After a rising edge of the START signal, the filter takes tSETTLE time to give the first data output. The settling time of the filters at various data rates are discussed in the START subsection of the SPI Interface section. Figure 27 and Figure 28 show the filter transfer function until fMOD / 2 and fMOD / 16, respectively, at different data rates. Figure 29 shows the transfer function extended until 4 fMOD. The ADS1299 pass band repeats itself at every fMOD. The input R-C antialiasing filters in the system should be chosen such that any interference in frequencies around multiples of fMOD are attenuated sufficiently.
0 -20 -40
0 -0.5 -1
Gain (dB)
-60 -80 -100 -120 -140 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Normalized Frequency (fIN / fDR)
Gain (dB)
-1.5 -2 -2.5 -3 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 Normalized Frequency (fIN / fDR)
0.01
0.06
0.07
G028
22
ADS1299
www.ti.com 0 20 40 Gain (dB) 60 80 100 120 140 SBAS499A JULY 2012 REVISED AUGUST 2012
0.5
3.5
4
G029
Figure 29. Transfer Function of On-Chip Decimation Filters Until 4 fMOD for DR[2:0] = 000 and DR[2:0] = 110
REFERENCE
Figure 30 shows a simplified block diagram of the ADS1299 internal reference. The 4.5-V reference voltage is generated with respect to AVSS. When using the internal voltage reference, connect VREFN to AVSS.
100 mF
VCAP1 R1 Bandgap
(1)
4.5 V
(1)
VREFP
R3
10 mF R2
(1)
VREFN
Figure 30. Internal Reference The external band-limiting capacitors determine the amount of reference noise contribution. For high-end EEG systems, the capacitor values should be chosen such that the bandwidth is limited to less than 10 Hz so that the reference noise does not dominate system noise. Alternatively, the internal reference buffer can be powered down and VREFP can be applied externally. Figure 31 shows a typical external reference drive circuitry. Power-down is controlled by the PD_REFBUF bit in the CONFIG3 register. This power-down is also used to share internal references when two devices are cascaded. By default, the device wakes up in external reference mode.
23
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
100 kW 10 pF +5 V 0.1 mF 100 W 100 W +5 V VIN OUT 22 mF 22 mF 100 mF OPA211 10 mF 0.1 mF To VREFP Pin
REF5025 TRIM
24
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
CLOCK
The ADS1299 provides two methods for device clocking: internal and external. Internal clocking is ideally suited for low-power, battery-powered systems. The internal oscillator is trimmed for accuracy at room temperature. Accuracy varies over the specified temperature range; see the Electrical Characteristics. Clock selection is controlled by the CLKSEL pin and the CLK_EN register bit. The CLKSEL pin selects either the internal or external clock. The CLK_EN bit in the CONFIG1 register enables and disables the oscillator clock to be output in the CLK pin. A truth table for these two pins is shown in Table 6. The CLK_EN bit is useful when multiple devices are used in a daisy-chain configuration. During power-down, the external clock is recommended be shut down to save power. Table 6. CLKSEL Pin and CLK_EN Bit
CLKSEL PIN 0 1 1 CONFIG1.CLK_EN BIT X 0 1 CLOCK SOURCE External clock Internal clock oscillator Internal clock oscillator CLK PIN STATUS Input: external clock 3-state Output: internal clock oscillator
DATA FORMAT
The ADS1299 outputs 24 bits of data per channel in binary twos complement format, MSB first. The LSB has a weight of [VREF / (223 1)]. A positive full-scale input produces an output code of 7FFFFFh and the negative fullscale input produces an output code of 800000h. The output clips at these codes for signals exceeding full-scale. Table 7 summarizes the ideal output codes for different input signals. All 24 bits toggle when the analog input is at positive or negative full-scale. Table 7. Ideal Output Code versus Input Signal (1)
INPUT SIGNAL, VIN (AINP AINN) VREF +VREF / (223 1) 0 VREF / (2
23
1)
Only valid for 24-bit resolution data rates. Excludes effects of noise, linearity, offset, and gain error.
25
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
SPI INTERFACE
The SPI-compatible serial interface consists of four signals: CS, SCLK, DIN, and DOUT. The interface reads conversion data, reads and writes registers, and controls ADS1299 operation. The DRDY output is used as a status signal to indicate when data are ready. DRDY goes low when new data are available. Chip Select (CS) Chip select (CS) selects the ADS1299 for SPI communication. CS must remain low for the entire serial communication duration. After the serial communication is finished, always wait four or more tCLK cycles before taking CS high. When CS is taken high, the serial interface is reset, SCLK and DIN are ignored, and DOUT enters a high-impedance state. DRDY asserts when data conversion is complete, regardless of whether CS is high or low. Serial Clock (SCLK) 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 on the DIN and DOUT pins into and out of the ADS1299. Even though the input has hysteresis, it is recommended to keep SCLK as clean as possible to prevent glitches from accidentally forcing a clock event. The absolute maximum SCLK limit is specified in the Serial Interface Timing table. When shifting in commands with SCLK, make sure that the entire set of SCLKs is issued to the device. Failure to do so can result in the device serial interface being placed into an unknown state, thus requiring CS to be taken high to recover. For a single device, the minimum speed required for SCLK depends on the number of channels, number of bits of resolution, and output data rate. (For multiple cascaded devices, see the Standard Mode subsection of the Multiple Device Configuration section.) For example, if the ADS1299 is used in a 500-SPS mode (8 channels, 24-bit resolution), the minimum SCLK speed is 110 kHz. Data retrieval can be accomplished either by placing the device in RDATAC mode or by issuing an RDATA command for data on demand. The SCLK rate limitation in Equation 6 applies to RDATAC. For the RDATA command, the limitation applies if data must be read in between two consecutive DRDY signals. Equation 6 assumes that there are no other commands issued in between data captures. tDR - 4 tCLK tSCLK < NBITS NCHANNELS + 24 (6) Data Input (DIN) The data input pin (DIN) is used along with SCLK to communicate with the ADS1299 (opcode commands and register data). The device latches data on DIN on the SCLK falling edge.
26
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Data Output (DOUT) The data output pin (DOUT) is used with SCLK to read conversion and register data from the ADS1299. Data on DOUT are shifted out on the SCLK rising edge. DOUT goes to a high-impedance state when CS is high. In read data continuous mode (see the SPI Command Definitions section for more details), the DOUT output line also indicates when new data are available. This feature can be used to minimize the number of connections between the device and system controller. Figure 32 shows the ADS1299 data output protocol.
DRDY CS SCLK 216 SCLKs DOUT STAT 24-Bit DIN CH1 24-Bit CH2 24-Bit CH3 24-Bit CH4 24-Bit CH5 24-Bit CH6 24-Bit CH7 24-Bit CH8 24-Bit
Figure 32. SPI Bus Data Output Data Retrieval Data retrieval can be accomplished in one of two methods. The read data continuous command (see the RDATAC: Read Data Continuous section) can be used to set the device in a mode to read data continuously without sending opcodes. The read data command (see the RDATA: Read Data section) can be used to read just one data output from the device (see the SPI Command Definitions section for more details). Conversion data are read by shifting data out on DOUT. The MSB of the data on DOUT is clocked out on the first SCLK rising edge. DRDY returns to high on the first SCLK falling edge. DIN should remain low for the entire read operation. The number of bits in the data output depends on the number of channels and the number of bits per channel. For the ADS1299, the number of data outputs is [(24 status bits + 24 bits 8 channels) = 216 bits]. The format of the 24 status bits is: (1100 + LOFF_STATP + LOFF_STATN + bits[4:7] of the GPIO register). The data format for each channel data are twos complement and MSB first. When channels are powered down using the user register setting, the corresponding channel output is set to '0'. However, the channel output sequence remains the same. The ADS1299 also provides a multiple readback feature. Data can be read out multiple times by simply giving more SCLKs, in which case the MSB data byte repeats after reading the last byte. The DAISY_EN bit in the CONFIG1 register must be set to '1' for multiple readbacks. Data Ready (DRDY) DRDY is an output. When DRDY transitions low, new conversion data are ready. The CS signal has no effect on the data ready signal. DRDY behavior is determined by whether the device is in RDATAC mode or the RDATA command is used to read data on demand. (See the RDATAC: Read Data Continuous and RDATA: Read Data subsections of the SPI Command Definitions section for further details). When reading data with the RDATA command, the read operation can overlap the next DRDY occurrence without data corruption. The START pin or the START command places the device either in normal data capture mode or pulse data capture mode.
27
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
Figure 33 shows the relationship between DRDY, DOUT, and SCLK during data retrieval (in case of an ADS1299 with a selected data rate that gives 24-bit resolution). DOUT is latched out at the SCLK rising edge. DRDY is pulled high at the SCLK falling edge. Note that DRDY goes high on the first SCLK falling edge, regardless of whether data are being retrieved from the device or a command is being sent through the DIN pin.
DRDY
DOUT
Bit 215
Bit 214
Bit 213
SCLK
Figure 33. DRDY with Data Retrieval (CS = 0) GPIO The ADS1299 has a total of four general-purpose digital I/O (GPIO) pins available in normal mode of operation. The digital I/O pins are individually configurable as either inputs or outputs through the GPIOC bits register. The GPIOD bits in the GPIO register control the pin level. When reading the GPIOD bits, the data returned are the logic level of the pins, whether they are programmed as inputs or outputs. When the GPIO pin is configured as an input, a write to the corresponding GPIOD bit has no effect. When configured as an output, a write to the GPIOD bit sets the output value. If configured as inputs, these pins must be driven (do not float). The GPIO pins are set as inputs after power-on or after a reset. Figure 34 shows the GPIO port structure. The pins should be shorted to DGND if not used.
GPIO Control
Figure 34. GPIO Port Pin Power-Down (PWDN) When PWDN is pulled low, all on-chip circuitry is powered down. To exit power-down mode, take the PWDN pin high. Upon exiting from power-down mode, the internal oscillator and the reference require time to wake up. During power-down, the external clock is recommended to be shut down to save power.
28
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Reset (RESET) There are two methods to reset the ADS1299: pull the RESET pin low, or send the RESET opcode command. When using the RESET pin, take the pin low to force a reset. Make sure to follow the minimum pulse width timing specifications before taking the RESET pin back high. The RESET command takes effect on the eighth SCLK falling edge of the opcode command. On reset, 18 tCLK cycles are required to complete initialization of the configuration registers to default states and start the conversion cycle. Note that an internal RESET is automatically issued to the digital filter whenever the CONFIG1 register is set to a new value with a WREG command. START The START pin must be set high or the START command sent to begin conversions. When START is low or if the START command has not been sent, the device does not issue a DRDY signal (conversions are halted). When using the START opcode to control conversions, hold the START pin low. The ADS1299 features two modes to control conversions: continuous mode and single-shot mode. The mode is selected by SINGLE_SHOT (bit 3 of the CONFIG4 register). In multiple device configurations, the START pin is used to synchronize devices (see the Multiple Device Configuration subsection of the SPI Interface section for more details). Settling Time The settling time (tSETTLE) is the time required for the converter to output fully-settled data when the START signal is pulled high. When START is pulled high, DRDY is also pulled high. The next DRDY falling edge indicates that data are ready. Figure 35 shows the timing diagram and Table 8 shows the settling time for different data rates. The settling time depends on fCLK and the decimation ratio (controlled by the DR[2:0] bits in the CONFIG1 register). Table 7 shows the settling time as a function of tCLK. Note that when START is held high and there is a step change in the input signal, 3 tDR is required for the filter to settle to the new value. Settled data are available on the fourth DRDY pulse.
START Pin or DIN START Opcode tDR tSETTLE
DRDY
4 / fCLK
Figure 35. Settling Time Table 8. Settling Time for Different Data Rates
DR[2:0] 000 001 010 011 100 101 110 NORMAL MODE 521 1033 2057 4105 8201 16393 32777 UNIT tCLK tCLK tCLK tCLK tCLK tCLK tCLK
29
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
Continuous Mode Conversions begin when the START pin is taken high or when the START opcode command is sent. As seen in Figure 36, the DRDY output goes high when conversions are started and goes low when data are ready. Conversions continue indefinitely until the START pin is taken low or the STOP opcode command is transmitted. When the START pin is pulled low or the stop command is issued, the conversion in progress is allowed to complete. Figure 37 and Table 9 show the required DRDY timing to the START pin and the START and STOP opcode commands when controlling conversions in this mode. To keep the converter running continuously, the START pin can be permanently tied high. Note that when switching from pulse mode to continuous mode, the START signal is pulsed or a STOP command must be issued followed by a START command. This conversion mode is ideal for applications that require a fixed continuous stream of conversions results.
START Pin or DIN START Opcode
(1)
DRDY
tSETTLE
(1)
START and STOP opcode commands take effect on the seventh SCLK falling edge.
(1)
START and STOP commands take effect on the seventh SCLK falling edge at the end of the opcode transmission.
Figure 37. START to DRDY Timing Table 9. Timing Characteristics for Figure 37 (1)
SYMBOL tSDSU tDSHD (1) DESCRIPTION START pin low or STOP opcode to DRDY setup time to halt further conversions START pin low or STOP opcode to complete current conversion MIN 16 16 UNIT 1/fCLK 1/fCLK
START and STOP commands take effect on the seventh SCLK falling edge at the end of the opcode transmission.
30
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Single-Shot Mode Single-shot mode is enabled by setting the SINGLE_SHOT bit in the CONFIG4 register to '1'. In single-shot mode, the ADS1299 performs a single conversion when the START pin is taken high or when the START opcode command is sent. As seen in Figure 38, when a conversion is complete, DRDY goes low and further conversions are stopped. Regardless of whether the conversion data are read or not, DRDY remains low. To begin a new conversion, take the START pin low and then back high, or transmit the START opcode again. Note that when switching from continuous mode to pulse mode, make sure the START signal is pulsed or issue a STOP command followed by a START command.
START tSETTLE 4 / fCLK Data Updating 4 / fCLK
DRDY
Figure 38. DRDY with No Data Retrieval in Single-Shot Mode This conversion mode is provided for applications that require non-standard or non-continuous data rates. Issuing a START command or toggling the START pin high resets the digital filter, effectively dropping the data rate by a factor of four. This mode leaves the system more susceptible to aliasing effects, requiring more complex analog or digital filtering. Loading on the host processor increases because the processor must toggle the START pin or send a START command to initiate a new conversion cycle.
31
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
When using multiple devices, the devices can be synchronized with the START signal. The delay from START to the DRDY signal is fixed for a fixed data rate (see the START subsection of the SPI Interface section for more details on the settling times). Figure 39 shows the behavior of two devices when synchronized with the START signal. There are two ways to connect multiple devices with a optimal number of interface pins: cascade mode and daisy-chain mode.
Device 1 START CLK START1 CLK DRDY DRDY1
CLK
START
DRDY1
DRDY2
32
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Standard Mode Figure 40a shows a configuration with two devices cascaded together. Together, the devices create a system with 16 channels. DOUT, SCLK, and DIN are shared. Each device has its own chip select. When a device is not selected by the corresponding CS being driven to logic 1, the DOUT of this device is high-impedance. This structure allows the other device to take control of the DOUT bus. This configuration method is suitable for the majority of applications. Daisy-Chain Mode Daisy-chain mode is enabled by setting the DAISY_EN bit in the CONFIG1 register. Figure 40b shows the daisychain configuration. In this mode SCLK, DIN, and CS are shared across multiple devices. The DOUT of one device is hooked up to the DAISY_IN of the other device, thereby creating a chain. Also, when using daisy-chain mode, the multiple readback feature is not available. Short the DAISY_IN pin to digital ground if not used. Figure 2 describes the required timing for the device shown in the configurations of Figure 40. Data from the ADS1299 appear first on DOUT, followed by the status and data words.
START
(1)
START CLK
START
(1)
START CLK
CLK
CLK
Device 1
Device 1 DAISY_IN0
START CLK
Device 2
DOUT
DAISY_IN1
a) Standard Configuration
b) Daisy-Chain Configuration
(1) To reduce pin count, set the START pin low and use the START serial command to synchronize and start conversions.
33
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
When all devices in the chain operate in the same register setting, DIN can be shared as well. This configuration reduces the SPI communication signals to four, regardless of the number of devices. However, because the individual devices cannot be programmed, the BIAS driver cannot be shared among the multiple devices. Furthermore, an external clock must be used. Note that from Figure 2, the SCLK rising edge shifts data out of the ADS1299 on DOUT. The SCLK rising edge is also used to latch data into the device DAISY_IN pin down the chain. This architecture allows for a faster SCLK rate speed, but also makes the interface sensitive to board-level signal delays. The more devices in the chain, the more challenging it could become to adhere to setup and hold times. A star-pattern connection of SCLK to all devices, minimizing DOUT length, and other printed circuit board (PCB) layout techniques helps. Placing delay circuits (such as buffers) between DOUT and DAISY_IN are ways to mitigate this challenge. One other option is to insert a D flip-flop between DOUT and DAISY_IN clocked on an inverted SCLK. Note also that daisy-chain mode requires some software overhead to recombine data bits spread across byte boundaries. Figure 41 shows a timing diagram for this mode.
DOUT1 DAISY_IN0 SCLK MSB1 LSB1
216
217
218
219
337
DOUT
LSB0
LSB1
Figure 41. Daisy-Chain Timing The maximum number of devices that can be daisy-chained depends on the data rate at which the device is operated at. The maximum number of devices can be approximately calculated with Equation 7. fSCLK NDEVICES = fDR (NBITS)(NCHANNELS) + 24 where: NBITS = device resolution (depending on data rate), and NCHANNELS = number of channels in the device.
(7)
For example, when the ADS1299 is operated at a 2-kSPS data rate with a 4-MHz fSCLK, 10 devices can be daisychained.
34
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Data Read Commands RDATAC SDATAC RDATA RREG WREG (1) (2) 0001 0000 (10h) 0001 0001 (11h) 0001 0010 (12h) 001r rrrr (2xh) (2) 010r rrrr (4xh) (2) 000n nnnn (2) 000n nnnn (2)
When in RDATAC mode, the RREG command is ignored. n nnnn = number of registers to be read or written 1. For example, to read or write three registers, set n nnnn = 0 (0010). r rrrr = starting register address for read or write opcodes.
WAKEUP: Exit STANDBY Mode This opcode exits low-power standby mode; see the STANDBY: Enter STANDBY Mode subsection of the SPI Command Definitions section. Time is required when exiting standby mode (see the Electrical Characteristics for details). There are no SCLK rate restrictions for this command and it can be issued at any time. Any following commands must be sent after a delay of 4 tCLK cycles. STANDBY: Enter STANDBY Mode This opcode command enters low-power standby mode. All parts of the circuit are shut down except for the reference section. The standby mode power consumption is specified in the Electrical Characteristics. There are no SCLK rate restrictions for this command and it can be issued at any time. Do not send any other commands other than the wakeup command after the device enters standby mode. RESET: Reset Registers to Default Values This command resets the digital filter cycle and returns all register settings to default values. See the Reset (RESET) subsection of the SPI Interface section for more details. There are no SCLK rate restrictions for this command and it can be issued at any time. 18 tCLK cycles are required to execute the RESET command. Avoid sending any commands during this time. START: Start Conversions This opcode starts data conversions. Tie the START pin low to control conversions by command. If conversions are in progress, this command has no effect. The STOP opcode command stops conversions. If the START command is immediately followed by a STOP command, then there must be a 4-tCLK cycle delay between them. When the START opcode is sent to the device, keep the START pin low until the STOP command is issued. (See the START subsection of the SPI Interface section for more details.) There are no SCLK rate restrictions for this command and it can be issued at any time.
Copyright 2012, Texas Instruments Incorporated
35
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
STOP: Stop Conversions This opcode stops conversions. Tie the START pin low to control conversions by command. When the STOP command is sent, the conversion in progress completes and further conversions are stopped. If conversions are already stopped, this command has no effect. There are no SCLK rate restrictions for this command and it can be issued at any time. RDATAC: Read Data Continuous This opcode enables conversion data output on each DRDY without the need to issue subsequent read data opcodes. This mode places the conversion data in the output register and may be shifted out directly. The read data continuous mode is the device default mode; the ADS1299 defaults to this mode on power-up. RDATAC mode is cancelled by the Stop Read Data Continuous command. If the device is in RDATAC mode, a SDATAC command must be issued before any other commands can be sent to the device. There are no SCLK rate restrictions for this command. However, subsequent data retrieval SCLKs or the SDATAC opcode command should wait at least 4 tCLK cycles. RDATAC timing is shown in Figure 42. As Figure 42 shows, there is a keep out zone of 4 tCLK cycles around the DRDY pulse where this command cannot be issued in. If no data are retrieved from the device, DOUT and DRDY behave similarly in this mode. To retrieve data from the device after the RDATAC command is issued, make sure either the START pin is high or the START command is issued. Figure 42 shows the recommended way to use the RDATAC command. RDATAC is ideally-suited for applications such as data loggers or recorders, where registers are set one time and do not need to be reconfigured.
START
DRDY tUPDATE CS
SCLK
RDATAC Opcode
Next Data
(1)
36
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
SDATAC: Stop Read Data Continuous This opcode cancels the Read Data Continuous mode. There are no SCLK rate restrictions for this command, but the next command must wait for 4 tCLK cycles. RDATA: Read Data Issue this command after DRDY goes low to read the conversion result (in Stop Read Data Continuous mode). There are no SCLK rate restrictions for this command, and there is no wait time needed for the subsequent commands or data retrieval SCLKs. To retrieve data from the device after the RDATA command is issued, make sure either the START pin is high or the START command is issued. When reading data with the RDATA command, the read operation can overlap the next DRDY occurrence without data corruption. Figure 43 shows the recommended way to use the RDATA command. RDATA is best suited for ECG- and EEG-type systems, where register settings must be read or changed often between conversion cycles.
START
DRDY
CS
SCLK
RDATA Opcode
RDATA Opcode
Figure 43. RDATA Usage Sending Multi-Byte Commands The ADS1299 serial interface decodes commands in bytes and requires 4 tCLK cycles to decode and execute. Therefore, when sending multi-byte commands, a 4 tCLK period must separate the end of one byte (or opcode) and the next. Assuming CLK is 2.048 MHz, then tSDECODE (4 tCLK) is 1.96 s. When SCLK is 16 MHz, one byte can be transferred in 500 ns. This byte transfer time does not meet the tSDECODE specification; therefore, a delay must be inserted so the end of the second byte arrives 1.46 s later. If SCLK is 4 MHz, one byte is transferred in 2 s. Because this transfer time exceeds the tSDECODE specification, the processor can send subsequent bytes without delay. In this later scenario, the serial port can be programmed to move from single-byte transfers per cycle to multiple bytes.
37
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
RREG: Read From Register This opcode reads register data. The Register Read command is a two-byte opcode followed by the register data output. The first byte contains the command opcode and register address. The second opcode byte specifies the number of registers to read 1. First opcode byte: 001r rrrr, where r rrrr is the starting register address. Second opcode byte: 000n nnnn, where n nnnn is the number of registers to read 1. The 17th SCLK rising edge of the operation clocks out the MSB of the first register, as shown in Figure 44. When the device is in read data continuous mode, an SDATAC command must be issued before the RREG command can be issued. The RREG command can be issued any time. However, because this command is a multi-byte command, there are SCLK rate restrictions depending on how the SCLKs are issued. See the Serial Clock (SCLK) subsection of the SPI Interface section for more details. Note that CS must be low for the entire command.
CS 1 SCLK 9 17 25
DIN
OPCODE 1
OPCODE 2
DOUT
REG DATA
REG DATA + 1
Figure 44. RREG Command Example: Read Two Registers Starting from Register 00h (ID Register) (OPCODE 1 = 0010 0000, OPCODE 2 = 0000 0001) WREG: Write to Register This opcode writes register data. The Register Write command is a two-byte opcode followed by the register data input. The first byte contains the command opcode and register address. The second opcode byte specifies the number of registers to write 1. First opcode byte: 010r rrrr, where r rrrr is the starting register address. Second opcode byte: 000n nnnn, where n nnnn is the number of registers to write 1. After the opcode bytes, the register data follows (in MSB-first format), as shown in Figure 45. The WREG command can be issued any time. However, because this command is a multi-byte command, there are SCLK rate restrictions depending on how the SCLKs are issued. See the Serial Clock (SCLK) subsection of the SPI Interface section for more details. Note that CS must be low for the entire command.
CS 1 SCLK 9 17 25
DIN
OPCODE 1
OPCODE 2
REG DATA 1
REG DATA 2
DOUT
Figure 45. WREG Command Example: Write Two Registers Starting from 00h (ID Register) (OPCODE 1 = 0100 0000, OPCODE 2 = 0000 0001)
38
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
REGISTER MAP
Table 11 describes the various ADS1299 registers. Table 11. Register Assignments
ADDRESS REGISTER RESET VALUE (Hex) BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
Device Settings (Read-Only Registers) 00h ID 00 REV_ID3 REV_ID2 REV_ID1 1 DEV_ID2 DEV_ID1 NU_CH2 NU_CH1
Global Settings Across Channels 01h 02h 03h 04h CONFIG1 CONFIG2 CONFIG3 LOFF 96 C0 60 00 1 1 PD_REFBUF COMP_TH2 DAISY_EN 1 1 COMP_TH1 CLK_EN 0 1 COMP_TH0 1 INT_CAL BIAS_MEAS 0 0 0 BIASREF_INT ILEAD_OFF1 DR2 CAL_AMP0 PD_BIAS ILEAD_OFF0 DR1 CAL_FREQ1 BIAS_LOFF_ SENS FLEAD_OFF1 DR0 CAL_FREQ0 BIAS_STAT FLEAD_OFF0
Channel-Specific Settings 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 11h CH1SET CH2SET CH3SET CH4SET CH5SET CH6SET CH7SET CH8SET BIAS_SENSP BIAS_SENSN LOFF_SENSP LOFF_SENSN LOFF_FLIP 61 61 61 61 61 61 61 61 00 00 00 00 00 PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8 BIASP8 BIASN8 LOFFP8 LOFFM8 LOFF_FLIP8 GAIN12 GAIN22 GAIN32 GAIN42 GAIN52 GAIN62 GAIN72 GAIN82 BIASP7 BIASN7 LOFFP7 LOFFM7 LOFF_FLIP7 GAIN11 GAIN21 GAIN31 GAIN41 GAIN51 GAIN61 GAIN71 GAIN81 BIASP6 BIASN6 LOFFP6 LOFFM6 LOFF_FLIP6 GAIN10 GAIN20 GAIN30 GAIN40 GAIN50 GAIN60 GAIN70 GAIN80 BIASP5 BIASN5 LOFFP5 LOFFM5 LOFF_FLIP5 SRB2 SRB2 SRB2 SRB2 SRB2 SRB2 SRB2 SRB2 BIASP4 BIASN4 LOFFP4 LOFFM4 LOFF_FLIP4 MUX12 MUX22 MUX32 MUX42 MUX52 MUX62 MUX72 MUX82 BIASP3 BIASN3 LOFFP3 LOFFM3 LOFF_FLIP3 MUX11 MUX21 MUX31 MUX41 MUX51 MUX61 MUX71 MUX81 BIASP2 BIASN2 LOFFP2 LOFFM2 LOFF_FLIP2 MUX10 MUX20 MUX30 MUX40 MUX50 MUX60 MUX70 MUX80 BIASP1 BIASN1 LOFFP1 LOFFM1 LOFF_FLIP1
Lead-Off Status Registers (Read-Only Registers) 12h 13h LOFF_STATP LOFF_STATN 00 00 IN8P_OFF IN8M_OFF IN7P_OFF IN7M_OFF IN6P_OFF IN6M_OFF IN5P_OFF IN5M_OFF IN4P_OFF IN4M_OFF IN3P_OFF IN3M_OFF IN2P_OFF IN2M_OFF IN1P_OFF IN1M_OFF
GPIO and OTHER Registers 14h 15h 16h 17h GPIO MISC1 MISC2 CONFIG4 0F 00 00 00 GPIOD4 0 0 0 GPIOD3 0 0 0 GPIOD2 SRB1 0 0 GPIOD1 0 0 0 GPIOC4 0 0 SINGLE_ SHOT GPIOC3 0 0 0 GPIOC2 0 0 PD_LOFF_ COMP GPIOC1 0 0 0
39
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
User Register Description ID: ID Control Register (Factory-Programmed, Read-Only) Address = 00h
BIT 7 REV_ID3 BIT 6 REV_ID2 BIT 5 REV_ID1 BIT 4 1 BIT 3 DEV_ID2 BIT 2 DEV_ID1 BIT 1 NU_CH2 BIT 0 NU_CH1
This register configures the DAISY_EN bit, clock, and data rate.
Bit 7 Bit 6 Must be set to '1' DAISY_EN: Daisy-chain and multiple readback mode This bit determines which mode is enabled. 0 = Daisy-chain mode (default) 1 = Multiple readback mode Bit 5 CLK_EN: CLK connection (1) This bit determines if the internal oscillator signal is connected to the CLK pin when the CLKSEL pin = 1. 0 = Oscillator clock output disabled (default) 1 = Oscillator clock output enabled Bits[4:3] Bits[2:0] Must always be set to '10' DR[2:0]: Output data rate fMOD = fCLK / 2. These bits determine the output data rate of the device. (1) Additional power is consumed when driving external devices. BIT 000 001 010 011 100 101 110 (default) 111 (1) fCLK = 2.048 MHz. DATA RATE fMOD / 64 fMOD / 128 fMOD / 256 fMOD / 512 fMOD / 1024 fMOD / 2048 fMOD / 4096 Do not use SAMPLE RATE (1) 16 kSPS 8 kSPS 4 kSPS 2 kSPS 1 kSPS 500 SPS 250 SPS n/a
40
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
This register configures the test signal generation. See the Input Multiplexer section for more details.
Bits[7:5] Bit 4 Must always be set to '110' INT_CAL: TEST source This bit determines the source for the Test signal. 0 = Test signals are driven externally (default) 1 = Test signals are generated internally Bit 3 Bit 2 Must always be set to '0' CAL_AMP0: Test signal amplitude This bit determines the calibration signal amplitude. 0 = 1 (VREFP VREFN) / 2.4 mV (default) 1 = 2 (VREFP VREFN) / 2.4 mV Bits[1:0] CAL_FREQ[1:0]: Test signal frequency These bits determine the calibration signal frequency. 00 = Pulsed at fCLK / 221 (default) 01 = Pulsed at fCLK / 220 10 = Not used 11 = At dc
41
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
42
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
43
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
This register configures the power mode, PGA gain, and multiplexer settings channels. See the Input Multiplexer section for details. CH[2:8]SET are similar to CH1SET, corresponding to the respective channels.
Bit 7 PD: Power-down This bit determines the channel power mode for the corresponding channel. 0 = Normal operation (default) 1 = Channel power-down Bits[6:4] GAIN[2:0]: PGA gain These bits determine the PGA gain setting. 000 = 1 001 = 2 010 = 4 011 = 6 100 = 8 101 = 12 110 = 24 (default) 111 = n/a Bit 3 SRB2: Source, reference bias channel This bit determines the SRB2 connection for the corresponding channel. 0 = Open (off) (default) 1 = Closed (on) Bits[2:0] MUXn[2:0]: Channel input These bits determine the channel input selection. 000 = Normal electrode input (default) 001 = Input shorted (for offset or noise measurements) 010 = Used in conjunction with BIAS_MEAS bit for BIAS measurements. See the Bias Drive (DC Bias Circuit) subsection of the EEG-Specific Functions section for more details. 011 = MVDD for supply measurement 100 = Temperature sensor 101 = Test signal 110 = BIAS_DRP (positive electrode is the driver) 111 = BIAS_DRN (negative electrode is the driver)
This register controls the selection of positive signals from each channel for bias drive derivation. See the Bias Drive (DC Bias Circuit) subsection of the EEG-Specific Functions section for details. BIAS_SENSN: Bias Drive Negative Sense Selection Address = 0Eh
BIT 7 BIASN8 BIT 6 BIASN7 BIT 5 BIASN6 BIT 4 BIASN5 BIT 3 BIASN4 BIT 2 BIASN3 BIT 1 BIASN2 BIT 0 BIASN1
This register controls the selection of negative signals from each channel for bias drive derivation. See the Bias Drive (DC Bias Circuit) subsection of the EEG-Specific Functions section for details.
44
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
This register selects the positive side from each channel for lead-off detection. See the Lead-Off Detection subsection of the EEG-Specific Functions section for details. Note that the LOFF_STATP register bits are only valid if the corresponding LOFF_SENSP bits are set to '1'. LOFF_SENSN: Lead Off Negative Sense Selection Address = 10h
BIT 7 LOFFM8 BIT 6 LOFFM7 BIT 5 LOFFM6 BIT 4 LOFFM5 BIT 3 LOFFM4 BIT 2 LOFFM3 BIT 1 LOFFM2 BIT 0 LOFFM1
This register selects the negative side from each channel for lead-off detection. See the Lead-Off Detection subsection of the EEG-Specific Functions section for details. Note that the LOFF_STATN register bits are only valid if the corresponding LOFF_SENSN bits are set to '1'. LOFF_FLIP: Lead Off Current Direction Control Address = 11h
BIT 7 LOFF_FLIP8 BIT 6 LOFF_FLIP7 BIT 5 LOFF_FLIP6 BIT 4 LOFF_FLIP5 BIT 3 LOFF_FLIP4 BIT 2 LOFF_FLIP3 BIT 1 LOFF_FLIP2 BIT 0 LOFF_FLIP1
This register controls the current direction used for lead-off derivation. See the Lead-Off Detection subsection of the EEG-Specific Functions section for details. LOFF_STATP: Lead-Off Positive Input Status Address = 12h
BIT 7 IN8P_OFF BIT 6 IN7P_OFF BIT 5 IN6P_OFF BIT 4 IN5P_OFF BIT 3 IN4P_OFF BIT 2 IN3P_OFF BIT 1 IN2P_OFF BIT 0 IN1P_OFF
This register stores the status of whether the positive electrode on each channel is on or off. See the Lead-Off Detection subsection of the EEG-Specific Functions section for details. Ignore the LOFF_STATP values if the corresponding LOFF_SENSP bits are not set to '1'. '0' is lead-on (default) and '1' is lead-off. When the LOFF_SENSP bits are '0', the LOFF_STATP bits should be ignored. LOFF_STATN: Lead-Off Negative Input Status Address = 13h
BIT 7 IN8M_OFF BIT 6 IN7M_OFF BIT 5 IN6M_OFF BIT 4 IN5M_OFF BIT 3 IN4M_OFF BIT 2 IN3M_OFF BIT 1 IN2M_OFF BIT 0 IN1M_OFF
This register stores the status of whether the negative electrode on each channel is on or off. See the Lead-Off Detection subsection of the EEG-Specific Functions section for details. Ignore the LOFF_STATN values if the corresponding LOFF_SENSN bits are not set to '1'. '0' is lead-on (default) and '1' is lead-off. When the LOFF_SENSN bits are '0', the LOFF_STATP bits should be ignored.
45
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
46
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Bits[7:4] Bit 3
Must always be set to '0' SINGLE_SHOT: Single-shot conversion This bit sets the conversion mode. 0 = Continuous conversion mode (default) 1 = Single-shot mode
Bit 2 Bit 1
Must always be set to '0' PD_LOFF_COMP: Lead-off comparator power-down This bit powers down the lead-off comparators. 0 = Lead-off comparators disabled (default) 1 = Lead-off comparators enabled
Bit 0
47
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
IN1P
BIAS_SENSN[0] = 1
IN2P
Low-Noise PGA2
BIAS_SENSP[1] = 1 BIAS_SENSN[1] = 1
IN3P
Low-Noise PGA3
BIAS_SENSP[2] = 1 BIAS_SENSN[2] = 1
IN8P
Low-Noise PGA8
BIAS_SENSP[7] = 0 BIAS_SENSN[7] = 0
BIASREF_INT = 1 MUX
(AVDD + AVSS) 2
BIASINV
1.5 nF
(1)
48
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
IN1P
BIAS_SENSN[0] = 1
IN2P
Low-Noise PGA2
BIAS_SENSP[1] = 1 BIAS_SENSN[1] = 1
IN3P
Low-Noise PGA3
BIAS_SENSP[2] = 1 BIAS_SENSN[2] = 1
IN8P
Low-Noise PGA8
BIAS_SENSP[7] = 0 BIAS_SENSN[7] = 0
MUX MUX8[2:0] = 010 AND BIAS_MEAS = 1 Device BIASIN Filter or Feedthrough BIASREF BIASOUT 1 MW
(1)
BIASREF_INT = 1
(AVDD + AVSS) 2
BIASREF_INT = 0
BIAS_AMP
BIASINV
1.5 nF
(1)
49
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
LEAD-OFF DETECTION
Patient electrode impedances are known to decay over time. These electrode connections must be continuously monitored to verify that a suitable connection is present. The ADS1299 lead-off detection functional block provides significant flexibility to the user to choose from various lead-off detection strategies. Though called leadoff detection, this is in fact an electrode-off detection. The basic principle is to inject an excitation signal and measure the response to determine if the electrode is off. As shown in the lead-off detection functional block diagram in Figure 48, this circuit provides two different methods of determining the state of the patient electrode. The methods differ in the frequency content of the excitation signal. Lead-off can be selectively done on a per channel basis using the LOFF_SENSP and LOFF_SENSN registers. Also, the internal excitation circuitry can be disabled and just the sensing circuitry can be enabled.
Skin, Electrode Contact Model Patient Protection Resistor
Patient
Z1 47 nF
LOFF_SENSP
LOFF_SENSN
FLEAD_OFF[0:1]
50
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
DC Lead-Off In this method, the lead-off excitation is with a dc signal. The dc excitation signal can be chosen from either an external pull-up or pull-down resistor or an internal current source or sink, as shown in Figure 49. One side of the channel is pulled to supply and the other side is pulled to ground. The pull-up and pull-down current can be swapped (as shown in Figure 49b and Figure 49c) by setting the bits in the LOFF_FLIP register. In case of a current source or sink, the magnitude of the current can be set by using the ILEAD_OFF[1:0] bits in the LOFF register. The current source or sink gives larger input impedance compared to the 10-M pull-up or pull-down resistor.
AVDD Device 10 MW INP
Low-Noise PGAn
AVDD Device
AVDD Device
INP
Low-Noise PGAn
INP
Low-Noise PGAn
INN 10 MW
INN
INN
AVSS a) External Pull-Up or Pull-Down Resistors b) Input Current Source (LOFF_FLIP = 0) c) Input Current Source (LOFF_FLIP = 1)
Figure 49. DC Lead-Off Excitation Options Sensing of the response can be done either by searching the digital output code from the device or by monitoring the input voltages with an on-chip comparator. If either electrode is off, the pull-up and pull-down resistors saturate the channel. Searching the output code determines if either the P-side or the N-side is off. To pinpoint which one is off, the comparators must be used. The input voltage is also monitored using a comparator and a 3bit DAC whose levels are set by the COMP_TH[2:0] bits in the LOFF register. The output of the comparators are stored in the LOFF_STATP and LOFF_STATN registers. These registers are available as a part of the output data stream. (See the Data Output (DOUT) subsection of the SPI Interface section.) If dc lead-off is not used, the lead-off comparators can be powered down by setting the PD_LOFF_COMP bit in the CONFIG4 register. An example procedure to turn on dc lead-off is given in the Lead-Off subsection of the Quick-Start Guide section. AC Lead-Off (One Time or Periodic) In this method, an in-band ac signal is used for excitation. The ac signal is generated by alternatively providing a current source and sink at the input with a fixed frequency. The frequency can be chosen by the FLEAD_OFF[1:0] bits in the LOFF register. The excitation frequency is chosen to be one of the two in-band frequency selections (7.8 Hz or 31.2 Hz). This in-band excitation signal is passed through the channel and measured at the output. Sensing of the ac signal is done by passing the signal through the channel to digitize it and measure at the output. The ac excitation signals are introduced at a frequency that is in the band of interest. The signal can be filtered out separately and processed. By measuring the magnitude of the excitation signal at the output spectrum, the electrode impedance can be calculated. For continuous lead-off, an out-of-band ac current source or sink must be externally applied to the inputs. This signal can then be digitally post processed to determine the electrode impedance.
51
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
BIAS LEAD-OFF
The ADS1299 provides two modes for determining whether the BIAS is correctly connected: BIAS lead-off detection during normal operation BIAS lead-off detection during power-up The following sections provide details of the two modes of operation. BIAS Lead-Off Detection During Normal Operation During normal operation, the ADS1299 BIAS lead-off at power-up function cannot be used because it is necessary to power off the BIAS amplifier. BIAS Lead Off Detection At Power-Up This feature is included in the ADS1299 for use in determining whether the bias electrode is suitably connected. At power-up, the ADS1299 provides two measurement procedures to determine the BIAS electrode connection status using either a current or an external pull-down resistor, as shown in Figure 50. The reference level of the comparator is set to determine the acceptable BIAS impedance threshold.
Patient Skin, Electrode Contact Model 47 nF Patient Protection Resistor To ADC input (through VREF connection to any of the channels).
BIAS_STAT
51 kW
BIAS_SENS
ILGND_OFF[1:0] AVSS
Figure 50. BIAS Lead-Off Detection at Power-Up When the BIAS amplifier is powered on, the current source has no function. Only the comparator can be used to sense the voltage at the output of the BIAS amplifier. The comparator thresholds are set by the same LOFF[7:5] bits used to set the thresholds for other negative inputs.
52
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
To Input MUX
To Input MUX
To Input MUX
VA1-8 VA1-8
BIASINV
BIASINV
BIASINV
53
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
BIAS1P
220 kW BIAS2P PGA2P From MUX2P 18.15 kW 220 kW 220 kW 3.3 kW 18.15 kW PGA2N BIAS2N 220 kW BIAS4P PGA4P From MUX2N From MUX4P 18.15 kW 220 kW 220 kW 3.3 kW 18.15 kW PGA4N BIAS4N 220 kW BIAS6P PGA6P From MUX4N From MUX6P 18.15 kW 220 kW 220 kW 3.3 kW 18.15 kW PGA6N BIAS6N 220 kW BIAS8P PGA8P From MUX6N From MUX8P 18.15 kW 220 kW 220 kW BIAS8N 3.3 kW 18.15 kW PGA8N From MUX8N
18.15 kW 3.3 kW 18.15 kW PGA1N From MUX1N From MUX3P PGA3P 18.15 kW 3.3 kW 18.15 kW PGA3N From MUX3N From MUX5P PGA5P 18.15 kW 3.3 kW 18.15 kW PGA5N From MUX5N From MUX7P PGA7P 18.15 kW 3.3 kW 18.15 kW PGA7N From MUX7N BIASINV CEXT 1.5 nF
(1)
220 kW
BIAS1N
BIAS3P
220 kW
BIAS3N
BIAS5P
220 kW
BIAS5N
BIAS7P
220 kW
BIAS7N
REXT 1 MW
(1)
BIASOUT BIASREF
BIASREF_INT = 0
54
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
0.1 mF 1 mF 0.1 mF
1 mF
AVDD AVDD1
RESV1
AVSS1 AVSS
DGND
1 mF
1 mF
0.1 mF
1 mF
100 mF
NOTE: Place the capacitors for supply, reference, and VCAP1 to VCAP4 as close to the package as possible.
55
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
Connecting the Device to Bipolar (2.5 V and 3.3 V) Supplies Figure 54 illustrates the ADS1299 connected to a bipolar supply. In this example, the analog supplies connect to the device analog supply (AVDD). This supply is referenced to the device analog return (AVSS), and the digital supply (DVDD) is referenced to the device digital ground return (DGND).
+2.5 V +3.3 V
1 mF
0.1 mF
0.1 mF
1 mF
AVDD AVDD1 DVDD VREFP VREFN 0.1 mF 10 mF -2.5 V VCAP1 Device RESV1 VCAP2 VCAP3 VCAP4
AVSS1 AVSS
1 mF
0.1 mF
-2.5 V
NOTE: Place the capacitors for supply, reference, and VCAP1 to VCAP4 as close to the package as possible.
Figure 54. Bipolar Supply Operation Shielding Analog Signal Paths As with any precision circuit, careful PCB layout ensures the best performance. It is essential to make short, direct interconnections and avoid stray wiring capacitanceparticularly at the analog input pins and AVSS. These analog input pins are high-impedance and extremely sensitive to extraneous noise. The AVSS pin should be treated as a sensitive analog signal and connected directly to the supply ground with proper shielding. Leakage currents between the PCB traces can exceed the input bias current of the ADS1299 if shielding is not implemented. Digital signals should be kept as far as possible from the analog input signals on the PCB.
56
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
POWER-UP SEQUENCING
Before device power-up, all digital and analog inputs must be low. At the time of power-up, all of these signals should remain low until the power supplies have stabilized, as shown in Figure 55. At this time, begin supplying the master clock signal to the CLK pin. Wait for time tPOR, then transmit a RESET pulse. After releasing RESET, the configuration register must be programmed; see the CONFIG1: Configuration Register 1 subsection of the Register Map section for details. The power-up sequence timing is shown in Table 12.
tPOR
Power Supplies
RESET
18 tCLK
Figure 55. Power-Up Timing Diagram Table 12. Power-Up Sequence Timing
SYMBOL tPOR tRST DESCRIPTION Wait after power-up until reset Reset low width MIN 216 2 TYP MAX UNIT tCLK tCLK
57
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
Set CLKSEL Pin = 0 and Provide External Clock fCLK = 2.048 MHz
Yes
External Clock No Set CLKSEL Pin = 1 and Wait for Oscillator to Wake Up // If START is Tied High, After This Step // DRDY Toggles at fCLK / 8192
// Activate DUT // CS can be Either Tied Permanently Low // Or Selectively Pulled Low Before Sending // Commands or Reading or Sending Data from or to the Device
// Device Wakes Up in RDATAC Mode, so Send // SDATAC Command so Registers can be Written SDATAC
No External Reference Yes // If Using Internal Reference, Send This Command WREG CONFIG3 E0h
// Set Device for DR = fMOD / 4096 WREG CONFIG1 96h WREG CONFIG2 C0h // Set All Channels to Input Short WREG CHnSET 01h
Set START = 1
// Activate Conversion // After This Point DRDY Should Toggle at // fCLK / 8192
RDATAC
// Look for DRDY and Issue 24 + n 24 SCLKs // Activate a (1 mV VREF / 2.4) Square-Wave Test Signal // On All Channels SDATAC WREG CONFIG2 D0h WREG CHnSET 05h RDATAC
58
ADS1299
www.ti.com SBAS499A JULY 2012 REVISED AUGUST 2012
Lead-Off Sample code to set dc lead-off with pull-up and pull-down resistors on all channels. WREG LOFF 00h // Comparator threshold at 95% and 5%, pull-up or pull-down current source // DC lead-off WREG CONFIG4 02h // Turn-on dc lead-off comparators WREG LOFF_SENSP FFh // Turn on the P-side of all channels for lead-off sensing WREG LOFF_SENSN FFh // Turn on the N-side of all channels for lead-off sensing Observe the status bits of the output data stream to monitor lead-off status. Bias Drive Sample code to choose bias as an average of the first three channels. WREG BIAS_SENSP 07h // Select channel 13 P-side for bias sensing WREG BIAS_SENSN 07h // Select channel 13 N-side for bias sensing WREG CONFIG3 bx11x 1100 // Turn on bias amplifier, set internal BIASREF voltage Sample code to route the BIASOUT signal through channel 4 N-side and measure bias with channel 5. Make sure the external side to the chip BIASOUT is connected to BIASIN. WREG CONFIG3 bx111 1100 // Turn on bias amplifier, set internal BIASREF voltage, set bias measurement bit WREG CH4SET bxxxx 0111 // Route BIASIN to channel 4 N-side WREG CH5SET bxxxx 0010 // Route BIASIN to be measured at channel 5 w.r.t BIASREF
59
ADS1299
SBAS499A JULY 2012 REVISED AUGUST 2012 www.ti.com
REVISION HISTORY
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
Changes from Original (July 2012) to Revision A Page
60
www.ti.com
8-Aug-2012
PACKAGING INFORMATION
Orderable Device ADS1299IPAG ADS1299IPAGR Status
(1)
Pins 64 64
Eco Plan
(2)
(3)
ACTIVE ACTIVE
(1)
The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device.
(2)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material)
(3)
MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 1
Device
SPQ
Reel Reel A0 Diameter Width (mm) (mm) W1 (mm) 330.0 24.4 13.0
B0 (mm) 13.0
K0 (mm) 1.5
P1 (mm) 16.0
ADS1299IPAGR
1500
Pack Materials-Page 1
Device ADS1299IPAGR
Pins 64
SPQ 1500
Pack Materials-Page 2
MECHANICAL DATA
MTQF006A JANUARY 1995 REVISED DECEMBER 1996
PAG (S-PQFP-G64)
0,50 48 33 0,27 0,17
0,08 M
49
32
64
17 0,13 NOM 1 7,50 TYP 10,20 SQ 9,80 12,20 SQ 11,80 1,05 0,95 Seating Plane Gage Plane 0,25 0,05 MIN 0 7 0,75 0,45 16
1,20 MAX
NOTES: A. All linear dimensions are in millimeters. B. This drawing is subject to change without notice. C. Falls within JEDEC MS-026
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as components) are sold subject to TIs terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TIs terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers products and applications, Buyers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TIs goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use. Only those TI components which TI has specifically designated as military grade or enhanced plastic are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components which meet ISO/TS16949 requirements, mainly for automotive use. Components which have not been so designated are neither designed nor intended for automotive use; and TI will not be responsible for any failure of such components to meet such requirements. Products Audio Amplifiers Data Converters DLP Products DSP Clocks and Timers Interface Logic Power Mgmt Microcontrollers RFID OMAP Applications Processors Wireless Connectivity www.ti.com/audio amplifier.ti.com dataconverter.ti.com www.dlp.com dsp.ti.com www.ti.com/clocks interface.ti.com logic.ti.com power.ti.com microcontroller.ti.com www.ti-rfid.com www.ti.com/omap TI E2E Community e2e.ti.com www.ti.com/wirelessconnectivity Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright 2012, Texas Instruments Incorporated Applications Automotive and Transportation Communications and Telecom Computers and Peripherals Consumer Electronics Energy and Lighting Industrial Medical Security Space, Avionics and Defense Video and Imaging www.ti.com/automotive www.ti.com/communications www.ti.com/computers www.ti.com/consumer-apps www.ti.com/energy www.ti.com/industrial www.ti.com/medical www.ti.com/security www.ti.com/space-avionics-defense www.ti.com/video