
AD7328
SEQUENCER OPERATION
Rev. A | Page 25 of 36
DIN: WRITFOR EACH ANALOG INPUT CHANNEL.
DOUT: CONRANGE, SINGLE-ENDED MODE.
CS
DIN: TIE THROUGH THE SEQUENCE OF CHANNELS.
DOUT: CONVERSIOTHE SEQUENCE.
CS
DIN: WRITE TO SENEW SEQUENCE.
DOUT: CONVTHE FIRST SEQUENCE.
CS
DIN: WRITFOR EACH ANALOG INPUT CHANNEL.
DSINGLE-ENDED MODE, RANGE SELECTED IN
RANGE REGISTER 1.
CS
DIN: WRITSEQUENCE, Seq1 = 0, Seq2 = 1.
DSINGLE-ENDED MODE, RANGE SELECTED IN
RANGE REGISTER 1.
CS
DIANALOG INPUT CHANNELS TO BE INCLUDED IN
THE SEQUENCE.
DSINGLE-ENDED MODE, RANGE SELECTED IN
RANGE REGISTER 1.
CS
POWER ON.
OCONTOF CHANNELS.
DIN TIED LOW/WRITE BIT = 0.
SELECTING A NEW SEQUENCE.
REGISTER TO STOP THE
SEQUENCE, Seq1 = 0, Seq2 = 0.
FDOUT: CONVERSION RESULT
CS
ASTOPPING
0
Figure 44. Programmable Sequence Flowchart
These two initial serial transfers are only necessary if input ranges
other than the default ranges are required. After the analog input
ranges are configured, a write to the sequence register is necessary
to select the channels to be included in the sequence. Once the
channels for the sequence have been selected, the sequence can
be initiated by writing to the control register and setting Seq1
to 0 and Seq2 to 1. The AD7328 continues to convert the selected
sequence without interruption provided that the sequence register
remains unchanged and Seq1 = 0 and Seq2 = 1 in the control
register.
The AD7328 can be configured to automatically cycle through a
number of selected channels using the on-chip sequence register
with the Seq1 bit and the Seq2 bit in the control register. Figure 44
shows how to program the AD7328 register to operate in
sequence mode.
After power-up, all of the four on-chip registers contain default
values. Each analog input has a default input range of ±10 V. If
different analog input ranges are required, a write to the range
registers is necessary. This is shown in the first two serial transfers
of Figure 44.