Data read from the device is
synchronized to the external clock on the SCLK pin or to an internal device clock by
programming the configuration registers. See the Data Transfer Protocols section for details.
In any data transfer frame, the
contents of the internal output shift register are shifted out on the SDO-x pins.
The output data for any frame (F+1) is determined by the command issued in frame F
and the status of the DATA_VAL[2:0] bits:
- If the DATA_VAL[2:0] bits in
the DATAOUT_CTL_REG register are set to 1xxb, the output data word
for frame (F+1) contains fixed data pattern.
- If a valid READ command is
issued in frame F, the output data word for frame (F+1) contains 8-bit
register data, followed by 0's.
- If a valid READ_HWORD command
is issued in frame F, the output data word for frame (F+1) contains 16-bit
register data, followed by 0's.
- For all other combinations,
the output data word for frame (F+1) contains the latest 16-bit conversion
result. Program the DATAOUT_CTL_REG register to append various data flags to
the conversion result. The data flags are appended as per the following
sequence:
- DEVICE_ADDR[3:0] bits
are appended if the DEVICE_ADDR_INCL bit is set to 1.
- ADC INPUT RANGE FLAGS
are appended if the RANGE_INCL bit is set to 1.
- AVDD ALARM FLAGS are
appended if the VDD_ACTIVE_ALARM_INCL bit is set to 1.
- INPUT ALARM FLAGS are
appended if the IN_ACTIVE_ALARM_INCL bit is set to 1.
- PARITY bits are
appended if the PAR_EN bit is set to 1.
- All the remaining
bits in the 32-bit output data word are set to 0.
Table 6-6 shows the output data word with all data flags enabled.
Table 6-6 Output Data Word With All Data
Flags Enabled
| DEVICE_ADDR_INCL = 1b,
VDD_ACTIVE_ALARM_INCL = 1b, IN_ACTIVE_ALARM_INCL = 1b, RANGE_INCL =
1b, and PAR_EN = 1b |
| D[31:16] |
D[15:12] |
D[11:8] |
D[7:6] |
D[5:4] |
D[3:2] |
D[1:0] |
| Conversion
result |
Device address |
ADC input range |
AVDD alarm flags |
Input alarm flags |
Parity bits |
00b |
Table 6-7 shows output data word with only some of the data flags enabled.
Table 6-7 Output Data Word With Only
Some Data Flags Enabled
| DEVICE_ADDR_INCL = 0b,
VDD_ACTIVE_ALARM_INCL = 1b, IN_ACTIVE_ALARM_INCL = 0b, RANGE_INCL =
1b, and PAR_EN = 1b |
| D[31:16] |
D[15:12] |
D[11:10] |
D[9:8] |
D[7:0] |
| Conversion
result |
ADC input range |
AVDD alarm flags |
Parity bits |
00000000b |