This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1118, what happens when I rewrite the configuration in continuous mode?

Other Parts Discussed in Thread: ADS1118

Hello,

in ADS1118 continuous mode, a new conversion is automatically started when the previous conversions ends. In a TC application, we'll usually measure TC and internal reference alternatively, e.g. flip configuration register bit 4 between subsequent conversions.

Here's my question that I didn't find explicitly answered in the datasheet:

Does rewriting the configuration abort the pending conversion and restart it with the new settings? If so, does it this unconditionally as long as the new conversion isn't yet finished? Or only during a certain time window?

Thanks,

Frank

  • Frank,


    When writing to the Config Register in continuous conversion mode, the ADS1118 does not restart the conversion. It will complete the current conversion in the original configuration and afterwards will make the change to the Config Register.

    In most cases, we recommend running the device in single-shot mode. This gives some certainty to the timing of the readout and configuration of the device.


    Joseph Wu
  • Hello Joseph,

    thanks for clarifying. After reviewing the operation of my working code, I see that the present conversion is performed with the configuration that has been set in the previous SPI transaction. So apparently the configuration for the present conversion is latched when started.

    Frank
  • Frank,


    I believe that is the case. I did have a discussion with one of the engineers here about this particular topic, for this device, and there was one thing I wanted to check on about it. If I find any new information, I'll post back to this thread.


    Joseph Wu