SBASAM0B March 2024 – November 2024 ADS127L14 , ADS127L18
PRODMIX
The read register command reads register data. The command follows an off-frame protocol where the read command is sent in one frame and the ADC responds with register data in the next frame. The first byte of the command is 00h plus the 7-bit register address. The second byte is unused. The response to a register address outside the valid range is 00h and if the SPI address range verification is enabled, the ADDR_ERR flag is set in the STATUS byte. The register data format is MSB first. Full duplex operation is possible by shifting in the next command while reading the current register data.
Figure 7-48 shows an example of reading register data with the STATUS and CRC bytes disabled. Frame 1 is the command frame and frame 2 is the data response frame. The frames are delimited by taking CS high. In this example, the length of the response frame is two bytes long because CRC is disabled. Optionally, short-cycle the response frame after the register data is read by taking CS high. A read from an invalid register returns zero for register data.
Figure 7-49 shows an example of reading register data with STATUS and CRC enabled. The length of the frames are three bytes because CRC is enabled. The value of the second command byte is arbitrary, but is used with the first command byte to determine the CRC In value. The register data byte and the STATUS byte determine the CRC Out value.
If a CRC error occurred during the register read command, the SPI_ERR flag is set in STATUS. If an out-of-range address error occurred during the register read command, the register response data (Reg data) is zero and the ADDR_ERR flag is set in STATUS. In both cases, future reads are processed regardless whether error flags set or cleared.