CS5530
22 DS742A4
2.4.4 Performing Calibrations
To perform a calibration, the user must send a com-
mand byte with its MSB=1, and the appropriate
calibration bits (CC2-CC0) set to choose the type
of calibration to be performed. The calibration will
be performed using the filter rate, and siganl span
(unipolar or bipolar) as set in the configuration reg-
ister. The length of time it takes to do a calibration
is slightly less than the amount of time it takes to do
a single conversion (see Table 1 for single conver-
sion timing). Offset calibration takes 608 clock cy-
cles less than a single conversion when FRS = 0,
and 729 clock cycles less when FRS = 1. Gain cal-
ibration takes 128 clock cycles less than a single
conversion when FRS = 0, and 153 clock cycles
less when FRS = 1.
Once a calibration cycle is complete, SDO falls and
the results are automatically stored in either the
gain or offset register. SDO will remain low until
the next command word is begun. If additional cal-
ibrations are performed while referencing the same
calibration registers, the last calibration results will
replace the effects from the previous calibration.
Only one calibration is performed with each com-
mand byte.
2.4.5 System Calibration
For the system calibration functions, the user must
supply the converter input calibration signals which
represent ground and full-scale. When a system off-
set calibration is performed, a ground referenced sig-
nal must be applied to the converter. Figure 10
illustrates system offset calibration.
As shown in Figure 11, the user must input a signal
representing the positive full-scale point to perform
a system gain calibration. In either case, the cali-
bration signals must be within the specified calibra-
tion limits for each specific calibration step (refer
to the System Calibration Specifications).
2.4.6 Calibration Tips
Calibration steps are performed at the output word
rate selected by the WR3-WR0 bits of the configu-
ration register. To minimize the effects of peak-to-
peak noise on the accuracy of calibration the con-
verter should be calibrated using the slowest word
rate that is acceptable. It is recommended that
word rates of 240 Sps and higher not be used for
calibration.) To minimize digital noise near the de-
vice, the user should wait for each calibration step
to be completed before reading or writing to the se-
rial port. Reading the calibration registers and aver-
aging multiple calibrations together can produce a
more accurate calibration result. Note that access-
ing the ADC’s serial port before a calibration has
finished may result in the loss of synchronization
between the microcontroller and the ADC, and may
prematurely halt the calibration cycle.
Figure 10. System Calibration of Offset
Figure 11. System Calibration of Gain
CS5530
DS742A4 23
For maximum accuracy, calibrations should be per-
formed for both offset and gain.
When the device is used without calibration, the
uncalibrated gain accuracy is about ±1 percent.
Note that the gain from the offset register to the
output is 1.83007966 decimal, not 1. If a user wants
to adjust the calibration coefficients externally,
they will need to divide the information to be writ-
ten to the offset register by the scale factor of
1.83007966. (This discussion assumes that the gain
register is 1.000...000 decimal. The offset register
is also multiplied by the gain register before being
applied to the output conversion words).
2.4.7 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 3% of the nominal full-
scale value. At this point, the gain register is ap-
proximately equal to 33.33 (decimal). While the
gain register can hold numbers all the way up to
64 - 2
-24
, gain register settings above a decimal
value of 40 should not be used. With the convert-
er’s intrinsic gain error, this minimum full-scale in-
put signal may be higher or lower. In defining the
minimum full-scale Calibration Range (FSCR) un-
der Analog Characteristics, margin is retained to
accommodate the intrinsic gain error. Inversely, the
input full-scale signal can be increased to a point in
which the modulator reaches its 1’s density limit of
86 percent, which under nominal conditions occurs
when the full-scale input signal is 1.1 times the
nominal full-scale value. With the chip’s intrinsic
gain error, this maximum full-scale input signal
maybe higher or lower. In defining the maximum
FSCR, margin is again incorporated to accommo-
date the intrinsic gain error.
2.5 Performing Conversions
The CS5530 offers two distinctly different conver-
sion modes. The paragraphs that follow detail the
differences in the conversion modes.
2.5.1 Single Conversion Mode
When the user transmits the perform single conver-
sion command, a single, fully settled conversion is
performed using the word rate and polarity selec-
tions set in the configuration register. Once the
command byte is transmitted, the serial port enters
data mode where it waits until the conversion is
complete. When the conversion data is available,
SDO falls to logic 0 to act as a flag to indicate that
the data is available. Forty SCLKs are then needed
to read the conversion data word. The first 8
SCLKs are used to clear the SDO flag. During the
first 8 SCLKs, SDI must be logic 0. The last 32
SCLKs are needed to read the conversion result.
Note that the user is forced to read the conversion
in single conversion mode as the serial port will re-
main in data mode until SCLK transitions 40 times.
After reading the data, the serial port returns to the
command mode, where it waits for a new command
to be issued. The single conversion mode will take
longer than conversions performed in the continu-
ous conversion mode. The number of clock cycles
a single conversion takes for each Output Word
Rate (OWR) setting is listed in Table 1. The ± 8
(FRS = 0) or ± 10 (FRS = 1) clock ambiguity is due
to internal synchronization between the SCLK in-
put and the oscillator.
Note: In the single conversion mode, more than one
conversion is actually performed, but only the
final, fully settled result is output to the
conversion data register.
CS5530
24 DS742A4
2.5.2 Continuous Conversion Mode
When the user transmits the perform continuous
conversion command, the converter begins contin-
uous conversions using the word rate and polarity
selections set in the configuration register. Once
the command byte is transmitted, the serial port en-
ters data mode where it waits until a conversion is
complete. After the conversion is done, SDO falls
to logic 0 to act as a flag to indicate that the data is
available. Forty SCLKs are then needed to read the
conversion. The first 8 SCLKs are used to clear the
SDO flag. The last 32 SCLKs are needed to read
the conversion result. If ‘00000000’ is provided to
SDI during the first 8 SCLKs when the SDO flag is
cleared, the converter remains in this conversion
mode and continues to convert using the same word
rate and polarity information. In continuous con-
version mode, not every conversion word needs to
be read. The user needs only to read the conversion
words required for the application as SDO rises and
falls to indicate the availability of new conversion
data. Note that if a conversion is not read before the
next conversion data becomes available, it will be
lost and replaced by the new conversion data. To
exit this conversion mode, the user must provide
‘11111111’ to the SDI pin during the first 8 SCLKs
after SDO falls. If the user decides to exit, 32
SCLKs are required to clock out the last conversion
before the converter returns to command mode.
The number of clock cycles a continuous conver-
sion takes for each Output Word Setting is listed in
Table 2. The first conversion from the part in con-
tinuous conversion mode will be longer than the
following conversions due to start-up overhead.
The ± 8 (FRS = 0) or ± 10 (FRS = 1) clock ambigu-
ity is due to internal synchronization between the
SCLK input and the oscillator.
Note: When changing channels, or after performing
calibrations and/or single conversions, the
user must ignore the first three (for OWRs
less than 3200 Sps, MCLK = 4.9152 MHz) or
first five (for OWR 3200 Sps) conversions in
continuous conversion mode, as residual
filter coefficients must be flushed from the
filter before accurate conversions are
performed.
Table 1. Conversion Timing for Single Mode
(WR3-WR0)
Clock Cycles
FRS = 0 FRS = 1
0000 171448 ± 8 205738 ± 10
0001 335288 ± 8 402346 ± 10
0010 662968 ± 8 795562 ± 10
0011 1318328 ± 8 1581994 ± 10
0100 2629048 ± 8 3154858 ± 10
1000 7592 ± 8 9110 ± 10
1001 17848 ± 8 21418 ± 10
1010 28088 ± 8 33706 ± 10
1011 48568 ± 8 58282 ± 10
1100 89528 ± 8 107434 ± 10
Table 2. Conversion Timing for Continuous Mode
FRS (WR3-WR0) Clock Cycles
(First Conversion)
Clock Cycles
(All Other
Conversions)
0 0000 89528 ± 8 40960
0 0001 171448 ± 8 81920
0 0010 335288 ± 8 163840
0 0011 662968 ± 8 327680
0 0100 1318328 ± 8 655360
0 1000 2472 ± 8 1280
0 1001 12728 ± 8 2560
0 1010 17848 ± 8 5120
0 1011 28088 ± 8 10240
0 1100 48568 ± 8 20480
1 0000 107434 ± 10 49152
1 0001 205738 ± 10 98304
1 0010 402346 ± 10 196608
1 0011 795562 ± 10 393216
1 0100 1581994 ± 10 786432
1 1000 2966 ± 10 1536
1 1001 15274 ± 10 3072
1 1010 21418 ± 10 6144
1 1011 33706 ± 10 12288
1 1100 58282 ± 10 24576

CS5530-CSZ

Mfr. #:
Manufacturer:
Cirrus Logic
Description:
IC ADC 24BIT SIGMA-DELTA 20SSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet