SBAS426H August 2008 – March 2016 ADS1246 , ADS1247 , ADS1248
PRODUCTION DATA.
The ADS1246, ADS1247 and ADS1248 devices are highly integrated 24-bit data converters. The devices include a low-noise, high-input impedance programmable gain amplifier (PGA), a delta-sigma (ΔΣ) ADC with an adjustable single-cycle settling digital filter, internal oscillator, and an SPI-compatible serial interface.
The ADS1247 and ADS1248 also include a flexible input multiplexer with system monitoring capability and general-purpose I/O settings, a very low-drift voltage reference, and two matched current sources for sensor excitation. Figure 49 and Figure 50 show the various functions incorporated in each device.
The ADC measures the input signal through the onboard PGA. All analog inputs are connected to the internal AINP or AINN analog inputs through the analog multiplexer. Figure 51 shows a block diagram of the analog input multiplexer.
The input multiplexer connects to eight (ADS1248) or four (ADS1247) analog inputs. Any analog input pin can be selected as the positive input or negative input through the MUX0 register, while the ADS1246 has AINP and AINN connections for a single differential channel. The multiplexer also allows the on-chip excitation current and bias voltage to be selected to a specific channel.
Through the input multiplexer, the ambient temperature (internal temperature sensor), AVDD, DVDD, and external reference are all selectable for measurement. See System Monitor for details.
On the ADS1247 and ADS1248, the analog inputs can also be configured as general-purpose inputs and outputs (GPIOs). See General-Purpose Digital I/O for more details.
ESD diodes protect the ADC inputs. To prevent these diodes from turning on, make sure the voltages on the analog input pins do not drop below AVSS by more than 100 mV, and do not exceed AVDD by more than 100 mV, as shown in Equation 2. The same caution is true if the inputs are configured to be GPIOs.
The ADS1246, ADS1247, and ADS1248 feature a low-drift, low-noise, high input impedance programmable gain amplifier (PGA). The PGA can be set to gains of 1, 2, 4, 8, 16, 32, 64, or 128 by register SYS0. Figure 52 shows a simplified diagram of the PGA.
The PGA consists of two chopper-stabilized amplifiers (A1 and A2) and a resistor feedback network that sets the gain of the PGA. The PGA input is equipped with an electromagnetic interference (EMI) filter, as shown in Figure 52. Note that as with any PGA, ensure that the input voltage stays within the specified common-mode input range. The common-mode input voltage (VCM) must be within the range shown in Equation 3.
Gain is changed inside the device using a variable resistor, RG. The differential full-scale input voltage range (FSR) of the PGA is defined by the gain setting and the reference voltage used, as shown in Equation 4.
Table 7 shows the corresponding full-scale input ranges when using the internal 2.048-V reference.
PGA GAIN SETTING | FSR |
---|---|
1 | ±2.048 V |
2 | ±1.024 V |
4 | ±0.512 V |
8 | ±0.256 V |
16 | ±0.128 V |
32 | ±0.064 V |
64 | ±0.032 V |
128 | ±0.016 V |
To stay within the linear operating range of the PGA, the input signals must meet certain requirements that are discussed in this section.
The outputs of both amplifiers (A1 and A2) in Figure 52 can not swing closer to the supplies (AVSS and AVDD) than 100 mV. If the outputs OUTP and OUTN are driven to within 100 mV of the supply rails, the amplifiers saturate and consequently become nonlinear. To prevent this nonlinear operating condition, the output voltages must meet Equation 5.
Translating the requirements of Equation 5 into requirements referred to the PGA inputs (AINP and AINN) is beneficial because there is no direct access to the outputs of the PGA. The PGA employs a symmetrical design; therefore, the common-mode voltage at the output of the PGA can be assumed to be the same as the common-mode voltage of the input signal, as shown in Figure 53.
The common-mode voltage is calculated using Equation 6.
The voltages at the PGA inputs (AINP and AINN) can be expressed as Equation 7 and Equation 8.
The output voltages (V(OUTP) and V(OUTN)) can then be calculated as Equation 9 and Equation 10.
The requirements for the output voltages of amplifiers A1 and A2 (Equation 5) can now be translated into requirements for the input common-mode voltage range using Equation 9 and Equation 10, which are given in Equation 11 and Equation 12.
To calculate the minimum and maximum common-mode voltage limits, the maximum differential input voltage (VIN (MAX)) that occurs in the application must be used. VIN (MAX) can be less than the maximum possible full-scale value.
The following paragraphs explain how to apply Equation 11 and Equation 12 to a hypothetical application. The setup for this example is AVDD = 3.3 V, AVSS = 0 V, and gain = 16, using an external reference, VREF = 2.5 V. The maximum possible differential input voltage VIN = (V(AINP) – V(AINN)) that can be applied is then limited to the full-scale range of FSR = ±2.5 V / 16 = ±0.156 V. Consequently, Equation 11 and Equation 12 yield an allowed VCM range of 1.35 V ≤ VCM ≤ 1.95 V.
If the sensor signal connected to the inputs in this hypothetical application does not make use of the entire full-scale range but is limited to VIN (MAX) = ±0.1 V, for example, then this reduced input signal amplitude relaxes the VCM restriction to 0.9 V ≤ VCM ≤ 2.4 V.
In the case of a fully-differential sensor signal, each input (AINP, AINN) can swing up to ±50 mV around the common-mode voltage (V(AINP) + V(AINN)) / 2, which must remain between the limits of 0.9 V and 2.4 V. The output of a symmetrical wheatstone bridge is an example of a fully-differential signal. Figure 54 shows a situation where the common-mode voltage of the input signal is at the lowest limit. V(OUTN) is exactly at 0.1 V in this case. Any further decrease in common-mode voltage (VCM) or increase in differential input voltage (VIN) drives V(OUTN) below 0.1 V and saturates amplifier A2.
In contrast, the signal of an RTD is of a pseudo-differential nature (if implemented as shown in one of the application example sections, 3-Wire RTD Measurement), where the negative input is held at a constant voltage other than 0 V and only the voltage on the positive input changes. When a pseudo-differential signal must be measured, the negative input in this example must be biased at a voltage from 0.85 V to 2.35 V. The positive input can then swing up to VIN (MAX) = 100 mV above the negative input. In this case, the common-mode voltage changes at the same time the voltage on the positive input changes. That is, while the input signal swings between 0 V ≤ VIN ≤ VIN (MAX), the common-mode voltage swings between V(AINN) ≤ VCM ≤ V(AINN) + ½ VIN (MAX). Satisfying the common-mode voltage requirements for the maximum input voltage VIN (MAX) ensures the requirements are met throughout the entire signal range.
Figure 55 and Figure 56 show examples of both fully-differential and pseudo-differential signals, respectively.
NOTE
With a unipolar power supply, the input range does not extend to the ground. Equation 11 and Equation 12 show the common-mode voltage requirements.
The device inputs are buffered through a high-input impedance PGA before they reach the ΔΣ modulator. For the majority of applications, the input current is minimal and can be neglected. However, because the PGA is chopper-stabilized for noise and offset performance, the input impedance is best described as a small absolute input current. The absolute input current for selected channels is approximately proportional to the selected modulator clock. Table 8 shows the typical values for these currents with a differential voltage coefficient and the corresponding input impedances over data rate.
CONDITION | ABSOLUTE INPUT CURRENT | EFFECTIVE INPUT IMPEDANCE |
---|---|---|
DR = 5 SPS, 10 SPS, 20 SPS | ± (0.5 nA + 0.1 nA/V) | 5000 MΩ |
DR = 40 SPS, 80 SPS, 160 SPS | ± (2 nA + 0.5 nA/V) | 1200 MΩ |
DR = 320 SPS, 640 SPS, 1 kSPS | ± (4 nA + 1 nA/V) | 600 MΩ |
DR = 2 kSPS | ± (8 nA + 2 nA/V) | 300 MΩ |
The device can use either the internal oscillator or an external clock. Connect the CLK pin to DGND before power up or reset to activate the internal oscillator. Connecting an external clock to the CLK pin at any time deactivates the internal oscillator, with the device then operating on the external clock. After the device switches to the external clock, it cannot be switched back to the internal oscillator without cycling the power supplies or resetting the device.
A third-order delta-sigma modulator is used in the ADS1246, ADS1247, and ADS1248 devices. The modulator converts the analog input voltage into a pulse code modulated (PCM) data stream. To save power, the modulator clock runs from 32 kHz up to 512 kHz for different data rates, as shown in Table 9.
DATA RATE (SPS) |
MODULATOR RATE (fMOD)(1)
(kHz) |
fCLK/fMOD |
---|---|---|
5, 10, 20 | 32 | 128 |
40, 80, 160 | 128 | 32 |
320, 640, 1000 | 256 | 16 |
2000 | 512 | 8 |
The ADC uses linear-phase finite impulse response (FIR) digital filters that can be adjusted for different output data rates. The digital filter always settles in a single cycle.
Table 10 shows the exact data rates when an external clock equal to 4.096 MHz is used. Also shown is the signal –3-dB bandwidth, and the 50-Hz and 60-Hz attenuation. For good 50-Hz or 60-Hz rejection, use a data rate of 20 SPS or slower.
The frequency responses of the digital filter are shown in Figure 57 to Figure 67. Figure 60 illustrates a detailed view of the filter frequency response from 48 Hz to 62 Hz for a 20-SPS data rate. All filter plots are generated with a 4.096-MHz external clock.
Data rates and digital filter frequency responses scale proportionally with changes in the system clock frequency. The internal oscillator frequency has a variation, as specified in Electrical Characteristics that will also affect data rates and the digital filter frequency response.
NOMINAL DATA RATE | ACTUAL DATA RATE | –3-dB BANDWIDTH | ATTENUATION | |||
---|---|---|---|---|---|---|
fIN = 50 Hz ±0.3 Hz | fIN = 60 Hz ±0.3 Hz | fIN = 50 Hz ±1 Hz | fIN = 60 Hz ±1 Hz | |||
5 SPS | 5.018 SPS | 2.26 Hz | –106 dB | –74 dB | –81 dB | –69 dB |
10 SPS | 10.037 SPS | 4.76 Hz | –106 dB | –74 dB | –80 dB | –69 dB |
20 SPS | 20.075 SPS | 14.8 Hz | –71 dB | –74 dB | –66 dB | –68 dB |
40 SPS | 40.15 SPS | 9.03 Hz | — | — | — | — |
80 SPS | 80.301 SPS | 19.8 Hz | — | — | — | — |
160 SPS | 160.6 SPS | 118 Hz | — | — | — | — |
320 SPS | 321.608 SPS | 154 Hz | — | — | — | — |
640 SPS | 643.21 SPS | 495 Hz | — | — | — | — |
1000 SPS | 1000 SPS | 732 Hz | — | — | — | — |
2000 SPS | 2000 SPS | 1465 Hz | — | — | — | — |
space
The voltage reference for the device is the differential voltage between REFP and REFN, given by Equation 13:
In the case of the ADS1246, these pins are dedicated inputs. For the ADS1247 and ADS1248, there is a multiplexer that selects the reference inputs, as shown in Figure 68. The reference input uses a buffer to increase the input impedance.
As with the analog inputs, REFP0 and REFN0 can be configured as digital I/Os on the ADS1247 and ADS1248.
The reference input circuit has ESD diodes to protect the inputs. To prevent the diodes from turning on, make sure the voltage on the reference input pin is not less than AVSS – 100 mV, and does not exceed AVDD + 100 mV, as shown in Equation 14.
The ADS1247 and ADS1248 have an internal voltage reference with a low temperature coefficient. The output of the voltage reference is 2.048 V (nominal) with the capability of both sourcing and sinking up to 10 mA of current.
The voltage reference must have a capacitor connected between VREFOUT and VREFCOM. The value of the capacitance must be in the range of 1 μF to 47 μF. Large values provide more noise filtering of the reference; however, the turnon time increases with capacitance, as shown in Table 11. For stability reasons, VREFCOM must have a path with an impedance less than 10 Ω to AC ground nodes, such as GND (for a 0-V to 5-V analog power supply), or AVSS (for a ±2.5-V analog power supply). In case this impedance is higher than 10 Ω, connect a capacitor of at least 0.1 μF between VREFCOM and an AC ground node (for example, GND).
NOTE
Because time is required for the voltage reference to settle to the final voltage, take care when the device is turned off between conversions. Allow adequate time for the internal reference to fully settle before starting a new conversion.
VREFOUT CAPACITOR | SETTLING ERROR | TIME TO REACH THE SETTLING ERROR |
---|---|---|
1 μF | ±0.5% | 70 μs |
±0.1% | 110 μs | |
4.7 μF | ±0.5% | 290 μs |
±0.1% | 375 μs | |
47 μF | ±0.5% | 2.2 ms |
±0.1% | 2.4 ms |
The internal reference is controlled by the MUX1 register; by default, the internal reference is off after power up (see ADS1247 and ADS1248 Detailed Register Definitions for more details). Therefore, the internal reference must first be turned on and then connected through the internal reference multiplexer. Because the internal reference is used to generate the current reference for the excitation current sources, it must be turned on before the excitation currents become available.
The ADS1247 and ADS1248 provide two matched excitation current sources (IDACs) for RTD applications. For three-wire RTD applications, the matched current sources can be used to cancel the errors caused by sensor lead resistance. The output current of the IDACs can be programmed to 50 μA, 100 μA, 250 μA,
500 μA, 750 μA, 1000 μA, or 1500 μA.
The two matched current sources can be connected to dedicated current output pins IEXC1 and IEXC2 (ADS1248 only), or to any analog input pin (ADS1247 and ADS1248); see ADS1247 and ADS1248 Detailed Register Definitions for more information. Both current sources can be connected to the same pin. The internal reference must be turned on and the proper amount of capacitance applied to VREFOUT when using the excitation current sources.
To help detect a possible sensor malfunction, the device provides selectable current sources (0.5 μA, 2 μA, or
10 μA) to act as burn-out current sources. When enabled, one current source sources current to the selected positive analog input (AINP) while the other current source sinks current from the selected negative analog input (AINN).
In case of an open circuit in the sensor, these burn-out current sources pull the positive input towards AVDD and the negative input towards AVSS, resulting in a full-scale reading. A full-scale reading may also indicate that the sensor is overloaded or that the reference voltage is absent. A near-zero reading may indicate a shorted sensor. The absolute value of the burn-out current sources typically varies by ±10% and the internal multiplexer adds a small series resistance. Therefore, distinguishing a shorted sensor condition from a normal reading can be difficult, especially if an RC filter is used at the inputs. In other words, even if the sensor is shorted, the voltage drop across the external filter resistance and the residual resistance of the multiplexer causes the output to read a value higher than zero.
The ADC readings of a functional sensor may be corrupted when the burn-out current sources are enabled. TI recommends disabling the burn-out current sources when performing the precision measurement, and only enabling them to test for sensor fault conditions.
A selectable bias voltage is provided for use with unbiased thermocouples. The bias voltage is (AVDD + AVSS) / 2 and can be applied to any analog input channel through the internal input multiplexer. The bias voltage turnon times for different sensor capacitances are listed in Table 12.
The internal bias voltage generator, when selected on multiple channels, causes them to be internally shorted. Because of this, take care to limit the amount of current that may flow through the device. TI recommends that under no circumstances should more than 5 mA be allowed to flow through this path. This applies when the device is in operation and when it is powered down.
SENSOR CAPACITANCE | SETTLING TIME |
---|---|
0.1 μF | 220 μs |
1 μF | 2.2 ms |
10 μF | 22 ms |
200 μF | 450 ms |
The ADS1248 has eight pins and the ADS1247 has four pins that serve a dual purpose as either analog inputs or general-purpose digital inputs and outputs (GPIOs).
Three registers control the function of the GPIO pins. Use the GPIO configuration register (IOCFG) to enable a pin as a GPIO pin. The GPIO direction register (IODIR) configures the GPIO pin as either an input or an output. Finally, the GPIO data register (IODAT) contains the GPIO data. If a GPIO pin is configured as an input, the respective IODAT[x] bit reads the status of the pin; if a GPIO pin is configured as an output, write the output status to the respective IODAT[x] bit. For more information about the use of GPIO pins, please see the ADS1247 and ADS1248 Detailed Register Definitions section.
Figure 69 shows a diagram of how these functions are combined onto a single pin. Note that when the pin is configured as a GPIO, the corresponding logic is powered from AVDD and AVSS. When the ADS1247 and ADS1248 are operated with bipolar analog supplies, the GPIO outputs bipolar voltages. Care must be taken loading the GPIO pins when used as outputs because large currents can cause droop or noise on the analog supplies.
The ADS1247 and ADS1248 provide a system monitor function. This function can measure the analog power supply, digital power supply, external voltage reference, or ambient temperature. Note that the system monitor function provides a coarse result. When the system monitor is enabled, the analog inputs are disconnected.
The system monitor can measure the analog or digital power supply. When measuring the power supply (VSP), the resulting conversion is approximately 1/4 of the actual power supply voltage, as shown in Equation 15.
The ADC can measure the external voltage reference. In this configuration, the monitored external voltage reference (VREX) is connected to the analog input. The result (conversion code) is approximately 1/4 of the actual reference voltage, as shown in Equation 16.
NOTE
The internal reference voltage must be enabled when measuring an external voltage reference using the system monitor.
On-chip diodes provide temperature-sensing capability. When selecting the temperature monitor function, the anodes of two diodes are connected to the ADC. Typically, the difference in diode voltage is 118 mV at
TA = 25°C with a temperature coefficient of 405 μV/°C.
When DVDD is powered up, the internal power-on reset module generates a pulse that resets all digital circuitry. All the digital circuits are held in a reset state for 216 system clocks to allow the analog circuits and the internal digital power supply to settle. SPI communication cannot occur until the internal reset is released.
When the RESET pin goes low, the device is immediately reset. All registers are restored to default values. The device stays in reset mode as long as the RESET pin stays low. When the RESET pin goes high, the ADC comes out of reset mode and is able to convert data. After the RESET pin goes high, and when the system clock frequency is 4.096 MHz, the digital filter and the registers are held in a reset state for 0.6 ms when
fCLK = 4.096 MHz. Therefore, valid SPI communication can only be resumed 0.6 ms after the RESET pin goes high; see Figure 4. When the RESET pin goes low, the clock selection is reset to the internal oscillator.
A reset can also be performed by the RESET command through the serial interface and is functionally the same as using the RESET pin. For information about using the RESET command, see RESET (0000 011X).
Power consumption is reduced to a minimum by placing the device into power-down mode. There are two ways to put the device into power-down mode: using the SLEEP command and taking the START pin low.
During power-down mode, the internal reference status depends on the setting of the VREFCON bits in the MUX1 register; see Register Maps for details.
The START pin provides precise control of conversions. Pulse the START pin high to begin a conversion, as shown in Figure 70 and Table 13. The conversion completion is indicated by the DRDY pin going low and with the DOUT/DRDY pin when the DRDY MODE bit is 1 in the IDAC0 register. When the conversion completes, the device automatically powers down. During power down, the conversion result can be retrieved; however, START must be taken high before communicating with the configuration registers. The device stays powered down until the START pin is returned high to begin a new conversion. When the START pin is returned high, the decimation filter is held in a reset state for 32 modulator clock cycles internally to allow the analog circuits to settle.
Holding the START pin high will configure the device to continuously convert as shown in Figure 71.
SYMBOL | DESCRIPTION | DATA RATE (SPS) | VALUE | UNIT |
---|---|---|---|---|
tCONV | Time from the START rising edge to DRDY and DOUT/DRDY going low | 5 | 200.295 | ms |
10 | 100.644 | ms | ||
20 | 50.825 | ms | ||
40 | 25.169 | ms | ||
80 | 12.716 | ms | ||
160 | 6.489 | ms | ||
320 | 3.247 | ms | ||
640 | 1.692 | ms | ||
1000 | 1.138 | ms | ||
2000 | 0.575 | ms |
With the START pin held high, the ADC converts the selected input channels continuously. This configuration continues until the START pin is taken low. The START pin can also be used to perform synchronized measurements for multi-channel applications by pulsing the START pin. With multiple devices, if each device receives the START pin pulse at the same time, all devices start a conversion on the rise of the start pin. If all devices are operating with the same data rate, all of the devices complete the conversion at the same time.
Conversions can also be initiated through SPI commands as well. Similar to using the START pin, the device can be put into a power-down mode using the SLEEP command. Functionally, this is similar to taking the START pin low. To initiate a conversion, the WAKEUP command powers up the ADC and starts a conversion, similar to returning the START pin high. Note that the START pin must be held high to use commands to control conversions. Do not combine using the START pin and using commands to control conversions.
Also, sending a SYNC command immediately starts a new ADC conversion. For the SYNC command, the digital filter is reset, starting a new conversion without completing the previous conversion. This is useful in synchronizing conversions from multiple devices or maintaining periodic timing from multiple channels.
Similarly, writing to any of the first four registers (MUX0, VBIAS, MUX1, or SYS0; addresses 00h to 04h) automatically resets the digital filter. A change in any of these registers makes the appropriate setup change in the device, but also restarts the conversion similar to a SYNC command.
The device is a true single-cycle settling ΔΣ converter. The first data available after the start of a conversion are fully settled and valid for use, provided that the input signal has settled to its final result. The time required to settle is roughly equal to the inverse of the data rate. The exact time depends on the specific data rate and the operation that resulted in the start of a conversion; see Table 14 for specific values.
When cycling through channels, take care when configuring the device to ensure that settling occurs within one cycle. For setups that cycle through MUX channels, but do not change PGA and data rate settings, changing the MUX0 register is sufficient. However, when changing PGA and data rate settings, ensure that an overloaded condition cannot occur during the transmission. When configuration register data are transferred to the device, new settings become active at the end of each register byte sent. Therefore, a brief overload condition can occur during the transmission of configuration data after the completion of the MUX0 byte and before completion of the SYS0 byte. This temporary overload can result in intermittent incorrect readings. To ensure that an overload does not occur, it may be necessary to split the communication into two separate communications allowing the change of the SYS0 register before the change of the MUX0 register.
In the event of an overloaded state, take care to ensure single-cycle settling into the next cycle. Because the device implements a chopper-stabilized PGA, changing data rates during an overload state can cause the chopper to become unstable. This instability results in slow settling time. To prevent this slow settling, always change the PGA setting or MUX setting to a non-overloaded state before changing the data rate.
The ADS1246, ADS1247, and ADS1248 are capable of single-cycle settling across all gains and data rates. However, to achieve single-cycle settling at 2 kSPS, special care must be taken with respect to the interface using WREG to change a configuration register. When operating at 2 kSPS, the SCLK period must not exceed 520 ns, and the time between the beginning of writing a register byte data and the beginning of a subsequent register byte data must not exceed 4.2 µs. Additionally, when performing multiple individual write commands to the first four registers, wait at least 64 system clocks before initiating another write command.
Apart from the RESET command and the RESET pin, the digital filter is reset automatically when either a write operation to the MUX0, VBIAS, MUX1, or SYS0 registers is performed, when a SYNC command is issued, or the START pin is taken high.
The filter is reset four system clocks (tCLK) after the falling edge of the seventh SCLK of the SYNC command. Similarly, if any write operation takes place in the MUX0 register, regardless of whether the register value changed or not, the filter is reset after the completion of the MUX0 write.
If any write activity takes place in the VBIAS, MUX1, or SYS0 registers, regardless of whether the register value changed or not, the filter is reset. The reset pulse lasts for 32 modulator clocks after the completion of the write operation. If there are multiple write operations, the resulting reset pulse may be viewed as the ANDed result of the different active low pulses created individually by each action.
Table 14 shows the conversion time after a filter reset. Note that this time depends on the operation initiating the reset. Also, the first conversion after a filter reset has a slightly different time than the second and subsequent conversions.
NOMINAL DATA RATE (SPS) | EXACT DATA RATE (SPS) |
FIRST DATA CONVERSION TIME AFTER FILTER RESET | SECOND AND SUBSEQUENT CONVERSION TIME AFTER FILTER RESET | ||||
---|---|---|---|---|---|---|---|
SYNC COMMAND, MUX0 REGISTER WRITE | HARDWARE RESET, RESET COMMAND, START PIN HIGH, WAKEUP COMMAND, VBIAS, MUX1, or SYS0 REGISTER WRITE | ||||||
(ms)(1) | NO. OF SYSTEM CLOCK CYCLES | (ms)(1) | NO. OF SYSTEM CLOCK CYCLES | (ms)(1) | NO. OF SYSTEM CLOCK CYCLES | ||
5 | 5.019 | 199.258 | 816160 | 200.26 | 820265 | 199.250 | 816128 |
10 | 10.038 | 99.633 | 408096 | 100.635 | 412201 | 99.625 | 408064 |
20 | 20.075 | 49.820 | 204064 | 50.822 | 208169 | 49.812 | 204032 |
40 | 40.151 | 24.92 | 102072 | 25.172 | 103106 | 24.906 | 102016 |
80 | 80.301 | 12.467 | 51064 | 12.719 | 52098 | 12.453 | 51008 |
160 | 160.602 | 6.240 | 25560 | 6.492 | 26594 | 6.226 | 25504 |
320 | 321.608 | 3.124 | 12796 | 3.25 | 13314 | 3.109 | 12736 |
640 | 643.216 | 1.569 | 6428 | 1.695 | 6946 | 1.554 | 6368 |
1000 | 1000 | 1.014 | 4156 | 1.141 | 4674 | 1 | 4096 |
2000 | 2000 | 0.514 | 2108 | 0.578 | 2370 | 0.5 | 2048 |
The conversion data are scaled by offset and gain registers before yielding the final output code. As shown in Figure 72, the output of the digital filter is first subtracted by the offset register (OFC) and then multiplied by the full-scale register (FSC) to digitally scale the gain. A digital clipping circuit ensures that the output code does not exceed 24 bits. Equation 17 shows the scaling.
The values of the offset and full-scale registers are set by writing to them directly, or they are set automatically by calibration commands.
The offset and gain calibration features are intended for correction of minor system level offset and gain errors. When entering manual values into the calibration registers, care must be taken to avoid scaling down the gain register to values far below a scaling factor of 1.0. Under extreme situations it is possible to over-range the ADC. Avoid encountering situations where analog inputs are connected to voltages greater than VREF / gain.
Take care when increasing digital gain with the FSC. When implementing custom digital gains less than 20% higher than nominal and offsets less than 40% of full scale, no special care is required. When operating at digital gains greater than 20% higher than nominal and offsets greater than 40% of full scale, make sure that the offset and gain registers follow the conditions of Equation 18.
The offset calibration register is a 24-bit word, composed of three 8-bit registers. The offset is in twos complement format with a maximum positive value of 7FFFFFh and a maximum negative value of 800000h. This value is subtracted from the conversion data. A register value of 000000h provides no offset correction. Note that while the offset calibration register value can correct offsets ranging from –FS to +FS (as shown in Table 15), avoid overloading the analog inputs.
OFFSET REGISTER | FINAL OUTPUT CODE WITH VIN = 0(1) |
---|---|
7FFFFFh | 800000h |
000001h | FFFFFFh |
000000h | 000000h |
FFFFFFh | 000001h |
800000h | 7FFFFFh |
The full-scale or gain calibration register is a 24-bit word composed of three 8-bit registers. The full-scale calibration value is 24-bit, straight binary, normalized to 1.0 at code 400000h. Table 16 summarizes the scaling of the full-scale register. Note that while the full-scale calibration register can correct gain errors > 1 (with gain scaling < 1), make sure to avoid overloading the analog inputs. The default or reset value of FSC depends on the PGA gain setting. A different factory-trimmed FSC reset value is stored for each PGA gain setting which provides gain accuracy over all the device input ranges.
NOTE
The factory-trimmed FSC reset value loads automatically whenever the PGA gain setting changes.
FULL-SCALE REGISTER | GAIN SCALING |
---|---|
800000h | 2.0 |
400000h | 1.0 |
200000h | 0.5 |
000000h | 0 |
The device provides commands for three types of calibration: system gain calibration, system offset calibration and self offset calibration. Where absolute accuracy is needed, TI recommends performing a calibration after power up, a change in temperature, a change of gain, and in some cases a change in channel. At the completion of calibration, the DRDY signal goes low indicating the calibration has completed. The first data after calibration are always valid. If the START pin is taken low or a SLEEP command is issued after any calibration command, the device powers down after completing calibration.
After a calibration has started, allow the calibration to complete before issuing any other commands (other than the SLEEP command). Issuing commands during a calibration can result in corrupted data. If this occurs, either resend the calibration command that was aborted or issue a device reset.
System offset calibration corrects both internal and external offset errors. The system offset calibration is initiated by sending the SYSOCAL command while applying a zero differential input (VIN = 0) to the selected analog inputs while the inputs are within the input common-mode range, ideally at mid-supply.
The self offset calibration is initiated by sending the SELFOCAL command. During self offset calibration, the selected inputs are disconnected from the internal circuitry and a zero differential signal is applied internally, connecting the inputs to mid-supply. With both offset calibrations the offset calibration register (OFC) is updated afterwards. When either offset calibration command is issued, the device stops the current conversion and starts the calibration procedure immediately. An offset calibration should be performed before a gain calibration.
System gain calibration corrects for gain error in the signal path. The system gain calibration is initiated by sending the SYSGCAL command while applying a full-scale input to the selected analog inputs. Afterwards the full-scale calibration register (FSC) is updated. When a system gain calibration command is issued, the device stops the current conversion and starts the calibration procedure immediately.
When calibration is initiated, the device performs 16 consecutive data conversions and averages the results to calculate the calibration value. This provides a more accurate calibration value. The time required for calibration is shown in Table 17 and can be calculated using Equation 19:
where
DATA RATE (SPS) |
CALIBRATION TIME (tCAL) (ms)(1) |
---|---|
5 | 3201.01 |
10 | 1601.01 |
20 | 801.012 |
40 | 400.26 |
80 | 200.26 |
160 | 100.14 |
320 | 50.14 |
640 | 25.14 |
1000 | 16.14 |
2000 | 8.07 |
The device provides an SPI-compatible serial communication interface plus a data ready signal (DRDY). Communication is full-duplex with the exception of a few limitations in regards to the RREG command and the RDATA command. These limitations are explained in detail in Commands. For the basic serial interface timing characteristics, see Figure 1 and Figure 2 of this document.
The CS pin activates SPI communication. CS must be low before data transactions and must stay low for the entire SPI communication period. When CS is high, the DOUT/DRDY pin enters a high-impedance state. Therefore, reading and writing to the serial interface are ignored and the serial interface is reset. DRDY pin operation is independent of CS. DRDY will still indicate that a new conversion has completed and is forced high as a response to SCLK, even if CS is high.
Taking CS high deactivates only the SPI communication with the device. Data conversion continues and the DRDY signal can be monitored to check if a new conversion result is ready. A master device monitoring the DRDY signal can select the appropriate slave device by pulling the CS pin low.
SCLK provides the clock for serial communication. SCLK is a Schmitt-trigger input, but TI recommends keeping SCLK as free from noise as possible to prevent glitches from inadvertently shifting the data. Data are shifted into DIN on the falling edge of SCLK and shifted out of DOUT on the rising edge of SCLK.
DIN is used along with SCLK to send data to the device. Data on DIN are shifted into the device on the falling edge of SCLK.
The communication of this device is full-duplex in nature. The device monitors commands shifted in even when data are being shifted out. Data that are present in the output shift register are shifted out when sending in a command. Therefore, make sure that whatever is being sent on the DIN pin is valid when shifting out data. When no command is to be sent to the device when reading out data, send the NOP command on DIN.
The DRDY pin goes low to indicate a new conversion is complete, and the conversion result is stored in the conversion result buffer. SCLK must be held low for tDTS after the DRDY low transition (see Figure 2) so that the conversion result is loaded into both the result buffer and the output shift register. Therefore, issue no commands during this time frame if the conversion result is to be read out later. This constraint applies only when CS is asserted and the device is in RDATAC mode. When CS is not asserted, SPI communication with other devices on the SPI bus does not affect loading of the conversion result. After the DRDY pin goes low, it is forced high on the first falling edge of SCLK (so that the DRDY pin can be polled for 0 instead of waiting for a falling edge). If the DRDY pin is not taken high by clocking in SCLKs after it falls low, a short high pulse for a duration of tPWH indicates new data are ready.
The DOUT/DRDY pin has two modes: data out (DOUT) only, or DOUT combined with data ready (DRDY). The DRDY MODE bit determines the function of this pin and can be found in the ID register in the ADS1246 and the IDAC0 register in the ADS1247 and ADS1248. In either mode, the DOUT/DRDY pin goes to a high-impedance state when CS is taken high.
When the DRDY MODE bit is set to 0, this pin functions as DOUT only. Data are clocked out on the rising edge of SCLK, MSB first (as shown in Figure 73).
When the DRDY MODE bit is set to 1, this pin functions as both DOUT and DRDY. Data are shifted out as with DOUT, but the pin adds the DRDY function. Note that this mode will not be operational when the device is in stop read data continuous mode when the SDATAC command is given.
The DRDY MODE bit modifies only the DOUT/DRDY pin functionality. The DRDY pin functionality remains unaffected.
When the DRDY MODE bit is enabled and a new conversion is complete, DOUT/DRDY goes low if it is high. If it is already low, then DOUT/DRDY goes high and then goes low (as shown in Figure 74). Similar to the DRDY pin, a falling edge on the DOUT/DRDY pin signals that a new conversion result is ready. After DOUT/DRDY goes low, the data can be clocked out by providing 24 SCLKs if the device is in read data continuous mode. In order to force DOUT/DRDY high (so that DOUT/DRDY can be polled for a 0 instead of waiting for a falling edge), a no operation command (NOP) or any other command that does not load the data output register can be sent after reading out the data. Because SCLKs can only be sent in multiples of eight, a NOP can be sent to force DOUT/DRDY high if no other command is pending. The DOUT/DRDY pin goes high after the first rising edge of SCLK after reading the conversion result completely (as shown in Figure 75). The same condition also applies after an RREG command. After all the register bits have been read out, the first rising edge of SCLK forces DOUT/DRDY high. Figure 76 shows an example where sending an extra NOP command after reading out a register with an RREG command forces the DOUT/DRDY pin high.
NOINDENT:
DRDY MODE bit enabled, CS tied low.SPI communication is reset in several ways. To reset the serial interface (without resetting the registers or the digital filter), the CS pin can be pulled high. Taking the RESET pin low resets the serial interface along with all the other digital functions. It will also return all registers to their default values and start a new conversion.
In systems where CS is tied low permanently, register writes must always be fully completed in 8-bit increments. If a glitch on SCLK disrupts SPI communications, commands will not be recognized by the device. The device implements a timeout function for all listed commands in the event that data are corrupted and the CS pin is permanently tied low. The SPI timeout will reset the interface if idle for 64 conversion cycles.
When the START pin is low or the device is in power-down mode, only the RDATA, RDATAC, SDATAC, WAKEUP, and NOP commands can be issued. The RDATA command can be used to repeatedly read the last conversion result during power-down mode. Other commands do not function because the internal clock is shut down to save power during power-down mode.
The device provides 24 bits of data in binary twos complement format. The size of one code (LSB) is calculated using Equation 20.
A positive full-scale (FS) input [VIN ≥ (+FS – 1 LSB) = (VREF / Gain – 1 LSB)] produces an output code of 7FFFFFh and a negative full-scale input (VIN ≤ –FS = –VREF / Gain) produces an output code of 800000h. The output clips at these codes for signals that exceed full-scale. Table 18 summarizes the ideal output codes for different input signals.
INPUT SIGNAL, VIN
(AINP – AINN) |
IDEAL OUTPUT CODE(1) |
---|---|
≥ FS (223 – 1) / 223 | 7FFFFFh |
FS / 223 | 000001h |
0 | 000000h |
–FS / 223 | FFFFFFh |
≤ –FS | 800000h |
Mapping of the analog input signal to the output codes is shown in Figure 77.
The device offers 13 commands to control device operation as shown in Table 19. Some of the commands are stand-alone commands (WAKEUP, SLEEP, SYNC, RESET, SYSOCAL, SYSGCAL, and SELFOCAL). There are three additional commands used to control the read of data from the device (RDATA, RDATAC, and SDATAC). The commands to read (RREG) and write (WREG) configuration register data from and to the device require additional information as part of the instruction. A no-operation command (NOP) can be used to clock out data from the device without clocking in a command.
Operands:
COMMAND(1) | DESCRIPTION | 1st COMMAND BYTE | 2nd COMMAND BYTE |
---|---|---|---|
WAKEUP | Exit power-down mode | 0000 000x (00h, 01h) | |
SLEEP | Enter power-down mode | 0000 001x (02h, 03h) | |
SYNC | Synchronize ADC conversions | 0000 010x (04h, 05h) | 0000 010x (04,05h) |
RESET | Reset to default values | 0000 011x (06h, 07h) | |
NOP | No operation | 1111 1111 (FFh) | |
RDATA | Read data once | 0001 001x (12h, 13h) | |
RDATAC | Read data continuous mode | 0001 010x (14h, 15h) | |
SDATAC | Stop read data continuous mode | 0001 011x (16h, 17h) | |
RREG | Read from register rrrr | 0010 rrrr (2xh) | 0000 nnnn |
WREG | Write to register rrrr | 0100 rrrr (4xh) | 0000 nnnn |
SYSOCAL | System offset calibration | 0110 0000 (60h) | |
SYSGCAL | System gain calibration | 0110 0001 (61h) | |
SELFOCAL | Self offset calibration | 0110 0010 (62h) | |
Restricted | Restricted command. Never send to the device. |
1111 0001 (F1h) |
Use the WAKEUP command to power up the device after a SLEEP command. After execution of the WAKEUP command, the device powers up on the falling edge of the eighth SCLK.
The SLEEP command places the device into power-down mode. When the SLEEP command is issued, the device completes the current conversion and then goes into power-down mode. Note that this command does not automatically power down the internal voltage reference; see the VREFCON bits in MUX1 for each device for further details.
To exit power-down mode, issue the WAKEUP command. Single conversions can be performed by issuing a WAKEUP command followed by a SLEEP command.
Both WAKEUP and SLEEP are the software command equivalents of using the START pin to control the device, as shown in Figure 78.
NOTE
If the START pin is held low, a WAKEUP command will not power up the device. When using the SLEEP command, CS must be held low for the duration of the power-down mode.
The SYNC command resets the ADC digital filter and starts a new conversion. The DRDY pin from multiple devices connected to the same SPI bus can be synchronized by issuing a SYNC command to all of devices simultaneously.
The RESET command restores the registers to the respective default values. This command also resets the digital filter. RESET is the command equivalent of using the RESET pin to reset the device. However, the RESET command does not reset the serial interface. If the RESET command is issued when the serial interface is out of synchonization due to a glitch on SCLK, the device does not reset. The CS pin can be used to reset the serial interface first, and then a RESET command can be issued to reset the device. The RESET command holds the registers and the decimation filter in a reset state for 0.6 ms when the system clock frequency is 4.096 MHz, similar to the hardware reset. Therefore, SPI communication can be only be started 0.6 ms after the RESET command is issued, as shown in Figure 80.
The RDATA command loads the most recent conversion result into the output register. After issuing this command, the conversion result is read out by sending 24 SCLKs, as shown in Figure 81. This command also works in RDATAC mode.
When performing multiple reads of the conversion result, the RDATA command can be sent when the last eight bits of the conversion result are being shifted out during the course of the first read operation by taking advantage of the duplex communication nature of the serial interface, as shown in Figure 82.
The RDATAC command enables read data continuous mode. This is the default mode after a power up or reset. In read data continuous mode, new conversion results are automatically loaded onto DOUT. The conversion result can be received from the device after the DRDY signal goes low by sending 24 SCLKs. It is not necessary to read back all the bits, as long as the number of bits read out is a multiple of eight. The RDATAC command must be issued after DRDY goes low, and the command takes effect on the next DRDY.
Be sure to complete data retrieval (conversion result or register read-back) before DRDY returns low, or the resulting data will be corrupt. Successful register read operations in RDATAC mode require the knowledge of when the next DRDY falling edge occurs.
The SDATAC command terminates read data continuous mode. In stop read data continuous mode, the conversion result is not automatically loaded onto DOUT when DRDY goes low, and register read operations can be performed without interruption from new conversion results being loaded into the output shift register. Use the RDATA command to retrieve conversion data. The SDATAC command takes effect after the next DRDY.
If DRDY is not actively monitored for data conversions, the stop read data continuous mode is the preferred method of reading data. In this mode, a read of ADC data is not interrupted by the completion of a new ADC conversion.
The RREG command outputs the data from up to 15 registers, starting with the register address specified as part of the instruction. The number of registers read is one plus the value of the second byte. If the count exceeds the remaining registers, the addresses wrap back to the beginning. The two byte command structure for RREG is listed below.
It is not possible to use the full-duplex nature of the serial interface when reading out the register data. For example, a SYNC command cannot be issued when reading out the VBIAS and MUX1 data, as shown in Figure 84. Any command sent during the readout of the register data is ignored. Thus, TI recommends sending NOPs through DIN when reading out the register data.
The WREG command writes to the registers, starting with the register specified as part of the instruction. The number of registers that are written is one plus the value of the second byte. The command structure for WREG is listed below.
The SYSOCAL command initiates a system offset calibration. For a system offset calibration, the inputs must be externally shorted to a voltage within the input common mode range. The inputs should be near the mid-supply voltage of (AVDD + AVSS) / 2. The OFC register is updated when the command completes. Timing for the calibration commands can be found in Figure 86.
The SYSGCAL command initiates the system gain calibration. For a system gain calibration, the input should be set to full-scale. The FSC register is updated after this operation. Timing for the calibration commands can be found in Figure 86.
The SELFOCAL command initiates a self offset calibration. The device internally shorts the inputs to mid-supply and performs the calibration. The OFC register is updated after this operation. Timing for the calibration commands can be found in Figure 86.
This is a no-operation command. This is used to clock out data without clocking in a command.
This is a restricted command. This command should never be issued to the device.
ADDRESS | REGISTER | BIT 7 | BIT 6 | BIT 5 | BIT 4 | BIT 3 | BIT 2 | BIT 1 | BIT 0 |
---|---|---|---|---|---|---|---|---|---|
00h | BCS | BCS[1:0] | 0 | 0 | 0 | 0 | 0 | 1 | |
01h | VBIAS | 0 | 0 | 0 | 0 | 0 | 0 | VBIAS[1:0] | |
02h | MUX1 | CLKSTAT | 0 | 0 | 0 | 0 | MUXCAL[2:0] | ||
03h | SYS0 | 0 | PGA[2:0] | DR[3:0] | |||||
04h | OFC0 | OFC[7:0] | |||||||
05h | OFC1 | OFC[15:8] | |||||||
06h | OFC2 | OFC[23:16] | |||||||
07h | FSC0 | FSC[7:0] | |||||||
08h | FSC1 | FSC[15:8] | |||||||
09h | FSC2 | FSC[23:16] | |||||||
0Ah | ID | ID[3:0] | DRDY MODE | 0 | 0 | 0 |
These bits control the sensor burn-out detect current source.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BCS[1:0] | 0 | 0 | 0 | 0 | 0 | 1 | |
R/W-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-1h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:6 | BCS[1:0] | R/W | 0h | Burn-out Detect Current Source
These bits control the setting of the sensor burn-out detect current source 00: Burn-out current source off (default) 01: Burn-out current source on, 0.5 μA 10: Burn-out current source on, 2 μA 11: Burn-out current source on, 10 μA |
5:0 | RESERVED | R | 01h | Reserved
Always write 000001 |
This register enables a bias voltage on the analog inputs.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | VBIAS[1:0] | |
R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:2 | RESERVED | R | 00h | Reserved
Always write 000000 |
1 | VBIAS[1] | R/W | 0h | VBIAS[1] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AINN 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AINN |
0 | VBIAS[0] | R/W | 0h | VBIAS[0] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AINP 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AINP |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CLKSTAT | 0 | 0 | 0 | 0 | MUXCAL[2:0] | ||
R-xh | R-0h | R-0h | R-0h | R-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | CLKSTAT | R | xh | Clock status
This bit is read-only and indicates whether the internal oscillator or external clock is being used. 0: Internal oscillator in use 1: External clock in use |
6:3 | RESERVED | R | 0h | Reserved
Always write 0000 |
2:0 | MUXCAL | R/W | 0h | System Monitor Control
These bits are used to select a system monitor. The MUXCAL selection supercedes the selections from the VBIAS register. 000: Normal operation (default) 001: Offset calibration. The analog inputs are disconnected and AINP and AINN are internally connected to mid-supply (AVDD + AVSS) / 2. 010: Gain calibration. The analog inputs are connected to the voltage reference. 011: Temperature measurement. The inputs are connected to a diode circuit that produces a voltage proportional to the ambient temperature of the device. |
Table 24 lists the ADC input connection and PGA settings for each MUXCAL setting. The PGA setting reverts to the original SYS0 register setting when MUXCAL is taken back to normal operation or offset measurement.
MUXCAL[2:0] | PGA GAIN SETTING | ADC INPUT |
---|---|---|
000 | Set by SYS0 register | Normal operation |
001 | Set by SYS0 register | Offset calibration: inputs shorted to mid-supply (AVDD + AVSS) / 2 |
010 | Forced to 1 | Gain calibration: V(REFP) – V(REFN) (full-scale) |
011 | Forced to 1 | Temperature measurement diode |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | PGA[2:0] | DR[3:0] | |||||
R-0h | R/W-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | RESERVED | R | 0h | Reserved
This bit must always be set to 0 |
6:4 | PGA[2:0] | R/W | 0h | Gain Setting for PGA
These bits determine the gain of the PGA 000: PGA = 1 (default) 001: PGA = 2 010: PGA = 4 011: PGA = 8 100: PGA = 16 101: PGA = 32 110: PGA = 64 111: PGA = 128 |
3:0 | DR[3:0] | R/W | 0h | Data Output Rate Setting
These bits determine the data output rate of the ADC 0000: DR = 5 SPS (default) 0001: DR = 10 SPS 0010: DR = 20 SPS 0011: DR = 40 SPS 0100: DR = 80 SPS 0101: DR = 160 SPS 0110: DR = 320 SPS 0111: DR = 640 SPS 1000: DR = 1000 SPS 1001 to 1111: DR = 2000 SPS |
These bits make up the offset calibration coefficient register of the ADS1246.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFC[7:0] | |||||||
R/W-00h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
OFC[15:8] | |||||||
R/W-00h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
OFC[23:16] | |||||||
R/W-00h | |||||||
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
23:0 | OFC[23:0] | R/W | 000000h | Offset Calibration Register
Three registers compose the ADC 24-bit offset calibration word. The 24-bit word is twos complement format and is internally left-shifted to align with the ADC 24-bit conversion result. The ADC subtracts the register value from the conversion result before full scale operation. |
These bits make up the full-scale calibration coefficient register. The reset value for FSC is factory-trimmed for each PGA setting. The factory-trimmed FSC reset value is automatically loaded whenever the PGA setting is changed.
7 | 6 | 5 | 4 | 3 | 2 | 4 | 0 |
FSC[7:0] | |||||||
R/W-xxh | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
FSC[15:8] | |||||||
R/W-xxh | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
FSC[23:16] | |||||||
R/W-xxh | |||||||
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
23:0 | FSC[23:0] | R/W | xxxxxxh | Full-Scale Calibration Register
Three registers compose the ADC 24-bit full-scale calibration word. The 24-bit word is straight binary. The ADC divides the register value by the FSC register by 400000h to derive the scale factor for calibration. After the offset calibration, the ADC multiplies the scale factor by the conversion result. The factory-trimmed FSC reset value is automatically loaded whenever the PGA setting is changed. |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ID[3:0] | DRDY MODE | 0 | 0 | 0 | |||
R-xh | R/W-0h | R-0h | R-0h | R-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:4 | ID[3:0] | R | xh | Revision Identification
Read-only, factory-programmed bits; used for revision identification. |
3 | DRDY MODE | R/W | 0h | Data Ready Mode Setting
This bit sets the DOUT/DRDY pin functionality. In either setting of the DRDY MODE bit, the dedicated DRDY pin continues to indicate data ready, active low. 0: DOUT/DRDY pin functions only as Data Out (default) 1: DOUT/DRDY pin functions both as Data Out and Data Ready, active low(1) |
2:0 | RESERVED | R | 0h | RESERVED
These bits must always be set to 000 |
ADDRESS | REGISTER | BIT 7 | BIT 6 | BIT 5 | BIT 4 | BIT 3 | BIT 2 | BIT 1 | BIT 0 |
---|---|---|---|---|---|---|---|---|---|
00h | MUX0 | BCS[1:0] | MUX_SP[2:0] | MUX_SN[2:0] | |||||
01h | VBIAS | VBIAS[7:0] | |||||||
02h | MUX1 | CLKSTAT | VREFCON[1:0] | REFSELT[1:0] | MUXCAL[2:0] | ||||
03h | SYS0 | 0 | PGA[2:0] | DR[3:0] | |||||
04h | OFC0 | OFC[7:0] | |||||||
05h | OFC1 | OFC[15:8] | |||||||
06h | OFC2 | OFC[23:16] | |||||||
07h | FSC0 | FSC[7:0] | |||||||
08h | FSC1 | FSC[15:8] | |||||||
09h | FSC2 | FSC[23:16] | |||||||
0Ah | IDAC0 | ID[3:0] | DRDY MODE | IMAG[2:0] | |||||
0Bh | IDAC1 | I1DIR[3:0] | I2DIR[3:0] | ||||||
0Ch | GPIOCFG | IOCFG[7:0] | |||||||
0Dh | GPIODIR | IODIR[7:0] | |||||||
0Eh | GPIODAT | IODAT[7:0] |
This register allows any combination of differential inputs to be selected on any of the input channels. Note that this setting can be superceded by the MUXCAL and VBIAS bits.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BCS[1:0] | MUX_SP[2:0] | MUX_SN[2:0] | |||||
R/W-0h | R/W-0h | R/W-1h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:6 | BCS[1:0] | R/W | 0h | Burn-out Detect Current Source Register
These bits control the setting of the sensor burnout detect current source 00: Burn-out current source off (default) 01: Burn-out current source on, 0.5 μA 10: Burn-out current source on, 2 μA 11: Burn-out current source on, 10 μA |
5:3 | MUX_SP[2:0] | R/W | 0h | Multiplexer Selection - ADC Positive Input
Positive input channel selection bits 000: AIN0 (default) 001: AIN1 010: AIN2 011: AIN3 100: AIN4 (ADS1248 only) 101: AIN5 (ADS1248 only) 110: AIN6 (ADS1248 only) 111: AIN7 (ADS1248 only) |
2:0 | MUX_SN[2:0] | R/W | 1h | Multiplexer Selection - ADC Negative Input
Negative input channel selection bits 000: AIN0 001: AIN1 (default) 010: AIN2 011: AIN3 100: AIN4 (ADS1248 only) 101: AIN5 (ADS1248 only) 110: AIN6 (ADS1248 only) 111: AIN7 (ADS1248 only) |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | VBIAS[3:0] | |||
R-0h | R-0h | R-0h | R-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:4 | RESERVED | R | 0h | Reserved
Always write 0000 |
3 | VBIAS[3] | R/W | 0h | VBIAS[3] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN3 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN3 |
2 | VBIAS[2] | R/W | 0h | VBIAS[2] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN2 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN2 |
1 | VBIAS[1] | R/W | 0h | VBIAS[1] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN1 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN1 |
0 | VBIAS[0] | R/W | 0h | VBIAS[0] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN0 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN0 |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
VBIAS[7:0] | |||||||
R/W-00h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | VBIAS[7] | R/W | 0h | VBIAS[7] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN7 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN7 |
6 | VBIAS[6] | R/W | 0h | VBIAS[6] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN6 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN6 |
5 | VBIAS[5] | R/W | 0h | VBIAS[5] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN5 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN5 |
4 | VBIAS[4] | R/W | 0h | VBIAS[4] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN4 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN4 |
3 | VBIAS[3] | R/W | 0h | VBIAS[3] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN3 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN3 |
2 | VBIAS[2] | R/W | 0h | VBIAS[2] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN2 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN2 |
1 | VBIAS[1] | R/W | 0h | VBIAS[1] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN1 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN1 |
0 | VBIAS[0] | R/W | 0h | VBIAS[0] Voltage Enable
A bias voltage of mid-supply (AVDD + AVSS) / 2 is applied to AIN0 0: Bias voltage is not enabled (default) 1: Bias voltage is applied to AIN0 |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CLKSTAT | VREFCON[1:0] | REFSELT[1:0] | MUXCAL[2:0] | ||||
R-xh | R/W-0h | R/W-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | CLKSTAT | R | xh | Clock Status
This bit is read-only and indicates whether the internal oscillator or external clock is being used 0: Internal oscillator in use 1: External clock in use |
6:5 | VREFCON[1:0] | R/W | 0h | Internal Reference Control
These bits control the internal voltage reference. These bits allow the reference to be turned on or off completely, or allow the reference state to follow the state of the device. Note that the internal reference is required for operation of the IDAC functions. 00: Internal reference is always off (default) 01: Internal reference is always on 10 or 11: Internal reference is on when a conversion is in progress and powers-down when the device receives a SLEEP command or the START pin is taken low |
4:3 | REFSELT[1:0] | R/W | 0h | Reference Select Control
These bits select the reference input for the ADC. 00: REFP0 and REFN0 reference inputs selected (default) 01: REFP1 and REFN1 reference inputs selected (ADS1248 only) 10: Internal reference selected 11: Internal reference selected and internally connected to REFP0 and REFN0 input pins |
2:0 | MUXCAL[2:0](1) | R/W | 0h | System Monitor Control
These bits are used to select a system monitor. The MUXCAL selection supercedes selections from the MUX0, MUX1, and VBIAS registers (includes MUX_SP, MUX_SN, VBIAS, and reference input selections). 000: Normal operation (default) 001: Offset calibration. The analog inputs are disconnected and AINP and AINN are internally connected to mid-supply (AVDD + AVSS) / 2. 010: Gain calibration. The analog inputs are connected to the voltage reference. 011: Temperature measurement. The inputs are connected to a diode circuit that produces a voltage proportional to the ambient temperature of the device. 100: REF1 monitor. The analog inputs are disconnected and AINP and AINN are internally connected to (V(REFP1) – V(REFN1)) / 4 (ADS1248 only) 101: REF0 monitor. The analog inputs are disconnected and AINP and AINN are internally connected to (V(REFP0) – V(REFN0)) / 4 110: Analog supply monitor. The analog inputs are disconnected and AINP and AINN are internally connected to (AVDD – AVSS) / 4 111: Digital supply monitor. The analog inputs are disconnected and AINP and AINN are internally connected to (DVDD – DGND) / 4 |
Table 34 provides the ADC input connection and PGA settings for each MUXCAL setting. The PGA setting reverts to the original SYS0 register setting when MUXCAL is taken back to normal operation or offset measurement.
MUXCAL[2:0] | PGA GAIN SETTING | ADC INPUT |
---|---|---|
000 | Set by SYS0 register | Normal operation |
001 | Set by SYS0 register | Inputs shorted to mid-supply (AVDD + AVSS) / 2 |
010 | Forced to 1 | V(REFP) – V(REFN) (full-scale) |
011 | Forced to 1 | Temperature measurement diode |
100 | Forced to 1 | (V(REFP1) – V(REFN1)) / 4 |
101 | Forced to 1 | (V(REFP0) – V(REFN0)) / 4 |
110 | Forced to 1 | (AVDD – AVSS) / 4 |
111 | Forced to 1 | (DVDD – DGND) / 4 |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | PGA[2:0] | DR[3:0] | |||||
R-0h | R/W-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | RESERVED | R | 0h | Reserved
This bit must always be set to 0 |
6:4 | PGA[2:0] | R/W | 0h | Gain Setting for PGA
These bits determine the gain of the PGA 000: PGA = 1 (default) 001: PGA = 2 010: PGA = 4 011: PGA = 8 100: PGA = 16 101: PGA = 32 110: PGA = 64 111: PGA = 128 |
3:0 | DR[3:0] | R/W | 0h | Data Output Rate Setting
These bits determine the data output rate of the ADC 0000: DR = 5 SPS (default) 0001: DR = 10 SPS 0010: DR = 20 SPS 0011: DR = 40 SPS 0100: DR = 80 SPS 0101: DR = 160 SPS 0110: DR = 320 SPS 0111: DR = 640 SPS 1000: DR = 1000 SPS 1001 to 1111: DR = 2000 SPS |
These bits make up the offset calibration coefficient register of the ADS1247 and ADS1248.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFC[7:0] | |||||||
R/W-00h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
OFC[15:8] | |||||||
R/W-00h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
OFC[23:16] | |||||||
R/W-00h | |||||||
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
23:0 | OFC[23:0] | R/W | 000000h | Offset Calibration Register
Three registers compose the ADC 24-bit offset calibration word. The 24-bit word is twos complement format and is internally left-shifted to align with the ADC 24-bit conversion result. The ADC subtracts the register value from the conversion result before full scale operation. |
These bits make up the full-scale calibration coefficient register. The reset value for FSC is factory-trimmed for each PGA setting. The factory-trimmed FSC reset value is automatically loaded whenever the PGA setting is changed.
7 | 6 | 5 | 4 | 3 | 2 | 4 | 0 |
FSC[7:0] | |||||||
R/W-xxh | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
FSC[15:8] | |||||||
R/W-xxh | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
FSC[23:16] | |||||||
R/W-xxh | |||||||
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
23:0 | FSC[23:0] | R/W | xxxxxxh | Full-Scale Calibration Register
Three registers compose the ADC 24-bit full-scale calibration word. The 24-bit word is straight binary. The ADC divides the register value by the FSC register by 400000h to derive the scale factor for calibration. After the offset calibration, the ADC multiplies the scale factor by the conversion result. The factory-trimmed FSC reset value is automatically loaded whenever the PGA setting is changed. |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ID[3:0] | DRDY MODE | IMAG[2:0] | |||||
R-xh | R/W-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:4 | ID[3:0] | R | xh | Revision Identification
Read-only, factory-programmed bits; used for revision identification. |
3 | DRDY MODE | R/W | 0h | Data Ready Mode Setting
This bit sets the DOUT/DRDY pin functionality. In either setting of the DRDY MODE bit, the dedicated DRDY pin continues to indicate data ready, active low. 0: DOUT/DRDY pin functions only as Data Out (default) 1: DOUT/DRDY pin functions both as Data Out and Data Ready, active low(1) |
2:0 | IMAG[2:0] | R/W | 0h | IDAC Excitation Current Magnitude
The ADS1247 and ADS1248 have two excitation current sources (IDACs) that can be used for sensor excitation. The IMAG bits control the magnitude of the excitation current. The IDACs require the internal reference to be on. 000: off (default) 001: 50 μA 010: 100 μA 011: 250 μA 100: 500 μA 101: 750 μA 110: 1000 μA 111: 1500 μA |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | I1DIR[1:0] | 1 | 1 | I2DIR[1:0] | ||
R-1h | R-1h | R/W-3h | R-1h | R-1h | R/W-3h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
I1DIR[3:0] | I2DIR[3:0] | ||||||
R/W-Fh | R/W-Fh |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
The two IDACs on the ADS1248 can be routed to either the IEXC1 and IEXC2 output pins or directly to the analog inputs.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:4 | I1DIR[3:0] | R/W | Fh | IDAC Excitation Current Output 1
These bits select the output pin for the first excitation current source 0000: AIN0 0001: AIN1 0010: AIN2 0011: AIN3 0100: AIN4 (ADS1248 only) 0101: AIN5 (ADS1248 only) 0110: AIN6 (ADS1248 only) 0111: AIN7 (ADS1248 only) 10x0: IEXC1 (ADS1248 only) 10x1: IEXC2 (ADS1248 only) 11xx: Disconnected (default) |
3:0 | I2DIR[3:0] | R/W | Fh | IDAC Excitation Current Output 2
These bits select the output pin for the second excitation current source 0000: AIN0 0001: AIN1 0010: AIN2 0011: AIN3 0100: AIN4 (ADS1248 only) 0101: AIN5 (ADS1248 only) 0110: AIN6 (ADS1248 only) 0111: AIN7 (ADS1248 only) 10x0: IEXC1 (ADS1248 only) 10x1: IEXC2 (ADS1248 only) 11xx: Disconnected (default) |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | IOCFG[3:0] | |||
R-0h | R-0h | R-0h | R-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:4 | RESERVED | R | 0h | Reserved
Always write 0000 |
3 | IOCFG[3] | R/W | 0h | GPIO[3] (AIN3) Pin Configuration
0: GPIO[3] is not enabled (default) 1: GPIO[3] is applied to AIN3 |
2 | IOCFG[2] | R/W | 0h | GPIO[2] (AIN2) Pin Configuration
0: GPIO[2] is not enabled (default) 1: GPIO[2] is applied to AIN2 |
1 | IOCFG[1] | R/W | 0h | GPIO[1] (REFN0) Pin Configuration
0: GPIO[1] is not enabled (default) 1: GPIO[1] is applied to REFN0 |
0 | IOCFG[0] | R/W | 0h | GPIO[0] (REFP0) Pin Configuration
0: GPIO[0] is not enabled (default) 1: GPIO[0] is applied to REFP0 |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IOCFG[7:0] | |||||||
R/W-00h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | IOCFG[7] | R/W | 0h | GPIO[7] (AIN7) Pin Configuration
0: GPIO[7] is not enabled (default) 1: GPIO[7] is applied to AIN7 |
6 | IOCFG[6] | R/W | 0h | GPIO[6] (AIN6) Pin Configuration
0: GPIO[6] is not enabled (default) 1: GPIO[6] is applied to AIN6 |
5 | IOCFG[5] | R/W | 0h | GPIO[5] (AIN5) Pin Configuration
0: GPIO[5] is not enabled (default) 1: GPIO[5] is applied to AIN5 |
4 | IOCFG[4] | R/W | 0h | GPIO[4] (AIN4) Pin Configuration
0: GPIO[4] is not enabled (default) 1: GPIO[4] is applied to AIN4 |
3 | IOCFG[3] | R/W | 0h | GPIO[3] (AIN3) Pin Configuration
0: GPIO[3] is not enabled (default) 1: GPIO[3] is applied to AIN3 |
2 | IOCFG[2] | R/W | 0h | GPIO[2] (AIN2) Pin Configuration
0: GPIO[2] is not enabled (default) 1: GPIO[2] is applied to AIN2 |
1 | IOCFG[1] | R/W | 0h | GPIO[1] (REFN0) Pin Configuration
0: GPIO[1] is not enabled (default) 1: GPIO[1] is applied to REFN0 |
0 | IOCFG[0] | R/W | 0h | GPIO[0] (REFP0) Pin Configuration
0: GPIO[0] is not enabled (default) 1: GPIO[0] is applied to REFP0 |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | IODIR[3:0] | |||
R-0h | R-0h | R-0h | R-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:4 | RESERVED | R | 0h | Reserved
Always write 0000 |
3 | IODIR[3] | R/W | 0h | GPIO[3] (AIN3) Pin Direction
Configures GPIO[3] as a GPIO input or GPIO output 0: GPIO[3] is an output (default) 1: GPIO[3] is an input |
2 | IODIR[2] | R/W | 0h | GPIO[2] (AIN2) Pin Direction
Configures GPIO[2] as a GPIO input or GPIO output 0: GPIO[2] is an output (default) 1: GPIO[2] is an input |
1 | IODIR[1] | R/W | 0h | GPIO[1] (REFN0) Pin Direction
Configures GPIO[1] as a GPIO input or GPIO output 0: GPIO[1] is an output (default) 1: GPIO[1] is an input |
0 | IODIR[0] | R/W | 0h | GPIO[0] (REFP0) Pin Direction
Configures GPIO[0] as a GPIO input or GPIO output 0: GPIO[0] is an output (default) 1: GPIO[0] is an input |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IODIR[7:0] | |||||||
R/W-00h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | IODIR[7] | R/W | 0h | GPIO[7] (AIN7) Pin Direction
Configures GPIO[7] as a GPIO input or GPIO output 0: GPIO[7] is an output (default) 1: GPIO[7] is an input |
6 | IODIR[6] | R/W | 0h | GPIO[6] (AIN6) Pin Direction
Configures GPIO[6] as a GPIO input or GPIO output 0: GPIO[6] is an output (default) 1: GPIO[6] is an input |
5 | IODIR[5] | R/W | 0h | GPIO[5] (AIN5) Pin Direction
Configures GPIO[5] as a GPIO input or GPIO output 0: GPIO[5] is an output (default) 1: GPIO[5] is an input |
4 | IODIR[4] | R/W | 0h | GPIO[4] (AIN4) Pin Direction
Configures GPIO[4] as a GPIO input or GPIO output 0: GPIO[4] is an output (default) 1: GPIO[4] is an input |
3 | IODIR[3] | R/W | 0h | GPIO[3] (AIN3) Pin Direction
Configures GPIO[3] as a GPIO input or GPIO output 0: GPIO[3] is an output (default) 1: GPIO[3] is an input |
2 | IODIR[2] | R/W | 0h | GPIO[2] (AIN2) Pin Direction
Configures GPIO[2] as a GPIO input or GPIO output 0: GPIO[2] is an output (default) 1: GPIO[2] is an input |
1 | IODIR[1] | R/W | 0h | GPIO[1] (REFN0) Pin Direction
Configures GPIO[1] as a GPIO input or GPIO output 0: GPIO[1] is an output (default) 1: GPIO[1] is an input |
0 | IODIR[0] | R/W | 0h | GPIO[0] (REFP0) Pin Direction
Configures GPIO[0] as a GPIO input or GPIO output 0: GPIO[0] is an output (default) 1: GPIO[0] is an input |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | IODAT[3:0] | |||
R-0h | R-0h | R-0h | R-0h | R/W-0h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:4 | RESERVED | R | 0h | Reserved
Always write 0000 |
3 | IODAT[3] | R/W | 0h | GPIO[3] (AIN3) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[3] is low (default) 1: GPIO[3] is high |
2 | IODAT[2] | R/W | 0h | GPIO[2] (AIN2) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[2] is low (default) 1: GPIO[2] is high |
1 | IODAT[1] | R/W | 0h | GPIO[1] (REFN0) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[1] is low (default) 1: GPIO[1] is high |
0 | IODAT[0] | R/W | 0h | GPIO[0] (REFP0) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[0] is low (default) 1: GPIO[0] is high |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IODAT[7:0] | |||||||
R/W-00h |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset; -x = variable |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | IODAT[7] | R/W | 0h | GPIO[7] (AIN7) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[7] is low (default) 1: GPIO[7] is high |
6 | IODAT[6] | R/W | 0h | GPIO[6] (AIN6) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[6] is low (default) 1: GPIO[6] is high |
5 | IODAT[5] | R/W | 0h | GPIO[5] (AIN5) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[5] is low (default) 1: GPIO[5] is high |
4 | IODAT[4] | R/W | 0h | GPIO[4] (AIN4) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[4] is low (default) 1: GPIO[4] is high |
3 | IODAT[3] | R/W | 0h | GPIO[3] (AIN3) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[3] is low (default) 1: GPIO[3] is high |
2 | IODAT[2] | R/W | 0h | GPIO[2] (AIN2) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[2] is low (default) 1: GPIO[2] is high |
1 | IODAT[1] | R/W | 0h | GPIO[1] (REFN0) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[1] is low (default) 1: GPIO[1] is high |
0 | IODAT[0] | R/W | 0h | GPIO[0] (REFP0) Pin Data
Configured as an output, read returns the register value Configured as an input, write sets the register value only 0: GPIO[0] is low (default) 1: GPIO[0] is high |