CS5550
16 DS630F1
4.1.4 Power-Up/Halt
If the device is powered-down, this command will power-up the device. When powered-on, no computations will be
running. If the part is already powered-on, all computations will be halted.
4.1.5 Power-Down and Software Reset
The device has two power-down states to conserve power. If the chip is put in stand-by state, all circuitry except the
analog/digital clock generators is turned off. In the sleep state, all circuitry except the digital clock generator and the
instruction decoder is turned off. Waking up the CS5550 out of sleep state requires more time than out of stand-by
state, because of the extra time needed to re-start and re-stabilize the analog clock signal.
S1,S0 Power-down state
00 = Software Reset
01 = Halt and enter stand-by power saving state. This state allows quick power-on time
10 = Halt and enter sleep power saving state. This state requires a slow power-on time
11 = Reserved
4.1.6 Calibration
The device has the capability of performing a system offset calibration and gain calibration. Offset and gain calibra-
tions should NOT be performed at the same time (must do one after the other). Proper inputs must be supplied to
the device before initiating calibration.
A2,A1 Designates calibration channel
00 = Not allowed
01 = Calibrate the AIN1 channel
10 = Calibrate the AIN2 channel
11 = Calibrate AIN1 channel and AIN2 channel simultaneously
G Designates gain calibration
0 = Normal operation
1 = Perform gain calibration
O Designates offset calibration
0 = Normal operation
1 = Perform offset calibration
B7 B6 B5 B4 B3 B2 B1 B0
10100000
B7 B6 B5 B4 B3 B2 B1 B0
100S1S0000
B7 B6 B5 B4 B3 B2 B1 B0
1 1 0 A2 A1 0 G O
CS5550
DS630F1 17
4.1.7 Register Read/Write
The Read/Write command informs the state machine that a register access is required. During a read operation, the
addressed register is loaded into the device’s output buffer and clocked out by SCLK. During a write operation, the
data is clocked into the input buffer and, and all 24 bits are transferred to the addressed register on the 24
th
SCLK.
W/R
Write/Read control
0 = Read register
1 = Write register
RA[4:0] Register address bits (bits 1 through 5) of the read/write command.
Address
RA[4-0] Abbreviation Name/Description
0 00000 Config Configuration Register
1 00001 AIN1
DCoff AIN1 Offset Register
2 00010 AIN1
gn AIN1 Gain Register
3 00011 AIN2
DCoff AIN2 Offset Register
2 00100 AIN2
gn AIN2 Gain Register
5 00101 Cycle Count Number of A/D conversions used in one computation cycle (N)).
6 00110 Res Reserved †
7 00111 OUT
1
AIN1 Output Register
8 01000 OUT
2
AIN2 Output Register
9 01001 Res Reserved †
10 01010 Res Reserved †
11 01011 FILT
1
Computed Filtered value for AIN1
12 01100 FILT
2
Computed Filtered value for AIN2
13 01101 Res Reserved †
14 01110 Res Reserved †
15 01111 Status Status Register
16 10000 Res Reserved
17 10001 Res Reserved
18 10010 Res Reserved †
19 10011 Res Reserved
20 10100 Res Reserved †
21 10101 Res Reserved †
22 10110 Res Reserved †
23 10111 Res Reserved †
24 11000 Res Reserved †
25 11001 Res Reserved †
26 11010 Mask Mask Register
27 11011 Res Reserved †
28 11100 Ctrl Control Register
29 11101 Res Reserved †
30 11110 Res Reserved †
31 11111 Res Reserved †
† These registers are for internal use only. For proper device operation, the user must not attempt to write
to these registers.
B7 B6 B5 B4 B3 B2 B1 B0
0W/R
RA4 RA3 RA2 RA1 RA0 0
CS5550
18 DS630F1
4.2 Serial Port Interface
The CS5550’s serial interface consists of four con-
trol lines, which have the following pin-names: 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 trans-
fer 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 be-
fore SCLK transitions can be recognized by the
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 di-
rectly 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.
4.3 Serial Read and Write
The state machine decodes the command word as
it is received. Data is written to and read from the
CS5550 by using the Register Read/Write com-
mand. Figure 1 illustrates the serial sequence nec-
essary to write to, or read from the serial port’s
buffers. As shown in Figure 1, a transfer of data is
always initiated by sending the appropriate 8-bit
command (MSB first) to the serial port (SDI pin).
4.3.1 Register Write
When a command involves a write operation, the
serial port will continue to clock in the data bits
(MSB first) on the SDI pin for the next 24 SCLK cy-
cles. Command words instructing a register write
must be followed by 24 bits of data. To write the
Configuration Register, the user would transmit the
command (0x40) to initiate a write to the Configu-
ration Register. The CS5550 will then acquire the
serial data input from the (SDI) pin when the user
pulses the serial clock (SCLK) 24 times. Once the
data is received, the state machine writes the data
to the Configuration Register and then waits to re-
ceive another valid command.
4.3.2 Register Read
When a read command is initiated, the serial port
will start transferring register content bits serial
(MSB first) on the SDO pin for the next 8, 16, or 24
SCLK cycles. Command words instructing a regis-
ter read may be terminated at 8-bit boundaries
(e.g., read transfers may be 8, 16, or 24 bits in
length). Also data register reads allow “command
chaining”. This means that the micro-controller is
allowed to send a new command while reading
register data. The new command will be acted
upon immediately and could possibly terminate the
first register read. For example, if the user is only
interested in acquiring the 16 most significant bits
of data from the first read, then the user can begin
to strobe a second read command on SDI after the
first 8 data bits have been read from SDO.
During the read cycle, the SYNC0 command
(NOP) should be strobed on the SDI port while
clocking the data from the SDO port.
4.4 System Initialization
A software or hardware reset can be initiated at
any time. The software reset is initiated by sending
the command 0x80.
A hardware reset is initiated when the RESET
pin
is forced low with a minimum pulse width of 50 ns.
The RESET
signal is asynchronous, requiring no
MCLKs for the part to detect and store a reset
event. The RESET
pin is a Schmitt Trigger input,
which allows it to accept slow rise times and/or
noisy control signals. Once the RESET
pin is inac-
tive, the internal reset circuitry remains active for 5
MCLK cycles to insure resetting the synchronous
circuitry in the device. The modulators are held in
reset for 12 MCLK cycles after RESET
becomes
in
active. After a hardware or software reset, the in-
ternal registers (some of which drive output pins)
will be reset to their
default
values on the first MCLK
received after detecting a reset event. The internal
register values are also set to their default values af-
ter initial power-on of the device. The CS5550 will
then assume its
active
state. (The term
active state
,

CS5550-ISZ

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

Products related to this Datasheet