ZHCSKD9 October 2019 ADS1235-Q1
PRODUCTION DATA.
Use the RREG command to read register data. The register data are read one byte at a time by issuing the RREG command for each operation. Add the register address (rrh) to the base opcode (20h) to construct the command byte (20h + rrh). Table 23 shows the command byte sequence. The ADC responds with the register data byte, most significant bit first. The response to registers outside the valid address range is 00h. Figure 64 shows an example of the register read operation. The Out CRC-1 byte is the CRC calculated for the register data byte.
DIRECTION | BYTE 1 | BYTE 2 | BYTE 3 | BYTE 4 | BYTE 5 | BYTE 6 |
---|---|---|---|---|---|---|
No CRC mode | ||||||
DIN | 20h + rrh(1) | Arbitrary | 00h | |||
DOUT/DRDY | FFh | Echo byte 1 | Register data | |||
CRC mode | ||||||
DIN | 20h + rrh | Arbitrary | CRC-2 | 00h | 00h | 00h |
DOUT/DRDY | FFh | Echo byte 1 | Echo byte 2 | Out CRC-2 | Register data | Out CRC-1 |