The data read from the device can be synchronized
to the external clock on the SCLK pin or to an internal clock of the device by
programming the configuration registers (see the Section 7.5.4 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 DATA_VAL[2:0] bits:
- If the DATA_VAL[2:0] bits in the DATAOUT_CTL_REG
register are set to 1xxb, then the output data word for frame (F+1) contains
fixed data pattern as described in the DATAOUT_CTL_REG register.
- 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 12-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 following sequence:
- DEVICE_ADDR[3:0] bits
are appended if the DEVICE_ADDR_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
- ADC INPUT RANGE FLAGS
are appended if the RANGE_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 7-6 shows the output data word with all data flags enabled.
Table 7-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:20] |
D[19:16] |
D[15:14] |
D[13:12] |
D[11:8] |
D[7:6] |
D[5:0] |
| Conversion
result |
Device address |
AVDD alarm flags |
Input alarm flags |
ADC input range |
Parity bits |
000000b |
Table 7-7 shows output data word with only some of the data flags enabled.
Table 7-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:20] |
D[19:18] |
D[17:14] |
D[13:12] |
D[11:0] |
| Conversion
result |
AVDD alarm flags |
ADC input range |
Parity bits |
000000000000b |