CIRRUS CS5529-AS

CS5529
16-bit, Programmable ∆Σ ADC with 6-bit Latch
Features
z Delta-sigma
General Description
Analog-to-digital Converter
- Linearity Error: 0.0015%FS
- Noise-free Resolution: 16-Bits
z 2.5
V Bipolar/Unipolar Buffered Input Range
z 6-bit Output Latch
z Eight Digital Filters
- Selectable Output Word Rates
- Output Settles in One Conversion Cycle
- 50/60 Hz ±3 Hz Simultaneous Rejection
z Simple
Three-wire Serial Interface
- SPI™ and Microwire™ Compatible
- Schmitt Trigger on Serial Clock (SCLK)
z System/Self-calibration
with R/W Registers
z Power Supply Configurations
The 16-bit CS5529 is a low-power, programmable ∆Σ
ADC (Analog-to-Digital Converter), which includes
coarse/fine charge buffers, a fourth-order ∆Σ modulator,
a calibration microcontroller, a digital filter with programmable decimation rates, a 6-bit output latch, and a threewire serial interface. The ADC is designed to operate
from single or dual analog supplies and a single digital
supply.
The digital filter is programmable with output update
rates between 1.88 Hz to 101 Sps. These output rates
are specified for XIN = 32.768 kHz. Output word rates
can be increased by approximately 3X by using XIN =
100 kHz. The filter is designed to settle to full accuracy
for the selected output word rate in one conversion.
When operated at word rates of 15 Sps or less, the filter
rejects both 50 Hz and 60 Hz simultaneously.
Low power, single conversion settling time, programma-
- VA+ = +5 V; VA- = 0 V; VD+ = +3 V to +5 V
ble output rates, and the ability to handle negative input
- VA+ = +2.5 V; VA- = -2.5 V; VD+ = +3 V to +5 V signals make this single- or dual-supply product an ideal
solution for isolated and non-isolated applications.
- VA+ = +3.0 V; VA- = -3.0 V; VD+ = +3.0 V
z Low
Power Consumption: 2.6 mW
VA+
AIN+
VA-
1X
AINVREF+
1X
VREF-
ORDERING INFORMATION
See page 29.
Latch
DGND
Digital Filter
Differential
4th Order
Delta-Sigma
Modulator
Calibration
Memory
Calibration
Register
CS
SCLK
Control
Register
Calibration µC
A0 A1 D0 D1 D2 D3
http://www.cirrus.com
VD+
Clock
Gen.
XIN
Copyright © Cirrus Logic, Inc. 2005
(All Rights Reserved)
Output
Register
SDI
SDO
XOUT
AUG ‘05
DS246F5
1
CS5529
TABLE OF CONTENTS
CHARACTERISTICS & SPECIFICATIONS ........................................................ 4
ANALOG CHARACTERISTICS................................................................... 4
ANALOG CHARACTERISTICS................................................................... 5
5V DIGITAL CHARACTERISTICS .............................................................. 6
3 V DIGITAL CHARACTERISTICS ............................................................. 6
DYNAMIC CHARACTERISTICS ................................................................. 6
ABSOLUTE MAXIMUM RATINGS .............................................................. 7
SWITCHING CHARACTERISTICS ............................................................. 8
GENERAL DESCRIPTION ................................................................................ 10
Analog Input ............................................................................................. 10
Analog Input Model ............................................................................ 10
Voltage Reference Input Model .......................................................... 10
Serial Port ................................................................................................. 11
Command Register Descriptions ........................................................ 12
Serial Port Interface ........................................................................... 13
Serial Port Initialization ....................................................................... 15
System Initialization ........................................................................... 15
Configuration Register .............................................................................. 15
Latch Output Pins ............................................................................... 15
Power Consumption ........................................................................... 15
Output Word Rate .............................................................................. 16
Digital Filter ........................................................................................ 16
Clock Generator ................................................................................. 16
Reset System ..................................................................................... 16
Port Flag ............................................................................................. 17
Calibration .......................................................................................... 17
Calibration Registers ................................................................... 17
Offset Register ...................................................................... 17
Gain Register ........................................................................ 18
Self Calibration ............................................................................ 18
System Calibration ....................................................................... 18
Limitations in Calibration Range .................................................. 19
Calibration Tips ............................................................................ 19
Configuration Register Descriptions ................................................. 20
Performing Conversions ........................................................................... 21
Performing Conversions with PF bit = 0 ............................................. 21
Performing Conversions with PF bit = 1 ............................................. 21
Single Conversion ........................................................................ 21
Continuous Conversions .............................................................. 21
Output Coding .................................................................................... 22
............................................................................................................ 22
Power Supply Arrangements .................................................................... 23
Getting Started ......................................................................................... 25
PCB Layout .............................................................................................. 25
PIN DESCRIPTIONS ......................................................................................... 26
SPECIFICATION DEFINITIONS ........................................................................ 28
ORDERING INFORMATION .............................................................................. 29
ENVIRONMENTAL, MANUFACTURING, & HANDLING INFORMATION ...... 29
PACKAGE DIMENSIONS ................................................................................. 30
2
DS246F5
CS5529
LIST OF FIGURES
Input models for AIN+ and AIN- pins......................................................... 11
Input model for VREF+ and VREF- pins. .................................................. 11
CS5529 Register Diagram. ....................................................................... 11
Command and Data Word Timing. ............................................................ 14
Filter Response (Normalized to Output Word Rate = 1)............................ 16
Self Calibration of Offset. .......................................................................... 18
Self Calibration of Gain. ............................................................................ 18
System Calibration of Offset...................................................................... 18
System Calibration of Gain........................................................................ 19
CS5529 Configured with a +5.0 V Analog Supply..................................... 23
CS5529 Configured with ±2.5 V Analog Supplies. .................................... 23
CS5529 Configured with ±3.0 V Supplies. ................................................ 24
REVISION HISTORY
Revision
Date
Changes
F4
Sep ‘04
Added lead-free device ordering information..
F5
Aug ‘05
Updated legal notice. Added MSL data.
Contacting Cirrus Logic Support
For all product questions and inquiries contact a Cirrus Logic Sales Representative.
To find the one nearest to you go to www.cirrus.com
IMPORTANT NOTICE
Cirrus Logic, Inc. and its subsidiaries (“Cirrus”) believe that the information contained in this document is accurate and reliable. However, the information is subject to
change without notice and is provided “AS IS” without warranty of any kind (express or implied). Customers are advised to obtain the latest version of relevant infor
mation to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied
at the time of order acknowledgment, including those pertaining to warranty, indemnification, and limitation of liability. No responsibility is assumed by Cirrus for the
use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third parties
This document is the property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights, copyrights
trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives consent for copies
to be made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent does not extend
to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPER
TY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN
AIRCRAFT SYSTEMS, MILITARY APPLICATIONS, PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES
LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE
FULLY AT THE CUSTOMER'S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A
MANNER. IF THE CUSTOMER OR CUSTOMER'S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOM
ER AGREES, BY SUCH USE, TO FULLY INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND OTHER AGENTS FROM ANY
AND ALL LIABILITY, INCLUDING ATTORNEYS' FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES.
Cirrus Logic, Cirrus, and the Cirrus Logic logo designs are trademarks of Cirrus Logic, Inc. All other brand and product names in this document may be trademarks o
service marks of their respective owners.
DS246F5
3
CS5529
CHARACTERISTICS & SPECIFICATIONS
ANALOG CHARACTERISTICS
(TA = 25 °C; VA± = ±2.5 V ±5%, VD+ = 5 V ±5%, VREF+ = 2.5 V,
VREF- = 0.0 V, FCLK = 32.768 kHz, OWR (Output Word Rate) = 15 Sps, Bipolar Mode, Input Range = ±2.5 V.)
(See Notes 1 and 2.)
Parameter
Min
Typ
Max
Unit
-
±0.0015
±0.003
%FS
16
-
-
Bits
Accuracy
Linearity Error
No Missing Codes
Bipolar Offset
(Note 3)
-
±1
±2
LSB16
Unipolar Offset
(Note 3)
-
±2
±4
LSB16
(Notes 3 and 4)
-
11
-
nV/°C
-
±8
±31
ppm
-
±16
±63
ppm
-
1
-
ppm/°C
Offset Drift
Bipolar Gain Error
Unipolar Gain Error
Gain Drift
(Note 4)
Noise (Notes 5 and 6)
Output Word Rate (Hz)
-3 dB Filter Frequency (Hz)
Noise (µV)
1.88
1.64
4.5
3.76
3.27
5.0
7.51
6.55
7.0
15.0
12.7
15
30.0
25.4
45
61.6
50.4
190
84.5
70.7
900
101.1
84.6
3000
Notes: 1. Applies after system calibration at any temperature within -40 °C ~ +85 °C.
2. Specifications guaranteed by design, characterization, and/or test.
3. Specification applies to the device only and does not include any effects by external parasitic
thermocouples.
4. Drift over specified temperature range after calibration at power-up at 25 °C.
5. Wideband noise aliased into the baseband. Referred to the input. Typical values shown for 25 °C.
6. For peak-to-peak noise multiply by 6.6 for all ranges and output rates.
Specifications are subject to change without notice.
4
DS246F5
CS5529
ANALOG CHARACTERISTICS (Continued)
Parameter
Min
Typ
Max
Unit
0.0
VA-
-
VA+
VA+
V
V
-
120
120
-
dB
dB
-
10
-
pF
(Note 7)
-
16
-
nA
(Note 8)
1.0
-
3.5
V
-
-
±1.25
V
1.0
2.5
5
V
REF+
VA-
-
VA+
V
REF-
VA-
-
VA+
V
-
110
130
-
dB
dB
-
16
-
pF
-
8
-
nA
-
400
110
520
150
µA
µA
-
2.6
1.8
1
500
3.5
2.5
-
mW
mW
mW
µW
-
80
80
-
dB
dB
Analog Input
Common Mode + Signal on AIN+ or AINSingle Supply
Dual Supply
Common Mode Rejection
(Bipolar/Unipolar Mode)
dc
50, 60Hz
Input Capacitance
CVF Current
AIN+, AIN-
System Calibration Specifications
Full Scale Calibration Range, with VREF = 2.5 V
Offset Calibration Range
(Bipolar/Unipolar Mode)
Voltage Reference Input
Range
{(VREF+) - (VREF-)}
Common Mode Rejection
(Note 9)
dc
50, 60 Hz
Input Capacitance
CVF Current
(Note 7)
Power Supplies
DC Power Supply Currents
(Normal Mode)
IA+
ID+
Power Consumption
Normal Mode
Low Power Mode
Standby
Sleep
Power Supply Rejection
dc Positive Supplies
dc Negative Supply
(Note 10)
Notes: 7. See the section of the data sheet which discusses Analog Input Models.
8. The minimum Full Scale Calibration Range (FSCR) is limited by the maximum allowed gain register
value (with margin). The maximum FSCR is limited by the ∆Σ modulator’s 1’s density range. See
“Analog Input” section for details. Also see “Limitations in Calibration Range”.
9. VREF must be less than or equal to supply voltages.
10. All outputs unloaded. All inputs CMOS levels. Power consumption scales linearly with changes in
supply voltage.
DS246F5
5
CS5529
5V DIGITAL CHARACTERISTICS (TA = 25 °C; VA± = ±2.5V ±5%, VD+ = 5V ± 5%.)(See Notes 2 and
11.)
Parameter
Symbol
Min
Typ
Max
Unit
High-level Input Voltage:
All Pins Except
XIN, SCLK
XIN
SCLK
VIH
VIH
VIH
0.6VD+
(VD+)-0.9
(VD+)-0.45
-
-
V
V
V
Low-level Input Voltage:
All Pins Except
XIN, SCLK
XIN
SCLK
VIL
VIL
VIL
-
-
0.8
2.0
0.6
V
V
V
High-level Output Voltage:
All Pins Except
SDO (Note 12)
SDO, Iout = -5.0mA
VOH
VOH
(VD+)-1.0
(VD+)-1.0
-
-
V
V
Low-level Output Voltage:
All Pins Except
SDO, Iout = 1.6mA
SDO, Iout = 5.0mA
VOL
VOL
-
-
0.4
0.4
V
V
Input Leakage Current
Iin
-
±1
±10
µA
3-state Leakage Current
IOZ
-
-
±10
µA
Digital Output Pin Capacitance
Cout
-
9
-
pF
Notes: 11. All measurements performed under static conditions.
12. Iout = -100 µA unless stated otherwise. (VOH = 2.4 V @ Iout = -40 µA).
3 V DIGITAL CHARACTERISTICS (TA = 25 °C; VA± = ±2.5 V ±5%, VD+ = 3.0 V ±5%.)
(See Notes 2 and 11.)
Parameter
Symbol
Min
Typ
Max
Unit
High-level Input Voltage:
All Pins Except
XIN, SCLK
XIN
SCLK
VIH
VIH
VIH
0.6VD+
(VD+)-0.9
(VD+)-0.45
-
-
V
V
V
Low-level Input Voltage:
All Pins Except
XIN, SCLK
XIN
SCLK
VIL
VIL
VIL
-
-
0.16 VD+
0.5
0.6
V
V
V
High-level Output Voltage:
All Pins Except
SDO, Iout = -400 µA
SDO, Iout = -5.0 mA
VOH
VOH
(VD+)-0.3
(VD+)-1.0
-
-
V
V
Low-level Output Voltage:
All Pins Except
SDO, Iout = 400 µA
SDO, Iout = 5.0 mA
VOL
VOL
-
-
0.3
0.4
V
V
Input Leakage Current
Iin
-
±1
±10
µA
3-state Leakage Current
IOZ
-
-
±10
µA
Digital Output Pin Capacitance
Cout
-
9
-
pF
DYNAMIC CHARACTERISTICS
Parameter
Symbol
Ratio
Units
Modulator Sampling Frequency
fs
XIN/4
Hz
Filter Settling Time to 1/2 LSB (Full Scale Step)
ts
1/fout
s
6
DS246F5
CS5529
ABSOLUTE MAXIMUM RATINGS (DGND = 0 V) (See Note 13.)
Parameter
DC Power Supplies
Input Current, Any Pin Except Supplies
Symbol
Min
Typ
Max
Unit
(Notes 14 and 15)
Positive Digital
Positive Analog
Negative Analog
VD+
VA+
VA-
-0.3
-0.3
-6.0
-
+6.0
+6.0
+0.3
V
V
V
(Notes 16 and 17)
IIN
-
-
±10
mA
IOUT
-
-
±25
mA
Output Current
Power Dissipation
(Note 18)
PDN
-
-
8
mW
AIN and VREF pins
VINA
(VA-) + (-0.3)
-
(VA+)+0.3
V
VIND
-0.3
-
(VD+)+0.3
V
Ambient Operating Temperature
TA
-40
-
+85
°C
Storage Temperature
Tstg
-65
-
+150
°C
Analog Input Voltage
Digital Input Voltage
Notes: 13. All voltages with respect to ground.
14. VA+ and VA- must satisfy {(VA+) - (VA-)} ≤ +6.3 V; and |VA-| must be ≤ VA+.
15. VD+ and VA- must satisfy {(VD+) - (VA-)} ≤ +7.75 V.
16. Applies to all pins including continuous overvoltage conditions at the analog input (AIN) pins.
17. Transient current of up to 100mA will not cause SCR latch-up. Maximum input current for a power
supply pin is ±50 mA.
18. Total power dissipation, including all input currents and output currents.
WARNING: Operation at or beyond these limits may result in permanent damage to the device.
Normal operation is not guaranteed at these extremes.
DS246F5
7
CS5529
SWITCHING CHARACTERISTICS (TA = 25 °C; VA ± = ±2.5 V ±5%, VD+ = 3 V ±5% or 5 V ±5%;
Input Levels: Logic 0 = 0 V, Logic 1 = VD+; CL = 50pF)
Parameter
Master Clock Frequency:
External Clock or Internal Oscillator
(Note19)
Symbol
Min
Typ
Max
Unit
XIN
30
32.768
100
kHz
40
-
60
%
-
50
1.0
100
-
µs
µs
ns
-
50
1.0
100
-
µs
µs
ns
Master Clock Duty Cycle
(Note 20)
Any Digital Input Except SCLK
SCLK
Any Digital Output
trise
(Note 20)
Any Digital Input Except SCLK
SCLK
Any Digital Output
trise
XTAL = 32.768 kHz (Note 21)
tost
-
500
-
ms
tpor
-
1002
-
XIN
cycles
SCLK
0
-
2
MHz
t1
t2
250
250
-
-
ns
ns
CS Enable to Valid Latch Clock
t3
50
-
-
ns
Data Set-up Time prior to SCLK rising
t4
50
-
-
ns
Data Hold Time After SCLK Rising
t5
100
-
-
ns
SCLK Falling Prior to CS Disable
t6
100
-
-
ns
CS to Data Valid
t7
-
-
150
ns
SCLK Falling to New Data Bit
t8
-
-
150
ns
CS Rising to SDO Hi-Z
t9
-
-
150
ns
Rise Times
Fall Times
Start-up
Oscillator Start-up Time
Power-on Reset Period
Serial Port Timing
Serial Clock Frequency
Serial Clock
Pulse Width High
Pulse Width Low
SDI Write Timing
SDO Read Timing
Notes: 19. Device parameters are specified with 32.768 kHz clock, however, clocks up to 100 kHz can be used for
increased throughput.
20. Specified using 10% and 90% points on waveform of interest. Output loaded with 50 pF.
21. Oscillator start-up time varies with crystal parameters. This specification does not apply when using an
external clock source.
8
DS246F5
CS5529
CS
t6
t1
t3
SCLK
t2
Continuous Running SCLK Timing (Not to Scale)
CS
t3
SDI
M SB
M S B -1
LSB
t4
t5
t1
t6
SC LK
t2
SDI Write Timing (Not to Scale)
CS
t7
SDO
t9
MSB
M S B -1
L SB
t8
t2
SC LK
t1
SDO Read Timing (Not to Scale)
DS246F5
9
CS5529
GENERAL DESCRIPTION
The CS5529 is a 16-bit ∆Σ Analog-to-Digital Converter (ADC) which includes coarse/fine charge
buffers, a fourth order ∆Σ modulator, a calibration
microcontroller, eight digital filters which provide
selectable decimation rates, a 6-bit output latch,
and a three-wire serial interface. The ADC is optimized to digitize unipolar or bipolar signals in industrial applications.
The digital filters provide eight selectable output
word rates (OWRs) of 1.88 Sps, 3.76 Sps, 7.51 Sps,
15.0 Sps, 30.0 Sps, 61.6 Sps, 84.5 Sps, 101.1 Sps
when operated from a 32.768 kHz watch crystal or
equivalent clock (output word rates can be increased by approximately 3X by using 100 kHz
clock). The filters are designed to settle to full accuracy for the selected output word rate in one conversion. When operated at word rates of 15 Sps or
less (XIN = 32.768 kHz), the filter rejects both 50
Hz and 60 Hz line interference simultaneously.
Analog Input
The CS5529 provides a nominal 2.5 V input span
when the gain register is 1.0 decimal and the differential reference voltage between VREF+ and
VREF- is 2.5 V. The gain registers content is used
during calibration to set the gain slope of the
ADC’s transfer function. The differential reference
voltage magnitude and the gain register are two
factors that can be used to scale the nominal 2.5 V
input span. After reset, the gain register defaults to
1.0 decimal. In this case, the external voltage between the VREF+ pin and the VREF- pin sets the
ADC’s nominal full scale input span to 2.5 V. If a
user want to modify the input span, either the gain
register or the reference voltage’s magnitude needs
to be changed. For example, if a 1.25 V reference is
used in place of the nominal 2.5 V input, the fullscale span is cut in half. To achieve the same 1.25V
input span, the user could simply use a 2.5 V reference and modify the gain register to 2.0 decimal.
10
Note that to keep from saturating the analog front
end, the input span must stay at or below 1.5 times
the reference voltage. This corresponds to a gain
register of 0.666... when a 2.5 V reference voltage
is used.
Note:
When a smaller reference voltage is used,
the resulting code widths are smaller. Since
the output codes exhibit more changing
codes for a fixed amount of noise, the
converter appears noisier.
Calibration can also affect the ADC’s full scale
span because system gain calibration can be used to
increase or decrease the full scale span of the
ADC’s transfer functions. At its limit, the input full
scale can be reduced to the point in which the gain
register reaches its upper limit of 3.999... (this will
occur when the ADC is gain calibrated with an input signal less than or equal to approximately 1/4 of
its nominal full scale, if the ADC does not have intrinsic gain error). Calibration and its effects on the
analog input span is detailed in a later section of the
data sheet.
Analog Input Model
Figure 1 illustrates the input models for the AIN
pins. The model includes a coarse/fine charge buffer which reduces the dynamic current demands
from the signal source. The buffer is designed to
accommodate rail to rail (common-mode plus signal) input voltages. Typical CVF (sampling) current is about 16nA (XIN = 32.768 kHz, see Figure
1). Application Note 30, “Switched-Capacitor A/D
Input Structures”, details various input architectures.
Voltage Reference Input Model
Figure 2 illustrates the input models for the VREF
pins. It includes a coarse/fine charge buffer which
reduces the dynamic current demand of the external reference. Typical CVF (sampling) current is
about 8nA (XIN = 32.768 kHz, see Figure 2).
The reference’s buffer is designed to accommodate
rail-to-rail (common-mode plus signal) input voltDS246F5
CS5529
φ 1Fine
φ 1Fine
AIN
Vos ≤ 25mV
i n = fVos C
φ 1Coarse
C = 20pF
φ 2Coarse
VREF
C = 10pF
Vos ≤ 25mV
i n = fVos C
f = 32.768 kHz
f = 32.768 kHz
Figure 1. Input models for AIN+ and AIN- pins.
Figure 2. Input model for VREF+ and VREF- pins.
ages. The differential voltage between VREF+ and
VREF- sets the nominal full scale input span of the
converter. For a single-ended reference voltage,
such as the LT1019-2.5, the reference output is
connected to the VREF+ pin of the CS5529 and the
ground reference for the LT1019-2.5 is connected
to the VREF- pin.
ure 3 illustrates a block diagram of all the internal
register.
The CS5529 includes a microcontroller with a
command register, a configuration register, a conversion data register (read only), and a gain and offset register for calibration. All registers, except the
8-bit command register, are 24-bits in length. Fig-
Offset Register (1 × 24)
Gain Register (1 × 24)
Conversion Data Register (1x24)
Read Only
Serial Port
After a system initialization or reset, the serial port
is set to the command mode. The converter stays in
this mode until a valid 8-bit command is received
(the first 8-bits into the serial port). Once a valid 8bit command is received and interpreted by the
ADC’s command register, the serial port enters the
data mode. In data mode the next 24 serial clock
pulses shift data either into or out of the serial port
(72 serial clock pulses are needed if the setup register command is issued). The Command Register
Descriptions section illustrates all valid commands.
CS
Configuration Register (1 × 24)
Latch Outputs
Low Power Mode
Output Word Rates
Unipolar/Bipolar
Reset System
etc.
Write Only
Serial
Interface
SDI
SDO
SCLK
Command Register (1 × 8)
Figure 3. CS5529 Register Diagram.
DS246F5
11
CS5529
Command Register Descriptions
D7(MSB)
D6
D5
D4
D3
D2
D1
D0
CB
SC
CC
R/W
RSB2
RSB1
RSB0
PS/R
BIT
NAME
VALUE
FUNCTION
D7
Command Bit, CB
0
1
Null command (no operation). All command bits,
including CB must be 0.
Logic 1 for executable commands.
D6
Single Conversion, SC
0
1
Single Conversion not active.
Perform a conversion.
D5
Continuous Conversions,
CC
0
1
Continuous Conversions not active.
Perform conversions continuously.
D4
Read/Write, R/W
0
1
Write to selected register.
Read from selected register.
D3-D1
Register Select Bit, RSB2RSB0
D0
Power Save/Run, PS/R
000
001
010
011
100
101
110
111
0
1
Offset Register
Gain Register
Configuration Register
Conversion Data Register (read only)
Set-up Registers (Offset, Gain, Configuration)
Reserved
Reserved
Reserved
Run
Power Save
Table 1. Command Set
Perform Single Conversion
7
1
6
1
5
0
4
0
3
0
2
0
1
0
0
0
2
0
1
0
0
0
2
0
1
0
0
PS/R
1
0
0
0
This command instructs the ADC to perform a single conversion.
Perform Continuous Conversions
7
1
6
0
5
1
4
0
3
0
This command instructs the ADC to perform continuous conversions.
Power Save/Run
7
1
6
0
5
0
4
0
3
0
If PS/R = 0, normal run mode is entered. If PS/R = 1, power save mode is entered.
Null
7
0
6
0
5
0
4
0
3
0
2
0
This command is used to clear the port flag in the continuous conversion mode when the port flag bit in the configuration register
is set to logic 1.
12
DS246F5
CS5529
SYNC1
7
1
6
1
5
1
4
1
3
1
2
1
1
1
0
1
Part of the serial port re-initialization sequence (see text for use of command).
SYNC0
7
1
6
1
5
1
4
1
3
1
2
1
1
1
0
0
4
R/W
3
RSB2
2
RSB1
1
RSB0
0
0
End of the serial port re-initialization sequence.
Read/Write Registers
7
1
6
0
5
0
These commands are used to perform a write to or a read from a specific register. The register to be accessed is
selected with the RSB2-RSB0 bits of the command word.
R/W
RSB[4:0]
0
Write Register
1
Read Register
Register address binary encoded 0 to 31 as follows. All registers are 24 bits long.
Address
Description
000
Read or Write Offset Register
001
Read or Write Gain Register
010
Read or Write Configuration Register
011
Read Conversion Data Register
100
Read or Write Offset Gain and Configuration Registers in
this sequence (i.e. one 8-bit command is followed by 72-bits of
data to access the Offset, then the Gain, and then the
Configuration register)
Serial Port Interface
The CS5529’s serial interface consists of four control lines: CS, SDI, SDO, and SCLK.
CS, Chip Select, is the control line which enables
access to the serial port. If the CS pin is tied to logic
0, the port can function as a three wire interface.
SDI, Serial Data In, is the data signal used to transfer data to the converters.
SDO, Serial Data Out, is the data signal used to
transfer output data from the converters. The SDO
output will be held at high impedance any time CS
is at logic 1.
SCLK, Serial Clock, is the serial bit-clock which
controls the shifting of data to or from the ADC’s
serial port. The CS pin must be held at logic 0 before SCLK transitions can be recognized by the
DS246F5
port logic. To accommodate opto-isolators SCLK
is designed with a Schmitt-trigger input to allow an
opto-isolator with slower rise and fall times to directly drive the pin. Additionally, SDO is capable
of sinking or sourcing up to 5 mA to directly drive
an opto-isolator LED. SDO will have less than a
400 mV loss in the drive voltage when sinking or
sourcing 5 mA.
Figure 4 illustrates the serial sequence necessary to
write to, or read from the serial port’s registers. A
transfer of data is always initiated by sending the
appropriate 8-bit command (MSB first) to the serial
port (SDI pin). It is important to note that some
commands use information from the configuration
registers to perform the function. For those commands it is important that the correct information is
written to the configuration register first.
13
CS5529
CS
SCLK
SDI
LSB
MSB
C om m a nd T im e
8 SC LKs
D a ta T im e 2 4 S C L K s
(or 72 S C LK s fo r S e t-u p R e giste rs )
W rite C ycle
CS
SCLK
SDI
C om m a nd T im e
8 SC LKs
SDO
LSB
MSB
D ata T im e 2 4 S C LK s
(or 7 2 S C LK s for S et-u p R e giste rs )
Read C ycle
SCLK
SD I
C o m m a nd T im e
8 SCLKs
X IN /O W R
C lo ck C yc le s
td *
SDO
8 S C L K s C le ar S D O F la g
M SB
* td = X IN /O W R clock cycle s fo r ea ch co nve rsio n exce pt th e
first co nve rsio n w h ich w ill take X IN /O W R + 7 clock cycle s
LSB
D ata T im e
24 S C L K s
S D O C ontinuous C onvers ion R ead (P F bit = 1)
Figure 4. Command and Data Word Timing.
14
DS246F5
CS5529
Serial Port Initialization
Latch Output Pins
The serial port is initialized to the command mode
whenever a power-on reset is performed or when
the port initialization sequence is completed. The
port initialization sequence involves clocking fifteen (or more) SYNC1 command bytes (0xFF) followed by one SYNC0 command byte (0xFE). This
sequence places the chip in the command mode
where it waits until a valid command is received.
This function does not reset the internal registers to
their default settings. It only resets the serial port to
the command mode.
The D3-D0 pins of the converter mimic the D21D18 bits of the configuration register. D3-D0 can
be used to control multiplexers and other digital
logic functions outside the converter. The D0-D3
outputs are powered from VD+ and DGND. Their
output voltage will be VD+ for a logic 1 and
DGND for a logic 0. The A1-A0 pins of the converter mimic the D23-D22 bits of the configuration
register and can be used to control analog switches.
These outputs are powered from VA+ and VA-,
hence, their output voltage will be either VA+ for a
logic 1 or VA- for a logic 0.
System Initialization
When power to the CS5529 is applied, the chip is
held in a reset condition until the 32.768 kHz oscillator has started and a counter-timer elapses. Due to
the high Q of the 32.768 kHz crystal, the oscillator
takes 400-600 ms to start. The counter-timer counts
1002 oscillator clock cycles to make sure the oscillator is fully stable. During this time-out period the
serial port logic is reset and the RV (Reset Valid)
bit in the configuration register is set to indicate
that a valid reset occurred. After a reset, the on-chip
registers are initialized to the following states and
the converter is placed in the command mode
where it waits for a valid command.
Configuration Register:
Offset Register:
Gain Register:
Note:
000040(H)
000000(H)
400000(H)
A system reset can be initiated at any time by
writing a logic 1 to the RS (Reset System) bit
in the configuration register. After a reset, the
RV (Reset Valid) bit is set until the
configuration register is read. The user must
then write a logic 0 to the RS bit to take the
part out of the reset mode.
Configuration Register
The configuration register is a 24 bit register used
to modify the functions of the ADC. The following
sections detail the functions of the bits in the configuration register.
DS246F5
All outputs can sink or source at least 1 mA, but it
is recommended to limit drive currents to less than
20 µA to reduce self-heating of the chip.
Power Consumption
The CS5529 accommodates four power consumption modes: normal, low power, standby, and sleep.
The normal mode, the default mode, is entered after
a power-on-reset and typically consumes 2.5 mW.
The low power mode is an alternate mode that reduces the consumed power to 1.4 mW. It is entered
by setting bit D16 (the low power mode bit) in the
configuration register to logic 1. Since the converter’s noise and linearity performance improves with
increased power consumption, slightly degraded
noise or linearity performance should be expected
in the low power mode.
The final two modes are the power save modes.
These modes power down most of the analog portion of the chip and stop filter convolutions. The
power save modes are entered whenever the Power
Save (0x81 hexadecimal) command is issued to the
serial port. The particular power save mode entered
depends on state of bit D4 (the power save select
bit) in the configuration register. If D4 is logic 0,
the converter enters the standby mode reducing the
power consumption to 1 mW. The standby mode
leaves the oscillator and the on-chip bias generator
15
CS5529
running. This allows the converter to quickly return
to the normal or low power mode once the PS/R bit
is set back to a logic 0. If D4 in the configuration
register is logic 1 and Power Save command is issued, the sleep mode is entered reducing the consumed power to less than 10 µW. Since the sleep
mode disables the oscillator, approximately a 500
ms crystal oscillator start-up delay period is required before returning to the normal or low power
mode. If an external clock is used, the chip should
start within a few microseconds.
better than 80 dB rejection for both 50 Hz and
60 Hz with output word rates at or below 15.0 Sps
(XIN = 32.768 kHz).
The converter’s digital filters scale with XIN. For
example with an output word rate of 15 Sps, the filter’s corner frequency is typically 12.7 Hz. If XIN
is increased to 64.536 kHz the OWR doubles and
the filter’s corner frequency moves to 25.4 Hz.
Clock Generator
The WR2-WR0 bits of the configuration register
set the output conversion word rate of the converter
as shown in the Configuration Register Descriptions table. The word rates indicated in the table assume a master clock of 32.768 kHz. Upon reset the
converter is set to operate with an output word rate
of 15.0 Sps.
The CS5529 includes a gate which can be connected with an external crystal to provide the master
clock for the chip. The chip is designed to operate
using a low-cost 32.768 kHz “tuning fork” type
crystal. One lead of the crystal should be connected
to XIN and the other to XOUT. Lead lengths
should be minimized to reduce stray capacitance.
Note that the converter will operate with an external (CMOS compatible) clock with frequencies up
to 100 kHz.
Digital Filter
Reset System
The CS5529 has eight different linear phase digital
filters which set the output word rates (OWRs) as
stated in Configuration Register Descriptions.
These rates assume that XIN is 32.768 kHz. Each
of the filters has a magnitude response similar to
that shown in Figure 5. The filters are optimized to
settle to full accuracy every conversion and yield
The reset system bit permits the user to perform a
hardware reset. A hardware reset can be initiated at
any time by writing a logic 1 to the RS (Reset System) bit in the configuration register. After a hardware reset cycle is complete, the serial port logic is
reset and the RV (Reset Valid) bit in the configuration register is set to indicate that a valid reset occurred. After a reset, the on-chip registers are
initialized to the following states and the converter
is placed in the command mode where it waits for
a valid command.
Output Word Rate
Configuration Register:
Offset Register:
Gain Register:
Note:
Figure 5. Filter Response
(Normalized to Output Word Rate = 1).
16
000040(H)
000000(H)
400000(H)
A system reset can be initiated at any time by
writing a logic 1 to the RS (Reset System) bit
in the configuration register. After a reset, the
RV (Reset Valid) bit is set until the
configuration register is read. The user must
then write a logic 0 to the RS bit to take the
part out of the reset mode.
DS246F5
CS5529
Port Flag
The port flag bit in the configuration register allows
the user to select the mode in which conversions
will be presented to the serial port. With the port
flag bit cleared, the user must read the conversion
data register. With the port flag bit set to logic 1, the
user can read the conversion data from the serial
port by first issuing the NULL command to clear
the SDO flag and then issuing 24 SCLKs to read
the conversion word.
version cycles to complete and will set the DF bit
after the gain calibration is completed.
Note:
Calibration
Calibration is used to set the zero and gain slope of
the ADC’s transfer function. The calibration control bits in the configuration register allow the user
to perform either self calibration or system calibration.
The offset and gain calibration steps each take one
conversion cycle to complete. At the end of the calibration step, the calibration control bits will be set
back to logic 0, and the DF (Done Flag) bit will be
set to a logic 1. For the combination self-calibration
(CC2-CC0= 011; offset calibration followed by
gain calibration), the calibration will take two con-
1) The DF bit will be cleared any time the data
register, the offset register, the gain register,
or the setup register is read. Reading the
configuration register alone will not clear the
DF bit.
2) After the CS5529 is reset, the converter is
functional and can perform measurements
without being calibrated. In this case, the
converter will utilize the initialized values of
the on-chip registers (Gain = 1.0, Offset = 0.0)
to calculate output words. Any initial offset
and gain errors in the internal circuitry of the
chip will remain.
Calibration Registers
The offset calibration result is stored in the offset
register. The result is used during the conversion
process to nullify offset errors. One LSB in the offset register is 2-24 proportion of the input span (bipolar span is 2 times the unipolar span). The MSB
in the offset register determines if the offset to be
trimmed is positive or negative (0 positive, 1 negative). The converter can typically trim ±50 percent
of the input span. Refer to the following Offset
Register and Gain Register descriptions for details.
Offset Register
23(MSB)
Sign
0
11
22
21
20
19
18
17
16
15
14
13
12
2-2
0
10
2-3
0
9
2-4
0
8
2-5
0
7
2-6
0
6
2-7
0
5
2-8
0
4
2-9
0
3
2-10
0
2
2-11
0
1
2-12
0
0
2-13
0
2-14
0
2-15
0
2-16
0
2-17
0
2-18
0
2-19
0
2-20
0
2-21
0
2-22
0
2-23
0
2-24
0
One LSB represents 2-24 proportion of the input span (bipolar span is 2 times unipolar span).
Offset and data word bits align by MSB (bit MSB-4 of offset register changes bit MSB-4 of data). After reset, all bits
are ‘0’.
DS246F5
17
CS5529
Gain Register
23(MSB)
22
21
20
19
18
17
16
15
14
13
12
21
0
11
20
0
10
2-1
0
9
2-2
0
8
2-3
0
7
2-4
0
6
2-5
0
5
2-6
0
4
2-7
0
3
2-8
0
2
2-9
0
1
2-10
0
0
2-11
0
2-12
0
2-13
0
2-14
0
2-15
0
2-16
0
2-17
0
2-18
0
2-19
0
2-20
0
2-21
0
2-22
0
The gain register span is from 0 to (4-2-22). After Reset the (MSB-1) bit is ‘1’, all other bits are ‘0’.
The gain calibration results is stored in the gain
register. The result sets the slope of the ADC’s
transfer function. The gain register spans from 0 to
(4 - 2-22). The decimal equivalent meaning of the
gain register is
OPEN
AIN+
AIN-
N
1
0
–1
–N
1
D = b MSB 2 + ( b 0 2 + b 1 2 + … + b N 2 ) = b MSB 2 +
∑ bi 2
–i
i=0
where the binary numbers have a value of either
zero or one (b0 corresponds to bit MSB-1, N = 22).
VREF+
Reference +
- VREF-
+
OPEN
-
CLOSED
CLOSED
Figure 7. Self Calibration of Gain.
Self Calibration
System Calibration
The CS5529 offers both self offset and self gain
calibrations. For the self-calibration of offset, the
converter internally ties the inputs of the modulator
together and routes them to the VREF- pin as
shown in Figure 6. Also self offset calibration requires that VREF- be tied to a fixed voltage between VA+ and VA-. For self-calibration of gain,
the differential inputs of the modulator are connected to VREF+ and VREF- as shown in Figure7.
For the system calibration functions, the user must
input signals which represent system ground and
system full scale to the converter. When a system
offset calibration is performed a ground reference
signal must be applied to the converter (see Figure
8). When a system gain calibration is performed,
the user must input a signal representing the positive full scale point as shown in Figure 9. In either
case, calibration signals must be within the specified calibration limits for each specific calibration
step (refer to the System Calibration Specifica-
External
Connections
S1
OPEN
AINVREF-
S3
CLOSED
AIN+
S2
OPEN
+
+
AIN+
0V +-
-
AIN-
-
S4
CLOSED
Figure 6. Self Calibration of Offset.
18
Figure 8. System Calibration of Offset.
DS246F5
CS5529
Calibration Tips
External
Connections
+
AIN+
Full Scale
+
AIN-
Figure 9. System Calibration of Gain.
tions). If a system gain calibration is performed, the
calibrated input must not cause the resulting gain
register’s content, decoded in decimal, to exceed
3.9999998. The above condition requires that the
full scale input voltage to be greater than 25 percent
of the differential reference voltage (i.e. a 625mV
input signal must be applied if the differential reference voltage is 2.5V).
Limitations in Calibration Range
System calibration can be limited by signal headroom 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 conditions, this occurs with a full scale input signal equal
to about 1/4 the reference voltage. With the converter’s intrinsic gain error, this full scale input signal may be higher or lower. In defining the
minimum Full Scale Calibration Range (FSCR)
under “Analog Characteristics”, margin is retained
to accommodate the intrinsic gain error. Alternatively the input full scale signal can be increased to
a point which exceeds the operating range of the
analog circuitry. This occurs when the input voltage is approximately 1.5X the differential reference voltage (Gain Register = 1.0).
DS246F5
Calibration steps are performed at the output word
rate selected by the WR2-WR0 bits of the configuration 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.
Factory calibration can be performed in a user’s
system by using the system calibration capabilities
of the CS5529. After the ADC is calibrated in the
user’s system, the offset and gain register contents
can be read by the system microcontroller and recorded in EEPROM. These same calibration words
can then be uploaded into the offset and gain registers of the converter when power is first applied to
the system.
A user can scale the input range by modifying the
gain register. For example, if a self or system calibration is performed with a full scale of 2.5 V and
a full scale of 1.25 V is desired, the user can modify
the gain register to double its slope. This can be
done by reading the gain register, shifting the binary word one position to the left (this multiplies the
gain word by 2), and writing this word back into the
gain register. The gain register can be scaled by any
amount as long as it does not exceed a decimal
range of 0.25 to 4.0.
One of two methods can be used to determine when
a calibration is complete: 1) if the PF (Port Flag) bit
of the configuration register is set to logic 1, SDO
falls to logic 0 at the completion of a calibration; or
2) regardless of the PF bit, the DF (Done Flag) bit
in the configuration register is set at completion of
calibration. The user can either monitor the DF bit
or SDO to determine when a calibration is complete. Whichever method is used, the calibration
control bits (CC2-CC0) automatically return to logic 0 upon completion of any calibration.
19
CS5529
Configuration Register Descriptions
D23(MSB)
A1
D11
NU
BIT
D22
A0
D10
NU
D21
D3
D20
D2
D19
D1
D18
D0
D17
NU
D16
LPM
D15
WR2
D14
WR1
D13
WR0
D12
U/B
D9
NU
D8
NU
D7
RS
D6
RV
D5
PF
D4
PSS
D3
DF
D2
CC2
D1
CC1
D0
CC0
NAME
VALUE
FUNCTION
D23-D22 Latch Outputs, A1-A0
00
R* Latch Output Pins A1-A0 mimic the D23-D22 Register bits.
D21-D18 Latch Outputs, D3-D0
0000
R* Latch Output Pins D3-D0 mimic the D21-D18 Register bits.
D17
Not Used, NU
0
R Must always be logic zero.
D16
Low Power Mode,
LPM
0
1
R Normal Mode (≅ 2.5 mW)
Reduced Power Mode (≅ 1 mW)
D15-D13 Word Rate, WR2-0
(Note: Rates valid for
XIN = 32.768 kHz)
000
001
010
011
100
101
110
111
R 15.0 Sps (2180 XIN cycles)
30.0 Sps (1092 XIN cycles)
61.6 Sps (532 XIN cycles)
84.5 Sps (388 XIN cycles)
101.1 Sps (324 XIN cycles)
1.88 Sps (17444 XIN cycles)
3.76 Sps (8724 XIN cycles)
7.51 Sps (4364 XIN cycles)
D12
Unipolar/Bipolar, U/B
0
1
R Bipolar Measurement mode
Unipolar Measurement mode
D11-D8
Not Used, NU
0
R Must always be logic 0.
D7
Reset System, RS
0
1
R Normal Operation
Activate a Reset cycle. To return to normal operation this bit must
be written back to logic zero.
D6
Reset Valid , RV
0
1
No reset has occurred or bit has been cleared (read only).
R Valid Reset has occurred. (Cleared when read.)
D5
Port Flag, PF
0
1
R Port Flag mode inactive
Port Flag mode active
D4
Power Save Select,
PSS
0
1
R Standby Mode (Oscillator active, allows quick power-up)
Sleep Mode (Oscillator inactive)
D3
Done Flag, DF
0
1
R Done Flag bit is cleared (read only).
Calibration or Conversion cycle completed (read only).
D2-D0
Calibration Control
Bits, CC2-CC0
000
001
010
011
100
101
110
111
R Normal operation (no calibration)
Offset -- Self-Calibration
Gain -- Self-Calibration
Offset self-cal followed by Gain self-calibration
Not Used.
Offset -- System Calibration
Gain -- System Calibration
Not Used.
* R indicates the bit value after the part is reset
20
DS246F5
CS5529
Performing Conversions
Single Conversion
The CS5529 offers two modes of performing conversions: single conversion and continuous conversions. The sections that follow detail the
differences and provides examples illustrating how
to use the modes. Note that it is assumed that the
configuration register has been initialized before
conversions are performed.
A single conversion is performed after the user
transmits the single conversion command (0xC0
Hexadecimal). At the completion of the conversion, SDO will fall to logic 0 to indicate that the
conversion is complete. To acquire the conversion,
the user must issue 8 SCLKs with SDI = logic 0
(i.e. the NULL command) to clear the SDO flag.
Upon the falling edge of the 8th SCLK, the SDO
pin will present the first bit (MSB) of the conversion word. 24 SCLKs (high, then low) are then required to read the conversion word from the port.
Performing Conversions with PF bit = 0
A single conversion is performed after the user
transmits the single conversion command (0xC0
Hexadecimal). At the completion of the conversion, the DF (Done Flag) bit of the configuration
register will be set to a logic 1. While the conversion is being performed, the user can read the configuration register to determine if the DF bit is set.
Once DF has been set, the read conversion data register command (0x96 Hexadecimal) can be issued
to read the conversion data register to obtain the
conversion data word.
Note:
1)The DF bit of the configuration register will
be cleared to logic 0 when the conversion
data register, the gain register, or the offset
register is read. Reading only the
configuration register will not clear the DF flag
bit.
2) If another single conversion command is
issued to the converter while it is performing
a conversion, the filter will abandon the
current conversion and restart a new
convolution cycle.
Performing Conversions with PF bit = 1
The PF (Port Flag) bit in the configuration register
eliminates the need for the user to monitor the DF
(Done Flag) in the configuration register to determine if the conversion is available. When PF is set
to a logic 1, SDO’s output pin behaves as a flag signal indicating when conversions are completed.
SDO will fall to logic 0 once a new conversion is
complete.
DS246F5
Note:
1) The user must not give an explicit
command (other than the NULL command) to
read the conversion data register when the
PF bit is set to logic 1.
2) The data conversion word must be read
before a new command can be entered as the
converter will remain in the data mode until
the conversion word is read.
3) Once the conversion is read the converter
returns to the command mode.
Continuous Conversions
Continuous conversions are performed after the
user transmits the continuous conversions command (0xA0 Hexadecimal). At the completion of a
conversion, SDO will fall to logic 0 to indicate that
the conversion is complete. To read the conversion
word, the user must issue 8 SCLKs with SDI = logic 0 (i.e. the NULL command) to clear the SDO
flag. Upon the falling edge of the 8th SCLK, the
SDO pin will present the first bit (MSB) of the conversion word. 24 SCLKs (high, then low) are then
required to read the conversion word from the port.
When operating in the continuous conversion
mode, the user need not read every conversion. If
the user chooses not to read a conversion after SDO
falls, SDO will rise one XIN clock cycle before the
next conversion word is available and then fall
again to signal that another conversion word is
available. To exit the continuous conversion mode,
the user must issue any valid command, other than
the NULL command, to the SDI input when the
21
CS5529
SDO flag falls. For instance, the user can just read
the conversion data register again to exit the continuous conversion mode.
Note:
1) If the user begins to clear the SDO flag and
read the conversion data, this action must be
finished before the conversion cycle which is
occurring in the background is complete if the
user wants to be able to read the new
conversion data.
2) If a CC command is issued to the converter
while it is performing a conversion, the filter
will stop the current conversion and start a
new convolution cycle to perform a new
conversion.
3) Continuous conversions aren’t allowed
unless the port flag bit is set in the
configuration register.
4) The converter will remain in data mode and
continually perform conversions until the exit
command is issued (i.e. to exit the user must
read a register).
Output Coding
As shown in the Output Conversion Data Register
Descriptions, the CS5529 presents output conversions as a 24-bit conversion word. The first 16 bits
D23
MSB
D11
3
D22
14
D10
2
D21
13
D9
1
D20
12
D8
LSB
D19
11
D7
1
D18
10
D6
1
of the conversion word represent conversion data.
The third byte contains two error flag bits.
In the third byte, D7-D4 are always logic 1; D3-D2
are always logic 0; and bits D1-D0 are the two flag
bits. The OF (Overrange Flag) bit is set to a logic 1
any time the input signal is: 1) more positive than
positive full scale, 2) more negative than zero (unipolar mode), 3) more negative than negative full
scale (bipolar mode). It is cleared back to logic 0
whenever a conversion word occurs which is not
overranged.The OD (Oscillation Detect) bit is set to
a logic 1 any time that an oscillatory condition is detected in the modulator. This does not occur under
normal operating conditions, but may occur whenever the input to the converter is extremely overranged. If the OD bit is set, the conversion data bits
can be completely erroneous. The OD flag bit will be
cleared to logic 0 when the modulator becomes stable.
Table 2 and Table 3 illustrate the output coding for
the CS5529. Unipolar conversions are output in binary format and bipolar conversions are output
two's complement.
D17
9
D5
1
D16
8
D4
1
D15
7
D3
0
D14
6
D2
0
D13
5
D1
OD
D12
4
D0
OF
Table 2. Output Conversion Data Register Description (16 bits + flags).
Unipolar Input Voltage
Offset Binary
Bipolar Input Voltage
Two's
Complement
>(VFS-1.5 LSB)
FFFF
>(VFS-1.5 LSB)
7FFF
VFS-1.5 LSB
FFFF
----FFFE
VFS-1.5 LSB
7FFF
----7FFE
VFS/2-0.5 LSB
8000
----7FFF
-0.5 LSB
0000
----FFFF
+0.5 LSB
0001
----0000
-VFS+0.5 LSB
8001
----8000
<(+0.5 LSB)
0000
<(-VFS+0.5 LSB)
8000
Note: VFS in the table equals the voltage between ground and full scale for any of the unipolar gain ranges,
or the voltage between ± full scale for any of the bipolar gain ranges. See text about error flags under
overrange conditions.
Table 3. CS5529 16-bit Output Coding.
22
DS246F5
CS5529
Power Supply Arrangements
VA+ = +2.5 V; VA- = -2.5 V; VD+ = +3 V to +5 V
The CS5529 is designed to operate from single or
dual analog supplies and a single digital supply.
The following power supply connections are possible:
VA+ = +3.0 V; VA- = -3.0 V; VD+ = +3 V
Figure 10 illustrates the CS5529 connected with a
single +5 V supply to measure differential inputs
relative to a common mode of 2.5 V. Figure 11 illustrates the CS5529 connected with ±2.5 V bipolar
VA+ = +5 V; VA- = 0 V; VD+ = +3 V to +5 V
10 Ω
+5.0 V
Analog
Supply
0.1 µ F
2
VA+
20
XOUT
VREF+
19
VREF-
3
CS5529
AIN+
±5 V Differential Inputs (Gain Register = 1.0)
±2.5 V Differential Inputs (Gain Register = 2.0)
±1.25 V Differential Inputs (Gain Register = 4.0)
4
Common Mode = 0 to VA+
+
-
XIN
10
11
8
CS
9
SCLK
15
SDI
14
SDO
AIN-
18
17
16
7
6
5
0.1 µ F
13
VD+
D3
D2
D1
D0
A1
A0
32.768 kHz ~ 100 kHz
Optional Clock
Source
Serial
Data
Interface
DGND
VA1
12
Logic Outputs:
A0, A1 Switch from VA+ to VAD0-D3 Switch from VD+ to DGND
Figure 10. CS5529 Configured with a +5.0 V Analog Supply.
+2.5 V
Analog
Supply
2
VA+
20
13
VD+
XOUT
VREF+
19
VREF-
3
AIN+
CS5529
±2.5 V Differential Inputs (Gain Register = 1.0)
±1.25 V Differential Inputs (Gain Register = 2.0)
±625 mV Differential Inputs (Gain Register = 4.0)
XIN
CS
SCLK
4
AIN-
18
17
16
7
6
5
-2.5 V
Analog
Supply
+3 V ~ +5 V
Digital
Supply
0.1 µ F
0.1 µ F
SDI
D3
D2
D1
D0
A1
A0
SDO
VA1
10
11
8
9
15
32.768 kHz ~ 100 kHz
Optional Clock
Source
Serial
Data
Interface
14
DGND
12
0.1 µ F
Logic Outputs:
A0, A1 Switch from VA+ to VAD0-D3 Switch from VD+ to DGND
Figure 11. CS5529 Configured with ±2.5 V Analog Supplies.
DS246F5
23
CS5529
analog supplies and a +3 V to +5 V digital supply
to measure ground referenced bipolar signals. Figure 12 illustrates the CS5529 connected with ±3.0
+3.0 V
Analog
Supply
V bipolar analog supplies and a +3 V digital supply
to measure ground referenced bipolar signals.
0.1 µF
2
VA+
20
VREFCS5529
3
XIN
10
11
AIN+
±3.0 V Differential Inputs (Gain Register = 1.0)
±1.50 V Differential Inputs (Gain Register = 2.0)
±750 mV Differential Inputs (Gain Register = 4.0)
4
8
CS
9
SCLK
15
SDI
14
SDO
AIN-
18
17
16
7
6
5
-3.0 V
Analog
Supply
XOUT
VREF+
19
0.1 µF
13
VD+
D3
D2
D1
D0
A1
A0
VA-
DGND
1
12
+3 V
Digital
Supply
32.768 kHz ~ 100 kHz
Optional Clock
Source
Serial
Data
Interface
0.1 µF
Logic Outputs:
A0, A1 Switch from VA+ to VAD0-D3 Switch from VD+ to DGND
Figure 12. CS5529 Configured with ±3.0 V Supplies.
24
DS246F5
CS5529
Getting Started
The CS5529 has many features. From a software
programmer’s perspective, what should be done
first? To begin, a 32.768 kHz crystal takes approximately 500 ms to start-up. To accommodate for
this, it is recommended that a software delay of approximately 500 ms to 1 second precede the processor’s ADC initialization code before any
registers are accessed in the ADC. This delay time
is dependent on the start-up delay of the clock
source. If a CMOS clock source with no start-up
delay is being used to drive the ADC, then this delay is not necessary.
The converters include an on-chip power on reset
circuit to automatically reset the ADCs shortly after power up. When power to the CS5529 is applied, the chip is held in a reset condition until the
32.768 kHz oscillator has started and a countertimer elapses. The counter-timer counts 1002 oscillator clock cycles to make sure the oscillator is fully stable. During this time-out period the serial port
logic is reset and the RV (Reset Valid) bit in the
configuration register is set to indicate that a valid
reset occurred. In normal start-up conditions, this
power-on-reset circuit should reset the chip when
power is applied. If your application may experience abnormal power start-up conditions, the following sequence of instructions should be
performed to guarantee the converter begins proper
operation:
1) After power is applied, initialize the serial port
using the serial port synchronization sequence.
the reset valid bit (RV) is set to ‘1’. If the RV
bit is not set, the configuration register should
be read again.
4) When the RV bit has been set to ‘1’, reset the
RS bit back to ‘0’ by writing to 0x000000 to the
configuration register. Note that while the RS
bit is set to ‘1’ all other register bits in the ADC
will be reset to their default state, and the RS bit
must be set to ‘0’ for normal operation of the
converters.
Once the RS bit has been set to ‘0’, the ADC is
placed in the command state were it waits for a valid command to execute. The next step is to load the
configuration register. If you need to do a factory
calibration, perform offset and gain calibration
steps. Then off-load the offset and gain register
contents into EEPROM. These registers can then
be initialized to these conditions when the instrument is used in normal operation. Once calibration
is ready, input the command to start conversions in
either single or continuous conversion mode. Monitor the SDO pin for a flag that the data is ready and
read conversion data.
PCB Layout
The CS5529 should be placed entirely over an analog ground plane with the DGND pin of the device
connected to the analog ground plane. If the design
splits the ground plane, place the analog-digital
plane split immediately adjacent to the digital portion of the chip.
2) Write a ‘1’ to the reset bit (RS) of the configuration register to reset the converter.
3) Read the configuration register to determine if
DS246F5
25
CS5529
PIN DESCRIPTIONS
NEGATIVE ANALOG POWER
VA-
1
20
VREF+ VOLTAGE REFERENCE INPUT
POSITIVE ANALOG POWER
VA+
2
19
VREF-
VOLTAGE REFERENCE INPUT
DIFFERENTIAL ANALOG INPUT
AIN+
3
18
D3
LOGIC OUTPUT (DIGITAL)
DIFFERENTIAL ANALOG INPUT
AIN-
4
17
D2
LOGIC OUTPUT (DIGITAL)
LOGIC OUTPUT (ANALOG)
A0
5
16
D1
LOGIC OUTPUT (DIGITAL)
LOGIC OUTPUT (ANALOG)
A1
6
15
SDI
SERIAL DATA INPUT
LOGIC OUTPUT (DIGITAL)
D0
7
14
SDO
SERIAL DATA OUTPUT
CHIP SELECT
CS
8
13
VD+
POSITIVE DIGITAL POWER
SERIAL CLOCK INPUT
SCLK
9
12
DGND
DIGITAL GROUND
CRYSTAL OUT
XOUT
10
11
XIN
CRYSTAL IN
Clock Generator
XIN; XOUT - Crystal In; Crystal Out, Pins 10, 11.
A gate inside the chip is connected to these pins and can be used with a crystal to provide the
master clock for the device. Alternatively, an external (CMOS compatible) clock (powered
relative to VD+) can be supplied into the XIN pin to provide the master clock for the device.
Control Pins and Serial Data I/O
CS - Chip Select, Pin 8.
When active low, the port will recognize SCLK. When high the SDO pin will output a high
impedance state. CS should be changed when SCLK = 0.
SDI - Serial Data Input, Pin 15.
SDI is the input pin of the serial input port. Data will be input at a rate determined by SCLK.
SDO - Serial Data Output, Pin 14.
SDO is the serial data output. It will output a high impedance state if CS = 1.
SCLK - Serial Clock Input, Pin 9.
A clock signal on this pin determines the input/output rate of the data for the SDI/SDO pins
respectively. This input is a Schmitt trigger to allow for slow rise time signals. The SCLK pin
will recognize clocks only when CS is low.
26
DS246F5
CS5529
A0, A1 - Logic Outputs (Analog), Pin 5, 6.
The logic states of A0-A1 mimic the states of the D22-D23 bits of the configuration register.
Logic Output 0 = VA-, and Logic Output 1 = VA+.
D0, D1, D2, D3 - Logic Outputs (Digital), Pin 7, 16, 17, 18.
The logic states of D0-D3 mimic the states of the D18-D21 bits of the configuration register.
Logic Output 0 = DGND, and Logic Output 1 = VD+.
Measurement and Reference Inputs
AIN+, AIN- - Differential Analog Input, Pins 3, 4.
Differential input pins into the device.
VREF+, VREF- - Voltage Reference Input, Pins 20, 19.
Fully differential inputs which establish the voltage reference for the on-chip modulator.
Power Supply Connections
VA+ - Positive Analog Power, Pin 2.
Positive analog supply voltage.
VA- - Negative Analog Power, Pin 1.
Negative analog supply voltage.
VD+ - Positive Digital Power, Pin 13.
Positive digital supply voltage (+3.0 V or +5 V).
DGND - Digital Ground, Pin 12.
Digital Ground.
DS246F5
27
CS5529
SPECIFICATION DEFINITIONS
Linearity Error
The deviation of a code from a straight line which connects the two end points of the A/D
Converter transfer function. One end point is located 1/2 LSB below the first code transition
and the other end point is located 1/2 LSB beyond the code transition to all ones. Units in
percent of full-scale.
Differential Nonlinearity
The deviation of a code's width from the ideal width. Units in LSBs.
Full Scale Error
The deviation of the last code transition from the ideal [{(VREF+) - (VREF-)} - 3/2 LSB].
Units are in LSBs.
Unipolar Offset
The deviation of the first code transition from the ideal (1/2 LSB above the voltage on the
AIN- pin). When in unipolar mode (U/B bit = 1). Units are in LSBs.
Bipolar Offset
The deviation of the mid-scale transition (111...111 to 000...000) from the ideal (1/2 LSB below
the voltage on the AIN- pin). When in bipolar mode (U/B bit = 0). Units are in LSBs.
28
DS246F5
CS5529
ORDERING INFORMATION
Model Number
Linearity Error (Max)
Temperature Range
Package
Lead Free
CS5529-AP
±0.003%
-40°C to +85°C
20-pin 0.3" Plastic DIP
No
CS5529-AS
±0.003%
-40°C to +85°C
20-pin 0.2" Plastic SSOP
No
CS5529-ASZ
±0.003%
-40°C to +85°C
20-pin 0.2" Plastic SSOP
Yes
ENVIRONMENTAL, MANUFACTURING, & HANDLING INFORMATION
Model
Peak Relfow Temp
MSL Rating*
Maximum Floor Life
CS5529-AP
260 °C
1
No Limit
CS5529-AS
240 °C
2
365 Days
CS5529-ASZ (Lead Free)
260 °C
3
7 Days
* MSL (Moisture Sensitivity Level) as specified by IPC/JEDEC J-STD-020.
DS246F5
29
CS5529
PACKAGE DIMENSIONS
20 PIN PLASTIC (PDIP) PACKAGE DRAWING
eB
D
eC
E
E1
1
TOP VIEW
A2 A
SEATING
PLANE
A1
∝
e
b1
INCHES
∝
30
MIN
0.000
0.015
0.115
0.014
0.045
0.008
0.980
0.300
0.240
0.090
0.280
0.300
0.000
0.115
0°
eA
c
b
BOTTOM VIEW
DIM
A
A1
A2
b
b1
c
D
E
E1
e
eA
eB
eC
L
L
MAX
0.210
0.025
0.195
0.022
0.070
0.014
1.060
0.325
0.280
0.110
0.320
0.430
0.060
0.150
15°
SIDE VIEW
MILLIMETERS
MIN
MAX
0.00
5.33
0.38
0.64
2.92
4.95
0.36
0.56
1.14
1.78
0.20
0.36
24.89
26.92
7.62
8.26
6.10
7.11
2.29
2.79
7.11
8.13
7.62
10.92
0.00
1.52
2.92
3.81
0°
15°
DS246F5
CS5529
20L SSOP PACKAGE DRAWING
N
D
E11
A2
E
e
b2
SIDE VIEW
A
A1
L
END VIEW
SEATING
PLANE
1 2 3
TOP VIEW
INCHES
MILLIMETERS
NOTE
DIM
A
A1
A2
b
D
E
E1
e
L
MIN
MAX
MIN
MAX
-0.084
-2.13
0.002
0.010
0.05
0.25
0.064
0.074
1.62
1.88
0.009
0.015
0.22
0.38
2,3
0.272
0.295
6.90
7.50
1
0.291
0.323
7.40
8.20
0.197
0.220
5.00
5.60
1
0.022
0.030
0.55
0.75
0.025
0.041
0.63
1.03
∝
0°
8°
0°
8°
Notes: 1. “D” and “E1” are reference datums and do not included mold flash or protrusions, but do include mold
mismatch and are measured at the parting line, mold flash or protrusions shall not exceed 0.20 mm per
side.
2. Dimension “b” does not include dambar protrusion/intrusion. Allowable dambar protrusion shall be
0.13 mm total in excess of “b” dimension at maximum material condition. Dambar intrusion shall not
reduce dimension “b” by more than 0.07 mm at least material condition.
3. These dimensions apply to the flat section of the lead between 0.10 and 0.25 mm from lead tips.
DS246F5
31