CS5521/22/23/24/28
34 DS317F8
The variables are defined below.
V0 = First calibration voltage
V1 = Second calibration voltage (greater than V0)
Ru = Result of any uncalibrated conversion
Ru0 = Result of uncalibrated conversion V0
(24-bit integer or 2’s complement)
Ru1 = Result of uncalibrated conversion of V1
(24-bit integer or 2’s complement)
Rc = Result of any conversion
Rc0 = Desired calibrated result of converting V0
(24-bit integer or 2’s complement)
Rc1 = Desired calibrated result of converting V1
(24-bit integer or 2’s complement)
Co = Offset calibration register value
(24-bit 2’s complement)
Cg = Gain calibration register value
(24-bit integer)
1.3.3 Calibration Tips
Calibration steps are performed at the output word
rate selected by the WR2-WR0 bits of the configu-
ration register. Since higher word rates result in
conversion words with more peak-to-peak noise,
calibration should be performed at lower output
word rates. Also, to minimize digital noise near
the device, the user should wait for each calibration
step to be completed before reading or writing to
the serial port.
For maximum accuracy, calibrations should be per-
formed for offset and gain (selected by changing
the G2-G0 bits of the desired Setup). Note that only
one gain range can be calibrated per physical chan-
nel. If factory calibration of the user’s system is
performed using the system calibration capabilities
of the CS5521/22/23/24/28, the offset and gain reg-
ister contents can be read by the system microcon-
troller and recorded in EEPROM. These same
calibration words can then be uploaded into the off-
set and gain registers of the converter when power
is first applied to the system, or when the gain range
is changed.
1.3.4 Limitations in Calibration Range
System calibration can be limited by signal head-
room in the analog signal path inside the chip as
discussed under the Analog Input section of this
data sheet. For gain calibration the full-scale input
signal can be reduced to the point in which the gain
register reaches its upper limit of (4-2
-22
decimal)
or FFFFFF (hexadecimal). Under nominal condi-
tions, this occurs with a full-scale input signal
equal to about 1/4 the nominal full scale. With the
converter’s intrinsic gain error, this full-scale input
signal may be higher or lower. In defining the min-
imum Full Scale Calibration Range (FSCR) under
ANALOG CHARACTERISTICS, margin is retained
to accommodate the intrinsic gain error. Alterna-
tively the input full-scale signal can be increased to
a point in which the modulator reaches its 1’s den-
sity limit of 80 percent, which under nominal con-
dition occurs when the full-scale input signal is 1.5
times the nominal full scale. With the chip’s intrin-
sic gain error, this full-scale input signal may be
higher or lower. In defining the maximum FSCR,
margin is again incorporated to accommodate the
intrinsic gain error. In addition, for full-scale inputs
greater than the nominal full-scale value of the
range selected, there is some voltage at which var-
ious internal circuits may saturate due to limited
amplifier headroom. This is most likely to occur in
the 100 mV range.
1.4 Performing Conversions and Reading
the Data Conversion FIFO
The CS5521/22/23/24/28 offers various modes of
performing conversions. The sections that follow
detail the differences between the conversion
modes. The sections also provide examples illus-
trating how to use the conversion modes with the
channel-setup registers and to acquire conversions
for further processing. While reading, note that the
CS5521/22 have a FIFO which is four words deep.
The CS5523/24 have a FIFO which is eight words
deep and the CS5528 has a FIFO which is sixteen
CS5521/22/23/24/28
DS317F8 35
conversion words deep. Further note that the type
of conversion(s) performed and the way to access
the resulting data from the FIFO is determined by
the MC (multiple conversion), the LP (loop), the
RC (read convert), and the DP (depth pointer) bits
in the configuration register.
1.4.1 Conversion Protocol
The CS552x offer six different conversion modes,
which can be categorized into two main types of
conversions: one-Setup conversions, which refer-
ence only one Setup, and multiple-Setup conver-
sions, which reference any number of Setups. The
converter can be instructed to perform single con-
versions or repeated conversions (with or without
wait) in either of these modes, using the MC, LP,
and RC bits in the Configuration Register. The MC
bit controls whether the part will do one-Setup or
multiple-Setup conversions. The LP bit controls
whether the part will perform a single or repeated
conversion set. When doing repeated conversion
sets, the RC bit controls whether or not the convert-
er will wait for the data from the current conversion
set to be read before beginning the next conversion
set. The sections that follow further detail the vari-
ous conversion modes.
1.4.1.1 Single, One-Setup Conversion
(LP = 0 MC = 0 RC = X)
In this conversion mode, the ADC will perform a
single conversion, referencing only one Setup, and
return to command mode after the data word has
been fully read. The 8-bit command word contains
the CSRP bits, which instruct the converter which
Setup to use when performing the conversion.
To perform a single, one-Setup conversion, the MC
and LP bits in the Configuration Register must be
set to '0'. Then, the 8-bit command word that refer-
ences the desired Setup must be sent to the convert-
er. The ADC will then perform a single conversion
on the referenced Setup, and SDO will fall to indi-
cate that the conversion is complete. Thirty-two
SCLKs are then needed to read the conversion
word from the data register. The first 8 SCLKs are
used to clear the SDO flag. During the last 24
SCLKs, the data word will be output from the con-
verter on the SDO line. The part returns to com-
mand mode immediately after the data word has
been read, where it waits for the next command to
be issued.
1.4.1.2 Repeated One-Setup Conversions with-
out Wait
(LP = 1 MC = 0 RC = 0)
In this conversion mode, the ADC will repeatedly
perform conversions, referencing only one Setup.
The 8-bit command word contains the CSRP bits,
which instruct the converter which Setup to use
when performing the conversion. Note that in this
mode, the part will continually perform conver-
sions, and the user need not read every conversion
as it becomes available. Although conversions can
be read whenever they are needed, they must be
read within one conversion cycle (defined by the
referenced Setup), as the data word will be over-
written when new conversion data becomes avail-
able. The SDO line rises and falls to indicate the
availability of new conversion data. When new
data is available, the current conversion data will
be lost, or in the case that the user has only read a
part of the conversion word, the remainder of the
conversion word will be corrupted.
To perform repeated, one-Setup conversions with
no wait, the MC bit must be set to '0', the LP bit
must be set to '1', and the RC bit must be set to '0'
in the Configuration Register. Then, the 8-bit com-
mand word that references the desired Setup must
be sent to the converter. The ADC will then begin
performing conversions on the referenced Setup,
and SDO will fall to indicate when a conversion is
complete, and data is available. Thirty-two SCLKs
are then needed to read the conversion word from
the data register. The first 8 SCLKs are used to
clear the SDO flag. During the last 24 SCLKs, the
data word will be output from the converter on the
CS5521/22/23/24/28
36 DS317F8
SDO line. If, during the first 8 SCLKs,
"00000000" is provided on SDI, the converter will
remain in this conversion mode, and continue to
perform conversions on the selected Setup. To exit
this conversion mode, "11111111" must be provid-
ed on SDI during the first 8 SCLKs. If the user de-
cides to exit, 24 more SCLKs are required to read
the final conversion word from the data register and
return to command mode.
1.4.1.3 Repeated One-Setup Conversions with
Wait
(LP = 1 MC = 0 RC = 1)
In this conversion mode, the ADC will repeatedly
perform conversions, referencing only one Setup.
The 8-bit command word contains the CSRP bits,
which instruct the converter which Setup to use
when performing the conversion. Note that in this
mode, every conversion word must be read. The
part will wait for the current conversion word to be
read before performing the next conversion.
To perform repeated, one-Setup conversions with
wait, the MC bit must be set to '0', the LP bit must
be set to '1', and the RC bit must be set to '1' in the
Configuration Register. Then, the 8-bit command
word that references the desired Setup must be sent
to the converter. The ADC will then begin per-
forming conversions on the referenced Setup, and
SDO will fall to indicate when a conversion is com-
plete, and data is available. Thirty-two SCLKs are
then needed to read the conversion word from the
data register. The first 8 SCLKs are used to clear
the SDO flag. During the last 24 SCLKs, the data
word will be output from the converter on the SDO
line. If, during the first 8 SCLKs, "00000000" is
provided on SDI, the converter will remain in this
conversion mode, and continue to perform conver-
sions on the selected Setup after each data word is
read. To exit this conversion mode, "1111 1111"
must be provided on SDI during the first 8 SCLKs.
If the user decides to exit, 24 more SCLKs are re-
quired to read the final conversion word from the
data register and return to command mode.
1.4.1.4 Single, Multiple-Setup Conversions
(LP = 0 MC = 1 RC = X)
In this conversion mode, the ADC will perform sin-
gle conversions, referencing multiple Setups, and
return to command mode after the data for all con-
versions have been read. The CSRP bits in the
command word are ignored in this mode. Instead,
the Depth Pointer (DP3-DP0) bits in the Configu-
ration Register are accessed to determine the num-
ber of Setups to reference when collecting the data.
The number of Setups referenced will be equal to
(DP3-DP0) + 1, and will be accessed in order, be-
ginning with Setup1.
To perform single, multiple-Setup conversions, the
MC bit must be set to '1', and the LP bit must be set
to '0' in the Configuration Register. Then, the 8-bit
command word to start a conversion must be sent
to the converter. Because the CSRP bits of the
command word are ignored in this mode, a "start
convert" command referencing any of the available
Setups will begin the conversions. The ADC will
then perform conversions using the appropriate
number of Setups (as dictated by the DP bits in the
Configuration Register), beginning with Setup1.
The SDO line will fall after the final conversion to
indicate that the data is ready. Eight SCLKs, plus
24 SCLKs for each Setup referenced are required to
read the conversion words from the data FIFO. The
first 8 SCLKs are used to clear the SDO flag. Ev-
ery 24 bits thereafter consist of the data words of
each Setup that was referenced, until all of the data
has been read from the part. The data word from
Setup1 is output first, followed by the data word
from Setup2, and so on for the appropriate number
of Setups. The part returns to command mode im-
mediately after the final data word has been read,
and waits for the next command to be issued.

CS5521-ASZ

Mfr. #:
Manufacturer:
Cirrus Logic
Description:
Analog to Digital Converters - ADC 2-Ch 16-Bit Delta Sigma ADC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union