ZHCSIU3 September 2018 ADS1235
PRODUCTION DATA.
Use the WREG command to write register data. The register data are written one byte at a time by issuing the WREG command for each operation. Add the register address (rrh) to the base opcode (40h) to construct the command byte (40h + rrh). Table 24 shows the command byte sequence. Figure 65 shows an example of the WREG operation. Be aware that writing to certain registers results in conversion restart. Table 27 lists the registers that restart an ongoing conversion when written to. Do not write to registers outside the address range.
DIRECTION | BYTE 1 | BYTE 2 | BYTE 3 | BYTE 4 |
---|---|---|---|---|
No CRC mode | ||||
DIN | 40h + rrh(1) | Register data | ||
DOUT/DRDY | FFh | Echo byte 1 | ||
CRC mode | ||||
DIN | 40h + rrh | Register data | CRC-2 | 00h |
DOUT/DRDY | FFh | Echo byte 1 | Echo byte 2 | Out CRC-2 |