ZHCSN80 july 2023 ADS131B24-Q1
PRODUCTION DATA
The WREG command is used to write the device registers. The binary format of the command word is 011a aaaa aaa0 0nnn, where a aaaa aaa is the binary address of the register to begin writing to and nnn is the unsigned binary number of consecutive registers to write minus one. Send the register data to be written immediately following the WREG command CRC word. Write the intended contents of each register into individual words, MSB aligned. Follow the register data words with the register data CRC word that covers the register data content.
The device prevents register data writes if the command CRC or register data CRC fail. The command response in the next frame indicates if the WREG command executed successfully or if an error occurred that prevented the WREG command from executing. A NULL command is executed if the WREG command did not execute.
Figure 9-35 shows a WREG command frame for a single register write where no faults occurred during the communication.
Figure 9-36 shows a WREG command frame where the number of registers to write is larger than one and, therefore, the frame extends beyond the regular four words.