AD7091R-5 Data Sheet
Rev. A | Page 32 of 34
AUTOCYCLE MODE
The AD7091R-5 can be configured to convert continuously on a
programmable sequence of channels, making it the ideal mode of
operation for system monitoring. These conversions occur
automatically at intervals chosen by the CYCLE_TIMER bits in
the configuration register. Typically, this mode is used to
monitor a selection of channels automatically with the limit
registers programmed to signal an out of bounds condition via
the alert function. Reads and writes can be performed at any
time (the conversion result register contains the most recent
conversion result).
To enter this mode, the required combination of channels that
must be monitored is written into the channel register. The
required interval between conversions is selected by writing
into the CYCLE_TIMER bits in the configuration register.
Autocycle mode operation can then be selected by writing
CMD = 0 and auto = 1 in the configuration register. If more
than one channel bit is set in the channel register, the ADC
automatically cycles through the channel sequence, starting
with the lowest channel and working its way up through the
sequence. After the sequence is complete, the ADC starts
converting on the lowest channel again, continuing to loop
through the sequence until this mode is exited.
As soon as a conversion is complete, the conversion result is
compared with the content of the limit registers. The alert register
is updated automatically with the result of the comparison.
If a violation of the limit registers is found, the alert bit in the
conversion result register is set and, if the ALERT/BUSY/GPO0
pin functionality is selected in the configuration register, the
ALERT/BUSY/GPO0 pin is asserted with the polarity
determined by ALERT_POL_OR_GPO0 bit in the
configuration register.
If an out-of-cycle conversion is required while autocycle mode
is active, it is necessary to disable autocycle mode before
proceeding to the command or sample mode. When the
conversion is complete, the user can reenable autocycle mode.
In autocycle mode, the AD7091R-5 does not enter power-down
on receipt of a stop condition; therefore, conversions and alert
monitoring continues to function.
The CYCLE_TIMER value in the configuration register controls
the time of conversion in autocycle mode. Four separate time
intervals are available, and each is a multiple of the BASE_TIME.
The reset value used is 8 × BASE_TIME. The base time for the
AD7091R-5 is approximately 100 μs.
Writing to the channel register or the configuration register
when in autocycle mode results in a reset of the cycle timer.
This process ensures that the latest information is used for cycle
timer calculation.
Table 25. Autocycle Interval Time
Command Interval Time Approximate Interval
00 1 × BASE_TIME 100 μs (10 kSPS)
01 2 × BASE_TIME 200 μs (5 kSPS)
10 4 × BASE_TIME 400 μs (2.5 kSPS)
11 8 × BASE_TIME 800 μs (1.25 kSPS)
Do not write to the limit and hysteresis registers when the
AD7091R-5 is in autocycle mode. If these registers are written
by chance, the design stalls the internal cycle timer counters for
one SCL period when the registers are being updated. A write to
the channel register and the configuration register in autocycle
mode restarts the cycle timer counters.
Because the alert indication register is read to clear, read the
register only when an alert is indicated. Otherwise, there is a
risk of inadvertently clearing the alert register and the alert bit
in the conversion result register.
POWER-DOWN MODE
Power-down mode is intended for use in applications where slower
throughput rates and lower power consumption are required;
either the ADC is powered down between each conversion, or a
burst of conversions can be performed at a higher throughput rate,
and the ADC is then powered down for a relatively long duration
between these bursts of several conversions. When the AD7091R-5
is in power-down mode, all analog circuitry is powered down;
however, the serial interface is active.
The serial interface of the AD7091R-5 is functional in power-
down; therefore, the user may read back the last conversion result
even after the device enters power-down mode.
To enter power-down, write to the power-down configuration
bits in the configuration register, as seen in Table 15. To enter
full power-down mode, set the sleep mode/bias generator bit to 1,
and set the internal reference bit to 0, which ensures that all analog
circuitry and the internal reference powers down. When the
internal reference is enabled, it consumes power any time Bit 0 of
the configuration register is set to 1.
To exit this mode of operation and power up the AD7091R-5,
set the MSB of the P_DOWN word to 1. If a power-up of the
internal reference is desired, the P_DOWN LSB must also be set
to 1. When using the internal reference, and the device is in full
power-down mode, wait to perform conversions until the internal
reference has had time to power up and settle. The reference buffer
requires 50 ms to power up and charge the 2.2 µF decoupling
capacitor during the power-up time. After power-up is complete,
the ADC is fully powered up, and the input signal is properly
acquired. To start the next conversion, operate the interface as
described in the Modes of Operation section.