DataUpdating
DRDY
(1)(2)
Pin
20t
CLK
SBAS424D
– JUNE 2009 – REVISED AUGUST 2011
SERIAL INTERFACE
DATA INPUT (DIN)
The SPI-compatible serial interface consists of four
DIN is the input data pin and is used with SCLK to
signals: CS, SCLK, DIN, and DOUT or three signals,
send data to the ADS1259 (opcode commands and
in which case CS may be tied low. The interface is
register data). The device latches input data on the
used to read conversion data, configure registers,
falling edge of SCLK.
and control the ADS1259 operation.
DATA OUTPUT (DOUT)
SERIAL COMMUNICATION
DOUT is the output data pin and is used with SCLK
The ADS1259 communications occur by clocking
to read conversion and register data from the
commands into the device (on DIN) and reading
ADS1259. In addition to providing data output, in
register and conversion data (on DOUT). The SCLK
RDATAC mode DOUT indicates when data are
input is used to clock the data into and out of the
ready. Data are ready when DOUT transitions low. In
device. CS disables the ADS1259 serial port but
this manner, DOUT functions the same as DRDY
otherwise does not affect the ADC operation. The
(with CS = 0), as shown in
Figure 57. When reading
communication
protocol
to
the
ADS1259
is
data, the data are shifted out on the rising edge of
half-duplex. That is, data are transmitted to and from
SCLK. DOUT is in a 3-state condition when CS is
the device one direction at a time.
high.
Communications to and from the ADS1259 occurs on
DATA READY (DRDY)
8-bit boundaries. If an unintentional SCLK transition
should occur (such as from a possible noise spike),
DRDY is an output that indicates when conversion
the ADS1259 serial port may not respond properly.
data are available for reading (falling edge active).
The port can be reset by one of the following ways:
DRDY is asserted on an output pin and also a
register bit. To poll the DRDY register bit, set the stop
1. Take CS high and then low to reset the interface
read data continuous mode and then read the
2. Hold SCLK low for 216 fCLK cycles to reset the
CONFIG2 register. When the DRDY bit is low, data
interface
can be read. The data read operation must complete
3. Take RESET/PWDN low and back high to overall
within 20 fCLK cycles of the next DRDY falling edge.
reset the device
After power-on or after reset, DRDY defaults high.
4. Cycle the power supplies to overall reset the
When reading data in Gate Control mode, DRDY is
device
reset high on the first SCLK rising edge. If data are
not retrieved, DRDY pulses high during the new data
CHIP SELECT (CS)
update time, as shown in
Figure 57. Do not retrieve data
during this time as the data are invalid.
The chip select (CS) selects the ADS1259 for SPI
communication. To select the device, pull CS low. CS
In Pulse Control mode, DRDY remains low until a
must remain low for the duration of the serial
new conversion is started. The previous conversion
communication. When CS is taken high, the serial
data may be read 20 tCLK prior to the DRDY falling
interface is reset, input commands are ignored, and
edge.
DOUT
enters
a
high-impedance
state.
If
the
ADS1259 does not share the serial bus with another
device, CS may be tied low. Note that DRDY remains
active when CS is high.
SERIAL CLOCK (SCLK)
The serial clock (SCLK) is a Schmitt-triggered input
(1) DOUT functions in the same manner as the DRDY pin if CS is
used to clock data into and out of the ADS1259. Even
low and in the RDATAC mode.
though the input is relatively noise immune, it is
(2) The DRDY bit functions in the same manner as the DRDY pin
recommended to keep SCLK as clean as possible to
(SDATAC mode only).
prevent glitches from accidentally shifting the data. If
Figure 57. DRDY and DOUT With No Data
SCLK is held low for 216 fCLK periods, the serial
Retrieval
interface resets. After reset the next communication
cycle can be started. The timeout can be used to
recover communication when the serial interface is
interrupted. The SPI timeout is enabled by register bit
SPI. When the serial interface is idle, hold SCLK low.
28
Copyright
2009–2011, Texas Instruments Incorporated