SBAS751B October 2017 – October 2018 ADS122C04
PRODUCTION DATA.
Conversion data are read by issuing the RDATA command. The ADS122C04 responds to the RDATA command with the latest conversion result. There are three ways to monitor for new conversion data.
One way is to monitor for the falling edge of the DRDY signal. When DRDY falls low, a new conversion result is available for retrieval using the RDATA command. Figure 60 illustrates the timing diagram for collecting data using the DRDY signal to indicate new data.
Another way to monitor for a new conversion result is to periodically read the DRDY bit in the configuration register. If set, the DRDY bit indicates that a new conversion result is ready for retrieval. The host can subsequently issue an RDATA command to retrieve the data. The rate at which the host polls the ADS122C04 for new data must be at least as fast as the data rate in continuous conversion mode to prevent the host from missing a conversion result.
If a new conversion result becomes ready during an I2C transmission, the transmission is not corrupted. The new data are loaded into the output shift register upon the following RDATA command.
Figure 61 shows the timing diagram for collecting data using the DRDY bit in the configuration register to indicate new data.
The last way to detect if new conversion data are available is through the use of the conversion data counter word. In this mode, the host periodically requests data from the device using the RDATA command and checks the conversion data counter word against the conversion data counter word read for the previous data received. If the counter values are the same, the host can disregard the data because that data has already been gathered. If the counter has incremented, the host records the data. The rate at which the host polls the ADS122C04 for new data must be at least as fast as the data rate in continuous conversion mode to prevent the host from missing a conversion result.
If a new conversion result becomes ready during an I2C transmission, the transmission is not corrupted. The new data are loaded into the output shift register after the following RDATA command.
Figure 62 shows the timing diagram for collecting data using the conversion data counter word to indicate new data.
The conversion data counter can be used in conjunction with the previously discussed methods of detecting new data to ensure that the host did not miss a conversion result.