Datasheet

ADS1258
www.ti.com
SBAS297G JUNE 2005 REVISED MARCH 2011
COMMAND AND REGISTER DEFINITIONS
Commands are used to read channel data, access the configuration registers, and control the conversion
process. If the command is a register read or write operation, one or more data bytes follow the command byte.
If bit MUL = 1 in the command byte, then multiple registers can be read or written in one command operation
(see the MUL bit). Commands can be sent back-to-back without toggling CS; however, after a channel Data
Read Direct operation, CS must be toggled or an SPI timeout must occur before sending a command. The data
read by command does not require CS to be toggled.
The command byte consists of three fields: the Command Bits(C[2:0]), multiple register access bit (MUL), and
the Register Address Bits (A[3:0]); see the Command Byte register.
Table 14. Command Byte
7 6 5 4 3 2 1 0
C2 C1 C0 MUL A3 A2 A1 A0
Bits C[2:0] Command bits.
75 These bits code the command within the command byte.
C[2:0] DESCRIPTION COMMENTS
000 Channel Data Read Direct (no command) Toggle CS or allow SPI timeout before sending command
001 Channel Data Read Command (register format) Set MUL = 1; status byte always included in data
010 Register Read Command A[3:0] = '0000'
011 Register Write Command
100 Pulse Convert Command MUL, A[3:0] are don't care
101 Reserved
110 Reset Command MUL, A[3:0] don't care
111 Channel Data Read Direct (no command) Toggle CS or allow SPI timeout before sending command
Bit 4 MUL Multiple Register Access
This bit enables multiple register access. This option allows writing or reading of more than one
register in a single command operation. If only one register is to be read or written, set MUL = '0'. For
multiple register access, set MUL = '1'. The read or write operation begins at the addressed register.
The ADS1258 automatically increments the register address for each register data byte subsequently
read or written. The multiple register read or write operations complete after register address = 09h
(device ID register) has been accessed.
0 = Disable Multiple Register Access
1 = Enable Multiple Register Access
The multiple register access is terminated in one of three ways:
1. The user takes CS high. This action resets the SPI interface.
2. The user holds SCLK inactive for 4096 f
CLK
cycles. This action resets the SPI interface.
3. Register address = 09h has been accessed. This completes the command and the ADS1258 is
then ready for a new command. Note for the Channel Data Read command, this bit must be set to
read the four data bytes (one status byte and three data bytes).
Bits A[3:0] Register Address Bits
30 These bits are the register addresses for a register read or write operation; see Table 15.
Copyright © 20052011, Texas Instruments Incorporated Submit Documentation Feedback 35
Product Folder Link(s): ADS1258