SBASB74 October 2024 ADS127L21B
PRODUCTION DATA
Table 8-1 shows the ADS127L21B register map. Register data are read or written one register byte at a time for each SPI operation. The FIR_BANK and IIR_BANK registers use a single address to read or write filter coefficients. Except for the CRC registers, writes to the MUX register (05h) and registers beyond result in conversion restart and loss of synchronization. If conversions are stopped (START pin low or STOP bit written), conversions are not restarted after register writes.
ADDRESS | REGISTER | DEFAULT | BIT 7 | BIT 6 | BIT 5 | BIT 4 | BIT 3 | BIT 2 | BIT 1 | BIT 0 |
---|---|---|---|---|---|---|---|---|---|---|
00h | DEV_ID | 03h | DEV_ID[7:0] | |||||||
01h | REV_ID | xxh | REV_ID[7:0] | |||||||
02h | STATUS1 | x1100xxxb | CS_MODE | ALV_FLAG | POR_FLAG | SPI_ERR | CRC_ERR | ADC_ERR | MOD_FLAG | DRDY |
03h | STATUS2 | 00h | RESERVED | I_CRC_ERR | F_CRC_ERR | M_CRC_ERR | ||||
04h | CONTROL | 00h | RESET[5:0] | START | STOP | |||||
05h | MUX | 00h | RESERVED | MUX[1:0] | ||||||
06h | CONFIG1 | 00h | DATA | EXT_RNG | REF_RNG | INP_RNG | VCM | REFP_BUF | AINP_BUF | AINN_BUF |
07h | CONFIG2 | 08h | RESERVED | START_MODE[1:0] | SPEED_MODE[1:0] | STBY_MODE | PWDN | |||
08h | CONFIG3 | 00h | CLK_SEL | CLK_DIV[1:0] | OUT_DRV | RESERVED | SPI_CRC | REG_CRC | STATUS | |
09h | FILTER1 | 00h | FLTR_SEL[2:0] | FLTR_OSR[4:0] | ||||||
0Ah | FILTER2 | 01h | RESERVED | DELAY[2:0] | FLTR_SEQ | FIR2_DIS | FIR3_DIS | IIR_DIS | ||
0Bh | FILTER3 | 01h | RESERVED | DATA_MODE[1:0] | ||||||
0Ch | OFFSET2 | 00h | OFFSET[23:16] | |||||||
0Dh | OFFSET1 | 00h | OFFSET[15:8] | |||||||
0Eh | OFFSET0 | 00h | OFFSET[7:0] | |||||||
0Fh | GAIN2 | 40h | GAIN[23:16] | |||||||
10h | GAIN1 | 00h | GAIN[15:8] | |||||||
11h | GAIN0 | 00h | GAIN[7:0] | |||||||
12h | MAIN_CRC | 00h | MAIN_CRC[7:0] | |||||||
13h | FIR_BANK | xxh | FIR_BANK[7:0] | |||||||
14h | FIR_CRC1 | xxh | FIR_CRC[15:8] | |||||||
15h | FIR_CRCx0 | xxh | FIR_CRC[7:0] | |||||||
16h | IIR_BANK | xxh | IIR_BANK[7:0] | |||||||
17h | IIR_CRC | xxh | IIR_CRC[7:0] |
Table 8-2 lists the access codes of the registers.
Access Type | Code | Description |
---|---|---|
Read | R | Read only |
Write | W | Write only |
Read and write | R/W | Read and write |
Reset or default value | -n | Value after reset or the default value |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEV_ID[7:0] | |||||||
R-02h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:0 | DEV_ID[7:0] | R | 02h | Device ID. 03h = ADS127L21B |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
REVID[7:0] | |||||||
R-xxxxxxxxb |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:0 | REV_ID[7:0] | R | xxxxxxxxb | Die revision ID.
|
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CS_MODE | ALV_FLAG | POR_FLAG | SPI_ERR | CRC_ERR | ADC_ERR | MOD_FLAG | DRDY |
R-xb | R/W-1b | R/W-1b | R/W-0b | R-0b | R-xb | R-xb | R-xb |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | CS_MODE | R | xb | CS mode. |
6 | ALV_FLAG | R/W | 1b | Analog supply low-voltage flag. |
5 | POR_FLAG | R/W | 1b | Power-on reset (POR) flag. |
4 | SPI_ERR | R/W | 0b | SPI communication
CRC error. |
3 | CRC_ERR | R | 0b | Global memory CRC
error. |
2 | ADC_ERR | R | xb | Internal ADC
error. |
1 | MOD_FLAG | R | xb | Modulator
saturation flag. |
0 | DRDY | R | xb | Data-ready bit. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | I_CRC_ERR | F_CRC_ERR | M_CRC_ERR | ||||
R-00000b | R-0b | R-0b | R/W-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:3 | RESERVED | R | 00000b | Reserved |
2 | I_CRC_ERR | R | 0b | IIR coefficient
memory CRC error. |
1 | F_CRC_ERR | R | 0b | FIR coefficient
memory CRC error. |
0 | M_CRC_ERR | R/W | 0b | Main memory CRC
error. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESET[5:0] | START | STOP | |||||
W-000000b | W-0b | W-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:2 | RESET[5:0] | W | 000000b | Device reset. |
1 | START | W | 0b | Start
conversion. |
0 | STOP | W | 0b | Stop
conversion. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | MUX[1:0] | ||||||
R-000000b | R/W-00b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:2 | RESERVED | R | 000000b | Reserved |
1:0 | MUX[1:0] | R/W | 00b | Input multiplexer selection. These bits select
the polarity of the analog input and select the test modes. See
the Analog Input section for details. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DATA | EXT_RNG | REF_RNG | INP_RNG | VCM | REFP_BUF | AINP_BUF | AINN_BUF |
R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | DATA | R/W | 0b | Data resolution selection. This bit selects the output data resolution. 0b = 24-bit resolution 1b = 16-bit resolution |
6 | EXT_RNG | R/W | 0b | Extended input range selection. This bit extends the input range by 25%. See the Input Range section for more details. 0b = Standard input range 1b = 25% extended input range |
5 | REF_RNG | R/W | 0b | Voltage reference range selection. |
4 | INP_RNG | R/W | 0b | Input range
selection. |
3 | VCM | R/W | 0b | VCM output
enable. |
2 | REFP_BUF | R/W | 0b | Reference positive
buffer enable. |
1 | AINP_BUF | R/W | 0b | Analog input
positive buffer enable. |
0 | AINN_BUF | R/W | 0b | Analog input
negative buffer enable. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | START_MODE[1:0] | SPEED_MODE[1:0] | STBY_MODE | PWDN | |||
R-0b | R/W-00b | R/W-10b | R/W-0b | R/W-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:6 | RESERVED | R | 00b | Reserved |
5:4 | START_MODE[1:0] | R/W | 00b | START mode
selection. |
3:2 | SPEED_MODE[1:0] | R/W | 10b | Speed mode
selection. |
1 | STBY_MODE | R/W | 0b | Standby mode
selection. |
0 | PWDN | R/W | 0b | Power-down mode
selection. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CLK_SEL | CLK_DIV[1:0] | OUT_DRV | RESERVED | SPI_CRC | REG_CRC | STATUS | |
R/W-0b | R/W-00b | R/W-0b | R-0b | R/W-0b | R/W-0b | R/W-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | CLK_SEL | R/W | 0b | Clock
selection. |
6:5 | CLK_DIV[1:0] | R/W | 00b | Clock divider
selection. |
4 | OUT_DRV | R/W | 0b | Digital output
drive selection. |
3 | RESERVED | R | 0b | Reserved |
2 | SPI_CRC | R/W | 0b | SPI CRC enable. |
1 | REG_CRC | R/W | 0b | Memory CRC
enable. |
0 | STATUS | R/W | 0b | STATUS1 byte
output enable. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FLTR_SEL[2:0] | FLTR_OSR[4:0] | ||||||
R/W-000b | R/W-00000b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:5 | FLTR_SEL[2:0] | R/W | 000b | Digital filter selection. If the
wideband filter is selected by FLTR_OSR[4:0], these bits
select the preset or programmable FIR filter coefficients.
000b = Preset FIR filter coefficients 001b to 110b = Reserved 111b = Programmable FIR filter coefficients If the
sinc filter is selected by FLTR_OSR[4:0], these bits
select the sinc3 or sinc4 first stage filter. |
4:0 | FLTR_OSR[4:0] | R/W | 00000b | Digital filter mode and oversampling ratio selection. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DELAY[2:0] | FLTR_SEQ | FIR2_DIS | FIR3_DIS | IIR_DIS | ||
R/W-0b | R/W-000b | R/W-0b | R/W-0b | R/W-0b | R/W-1b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | RESERVED | R | 0b | Reserved |
6:4 | DELAY[2:0] | R/W | 000b | Conversion-start
delay time selection. |
3 | FLTR_SEQ | R/W | 0b | Wideband filter
computation sequence. |
2 | FIR2_DIS | R/W | 0b | Wideband filter,
FIR2 section disable. |
1 | FIR3_DIS | R/W | 0b | Wideband filter,
FIR3 section disable. |
0 | IIR_DIS | R/W | 1b | Wideband filter,
IIR section disable. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DATA_MODE[1:0] | ||||||
R-000000b | R/W-01b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:2 | Reserved[5:0] | R | 000000b | Reserved |
1:0 | DATA_MODE[1:0] | R/W | 01b | Data output pin
function selection. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET[23:16] | |||||||
R/W-00000000b | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET[15:8] | |||||||
R/W-00000000b | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OFFSET[7:0] | |||||||
R/W-00000000b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
23:0 | OFFSET[23:0] | R/W | 000000h | User offset
calibration value. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GAIN[23:16] | |||||||
R/W-01000000b | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GAIN[15:8] | |||||||
R/W-00000000b | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GAIN[7:0] | |||||||
R/W-00000000b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
23:0 | GAIN[23:0] | R/W | 400000h | User gain
calibration value. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAIN_CRC[7:0] | |||||||
R/W-00000000b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:0 | MAIN_CRC[7:0] | R/W | 00h | Main memory CRC
value. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FIR_BANK[7:0] | |||||||
R/W-xxh |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:0 | FIR_BANK[7:0] | R/W | xxh | FIR programmable
filter coefficient register memory bank |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FIR_CRC1[15:8] | |||||||
R/W-xxh | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
FIR_CRC0[7:0] | |||||||
R/W-xxh |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
23:0 | FIR_CRC[23:0] | R/W | xxxxh | Programmable FIR filter coefficients CRC value. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IIR_BANK[7:0] | |||||||
R/W-xxh |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:0 | IIR_BANK[7:0] | R/W | xxh | IIR programmable
filter coefficients register bank. |
Return to the Register Map Overview.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IIR_CRC[7:0] | |||||||
R/W-xxh |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7:0 | IIR_CRC[7:0] | R/W | xxh | IIR filter coefficients memory CRC value. |