Cirrus Logic AN313 User Manual

AN313
CS556x / 7x / 8x:
Converting Output Data from Serial to Parallel
1. Introduction
The CS556X, CS557X, and CS558X series of high-throughp ut Delta-Sigma A/D conver ters output data in serial for­mat. Some applications may require that data be available in parallel format. This application note will discuss how to use common serial-to-parallel register ICs to provide parallel data output capability for these A/D converters.
Some A/D converters provide parallel outp ut data as an output option. While this makes for faster data transfer it can introduce some possible com promises in the performa nce of the A/D conver ter. A parallel interface r equires many more pins on the A/D than a seria l interface. This factor can increase the cost, but a larger concern should be how a parallel interface can reduce performan ce. The data interface has many m ore connections via bond wires to the semiconductor die. When the digital data on the digital bus is changing each bond wire acts as a radiator of an electromagnetic field. This electromagnetic field can interfere with the performance of the converter. The dig ital activity on the bus need not be due to the converter itself but may be caused by other peripherals using the same bus. Many A/D converters that have parallel interfaces recommend that bus activity be stopped when a conversion is performed, and that the data from the converter be read when the converter is not performing a conversion. An­other option would be to provide a second set of latches outside the A/D to isolate the bus activity from being on the digital output pins of the converter itself.
2. The CS556x/7x/8x
Cirrus Logic has chosen to offer the CS556X/7X/8X series of converters with only a serial interface. This reduces the package pin count and also r educes the number of digi tal interface pins that can radiate noise onto the converter die. The serial interface provides two different modes of operation. The serial port on the conver ter can oper ate in either master mode, where the converter itself outputs the data according to its own timing (this mode is called the SSC mode, synchronous self-clock mode). The second mode is where the serial port acts as a slave device to an external controller, where the serial data is output from the port according to the clock provided by the external de­vice (this mode is the SEC mode, synchronous external clock mode).
3. Serial-to-Parallel Conversion
If an application requires a parallel interface to read the converter data, then the A/D can be configured in the SSC serial port mode and directly interfaced to serial-to-parallel registers. Figure 1 illustrates the CS556x/7x/8x A/D con­verter interfaced to a set of 74VHC595 serial-to-parallel registers. The SMODE pin of the converter is tied to the VL supply (tied high) to set the serial port mode of the converter into the SSC (master) mode. At the end of each conversion the RDY active. The data bits from SDO will be shifted into the first 74VHC595 register by the rising edges of SCLK. The 74VHC595 device holds eight bits of data. Multiple 74HVC595 devices are daisy-chained to provide either a 16­bit parallel (two 74VHC595s) or a 24-bit parallel (three 74VHC595s) interface. The 74VHC595 has a tri-state outp ut so the outputs of these devices can be attached to a multi-peripheral bus. The RDY the bits from the converter have been shifted into the registers. When RDY latch to provide a "data ready" signal at its Q output. When the read signal from the system goes low, the outputs of the 74VHC595 devices will come out of tri-state and place their data on the bus. The falling read signal will also clear the "data ready" signal back to a zero at the Q output of the NC75Z175 latch.
output from the converter will transition low, and the SCLK and the SDO outputs will become
signal will return high when all
transitions high it will set the NC75Z175
http://www.cirrus.com
Copyright © Cirrus Logic, Inc. 2007
(All Rights Reserved)
JUN 07
AN311REV1
PWR
DOUT
74VHC595
LATCH CLK
SHIFT CLK
DIN
GND
AN313
VL
RST
OE
QH
QG
QF
QE
QD
QC
QB
QA
D23 D22 D21 D20 D19 D18 D17 D16
24-Bit Data
VL
VL
CS556x CS557x CS558x
SMODE
SCLK
SDO
RDY
PWR
DOUT
74VHC595
LATCH CLK
SHIFT CLK
DIN
GND
PWR
DOUT
74VHC595
LATCH CLK
SHIFT CLK
DIN
GND
VL
RST
QH
QG
QF
QE
QD
QC
QB
QA
OE
VL
RST
QH
QG
QF
QE
QD
QC
QB
QA
OE
16-Bit Data
D15 D14 D13 D12 D11 D10 D9 D8
D7 D6 D5 D4 D3 D2 D1 D0
CONV
VLR
VL
PWR
NC75Z175
D
CL C
GND
Q
Data Ready
Read
Convert
Figure 1. CS556x/7x/8x Driving Serial-to-Parallel Registers
2 AN311REV1
Loading...
+ 2 hidden pages