AD AD6620AS 67 msps digital receive signal processor Datasheet

a
FEATURES
High Input Sample Rate
67 MSPS Single Channel Real
33.5 MSPS Diversity Channel Real
33.5 MSPS Single Channel Complex
NCO Frequency Translation
Worst Spur Better than –100 dBc
Tuning Resolution Better than 0.02 Hz
2nd Order Cascaded Integrator Comb FIR Filter
Linear Phase, Fixed Coefficients
Programmable Decimation Rates: 2, 3 . . . 16
5th Order Cascaded Integrator Comb FIR Filter
Linear Phase, Fixed Coefficients
Programmable Decimation Rates: 1, 2, 3 . . . 32
Programmable Decimating RAM Coefficient FIR Filter
Up to 134 Million Taps per Second
256 20-Bit Programmable Coefficients
Programmable Decimation Rates: 1, 2, 3 . . . 32
Bidirectional Synchronization Circuitry
Phase Aligns NCOs
Synchronizes Data Output Clocks
Serial or Parallel Baseband Outputs
Pin Selectable Serial or Parallel
Serial Works with SHARC®, ADSP-21xx, Most Other
DSPs
16-Bit Parallel Port, Interleaved I and Q Outputs
Two Separate Control and Configuration Ports
Generic ␮P Port, Serial Port
3.3 V Optimized CMOS Process
JTAG Boundary Scan
GENERAL DESCRIPTION
The AD6620 is a digital receiver with four cascaded signalprocessing elements: a frequency translator, two fixedcoefficient decimating filters, and a programmable coefficient
decimating filter. All inputs are 3.3 V LVCMOS compatible.
All outputs are LVCMOS and 5 V TTL compatible.
As ADCs achieve higher sampling rates and dynamic range, it
becomes increasingly attractive to accomplish the final IF stage
of a receiver in the digital domain. Digital IF Processing is less
expensive, easier to manufacture, more accurate, and more
flexible than a comparable highly selective analog stage.
The AD6620 diversity channel decimating receiver is designed
to bridge the gap between high-speed ADCs and general purpose DSPs. The high resolution NCO allows a single carrier to
be selected from a high speed data stream. High dynamic range
decimation filters with a wide range of decimation rates allow
67 MSPS Digital Receive
Signal Processor
AD6620
FUNCTIONAL BLOCK DIAGRAM
I
REAL,
DUAL REAL,
OR COMPLEX
INPUTS
Q
COS
AD6620
I
CIC
FILTERS
Q
I
FIR
FILTER
Q
OUTPUT
FORMAT
SERIAL OR
PARALLEL
OUTPUTS
–SIN
COMPLEX
NCO
EXTERNAL
SYNC
CIRCUITRY
JTAG
PORT
␮P
OR SERIAL
CONTROL
both narrowband and wideband carriers to be extracted. The
RAM-based architecture allows easy reconfiguration for multimode applications.
The decimating filters remove unwanted signals and noise from
the channel of interest. When the channel of interest occupies
less bandwidth than the input signal, this rejection of out-ofband noise is called “processing gain.” By using large decimation
factors, this “processing gain” can improve the SNR of the
ADC by 36 dB or more. In addition, the programmable RAM
Coefficient filter allows antialiasing, matched filtering, and
static equalization functions to be combined in a single, costeffective filter.
The input port accepts a 16-bit Mantissa, a 3-bit Exponent,
and an A/B Select pin. These allow direct interfacing with the
AD6600, AD6640, AD6644, AD9042 and most other highspeed ADCs. Three input modes are provided: Single Channel
Real, Single Channel Complex, and Diversity Channel Real.
When paired with an interleaved sampler such as the AD6600,
the AD6620 can process two data streams in the Diversity
Channel Real input mode. Each channel is processed with coherent frequency translation and output sample clocks. In addition,
external synchronization pins are provided to facilitate coherent
frequency translation and output sample clocks among several
AD6620s. These features can ease the design of systems with
diversity antennas or antenna arrays.
Units are packaged in an 80-lead PQFP (plastic quad flatpack)
and specified to operate over the industrial temperature range
(–40°C to +85°C).
SHARC is a registered trademark of Analog Devices, Inc.
REV. A
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties that
may result from its use. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700
www.analog.com
Fax: 781/326-8703
© Analog Devices, Inc., 2001
AD6620
TABLE OF CONTENTS
ARCHITECTURE
GENERAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . 1
As shown in Figure 1, the AD6620 has four main signal processing stages: a Frequency Translator, two Cascaded Integrator
Comb FIR Filters (CIC2, CIC5), and a RAM Coefficient FIR
Filter (RCF). Multiple modes are supported for clocking data
into and out of the chip. Programming and control is accomplished via serial and microprocessor interfaces.
ARCHITECTURE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
TIMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . 11
EXPLANATION OF TEST LEVELS . . . . . . . . . . . . . . . . 11
ORDERING GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . . . 12
PIN CONFIGURATIONS . . . . . . . . . . . . . . . . . . . . . . . . . 13
INPUT DATA PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
OUTPUT DATA PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
FREQUENCY TRANSLATOR . . . . . . . . . . . . . . . . . . . . . 19
SECOND ORDER CASCADED INTEGRATOR
COMB FILTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
FIFTH ORDER CASCADED INTEGRATOR
COMB FILTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
RAM COEFFICIENT FILTER . . . . . . . . . . . . . . . . . . . . . 25
CONTROL REGISTERS AND ON-CHIP RAM . . . . . . . 27
PROGRAMMING THE AD6620 . . . . . . . . . . . . . . . . . . . 30
ACCESS PROTOCOLS . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
MICROPORT CONTROL . . . . . . . . . . . . . . . . . . . . . . . . 32
SERIAL PORT CONTROL . . . . . . . . . . . . . . . . . . . . . . . . 35
JTAG BOUNDARY SCAN . . . . . . . . . . . . . . . . . . . . . . . . 37
APPLICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Input data to the chip may be real or complex. If the input data
is real, it may be clocked in as a single channel or interleaved
with a second channel. The two-channel input mode, called
Diversity Channel Real, is typically used in diversity receiver
applications. Input data is clocked in 16-bit parallel words,
IN[15:0]. This word may be combined with exponent input bits
EXP[2:0] when the AD6620 is being driven by floating-point or
gain-ranging analog-to-digital converters such as the AD6600.
Frequency translation is accomplished with a 32-bit complex
Numerically Controlled Oscillator (NCO). Real data entering
this stage is separated into in-phase (I) and quadrature (Q)
components. This stage translates the input signal from a digital
intermediate frequency (IF) to baseband. Phase and amplitude
dither may be enabled on-chip to improve spurious performance
of the NCO. A phase offset word is available to create a known
phase relationship between multiple AD6620s.
Following frequency translation is a fixed coefficient, high speed
decimating filter that reduces the sample rate by a programmable ratio between 2 and 16. This is a second order, cascaded
integrator comb FIR filter shown as CIC2 in Figure 1. (Note:
Decimation of 1 in CIC2 requires 2× or greater clock into
AD6620). The data rate into this stage equals the input data
rate, fSAMP. The data rate out of CIC2, fSAMP2, is determined by
the decimation factor, MCIC2.
OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . . . . . 44
RCF
3
EXP[2:0]
IN[15:0]
I-RAM
256 ⴛ 18
16
INPUT
DATA
INTERLEAVE
DEINTERLEAVE
MULTIPLEXER
CIC5
SCALING
FREQUENCY
3
TRANSLATOR
I 18
16
Q 18
EXP
SCALING
fSAMP5
PHASE
OFFSET
CLK
A/B
TIMING
RESET
SYNC NCO
SYNC CIC
23
23
OUTPUT
fSAMP2
COMPLEX
NCO
Q-RAM
256 ⴛ 18
MCICS
SCALING
RCF COEFFICIENTS
NUMBER OF TAPS
DECIMATE FACTOR
CIC2, CIC5
DECIMATE FACTORS ADDRESS OFFSET
fSAMP
SCALE FACTORS
OUTPUT
NCO FREQUENCY
SCALE
PHASE OFFSET
FACTOR
DITHER
SYNC MASK
CONTROL REGISTERS
INPUT MODE
MICROPORT AND
REAL, DUAL, COMPLEX
SERIAL ACCESS
FIXED OR WITH EXPONENT
SYNC M/S
JTAG
I/QOUT
MULTIPLEXER
PARALLEL
MICROPROCESSOR INTERFACE
SYNC RCF
TRST
TCK TMS
TDI
TDO
D[7:0] A[2:0] CS
DVOUT
SCALING, SOUT
EXPLNV,
EXPOFF
SYNC
I/O
MRCF
MCICS
MULTIPLEXER
CIC2
C-RAM
256 ⴛ 20
R/W DS DTACK
(W/R) (R/D) (RDY)
MODE PAR/SER
A/BOUT
SERIAL
16
PARALLEL
OUTPUTS
AND
SERIAL I/O
16
OUT[15:0]
SCLK
SDI
SDO
SDFS
SDFE
SBM
WL[1:0]
AD
SDIV[3:0]
Figure 1. Block Diagram
–2–
REV. A
AD6620
The overall filter response for the AD6620 is the composite of
all three cascaded decimating filters: CIC2, CIC5, and RCF. Each
successive filter stage is capable of narrower transition bandwidths but requires a greater number of CLK cycles to calculate
the output. More decimation in the first filter stage will minimize
overall power consumption. Data comes out via a parallel port
or a serial interface.
Following CIC2 is the second fixed-coefficient decimating filter.
This filter, CIC5, further reduces the sample rate by a programmable ratio from 1 to 32. The data rate out of CIC5, fSAMP5, is
determined by the decimation factors of MCIC5 and MCIC2.
Each CIC stage is a FIR filter whose response is defined by the
decimation rate. The purpose of these filters is to reduce the
data rate of the incoming signal so that the final filter stage, a FIR
RAM coefficient sum-of-products filter (RCF), can calculate
more taps per output. As shown in Figure 1, on-chip multiplexers allow both CIC filters to be bypassed if a multirate clock
is used.
Figure 2 illustrates the basic function of the AD6620: to select
and filter a single channel from a wide input spectrum. The
frequency translator “tunes” the desired carrier to baseband.
CIC2 and CIC5 have fixed order responses; the RCF filter
provides the sharp transitions. More detail is provided in later
sections of the data sheet.
The fourth stage is a sum-of-products FIR filter with programmable 20-bit coefficients, and decimation rates programmable
from 1 to 32. The RAM Coefficient FIR Filter (RCF in Figure
1) can handle a maximum of 256 taps.
(–fsamp/2 TO fsamp/2)
WIDEBAND INPUT SPECTRUM
C'
SIGNAL OF INTEREST "IMAGE"
D'
–fS /2
A
A'
B
B'
–3fS /8
–5fS /16
–fS /4
–3fS /16
–fS /8
–fS /16
fS /16
DC
fS /8
3fS /16
SIGNAL OF
INTEREST
C
D
fS /4
5fS /16
3fS /8
fS /2
Figure 2a. Wideband Input Spectrum (e.g., 30 MHz from High-Speed ADC)
NCO "TUNES" SIGNAL TO BASEBAND
AFTER FREQUENCY TRANSLATION
A
–fS /2
–3fS /8
–5fS /16
–fS /4
–3fS /16
C'
C
B
–fS /8
–fS /16
DC
fS /16
A'
B'
D'
D
fS /8
3fS /16
fS /4
5fS /16
3fS /8
Figure 2b. Frequency Translation (e.g., Single 1 MHz Channel Tuned to Baseband)
CIC2, CIC5, AND RCF
0
–10
–20
–30
–40
dBc
–50
–60
–70
–80
–90
–100
–110
–120
–130
FREQUENCY
Figure 2c. Baseband Signal is Decimated and Filtered by CIC2, CIC5, RCF
REV. A
–3–
fS /2
AD6620–SPECIFICATIONS
RECOMMENDED OPERATING CONDITIONS
Parameter
Test
Level
Min
AD6620AS
Typ
Max
Unit
VDD
TAMBIENT
I
IV
3.0
–40
3.3
+25
3.6
+85
V
°C
Temp
Test
Level
Min
AD6620AS
Typ
Max
Unit
Full
Full
Full
Full
Full
25°C
I
I
I
I
V
2.0
–0.3
VDD + 0.3
0.8
10
10
V
V
µA
µA
pF
LOGIC OUTPUTS2, 4, 7, 8, 9, 10, 11
Logic Compatibility
Logic “1” Voltage (IOH = 0.5 mA)
Logic “0” Voltage (IOL = 1.0 mA)
Full
Full
Full
I
I
2.4
IDD SUPPLY CURRENT
CLK = 20 MHz12
CLK = 65 MHz13
Reset Mode14
Full
Full
Full
V
I
I
52
167
POWER DISSIPATION
CLK = 20 MHz12
CLK = 65 MHz13
Reset Mode14
Full
Full
Full
V
I
I
170
550
ELECTRICAL CHARACTERISTICS
Parameter (Conditions)
1, 2, 3, 4, 5, 6, 7
LOGIC INPUTS
Logic Compatibility
Logic “1” Voltage
Logic “0” Voltage
Logic “1” Current
Logic “0” Current
Input Capacitance
(NOT 5 V TOLERANT)
3.3 V CMOS
1
1
4
3.3 V CMOS/TTL
VDD – 0.2
0.2
0.4
V
V
227
1
mA
mA
mA
750
3.3
mW
mW
mW
NOTES
1
Input-Only Pins: CLK, RESET, IN[15:0], EXP[2:0], A/B, PAR/SEL.
2
Bidirectional Pins: SYNC_NCO, SYNC_CIC, SYNC_RCF.
3
Microinterface Input Pins: DS (RD), R/W (WR), CS.
4
Microinterface Bidirectional Pins: A[2:0], D[7:0].
5
JTAG Input Pins: TRST, TCK, TMS, TDI.
6
Serial Mode Input Pins: SDI, SBM, WL[1:0], AD, SDIV[3:0].
7
Serial Mode Bidirectional Pins: SCLK, SDFS.
8
Output Pins: OUT[15:0], DV OUT, A/BOUT, I/QOUT.
9
Microinterface Output Pins: DTACK (RDY).
10
JTAG Output Pins: TDO.
11
Serial Mode Output Pins: SDO, SDFE.
12
Conditions for IDD @ 20 MHz. M CIC2 = 2, MCIC5 = 2, MRCF = 1, 4 RCF taps of alternating positive and negative full scale.
13
Conditions for IDD @ 65 MHz. M CIC2 = 2, MCIC5 = 2, MRCF = 1, 4 RCF taps of alternating positive and negative full scale.
14
Conditions for IDD in Reset (RESET = 0).
Specifications subject to change without notice.
–4–
REV. A
AD6620
TIMING CHARACTERISTICS (C
LOAD
= 40 pF All Outputs)
Parameter (Conditions)
Temp
Test
Level
Min
AD6620AS
Typ
CLK Timing Requirements:
tCLK
CLK Period
CLK Period
tCLK
CLK Width Low
tCLKL
tCLKH
CLK Width High
Full
Full
Full
Full
I
I
IV
IV
14.931
15.4
7.0
7.0
Reset Timing Requirements:
tRESL
RESET Width Low
Full
I
30.0
ns
Input Data Timing Requirements:
Input2 to CLK Setup Time
tSI
tHI
Input2 to CLK Hold Time
Full
Full
IV
IV
–1.0
6.5
ns
ns
Parallel Output Switching Characteristics:
tDPR
CLK to OUT[15:0] Rise Delay
CLK to OUT[15:0] Fall Delay
tDPF
tDPR
CLK to DVOUT Rise Delay
tDPF
CLK to DVOUT Fall Delay
CLK to IQOUT Rise Delay
tDPR
tDPF
CLK to IQOUT Fall Delay
tDPR
CLK to ABOUT Rise Delay
tDPF
CLK to ABOUT Fall Delay
Full
Full
Full
Full
Full
Full
Full
Full
IV
IV
IV
IV
IV
IV
IV
IV
8.0
7.5
6.5
5.5
7.0
6.0
7.0
5.5
SYNC Timing Requirements:
tSY
SYNC3 to CLK Setup Time
tHY
SYNC3 to CLK Hold Time
Full
Full
IV
IV
–1.0
6.5
SYNC Switching Characteristics:
tDY
CLK to SYNC4 Delay Time
Full
V
7.0
Serial Input Timing:
tSSI
SDI to SCLKt Setup Time
SDI to SCLKt Hold Time
tHSI
tHSRF
SDFS to SCLKu Hold Time
tSSF
SDFS to SCLKt Setup Time5
tHSF
SDFS to SCLKt Hold Time5
Full
Full
Full
Full
Full
IV
IV
IV
IV
IV
1.0
2.0
4.0
1.0
2.0
Serial Frame Output Timing:
tDSE
SCLKu to SDFE Delay Time
tSDFEH
SDFE Width High
tDSO
SCLKu to SDO Delay Time
Full
Full
Full
IV
V
IV
3.5
SCLK Switching Characteristics, SBM = “1”:
tSCLK
SCLK Period4
tSCLKL
SCLK Width Low
tSCLKH
SCLK Width High
tSCLKD
CLK to SCLK Delay Time
Full
Full
Full
Full
I
V
V
V
2 × tCLK
Serial Frame Timing, SBM = “1”:
tDSF
SCLKu to SDFS Delay Time
tSDFSH
SDFS Width High
Full
Full
IV
V
1.0
SCLK Timing Requirements, SBM = “0”:
tSCLK
SCLK Period
tSCLKL
SCLK Width Low
tSCLKH
SCLK Width High
Full
Full
Full
I
IV
IV
15.4
0.4 × tSCLK
0.4 × tSCLK
REV. A
–5–
Unit
ns
ns
ns
ns
0.5 × tCLK
0.5 × tCLK
19.5
19.5
19.0
11.5
19.5
13.5
19.5
13.5
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
23.5
ns
ns
ns
ns
ns
ns
11.0
11.0
ns
ns
ns
13.0
ns
ns
ns
ns
tSCLK
4.5
0.5 × tSCLK
0.5 × tSCLK
6.5
tSCLK
4.0
ns
ns
0.5 × tSCLK
0.5 × tSCLK
ns
ns
ns
NOTES
1
This specification valid for VDD >= 3.3 V. t CLKL and tCLKH still apply.
2
Specification pertains to: IN[15:0], EXP[2:0], A/B.
3
Specification pertains to: SYNC_NCO, SYNC_CIC, SYNC_RCF.
4
SCLK period will be ≥ 2 × tCLK when AD6620 is Serial Bus Master (SBM = 1) depending on the SDIV word.
5
SDFS setup and hold time must be met, even when configured as outputs, since internally the signal is sampled at the pad.
Specifications subject to change without notice.
Max
AD6620
TIMING CHARACTERISTICS (C
LOAD
= 40 pF All Outputs)
Parameter (Conditions)
Temp
Test
Level
Full
Full
Full
Full
Full
Full
IV
IV
IV
IV
IV
IV
3.0
5.0
3.0
Full
Full
I
IV
10.0
4.0
Full
Full
Full
Full
Full
IV
IV
IV
IV
IV
3.0
5.0
3.0
3.0
0.0
Full
IV
4.0
Full
Full
Full
Full
Full
Full
IV
IV
IV
IV
IV
IV
3.0
5.0
3.0
0.0
Full
Full
I
V
10.0
5.5
Full
Full
Full
Full
Full
IV
IV
IV
IV
IV
0.0
5.0
6.5
3.0
0.0
Full
V
5.5
Min
AD6620AS
Typ
Max
Unit
MICROPROCESSOR PORT, MODE = 0
MODE0 Input Timing Requirements:
tSC
Control1 to CLK Setup Time
Control1 to CLK Hold Time
tHC
tHA
Address2 to CLK Hold Time
tZR
CS to Data Enabled Time
CS to Data Disabled Time
tZD
tSAM
CS to Address/Data Setup Time
MODE0 Read Switching Characteristics:
CLK to Data Valid Time
tDD
tRDY
RD to RDY Time
MODE0 Write Timing Requirements:
tSC
Control1 to CLK Setup Time
tHC
Control1 to CLK Hold Time
Micro Data3 to CLK Hold Time
tHM
tHA
Address2 to CLK Hold Time
tSAM
Address/Data Setup Time to CS
MODE0 Write Switching Characteristics:
tRDY
RD to RDY Time
ns
ns
ns
ns
ns
ns
5.0
5.0
0.0
15.0
30.0
19.5
ns
ns
ns
ns
ns
ns
ns
19.5
ns
MICROPROCESSOR PORT, MODE = 1
MODE1 Input Timing Requirements:
Control1 to CLK Setup Time
tSC
tHC
Control1 to CLK Hold Time
Address2 to CLK Hold Time
tHA
tZR
CS to Data Enabled Time
tZD
CS to Data Disabled Time
Address/Data Setup Time to CS
tSAM
MODE1 Read Switching Characteristics:
tDD
CLK to Data Valid Time
tDTACK
CLK to DTACK Time
MODE1 Write Timing Requirements:
Control1 to CLK Setup Time
tSC
tHC
Control1 to CLK Hold Time
tHM
Micro Data3 to CLK Hold Time
Address2 to CLK Hold Time
tHA
tSAM
Address/Data Setup Time to CS
MODE1 Write Switching Characteristic:
tDTACK
CLK to DTACK Time
ns
ns
ns
ns
ns
ns
5.0
5.0
30.0
15.5
ns
ns
ns
ns
ns
ns
ns
15.5
ns
NOTES
1
Specification pertains to: R/W (WR), DS (RD), CS.
2
Specification pertains to: A[2:0].
3
Specification pertains to: D[7:0].
Specifications subject to change without notice.
–6–
REV. A
AD6620
TIMING DIAGRAMS
CLK, INPUTS, PARALLEL OUTPUTS
SYNC PULSES: SLAVE OR MASTER
RESET with PAR/SER = “1” establishes Parallel Outputs active.
CLK
t CLK
t CLKH
t SY
t HY
SYNC NCO
SYNC CIC
SYNC RCF
CLK
t CLKL
NOTE:
IN THE SLAVE MODE WITH SINGLE CHANNEL OPERATION, THE WIDTH
OF THE SYNC_NCO SHOULD BE ONE SAMPLE CLOCK CYCLE. IN DUAL
CHANNEL MODE, THE PULSEWIDTH SHOULD BE TWO SAMPLE CLOCK
CYCLES. IF A PULSE LONGER THAN SPECIFIED IS USED, THE NCO WILL
BE INHIBITED AND NOT INCREMENT PROPERLY.
Figure 3. CLK Timing Requirements
Figure 6. SYNC Slave Timing Requirements
CLK
t HI
t SI
IN[15:0]
EXP[2:0]
A/B
t CLK
t CHP
t CPL
CLK
DATA
Figure 4. Input Data Timing Requirements
t CS
t CH
IN[15:0]
N+1
N
E[2:0]
t DPR
t DPF
t DPF
A/B
CLK
DVOUT
Figure 7. SYNC Master Delay
VALID OUTPUT DATA
I/QOUT
I
OUT[15:0]
IA
Q
QA
I
Q
IB
QB
RESET
Figure 5. Parallel Output Switching Characteristics
t RESL
Figure 8. Reset Timing Requirements
REV. A
–7–
AD6620
SERIAL PORT: BUS MASTER
SERIAL PORT: CASCADE MODE
RESET with PAR/SER = “0” establishes Serial Port active.
SBM = “1” puts AD6620 in Serial Bus Master mode SCLK is
output; SDFS is output.
RESET with PAR/SER = “0” establishes Serial Port active.
SBM = “0” puts AD6620 in Serial Port Cascade mode, SCLK
is input; SDFS is input.
t SCLK
CLK
t SCLKH
t SCLKD
SCLK
t SCLK
t SCLKL
t SCLKH
Figure 13. SCLK Timing Requirements
SCLK
t SCLKL
Figure 9. SCLK Switching Characteristics
SCLK
t SSI
SCLK
SDI
t SSI
SDI
t HSI
DATA
Figure 14. Serial Input Data Timing Requirements
t HSI
DATA
t HSRF
Figure 10. Serial Input Data Timing Requirements
SCLK
I15
SDO
t DSF
t DSE
I14
Q1
Q0
t HSF
SDFS
SCLK
t SSF
t SDFSH
SDFS
Figure 15. SDO/SDFS Timing Requirements
t SDFEH
SDFE
Figure 11. Serial Frame Switching Characteristics
t DSE
t DSO
SCLK
t DSO
SDO
I15
I14
Q1
Q0
t SDFEH
SCLK
SDFE
SDO
I15
I14
I13
Figure 16. SDO, SDFE Switching Characteristics
Figure 12. Serial Output Data Switching Characteristics
–8–
REV. A
AD6620
MICROPORT MODE0, READ
Timing is synchronous to CLK; MODE = 0.
t DD
CLK1
N
N+1
t HC
N+2
N+3
N+4
N
WR2
t SC
RD2
t HC
CS3
t ZD
t ZR
DATA VALID
D[7:0]
t HA
t SAM
A[2:0]
ADDRESS VALID
t RDY
t RDY
RDY1
NOTES:
1 RDY IS DRIVEN LOW ASYNCHRONOUSLY BY RD AND CS GOING LOW AND RETURNS HIGH ON THE RISING EDGE
OF CLK "N+3" FOR INTERNAL ACCESS (A[2:0] = 000), CLK "N+2" OTHERWISE.
2 THE
3
SIGNAL, WR, MAY REMAIN HIGH AND RD MAY REMAIN LOW TO CONTINUE READ MODE.
CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+4 SHOWN) TO COMPLETE READ.
Figure 17. MODE0 Read Timing Requirements and Switching Characteristics
MICROPORT MODE0, WRITE
Timing is synchronous to CLK; MODE = 0.
t HC
t SC
CLK1
N
N+1
N+2
N+3
N*
WR2
RD2
t SC
t HC
CS3
t SAM
t HM
DATA VALID
D[7:0]
t HA
t SAM
ADDRESS VALID
A[2:0]
t RDY
t RDY
RDY
NOTES:
RDY IS DRIVEN LOW ASYNCHRONOUSLY BY WR AND CS GOING LOW AND RETURNS HIGH ON THE
RISING EDGE OF CLK "N+2".
1
2
THESE SIGNALS (R/W AND DS) MAY REMAIN IN LOW STATE TO CONTINUE WRITING DATA.
3
CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+3 SHOWN) TO COMPLETE WRITE.
* THE NEXT WRITE MAY BE INITIATED ON CLK, N*.
Figure 18. MODE0 Write Timing Requirements and Switching Characteristics
REV. A
–9–
AD6620
MICROPORT MODE1, READ
Timing is synchronous to CLK; MODE = 1.
t DD
N
CLK1
N+1
t HC
N+3
N+2
N+4
N
t SC
R/W2
DS2
t SC
t HC
CS3
t ZD
t ZR
DATA VALID
D[7:0]
t SAM
t HA
A[2:0]
ADDRESS VALID
t DTACK
t DTACK
DTACK
NOTES:
1 DTACK IS DRIVEN LOW ON THE RISING EDGE OF CLK "N+3" FOR INTERNAL ACCESS (A[2:0] = 000),
CLK "N=2" OTHERWISE.
2
THE SIGNAL, R/W MAY REMAIN HIGH AND DS MAY REMAIN LOW TO CONTINUE READ MODE.
3
CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+4 SHOWN) TO COMPLETE ACCESS
AND FORCE DTACK HIGH.
Figure 19. MODE1 Read Timing Requirements and Switching Characteristics
MICROPORT MODE1, WRITE
Timing is synchronous to CLK; MODE = 1.
t SC
CLK1
t HC
N
N+1
N+3
N+2
N*
R/W2
DS2
t SC
t HC
CS3
t SAM
D[7:0]
t HM
DATA VALID
t SAM
A[2:0]
t HA
ADDRESS VALID
t DTACK
DTACK
t DTACK
NOTES:
1 ON RISING EDGE OF "N+3" CLK, DTACK IS DRIVEN LOW.
2
THESE SIGNALS (R/W AND DS) MAY REMAIN IN LOW STATE TO CONTINUE WRITING DATA.
3
CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+3 SHOWN) TO COMPLETE WRITE
AND FORCE DTACK HIGH.
* THE NEXT WRITE MAY BE INITIATED ON CLK, N*.
Figure 20. MODE1 Write Timing Requirements and Switching Characteristics
–10–
REV. A
AD6620
ABSOLUTE MAXIMUM RATINGS*
EXPLANATION OF TEST LEVELS
Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +4.5 V
Input Voltage . . . –0.3 V to VDD + 0.3 V (Not 5 V Tolerant)
Output Voltage Swing . . . . . . . . . . . . –0.3 V to VDD + 0.3 V
Load Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 pF
Junction Temperature Under Bias . . . . . . . . . . . . . . . . 130°C
Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C
Lead Temperature (5 sec) . . . . . . . . . . . . . . . . . . . . . . 280°C
I.
100% Production Tested.
II. 100% Production Tested at 25°C, and Sampled Tested at
Specified Temperatures.
III. Sample Tested Only.
IV. Parameter Guaranteed by Design and Analysis.
V. Parameter is Typical Value Only.
*Stresses greater than those listed above may cause permanent damage to the
device. These are stress ratings only; functional operation of the device at these or
any other conditions greater than those indicated in the operational sections of this
specification is not implied. Exposure to absolute maximum rating conditions for
extended periods may affect device reliability.
VI. 100% Production Tested at 25°C, and Sampled Tested at
Temperature Extremes.
Thermal Characteristics
80-Lead Plastic Quad Flatpack:
θJA = 44°C/W
θJC = 11°C/W
ORDERING GUIDE
Temperature Range
Package Description
AD6620AS
AD6620S/PCB
–40°C to +85°C (Ambient)
80-Lead PQFP (Plastic Quad Flatpack)
Evaluation Board with AD6620AS and Software
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection.
Although the AD6620 features proprietary ESD protection circuitry, permanent damage may
occur on devices subjected to high-energy electrostatic discharges. Therefore, proper ESD
precautions are recommended to avoid performance degradation or loss of functionality.
REV. A
Package
Option
Model
–11–
S-80A
WARNING!
ESD SENSITIVE DEVICE
AD6620
PIN FUNCTION DESCRIPTIONS
Name
Type
Description
VDD
VSS
CLK
RESET
IN[15:0]
EXP[2:0]
A/B
SYNC_NCO
SYNC_CIC
SYNC_RCF
MODE
A[2:0]
D[7.0]
DS or RD
R/W or WR
CS
DTACK or RDY
PAR/SER
DVOUT
A/BOUT
I/QOUT
TRST
TCK
TMS
TDI
TDO
P
G
I
I
I
I
I
I/O
I/O
I/O
I
I
I/O/T
I
I
I
O
I
O
O
O
I
I
I
I
I
3.3 V Supply
Ground
Input Clock
Active Low Reset Pin
Input Data (Mantissa)
Input Data (Exponent)
Channel (A/B) Select
Sync Signal for NCO
Sync Signal for CIC Stages
Sync Signal for RCF
Sets Microport Mode: Mode 1, (MODE = 1), Mode 0, (MODE = 0)
Microprocessor Interface Address
Microprocessor Interface Data
Mode 1: Data Strobe Line, Mode 0: Read Signal
Read/Write Line (Write Signal)
Chip Select, Enables the Chip for µP Access
Acknowledgment of a Completed Transaction (Signals when µP Port Is Ready for an Access)
Parallel/Serial Control Select (PAR = 1, SER = 0)
Data Valid Pin for the Parallel Output Data
Signals to Which Channel the Output Belongs to (A = 1, B = 0)
Signals Whether I or Q Data Is Present (I = 1, Q = 0)
Test Reset Pin
Test Clock Input
Test Mode Select Input
Test Data Input
Test Data Output
Pin Types: I = Input, O = Output, P = Power Supply, G = Ground, T = Three-state.
SHARED PINS
Parallel Outputs (PAR/SER = 1 at RESET)
Serial Port (PAR/SER = 0 at RESET)
Name
Type
Description
Name
Type
Description
OUT15
O
Parallel Output Data
SCLK
I/O
OUT14
OUT13
OUT12
O
O
O
Parallel Output Data
Parallel Output Data
Parallel Output Data
SDI
SDO
SDFS
I
O/T
I/O
OUT11
OUT10
OUT9
OUT8
OUT7
OUT[6:4]
OUT3
OUT2
OUT1
OUT0
O
O
O
O
O
O
O
O
O
O
Parallel Output Data
Parallel Output Data
Parallel Output Data
Parallel Output Data
Parallel Output Data
Parallel Output Data
Parallel Output Data
Parallel Output Data
Parallel Output Data
Parallel Output Data (LSB)
SDFE
SBM
WL1
WL0
AD
NC
SDIV3
SDIV2
SDIV1
SDIV0
O
I
I
I
I
NC
I
I
I
I
Serial Clock Input (SBM =0)
Serial Clock Output (SBM = 1)
Serial Data Input
Serial Data Output
Serial Data Frame Sync Input (SBM = 0)
Serial Data Frame Sync Output (SBM = 1)
Serial Data Frame End
Serial Bus Master (Master = 1, Cascade = 0)
Serial Port Word Length, Bit 1
Serial Port Word Length, Bit 0
Append Data
Unused, Do Not Connect
SCLK Divide Value, Bit 3
SCLK Divide Value, Bit 2
SCLK Divide Value, Bit 1
SCLK Divide Value, Bit 0
Pin Types: I = Input, O = Output, P = Power Supply, G = Ground, T = Three-state.
–12–
REV. A
AD6620
PIN CONFIGURATIONS
OUT1
OUT2
VSS
OUT3
OUT5
OUT4
VDD
OUT6
OUT8
OUT7
OUT10
OUT9
OUT11
VSS
VDD
OUT13
OUT12
(MSB) OUT15
OUT14
D7
Parallel Output Data
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61
D6 1
D5 2
D4 3
PIN 1
IDENTIFIER
60
OUT0 (LSB)
59
A/BOUT
58
I/QOUT
57 VDD
56 DVOUT
VSS 4
D3 5
D2 6
55
D1 7
VDD 8
D0 9
PAR/SER
RESET
TRST
52 TCK
54
53
AD6620
DS 10
DTACK 11
R/W 12
51
TOP VIEW
(Not to Scale)
50
TMS
TDO
TDI
VDD
47 SYNC NCO
49
VSS 13
MODE 14
48
A2 15
A1 16
46
45
SYNC CIC
SYNC RCF
A0 17
CS 18
EXP0 19
44
VSS
43
42
CLK
A/B
41
IN0 (LSB)
60
SDIV0
EXP1 20
IN4
VDD
IN3
NC
VSS
IN2
IN1
IN6
IN5
VSS
VDD
NC
NC
IN8
IN7
IN10
IN9
VDD
IN12
IN11
VSS
IN13
IN14
EXP2
IN15 (MSB)
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
SDIV1
SDIV3
SDIV2
WL0
AD
SBM
WL1
SDFE
VSS
SDO
SDFS
SDI
VDD
D7
SCLK
Serial Port
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61
D6 1
D5 2
D4 3
PIN 1
IDENTIFIER
59
A/BOUT
I/QOUT
57 VDD
56 DVOUT
58
VSS 4
D3 5
D2 6
55
D1 7
VDD 8
RESET
TRST
52 TCK
53
D0 9
DS
DTACK
R/W
VSS
MODE
PAR/SER
54
AD6620
10
51
TOP VIEW
(Not to Scale)
11
TMS
TDO
TDI
48 VDD
47 SYNC NCO
50
12
49
13
14
A2 15
A1 16
46
45
SYNC CIC
SYNC RCF
A0 17
CS 18
EXP0 19
EXP1 20
44
VSS
43
42
CLK
A/B
41
IN0
NC = NO CONNECT
REV. A
IN2
IN1
VDD
IN3
IN4
IN6
IN5
VSS
IN8
IN7
VDD
IN10
IN9
IN12
IN11
VSS
IN13
IN14
EXP2
IN15
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
THE HIGHEST NUMBERED BIT IS THE MSB FOR ALL PORTS
–13–
AD6620 –Typical Performance Characteristics
400
0
375
–20
RCF DECIMATION
–40
REJECTION – dB
POWER – mW
350
325
300
CIC5 DECIMATION
275
–60
–80
–100
CIC2 DECIMATION
250
225
–120
1
2
3
LOG 2 (M)
4
–140
5
3
COMPOSITE FREQUENCY RESPONSE – MHz
TPC 1. Typical Power vs. Decimation Rates
TPC 4. High Decimation GSM Filter
Input sample rate 65 MSPS, decimation is 240, FIR taps is 240.
Unshown spectrum is below that shown. Decimation distribution is 3, 10, 8, respectively.
0
SPUR = –104dB
PHASE DITHER OFF
–12
2
1
0
–24
–36
0
–48
–20
–60
–72
–40
REJECTION – dB
–84
–96
–108
–120
–132
–80
–100
fSAMP
0
–60
TPC 2. Typical NCO Spur Without Dither
–120
–140
0
0
2
4
6
8
COMPOSITE FREQUENCY RESPONSE – MHz
SPUR = –118dB
PHASE DITHER ON
–12
TPC 5. High Decimation AMPS Filter
–24
Input sample rate 58.32 MSPS, decimation is 300, FIR taps is
128. Unshown spectrum is below that shown. Decimation distribution among CIC2, CIC5, and RCF is 10, 30 and 1, respectively.
–36
–48
–60
–72
–84
–96
–108
–120
–132
0
fSAMP
TPC 3. Typical NCO Spur with Dither
–14–
REV. A
AD6620
INPUT DATA PORT
Thus for fixed-point ADCs, the exponents are typically static
and no input scaling is used in the AD6620.
The input data port accepts a clock (CLK), a 16-bit mantissa
IN[15:0], a 3-bit exponent EXP[2:0], and channel select Pin A/B.
These pins allow direct interfacing to both standard fixed-point
ADCs such as the AD9225 and AD6640, as well as to gainranging ADCs such as the AD6600. These inputs are not 5 V
tolerant and the ADC I/O should be set to 3.3 V.
D11 (MSB)
The input data port accepts data in one of three input modes:
Single Channel Real, Diversity Channel Real, or Single Channel
Complex. The input mode is selected by programming the Input
Mode Control Register located at internal address space 300h.
IN15
AD6640
AD6620
D0 (LSB)
Single Channel Real mode is used when a single channel ADC
drives the input to the AD6620. Diversity Channel Real mode is
the two channel mode used primarily for diversity receiver applications. Single Channel Complex mode accepts complex data in
conjunction with the A/B input which identifies in-phase and
quadrature samples (primarily for cascaded 6620s).
IN4
IN3
IN2
IN1
IN0
EXP2
EXP1
EXP0
A/B
+3.3V
The input data port is sampled on the rising edge of CLK at a
maximum rate of 67 MSPS. The 16-bit mantissa, IN[15:0] is
interpreted as a twos complement integer. For most applications
with ADCs having fewer than 16 bits, the active bits should be
MSB justified and the unused LSBs should be tied low.
Figure 21. Typical Interconnection of the AD6640 Fixed
Point ADC and the AD6620
Scaling with Floating-Point ADCs
The 3-bit exponent, EXP[2:0] is interpreted as an unsigned
integer. The exponent can be modified by the 3-bit exponent
offset ExpOff (Control Register 0x305, Bits (7–5)) and an exponent invert ExpInv (Control Register 0x305, Bit 4).
ExpOff sets the offset of the input exponent, EXP[2:0]. ExpInv
determines the direction of this offset. Equations below show
how the exponent is handled.
scaled _ input = IN × 2
scaled _ input = IN × 2
– mod(Exp+ ExpOff , 8)
For gain-ranging ADCs such as the AD6600,
scaled _ input = IN × 2– mod(7– Exp+ ExpOff , 8), ExpInv = 1
, ExpInv = 0
– mod(7– Exp+ ExpOff , 8)
An example of the exponent control feature combines the AD6600
and the AD6620. The AD6600 is an 11-bit ADC with three bits
of gain ranging. In effect, the 11-bit ADC provides the mantissa,
and the three bits of relative signal strength indicator (RSSI) are
the exponent. Only five of the eight available steps are used by
the AD6600. See the AD6600 data sheet for additional details.
where: IN is the value of IN[15:0], Exp is the value of EXP[2:0],
and ExpOff is the value of ExpOff.
, ExpInv = 1
where: IN is the value of IN[15:0], Exp is the value of EXP[2:0],
and ExpOff is the value of ExpOff.
Input Scaling
In general there are two reasons for scaling digital data. The
first is to avoid “clipping” or, in the case of the AD6620 register, “wrap-around” in subsequent stages. Wrap-around is not a
concern for the input data since the NCO is designed to accept
the largest possible input at the AD6620 data port.
The second use of scaling is to preserve maximum dynamic
range through the chip. As data flows from one stage to the next
it is important to keep the math functions performed in the
MSBs. This will keep the desired signal as far above the noise
floor as possible, thus maximizing signal-to-noise ratio.
The RSSI output of the AD6600 numerically grows with increasing signal strength of the analog input (RSSI = 5 for a large
signal, RSSI = 0 for a small signal). With the Exponent Offset
equal to zero and the Exponent Invert Bit equal to zero, the
AD6620 would consider the smallest signal at the parallel input
(EXP = 0) the largest and, as the signal and EXP word increase,
it shifts the data down internally (EXP = 5, will shift the 11-bit
data right by 5 bits internally before going into the CIC2). The
AD6620 regards the largest signal possible on the AD6600 as
the smallest signal. Thus the Exponent Invert Bit is used to make
the AD6620 exponent agree with the AD6600 RSSI. When it
is set high, it forces the AD6620 to shift the data up for growing
EXP instead of down. The exponent invert bit should always be
set high for use with the AD6600.
Table I. AD6600 Transfer Function with AD6620 ExpInv = 1,
and No ExpOff
Scaling with Fixed-Point ADCs
For fixed-point ADCs, the AD6620 exponent inputs EXP[2:0]
are typically not used and should be tied low. The ADC outputs
are tied directly to the AD6620 Inputs, MSB-justified. The
exponent offset (ExpOff) and exponent invert (ExpInv) should
both be programmed to 0. Thus the input equation,
ADC Input
Level
AD6600
RSSI[2.0]
AD6620
Data
Signal
Reduction
Largest
101 (5)
100 (4)
011 (3)
010 (2)
001 (1)
000 (0)
⫼ 4 (>> 2)
⫼ 8 (>> 3)
⫼ 16 (>> 4)
⫼ 32 (>> 5)
⫼ 64 (>> 6)
⫼ 128 (>> 7)
–12 dB
–18 dB
–24 dB
–30 dB
–36 dB
–42 dB
scaled _ input = IN × 2– mod(Exp+ ExpOff , 8), ExpInv = 0
where: IN is the value of IN[15:0], Exp is the value of EXP[0:2],
and ExpOff is the value of ExpOff, simplifies to,
scaled _ input = IN × 2– mod(0, 8)
REV. A
Smallest
(ExpInv = 1, ExpOff = 0)
–15–
AD6620
The Exponent Offset is used to shift the data right. For example,
Table I shows that with no ExpOff shift, 12 dB of range is
lost when the ADC input is at the largest level. This is undesired
because it lowers the Dynamic Range and SNR of the system
by reducing the signal of interest relative to the quantization
noise floor.
clock is typically used to clock the AD6620. Applications that
require a faster signal processing clock than the ADC sample
clock, may employ fractional rate input timing as shown in the
following sections. The input timing requirements vary according
to the mode of operation. Fractional rate input timing creates a
longer “don’t care” time for the input data so that slower ADCs
need only meet the setup-and-hold conditions for their data
with respect to their own sample clock cycle, rather than the
faster signal processing clock. The ADC sample clock may be
any integer fraction of CLK up to and including 1, as long as
the clock and data rate are less than or equal to 67 MSPS.
To avoid this automatic attenuation of the full-scale ADC signal, the Exponent Offset is used to move the largest signal (RSSI =
5) up to the point where there is no downshift. In other words,
once the Exponent Invert bit has been set, the Exponent Offset
should be adjusted so that mod(7–5 + ExpOff,8) = 0. This is
the case when Exponent Offset is set to 6 since mod(8, 8) = 0.
Table II illustrates the use of ExpInv and ExpOff when used
with the AD6600 ADC.
Single Channel Real Mode
In the Single Channel Real mode the A/B input pin functions as
an active high input enable. If the A/D sample clock is fast enough
to perform the necessary filter functions, full rate input timing
can be used and A/B should be tied high as shown in Figure 23.
Table II. AD6600 Transfer Function with AD6620 ExpInv = 1,
and ExpOff = 6
ADC Input
Level
AD6600
RSSI[2.0]
AD6620
Data
Signal
Reduction
Largest
101 (5)
100 (4)
011 (3)
010 (2)
001 (1)
000 (0)
⫼ 1 (>> 0)
⫼ 2 (>> 1)
⫼ 4 (>> 2)
⫼ 8 (>> 3)
⫼ 16 (>> 4)
⫼ 32 (>> 5)
–0 dB
–6 dB
–12 dB
–18 dB
–24 dB
–30 dB
Smallest
CLK
t SI
N
N+1
N+2
N+3
N+4
EXP[2:0]
A/B
Figure 23. Full Rate Input Timing, Single Channel
Real Mode
(ExpInv = 1, ExpOff = 6)
This flexibility in handling the exponent allows the AD6620 to
interface with other gain ranging ADCs besides the AD6600.
The Exponent Offset can be adjusted to allow up to seven
RSSI(EXP) ranges to be used as opposed to the AD6600s five.
It also allows the AD6620 to be tailored in a system that employs
the AD6600, but does not utilize all of its signal range. For
example, if only the first four RSSI ranges are expected to occur
then the Exponent Offset could be adjusted to five, which would
then make RSSI = 4 correspond to the 0 dB point of the AD6620.
D10 (MSB)
t HI
IN[15:0]
When a faster processing clock is used to achieve better filter
performance, the A/D data must be synchronized with the faster
AD6620 CLK signal. This is achieved by having the ADC clock
rate an integer fraction of the AD6620 clock rate. AD6620 input
data is sampled at the slower ADC clock rate. In the Single
Channel Real Mode this is achieved by dynamically controlling
the A/B input and bringing it high before each rising CLK edge
that data is to be sampled on. A/B must be returned low before
the next high speed clock pulse and the duty cycle of the A/B
signal will therefore be equal to the data-to-clock ratio.
IN15
CLK
t HI
t SI
AD6620
AD6600
IN[15:0]
N
N+1
EXP[2:0]
D0 (LSB)
A/B OUT
RSS12
RSS11
RSS10
IN4
IN3
IN2
IN1
IN0
EXP2
EXP1
EXP0
A/B
Figure 24. Fractional Rate Input Timing (4 × CLK), Single
Channel Real Mode
A/B
Figure 22. Typical Interconnection of the AD6600 GainRanging ADC and the AD6620 in a Diversity Application
Input Timing
The CLK signal is used to sample the input port and clock the
synchronous signal processing stages that follow. The CLK signal
can operate up to 67 MHz and have a duty cycle of 45% to
55%. In applications using high speed ADCs, the ADC sample
Diversity Channel Real Mode
In the Diversity Channel Real mode the A/B pin serves not only
as an input enable but also to determine which channel is being
sampled on a given CLK edge. A high on the A/B pin marks
channel A data and a low on A/B marks channel B data. The
AD6620 only accepts the first sample after an A/B transition.
All subsequent samples are disregarded until A/B changes again.
When full rate input timing is employed in the Diversity Channel Real mode, A/B must toggle on every rising edge of CLK for
new data to be clocked into the AD6620.
–16–
REV. A
AD6620
Single Channel Complex Mode
In the Single Channel Complex input mode, A/B high identifies the in-phase samples and A/B low identifies quadrature
samples. The quadrature samples are paired with the previous
in-phase samples. The timing for this mode is the same as that
of the Diversity Channel Real Mode. This mode is useful for
accepting complex output data from another AD6620 or another
source to increase filtering and or decimation rates.
CLK
t HI
t SI
IN[15:0]
AN
BN
AN+1
BN+1
AN+2
BN+2
EXP[2:0]
A/B
In the Single Channel Complex Mode the CIC2 decimation
must be set to two (MCIC2 = 2). This is necessary in order to
allow enough CLK cycles to process the complex input data as
described below.
CLK
2x
IF CLK 2x IS USED TO CLOCK THE AD6620, THE FIRST RISING EDGE AFTER
THE A/B TRANSITION WILL LATCH THE DATA.
Figure 25. Full Rate Input Timing, Diversity Channel Real
Mode
If fractional rate input timing is necessary in the Diversity Channel Real Mode, the A/B pin must toggle at half the rate of the
A/D sample clock. The timing diagram below shows a 3× processing clock. In this situation there will be one ADC encode
pulse for every three AD6620 CLK pulses and data must be
taken on every third CLK pulse. The CLK edges that correspond to the latching of A and B channel data are shown in
Figure 26.
CLK
t HI
t SI
IN[15:0]
AN
BN
EXP[2:0]
First clock cycle: (A/B high).
– I data loaded from the input port.
– The I data-path gets I × cosine.
– The Q data-path gets I × sine.
– The first integrator of the CIC2 adds these values to its
previous sums.
– The rest of the CIC2 is idle.
Second clock cycle: (A/B low).
– Q data loaded from the input port.
– The I data-path gets Q × sine.
– The Q data-path gets Q × cosine.
– The first integrator of the I path of the CIC2 completes the
sum (I × cosine - Q × sine) and the first integrator of the Q
path of the CIC2 completes the sum j(I × sine + Q × cosine).
– The rest of the CIC2 operates on these sums, which is the
complete complex multiply. The data is then multiplexed
through the rest of the chip as if it were single channel real data.
Simplified Input Data Port Schematic
A/B
Figure 26. Fractional Rate Input Timing (3 × CLK), Diversity
Channel Real Mode
Figure 27 details a simplified schematic for the input data port.
The first thing to note is that IN[15:0], EXP[2:0] and A/B are
all synchronously latched with CLK. Note also that upon soft
reset, a seven pipeline delay (sample clock delay) exists in the
data path. This delay is synchronous with CLK, but is in fact
seven valid sample data delays. For instance, in single channel
SOFT RESET
CLR
LOGIC "1"
D
Q
DELAY 7
CLK
ENB
Q
IN[15:0]
D
D
Q
CLR
Q
INT IN[15:0]
EXP[2:0]
REGISTER
INT EXP[2:0]
REGISTER
A/B
D
D
Q
Q
INT DATA STROBE
CLK
CLK
ENB
S1
D
MULTIPLEXER
S2
C
D
SET
Q
CLR
Q
DUAL CHANNEL REAL
SINGLE CHANNEL COMPLEX
Figure 27. Simplified Input Data Port Schematic for the AD6620
REV. A
–17–
AD6620
real mode with full rate timing the delay is seven CLKs. If
instead the data rate is one-fourth CLK, then 28 CLKs (i.e.,
seven sample data delays, gated via A/B) occur before valid data
is passed to the NCO stage.
t DPR
CLK
Interfacing AD6620 Inputs to 5 V Logic Gates
DVOUT
None of the inputs to the AD6620 are tolerant of 5 V logic
signals. When interfacing 5 V devices to this product, an interface
gate such as the 74LCX2244 is recommended. If latching must
be performed, 74LCX574 latches may be used. This gate runs
from the 3.3 V supply and is tolerant of 5 V inputs.
VALID DATA
I/QOUT
I
A/BOUT
OUTPUT DATA PORT
Parallel Output Data Port
DVOUT
DVOUT is provided to signal that valid data is present. If this pin
is high, there is a valid data word on the bus. DVOUT remains high
for two high-speed clock cycles in Single Channel Real and Single
Channel Complex Mode and for four high-speed clock cycles in
Diversity Channel Real mode. After DVOUT returns low the Q data
will remain until the next data sample.
I/QOUT
When this pin is high the data word represents I data; when
I/QOUT is low Q data is present. This signal will also be low when
DVOUT is low since the last word of every data phase is Q data.
A/BOUT
If DVOUT is low, A/BOUT is always low. When A/BOUT is high, A
Channel data is available on the output. If DVOUT remains high
while A/BOUT is low, then B Channel data is on the output pins
of the chip OUT[15:0].
IA
QA
Figure 28. Parallel Output Data Timing (Single-Channel
Mode)
t DPR
t DPF
t DPF
t DPF
CLK
DVOUT
A scale factor is associated with the output port, which allows
the signal level to be adjusted. This scale factor is mapped to
location 309h, Bits 2–0 in the AD6620 internal address space.
This scalar controls the weight of the 16-bit data going to the
parallel port. The scale factor is discussed in the RAM Coefficient Filter (RCF) section.
This rate assumes that there is a minimum decimation of 2 in
the first filter stage (CIC2) or a 2× or greater CLK is used. This
decimation is required because for every input word there is
both an I and a Q output. When the data rate and clock rate are
the same (Full Rate Input Timing), the minimum decimation of
2 must occur in CIC2. Refer to CIC2 for more detail.
Q
A DATA
OUT[15:0]
The AD6620 provides a choice of two output ports: a 16-bit
parallel port and a synchronous serial port. Output operation
using the serial port is discussed in the next section. The parallel
port is limited to 16 bits. Because pins are shared between the
parallel and serial output ports, only one output mode can be
used. The output mode must be set with a hard reset generated
by at least a 30 ns low time on the RESET pin. If the PAR/SER
line is high (Logic “1”), then parallel output data is activated.
The PAR/SER pin should remain static after the output mode
has been set (i.e., PAR/SER should only change when RESET is
low). Data out of the AD6620 is two’s complement.
The Parallel Mode provides a 16-bit output port, which constitutes the I and Q data for either one or both channels. This port
can run at a maximum of 67 MHz (33.5 MHz I, 33.5 MHz Q).
t DPF
t DPF
I/QOUT
VALID DATA
I
A/BOUT
OUT[15:0]
Q
I
A DATA
IA
Q
B DATA
QA
IB
QB
Figure 29. Parallel Output Data Timing (Diversity Channel
Mode)
Serial Output Data Port
The AD6620 provides a choice of two output ports: a 16-bit
parallel port and a synchronous serial port. The advantage of
using the serial port is that all 23 bits of available data can be
output in the 24-bit or 32-bit mode. The serial output port
shares some of the same pins used by the parallel output port.
As a result, one or the other mode of output may be utilized,
but not both. The output mode must be set with a hard reset
generated by at least a 30 ns low time on the RESET pin. If the
PAR/SER line is low (Logic “0”) upon reset, then serial output
data is activated. The PAR/SER pin should remain static after
the output mode has been set (i.e., PAR/SER should only change
when RESET is low).
Note that the AD6620 cannot be booted through the serial port.
The microport must be used to initialize the device, then serial
operation is supported.
Figure 30 shows the typical interconnections between an AD6620
in serial master mode and a DSP. Refer to the Serial Control
Port section for a detailed description of pin functions and procedures for writing and reading with relation to the serial port.
Note the 10 kΩ resistors connected to SDI and SDO. These
prevent the lines from toggling when the AD6620 or DSP
three-states these pins.
–18–
REV. A
AD6620
2
after SDFS makes the first bit available at SDO. The falling
edge of serial clock can be used to sample the data. The total
number of bits are then read from the AD6620 (determined by
the serial port word length). If the DSP has the ability to count
bits, the DSP will know when the complete frame is read. If not,
the DSP can monitor the SDFE pin to determine that the complete frame is read. The serial clock provided by the DSP can be
asynchronous with the AD6620 clock and input data.
4
WL
AD SDIV
SCLK
AD6620
SCLK
SDI
DT
SDO
DR
SDFS
DSP
RFS
10k⍀
10k⍀
SDFE
SBM
2
4
WL
+3.3V
AD SDIV
SCLK
Figure 30. Typical Serial Data Output Interface to DSP
(Serial Master Mode, SBM = 1)
AD6620
Figure 31 shows two AD6620s illustrating the cascade capability
for the chip. The first is connected as a serial master and the
second is configured in serial cascade mode. The SDFE signal
of the master is connected to the SDFS of the slave. This allows
the master AD6620 data to be obtained first by the DSP, followed by the cascaded AD6620 data.
2
AD6620
SCLK
SDI
DT
SDO
DR
SDFS
RFS
DSP
SBM
+3.3V
WL
SDO
DR
DSP
RFS
10k⍀
SDFE
SBM
DVOUT
IRQ
Figure 32. Typical Serial Data Output Interface to DSP
(Serial Slave Mode, SBM = 0)
SDFE
2
DT
10k⍀
AD SDIV
SCLK
SDI
SDFS
4
WL
SCLK
4
In either the serial master or slave mode, there are two constraints that must be observed. The first is that the clock must
be fast enough to read the serial frame prior to the next frame
becoming available. Since the AD6620 output is synchronous
with its input sample rate, the output update rate can be determined by the user-programmed decimation rate. The timing
diagram in Figure 33 details how serial slave mode is implemented. The second constraint is that the time between serial
frames may be either zero SCLK periods (the end of one frame
adjoins the beginning of the next) or two or more SCLK periods. One SCLK period between frames is not allowed.
AD SDIV
t DSO
SCLK
SDI
AD6620
CASCADE
SCLK
SDO
SDFS
10k⍀
DVOUT PULSEWIDTH IS 2 CLKIN
SINGLE CHANNEL AND 4 CLKIN
DUAL CHANNEL
DVOUT
10k⍀
SDFE
SBM
SDFS
Figure 31. Typical Serial Data Output Interface to DSP
(Serial Cascade Mode, SBM = 0)
The AD6620 also supports a serial slave mode, where the serial
clock and interface is provided by a DSP or ASIC that is set to
operate in the master mode. Note that the AD6620 cannot be
booted through the serial port. The microport must be used to
initialize the device, then serial operation is supported.
In the serial slave mode, DVOUT is valid and indicates the presence of a new word in the output buffers of the shift register.
This pin may thus be used by the DSP to generate an interrupt
to service the serial port. The DSP then generates an SFDS
pulse to drive the AD6620. The first serial clock rising edge
REV. A
DSP USES FALLING EDGE OF
DVOUT TO GENERATE SDFS
I MSB
I MSB – 1
SDO
FIRST DATA IS AVAILABLE THE FIRST
RISING SCLK AFTER SDFS GOES HIGH
Figure 33. Timing for Serial Slave Mode (SBM = 0)
FREQUENCY TRANSLATOR
The first signal processing stage is a frequency translator consisting of two multipliers and a 32-bit complex numerically
controlled oscillator (NCO). The NCO serves as a quadrature
local oscillator capable of producing any analytic frequency
between –fSAMP/2 and +fSAMP/2 with a resolution of fSAMP/232. In
the Single Channel Real input mode, fSAMP is equal to fCLK multiplied by the fraction of CLK cycles that A/B is high. In the
Diversity Channel Real and Single Channel Complex input
–19–
AD6620
modes, fSAMP is equal to fCLK multiplied by the fraction of CLK
cycles on which A/B has been toggled. The NCO worst case
discrete spur is better than –100 dBc for all output frequencies.
Amplitude Dither
The second dither option is Amplitude Dither or “Complex
Dither.” Amplitude Dither is enabled by setting Bit 2 of the
NCO Control Register at address 0x301 high. Amplitude Dither
improves performance by randomizing the amplitude quantization errors within the angular to Cartesian conversion of the
NCO. This dither will be particularly useful when the NCO
frequency is close to an integer submultiple of the Input Data
Rate. However, this option may reduce spurs at the expense of a
slightly raised noise floor. Amplitude Dither and Phase Dither
can be used together, separately or not at all.
The control word, NCO_FREQ is interpreted as a 32-bit unsigned
integer. To translate a channel centered at fCH to dc, calculate
NCO_FREQ using the equation below. The mod function is
used here to allow for Super Nyquist sampling where the IF
carrier (fCH) is larger than the sample rate (fSAMP). The mod
removes the integer portion of the number and forces it into the
32-bit NCO Frequency Register. If the fraction remaining is
larger than 0.5, the NCO will be tuning above the Nyquist rate.
The corresponding signal is then aliased back into the first Nyquist
Zone as a negative frequency.
Phase Offset
The phase offset register adds an offset to the phase accumulator of the NCO. This is a 16-bit register and is interpreted as a
16-bit unsigned integer. A 0 in this register corresponds to a 0
Radian offset and an FFFF hex corresponds to an offset of 2 π
(1 – 1/(2^16)) Radians. This register can be used to allow multiple AD6620s whose NCOs are synchronized to produce sine
waves with a known and steady phase difference.
 f

NCO _ FREQ = 232 × mod  CH ,1
 fSAMP 
In both Single and Diversity Channel Real Input modes, the output of the translation stage is the complex product of the real
input samples and the complex samples from the NCO. It is
necessary for the subsequent decimating filters to reject the
unwanted image of the channel of interest, as well as any unwanted
neighboring signals (and their images) not rejected by previous analog filters.
NCO Synchronization
In the Diversity Channel Real Input mode, the same NCO output
words are used for both channel A and B streams, resulting in
identical phase shifts. In Single Channel Complex mode both I
and Q inputs are multiplied by the quadrature outputs of the
NCO. The I and Q products of the multiply are then processed
in the AD6620 filter stages.
In single channel real or dual channel real operation, the frequency
translation and filtering processes provide a gain of –6 dB. This
can be visualized since the input data is usually a real sampled
signal consisting of both positive and negative frequency components (Figure 2a). After being mixed with the complex NCO,
the normal filtering of the AD6620 will remove one component
or the other resulting in an analytic signal (Figure 2b). This
filtering thus removes one-half or 6 dB of the signal keeping
consistent with the mathematics involved. If however, the filtering of the device allows both the positive and negative frequency
components to pass (i.e., the original signal is near dc), the gain
of the frequency translation is 0 dB. Finally, if the NCO is
bypassed, the gain of the frequency translation block is –12 dB.
In order to achieve phase coherence between several AD6620s,
a SYNC_NCO pin is provided. When the internal register
bit, SYNC_M/S (Bit 3 of internal register 0x300), is set high,
SYNC_NCO provides a synchronization pulse on the rising
edge of CLK. When the SYNC_M/S bit is low, SYNC_NCO
accepts an external synchronization signal sampled on the rising
edge of CLK. When the AD6620 is a slave, the SYNC_NCO
signal need not be a short pulse. It may be taken high and held
for more than a CLK cycle in which case the NCO will be held
inactive until this pin is again lowered. If the device is run as a
sync slave in Single Channel Mode, the SYNC_NCO pin must
be held low for one sample period, usually one clock cycle. If the
device is run in Diversity Channel Real mode, the SYNC_NCO
must be high for two sample periods (clock cycles). In a system
with an array of AD6620s it is not necessary to use one as a
master. It may be desirable to generate a synchronization signal
elsewhere in the system and use that to control the AD6620. An
example of this may be in systems that receive packets of data.
In this case, the NCO may be resynchronized prior to the beginning of the packet, thus giving a consistent phase relationship on
each burst. This allows for ease of use in a large system where
many AD6620s need be synchronized accurately across a large
backplane or installation.
Phase Dither
t DY
The AD6620 provides a phase dither option for improving the
spurious performance of the NCO. This is controlled via the
NCO Control Register at address 301 hex. When phase dither is
enabled by setting Bit 1 of this register high, spurs due to phase
truncation in the NCO are randomized. The energy from these
spurs is spread into the noise floor and Spurious Free Dynamic
Range is increased at the expense of very slight decreases in the
SNR. Phase dither should be experimented with for each desired
NCO frequency and if it is seen to reduce spurs, it should be
considered. The choice of whether Phase Dither is used in a
system will ultimately be decided by the system goals. If lower
spurs are desired at the expense of a slightly raised noise floor, it
should be employed. If a low noise floor is desired and the higher
spurs can be tolerated or filtered by subsequent stages, then
Phase Dither is not needed.
CLK
SYNC NCO
SYNC CIC
SYNC RCF
–20–
NOTE:
IN THE SLAVE MODE WITH SINGLE CHANNEL OPERATION, THE WIDTH
OF THE SYNC_NCO SHOULD BE ONE SAMPLE CLOCK CYCLE. IN DUAL
CHANNEL MODE, THE PULSEWIDTH SHOULD BE TWO SAMPLE CLOCK
CYCLES. IF A PULSE LONGER THAN SPECIFIED IS USED, THE NCO WILL
BE INHIBITED AND NOT INCREMENT PROPERLY.
Figure 34. SYNC_NCO Pin
REV. A
AD6620
COS
SIN
PHASE
OFFSET
PHASE
DITHER
AMPLITUDE
DITHER
32
1
REGISTER
MASKED
COUNT = 0?
SYNC_NCO
PIN
REGISTER
32
PHASE
ACCUMULATOR
32
32
1
SYNC
MASK
0
32
32
X4
32
1
32
32
REGISTER
NCO FREQ
1
Figure 35. NCO Block Diagram
The frequency of the SYNC_NCO pulses, and therefore the
accuracy of the synchronization, is determined by the value of
the NCO Sync Control Register at address 302 hex. The value
in this register is the SYNC_MASK and is interpreted as a
32-bit unsigned integer. This value controls the window around
the zero crossing of the NCO output sine wave in which the
NCO will output a SYNC_NCO pulse as a master. As a slave,
the value in this register will determine the number of MSBs
of the output sine wave that are synchronized with the master.
The Master and all slaves should use the same SYNC_MASK
word. This value should almost always be written as all 1s
(FFFFFFFF hex).
2ND ORDER CASCADED INTEGRATOR COMB FILTER
The CIC2 filter is a fixed-coefficient, decimating filter. It is
constructed as a second order CIC filter whose characteristics
are defined only by the decimation rate chosen. This filter can
process signals at the full rate of the input port (67 MHz) in all
input modes. The output rate of this stage is given by the equation below.
fSAMP2 =
The decimation ratio, MCIC2, is an unsigned integer that may
be between 1 and 16. This stage may be bypassed under certain
conditions by setting, MCIC2 equal to 1. For this to happen the
processing clock rate, fCLK must be two or more times the input
data rate, fSAMP. This is because the I and Q data is processed in
parallel within the CIC2 filter, and the I and Q output data is
then multiplexed through the same data pipe before it enters the
CIC5 filter.
Effects of A/B Input on the NCO
If the AD6620 is run in Single Channel Real mode using fractional rate input timing, the A/B input is used to enable the
NCO advancement. If the A/B line is held high longer than one
clock period, the NCO will advance for each rising edge of the
CLK while A/B is high. This is not normally the desired result
and thus A/B must be taken low after the first CLK period to
prevent anomalous NCO results. See additional details under
Fractional Rate Timing.
The frequency response of the CIC2 filter is given by the following equations.
Phase Continuous Tuning with the AD6620
For synchronization purposes, the AD6620 NCO phase is reset
each time the NCO frequency register is either written to or
read from. This is accomplished by forcing an NCO Sync to
occur. Normally, phase-continuous tuning is required on the
transmit path to control spectral leakage. On the receive path
this in not usually a constraint. However, if phase-continuous
tuning is required with the AD6620, it can be accomplished by
configuring the AD6620 as a Sync Slave. In this manner, no
internal NCO sync is generated when the NCO frequency register is written to. If multiple AD6620s are synchronized together,
a common external sync pulse can be used to lock each of the
receivers together at the appropriate point in time. It is also
possible to reconfigure the AD6620 after the NCO frequency
register has been written so that the chip is once again a Sync
Master. The next time the NCO phase cycles through 0 degrees,
the NCO sync is exerted and the chip is again synchronized.
REV. A
fSAMP
MCIC2
H(z ) =
H( f ) =
1
2SCIC 2
1
2SCIC 2
 1 – z – MCIC 2 
×

 1 – z –1 
2
  MCIC 2 × f  

 sin π f

SAMP
×


f  
 
 sin π f
 SAMP  

2
The scale factor, SCIC2 is a programmable unsigned integer
between 0 and 6. This serves as an attenuator that can reduce
the gain of the CIC2 in 6 dB increments. For the best dynamic
range, SCIC2 should be set to the smallest value possible (i.e.,
lowest attenuation) without creating an overflow condition.
This can be safely accomplished using the equation below, where
input_level is the largest fraction of full scale possible at the
input to this AD6620 (normally 1). The CIC2 scale factor is
not ignored when the CIC2 is bypassed.
–21–
AD6620
which is slightly greater than the 0.07 percent calculated. Therefore, the maximum bound on CIC2 decimation for this condition is four. Additional decimation means less alias rejection
than the 100 dB required.
2
SCIC 2 = ceil  log 2 ( MCIC 2 × input _ level )
OLCIC 2 =
1
× input _ level
2SCIC 2
The equations for calculating CIC2 output level is correct when
stage is not bypassed (normal operation). However, when bypassed, the following equations should be used instead.
OLCIC2 = Input Level
The gain and pass band droop of the CIC2 should be calculated
by the equations above, as well as the filter transfer equations
that follow. If these are unacceptable, they can be compensated
for in subsequent stages.
CIC2 Rejection
The table below illustrates the amount of bandwidth in percent
of the data rate into the CIC2 stage. The data in this table may
be scaled to any allowable sample rate up to 67 MHz in Single
Channel Mode or 33.5 MHz in Diversity Channel Mode. The
table can be used as a tool to decide how to distribute the decimation between CIC2, CIC5 and the RCF.
Note that although an MCIC2 less then four would still yield the
required rejection, overall power consumption is reduced by
decimating as much as possible in this stage. Decimation in
CIC2 lowers the data rate and thus reduces power consumed in
subsequent stages.
The plot below shows the CIC2 transfer function using a decimation of four. The first plot is referenced to the input sample
rate, the complex spectrum from –fSAMP/2 to fSAMP/2. The second plot is referenced to the CIC2 output rate, the complex
spectrum from –fSAMP2/2 to fSAMP2/2. The aliases of the CIC2
can be seen to be “folding back” in toward the edge of the
desired filter pass band. It is the level of these aliases as they
move into the desired pass band that are important.
0
–20
The data in this table may be scaled to any allowable sample
rate up to 67 MHz in Single Channel Mode or 33.5 MHz in
Diversity Channel Mode.
dBFS
–40
Table III. SSB CIC2 Alias Rejection Table (f SAMP = 1)
Bandwidth Shown in Percentage of f SAMP
–60
–80
MCIC2
–50 dB –60 dB –70 dB
–80 dB –90 dB –100 dB
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1.79
1.508
1.217
1.006
0.853
0.739
0.651
0.581
0.525
0.478
0.439
0.406
0.378
0.353
0.331
0.318
0.274
0.223
0.186
0.158
0.137
0.121
0.108
0.097
0.089
0.082
0.075
0.07
0.066
0.061
0.566
0.486
0.395
0.328
0.279
0.242
0.213
0.19
0.172
0.157
0.144
0.133
0.124
0.116
0.109
0.179
0.155
0.126
0.105
0.089
0.077
0.068
0.061
0.055
0.05
0.046
0.043
0.04
0.037
0.035
–100
0.101
0.087
0.071
0.059
0.05
0.044
0.038
0.034
0.031
0.028
0.026
0.024
0.022
0.021
0.02
–120
–0.5
0.3
0.4
0.5
0.1
0.2
0.3
0.4
0.5
–80
Solution: First determine the percentage of the sample rate that
is represented by the pass band.
Find the –100 dB column on the right of the table and look
down this column for a value greater than or equal to your
pass band percentage of the clock rate. Then look across to the
extreme left column and find the corresponding decimation
rate. Referring to the table, notice that for a decimation of 4, the
frequency having –100 dB of alias rejection is 0.071 percent
0.2
–60
–120
–0.5
10 MHz
0.1
–40
Goal: Implement a filter with an Input Sample Rate of 10 MHz
requiring 100 dB of Alias Rejection for a ± 7 kHz pass band.
= 0.07%
0
–20
–100
7 kHz
–0.1
0
Example Calculations
BWFRACTION = 100 ×
–0.4 –0.3 –0.2
f/fSAMP
dBFS
1.007
0.858
0.696
0.577
0.49
0.425
0.374
0.334
0.302
0.275
0.253
0.234
0.217
0.203
0.19
–0.4 –0.3 –0.2
–0.1
0
f/fSAMP2
Figure 36. CIC2 Alias Rejection, MCIC2 = 4
The set of plots below show a decimation of 16 in the CIC2
filter. The lobes of the filter drop as the decimation rate
increases, but the amplitudes of the aliased frequencies increase
because the output rate has been reduced.
–22–
REV. A
AD6620
The frequency response of the filter is given by the following
equations. The gain and pass band droop of CIC5 should be
calculated by these equations. Both parameters may be compensated for in the RCF stage.
0
–20
dBFS
–40
H (z ) =
–60
1
2S
CIC 5
–80
H( f ) =
–100
–120
–0.5
–0.4 –0.3 –0.2
–0.1
0
0.1
0.2
0.3
0.4
2
0.5
f/fSAMP
5
CIC 5

 MCIC 5 × f  
 sin  π fSAMP 2  

×
 sin  π f  



 fSAMP 2  

5
–80
The scale factor, SCIC5 is a programmable unsigned integer
between 0 and 20. It serves to control the attenuation of the
data into the CIC5 stage in 6 dB increments. For the best dynamic
range, SCIC5 should be set to the smallest value possible (lowest
attenuation) without creating an overflow condition. This can
be safely accomplished using the equation below, where OLCIC2
is the largest fraction of full scale possible at the input to this
filter stage. This value is output from the CIC2 stage then pipelined into the CIC5. SCIC5 is ignored when this filter is bypassed
by setting MCIC5 = 1.
–100
SCIC 5 = ceil log2 ( MCIC 5 × OLCIC 2 ) – 5
0
–20
–40
dBFS
1
SCIC 5 +5
1– z – M 
×

+5 
 1– z –1 
–60
–120
–0.5
(
(M ) × OL
=
)
5
CIC 5
–0.4 –0.3 –0.2
–0.1
0
0.1
0.2
0.3
0.4
OLCIC 5
0.5
f/fSAMP2
Figure 37. CIC2 Alias Rejection, MCIC2 = 16
The third signal processing stage, CIC5, implements a sharper
fixed-coefficient, decimating filter than CIC2. The input rate to
this filter is fSAMP2. The maximum input rate is given by the
equation below. NCH equals two for Diversity Channel Real
input mode; otherwise NCH equals one. In order to satisfy this
equation, MCIC2 can be increased, NCH can be reduced, or fCLK
can be increased (reference fractional rate input timing described
in the Input Timing section).
fSAMP2 ≤
2SCIC 5 +5
CIC 2
when CIC5 is bypassed;
OLCIC 5 = OLCIC 2
5TH ORDER CASCADED INTEGRATOR COMB FILTER
The output rate of this stage is given by the equation below.
fSAMP5 ≤
fCLK
2 × N CH
The decimation ratio, MCIC5, may be programmed from 1 to 32
(all integer values). When MCIC5 = 1, this stage is bypassed and
the CIC5 scale factor is ignored.
REV. A
5
–23–
fSAMP2
MCIC5
AD6620
This table helps to calculate an upper bound on decimation,
MCIC5, given the desired filter characteristics.
CIC5 Rejection
The table below illustrates the amount of bandwidth in percentage of the clock rate that can be protected with various decimation
rates and alias rejection specifications. The maximum input rate
into the CIC5 is 32.5 MHz. As in the previous table, these
are the 1/2 bandwidth characteristics of the CIC5. Note that
the CIC5 stage can protect a much wider band than the CIC2 for
any given rejection.
Table IV. SSB CIC5 Alias Rejection Table (fSAMP2 = 1)
Bandwidth Shown in Percentage of f SAMP2
MCIC5
–50 dB –60 dB –70 dB
–80 dB –90 dB –100 dB
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
10.227
7.924
6.213
5.068
4.267
3.68
3.233
2.881
2.598
2.365
2.17
2.005
1.863
1.74
1.632
1.536
1.451
1.375
1.307
1.245
1.188
1.137
1.09
1.046
1.006
0.969
0.934
0.902
0.872
0.844
0.818
5.066
4.107
3.271
2.687
2.27
1.962
1.726
1.54
1.39
1.266
1.162
1.074
0.998
0.932
0.874
0.823
0.778
0.737
0.701
0.667
0.637
0.61
0.584
0.561
0.54
0.52
0.501
0.484
0.468
0.453
0.439
4.008
3.297
2.636
2.17
1.836
1.588
1.397
1.247
1.125
1.025
0.941
0.87
0.809
0.755
0.708
0.667
0.63
0.597
0.568
0.541
0.516
0.494
0.474
0.455
0.437
0.421
0.406
0.392
0.379
0.367
0.355
3.183
2.642
2.121
1.748
1.48
1.281
1.128
1.007
0.909
0.828
0.76
0.703
0.653
0.61
0.572
0.539
0.509
0.483
0.459
0.437
0.417
0.399
0.383
0.367
0.353
0.34
0.328
0.317
0.306
0.297
0.287
0
–20
–40
dBFS
6.393
5.11
4.057
3.326
2.808
2.425
2.133
1.902
1.716
1.563
1.435
1.326
1.232
1.151
1.079
1.016
0.96
0.91
0.865
0.824
0.786
0.752
0.721
0.692
0.666
0.641
0.618
0.597
0.577
0.559
0.541
–60
–80
–100
–120
–0.5
–0.4 –0.3 –0.2
–0.1
0
0.1
0.2
0.3
0.4
0.5
0.1
0.2
0.3
0.4
0.5
f/fSAMP
0
–20
–40
dBFS
8.078
6.367
5.022
4.107
3.463
2.989
2.627
2.342
2.113
1.924
1.765
1.631
1.516
1.416
1.328
1.25
1.181
1.119
1.064
1.013
0.967
0.925
0.887
0.852
0.819
0.789
0.761
0.734
0.71
0.687
0.666
The plots following (Figure 38) represent the CIC5 transfer
function with respect to the CIC5 output rate for a decimation
of 4. The first plot is referenced to the input sample rate and
shows the complex spectrum from –fSAMP/2 to +fSAMP/2. The
second plot is referenced to the CIC5 output rate; the complex
spectrum ranges from –fSAMP5/2 to +fSAMP5/2. Aliased images in
CIC5 “fold back” toward the edge of the desired filter pass
band. It is the level of these aliases as they move into the desired
pass band that are of concern. The improved roll-off of CIC5
over CIC2 can be seen when these plots are compared to those
previously shown for CIC2.
–60
–80
–100
–120
–0.5
–0.4 –0.3 –0.2
–0.1
0
f/fSAMP5
Figure 38. CIC5 Alias Rejection, MCIC5 = 4
–24–
REV. A
AD6620
The set of plots below (Figure 39) represents a decimation of 32
in the CIC5 filter. It can be seen that the lobes of the filter drop
as the decimation rate increases, but the aliased frequencies
increase due to the reduction of the output rate.
0
The maximum number of taps this filter can calculate, NTAPS, is
given by the equation below. The value NTAPS minus 1 is written to the AD6620 internal address space at address 30C hex.
The decimation ratio of this filter, MRCF, may be programmed
from 1 to 32. The input rate into the RCF is fSAMP5. NCH is equal
to two for Diversity Channel Real Input mode; otherwise NCH = 1.
–20
NTAPS ≤
dBFS
–40
–60
–100
–0.2
–0.1
0
0.1
0.2
0.3
f/fSAMP
0
The RCF stores the data from the CIC5 into a 256 × 36 RAM.
256 × 18 is assigned to I data and 256 × 18 is assigned to Q data.
The RCF uses the RAM as a circular buffer, so that it is difficult
to know in which address a particular data element is stored. To
avoid start-up transients due to undefined data RAM values, the
data RAM should be cleared upon initialization. The RCF
utilizes the number of data RAM locations equal to NTAPS × NCH,
rounded up to the nearest even number, starting from address
0x100, so these are the only values that need be cleared.
–20
dBFS
–40
–60
–80
When the RCF is triggered to calculate a filter output, it starts
by multiplying the oldest value in the data RAM by the first
coefficient (located by the RCFOFF register in address 0x30B).
This value is accumulated with the products of newer data words
multiplied by the subsequent locations in the coefficient RAM
until the coefficient address RCFOFF + NTAPS–1 is reached.
–100
–120
–0.5
N CH
The RCF coefficients are located in addresses 0x000 to 0x0FF
and are interpreted as 20-bit twos complement numbers. When
writing the coefficient RAM, the lower addresses will be multiplied by relatively older data from the CIC5 and the higher
coefficient addresses will be multiplied by relatively newer data
from the CIC5. The coefficients need not be symmetric and the
coefficient length, NTAPS, may be even or odd. If the coefficients
are symmetric, then both sides of the impulse response must be
written into the coefficient RAM.
–80
–120
–0.3
f

× M RCF
min  CLK
, 256
fSAMP 5


–0.4 –0.3 –0.2
–0.1
0
0.1
0.2
0.3
0.4
0.5
f/fSAMP5
Figure 39. CIC5 Alias Rejection, MCIC5 = 32
Table V. Three-Tap Filter
RAM COEFFICIENT FILTER
The final signal processing stage is a sum-of-products decimating filter with programmable coefficients. Figure 40 shows a
simplified block diagram. The data memories I-RAM and Q-RAM
store the 256 most recent complex samples from the previous filter
stage with 18-bit resolution. The coefficient memory, C-RAM,
stores up to 256 coefficients with 20-bit resolution. On each
CLK cycle one tap for I and one tap for Q is calculated using
the same coefficients. The I and Q accumulators provide 3 bits
of headroom. This headroom allows the output of the RCF filter
to contain 23 significant bits.
IIN
256ⴛ18b
I-RAM
256ⴛ18b
Q-RAM
Impulse Response
Data
0
1
2 (NTAPS – 1)
h(0)
h(1)
h(2)
n(0) Newest
n(1)
n(2) Oldest
The output rate of this filter is determined by the output rate of
the CIC5 stage and MRCF.
fSAMPR =
QOUT
This register at address 30b hex allows the AD6620 to hold
multiple filters in the RAM. However, the sum of the taps
required may not exceed 256 divided by the number of channels. The RCF will compute the filter from RCF_OFFSET to
(RCF_OFFSET + NTAPS). A single access can then be used to
select which of the filters is used without requiring coefficients
be rewritten.
Figure 40. RAM Coefficient Filter Block Diagram
REV. A
fSAMP5
M RCF
RCF Coefficient Address Offset
IOUT
256ⴛ20b
C-RAM
QIN
Coefficient Address
–25–
AD6620
RCF Output Scale Factor
Table VI.
The scale factor associated with the RCF, SOUT, behaves differently than the scale factors in the CIC stages. This scalar, at the
RCF output, controls the weight of the 16-bit output data going
to the parallel port or to the serial port when using 16-bit words.
SOUT determines which of the 23 RCF output bits are used
based on the equation below. OLRCF is the 23-bit RCF output
data; POL represents the output port data. POL is rounded to
the 16 bits desired. The weight of the rounding is adjusted by
SOUT. When the serial port is used with 24-bit or 32-bit words,
SOUT is ignored.
POL = round16 bits (OLRCF × 2(4 – S
OUT
)
)
Another way to consider the effects of the RCF Output Scale
factor is discussed here. If both CIC scalars follow the previous
recommendations, the following chart can be used to determine
what value to use for the RCF scale factor. In order to determine
this, the “gain” of the impulse response must first be determined.
This can be done by integrating the coefficients used for the
RCF filter remembering to normalize the values against the fullscale input range of 219.
There are several possibilities when setting the “gain” of the
RCF coefficients. Following these guidelines will preserve at
least three bits in the sum of products registers.
1.
∑ h(n) = 1; 0 dB dc gain in RCF filter. Numeric wraparound
very unlikely. The RCF Scale factor should be nominally
set to 4.
2.
∑ h(n)
≤ 1 ; slight loss in RCF filter. Numeric wraparound
is impossible. The RCF Scale factor should be nominally
set to 4.
3.
∑ h(n) = m ; where the absolute value of m is a number less
than 1 and is scaled to account for losses elsewhere in the
system, such as conversion gain errors, attenuator losses or
CIC scaling errors. The gain should be scaled down to avoid
wraparound in the RCF process, however, then the RCF
Scale Factor can be adjusted up to increase the signal level.
The value of m can also be negative to account for an inversion through an amplifier. The RCF Scale factor should be
set where needed to produce the desired full-scale results
with a fully loaded receiver input signal.
The RCF Scale factor has the effect as shown in the following
table. Each successive gain step doubles or halves the overall
gain of the stage. Overall gain through the RCF stage is the
cascaded gain of the RCF Scale factor shown below and the
RCF coefficient gain discussed previously.
RCF Gain
RCF Scale Factor (Address 309h)
1/8
1/4
1/2
1
2
4
8
16
7
6
5
4
3
2
1
0
Gain through the RCF of the AD6620 is thus:
Gaincoefficients × Gain RCF
Unique B Operation
Unique B works in conjunction with dual channel mode. In this
mode, both the A and B channels can have different FIR coefficients. This can prove useful in many applications where each
signal path has known differences. Another option is that FIR
gain for one path could be different than the other. During
diversity selection, one path could be tailored for weak signals
and the other for strong signals, providing extra dynamic range.
To use the Unique B mode, set Bit 3 high in register 309h. This
will cause the internal state machine to use a different set of
coefficients for the B channel than the A. With Bit 3 set low for
normal operation, the FIR coefficient index is incremented only
after both the A and B channels are computed. However when
this bit is set high, the index is incremented after each A channel
and B channel computation. Therefore, filters are computed normally. When downloaded to the AD6620, they should be interleaved with the A channel terms occupying the even RCF
Coefficient locations and the B channel terms occupying the
odd locations. Both filters must be the same length and fit in the
allocated memory space.
With Unique B set to ‘0,’ the following table illustrates how the
coefficients are distributed.
Table VII.
Coefficient
Address
W(0)
W(1)
W(2)
W(3)
…
0
1
2
3
…
With Unique B set to ‘1,’ the following table illustrates how the
coefficients are distributed.
Table VIII.
–26–
Coefficient
Address
Wa(0)
Wb(0)
Wa(1)
Wb(1)
…
0
1
2
3
…
REV. A
AD6620
Filter Phase Synchronization
If the AD6620s to be synchronized have identical decimation,
then latency through the filter stages will be matched and output
data rates for the Sync master’s filter stages will match the corresponding filter stages of the slave.
Like the NCO, the AD6620 filter stages have phase synchronization circuitry enabling multiple AD6620s to be used in applications such as diversity antennas and phased array systems.
For any fSAMP, there are MCIC2 possible phases of fSAMP2 at the
output of the CIC2 stage. Similarly, at the output of the CIC5
stage, there are MCIC5 possible phases of fSAMP5. This means that
at the output of the CIC stages there is already MCIC2 × MCIC5
possible phases of the filtered data. Additional phase uncertainty
is introduced by decimation done in the RCF. At the output of
the AD6620 there are a total of MCIC2 × MCIC5 × MRCF possible
output phases of the data.
In diversity systems using multiple AD6620s, it is necessary to
ensure that the output of each AD6620 in the system is in phase.
A variety of system issues (e.g., not bringing the AD6620s on
line at the same time, excessive digital noise) could cause the
AD6620s to start out-of-phase or to drift out-of-phase as the
system runs. To achieve output phase coherence in such systems
the SYNC_CIC and SYNC_RCF pins are provided.
The function of these pins is controlled by the SYNC_M/S bit
in the Mode Control Register at address 300 hex of internal
address space. When the SYNC_M/S bit is high, SYNC_CIC
and SYNC_RCF provide synchronization pulses on the rising
edge of CLK. When the SYNC_M/S bit is low, SYNC_CIC and
SYNC_RCF accept external synchronization pulses sampled on
the rising edge of clock. This pulse edge synchronizes the CIC2,
CIC5 and RCF filter stages of all AD6620 in the chain.
Below is an example of the output SYNC pulse waveforms.
The SYNC_NCO pulse is not shown and is described in the
preceding NCO Synchronization section. Each SYNC_RCF
output pulse is concurrent with a SYNC_CIC pulse. The
SYNC_RCF output pulse can be connected to the SYNC_CIC,
and SYNC_RCF inputs of another AD6620 to achieve full
decimation synchronization.
CLK
SYNC CIC
SYNC RCF
Figure 41. SYNC Output Pulses
In the example above, MCIC2 = 3, and MCIC5 = 1 as evidenced
by the SYNC_CIC pulses that occur every 3 CLK cycles
(MCIC2 × MCIC5). MRCF = 3, resulting in SYNC_RCF pulses
that are one third as frequent as the SYNC_CIC pulses. In this
example full rate input timing is employed such that the input
data rate equals the clock rate.
REV. A
MASTER
SYNC CIC
SLAVE
MASTER
SYNC M/S
SYNC RCF
SLAVE
Figure 42. SYNC_CIC, SYNC_RCF Pins
The three SYNC inputs to the control block originate from the
same three bidirectional pads from which the three SYNC outputs are driven. When the AD6620 is a SYNC MASTER, the
internal circuitry that generates the SYNC pulse outputs is
enabled to the pads. When the AD6620 is a SYNC SLAVE, the
internally produced SYNC pulses are three-stated, and the pads
are driven from an external input. The capacitance on these pins
must be closely monitored since the master responds to the
same SYNC pulse as the slave (its own pulse). There is no input
requirement to the relative phases of these SYNC pulses. In the
absence of SYNC pulses each state machine will free run so the
latter decimation filters can be reliably synchronized by the
SYNC pulses of an earlier stage. However, when sync pulses are
provided externally, setup-and-hold times must be met for each
respective input.
CONTROL REGISTERS AND ON-CHIP RAM
The AD6620 provides a choice of two control ports. It has an
8-bit generic microprocessor port that is used for configuring
the device at boot up and dynamically reconfiguring the AD6620
in the system. It also has a synchronous serial port that can also
dynamically reconfigure the AD6620 for the desired system
operation. All control registers are available from both the serial
port and the microprocessor port. These control methods are
nonexclusive and the two ports can be used simultaneously. If
simultaneous access occurs, the serial port is given precedence
over the microprocessor port unless a micro cycle is already
under way. The microprocessor port deasserts the RDY signal
and waits until the serial access is completed for Mode 0. The
microprocessor port does not assert DTACK for Mode 1 until
the serial access is completed.
–27–
AD6620
Table IX. Control Register and RAM Addresses
Address
Bit Width
Name
Notation
000–0FF
100–1FF
200–27F
300
20
36
0
8
RCF Coefficient RAM
RCF Data RAM
Reserved
MODE CONTROL REGISTER
301
3
NCO CONTROL REGISTER
302
32
NCO SYNC CONTROL REGISTER
SYNC_MASK
303
304
305
32
16
8
NCO_FREQ
NCO PHASE_OFFSET
INPUT/CIC2 SCALE REGISTER
NCO_FREQ
306
307
8
5
MCIC2 – 1
CIC5 SCALE REGISTER
MCIC2 – 1
SCIC5
308
309
8
4
MCIC5 – 1
OUTPUT/RCF CONTROL REGISTER
MCIC5 – 1
SOUT
30A
30B
30C
30D
8
8
8
8
MRCF – 1
RCF ADDRESS OFFSET REGISTER
NTAPS – 1
Reserved (Should Be Written 0)
MRCF – 1
RCFOFF
NTAPS – 1
Description
RCF Coefficient RAM
RCF Data RAM
Reserved
0: SOFT_RESET1
1: Diversity Channel Real Input Mode
2: Single Channel Complex Input Mode
3: Sync Master/Slave2 (Master = 1,
Slave = 0)
7–4: Reserved
0: NCO Bypass (Bypass = 1, Active = 0)
1: Enable Phase Dither
2: Enable Amplitude Dither
7–3: Reserved
Write: Sync Mask Shadow
Read: Sync Mask
Channel Frequency for NCO Tuning
NCO Phase Offset
2–0: SCIC2
3: Reserved
4: ExpInv
7–5: : ExpOff
CIC2 Decimation Minus One
4–0: SCIC5
7–5: Reserved
CIC5 Decimation Minus One
2–0: Output Scale Factor
3: Unique B Flag (Normal Mode = 0,
Unique B Mode = 1)
7–4: Reserved
RCF Decimation Minus One
Filter Coefficient Address Offset
Number of Taps Minus One
Reserved (Should Be Written 0)
NOTES
1
This bit is set high on RESET. The chip is held into SOFT_RESET until it is written low.
2
This bit is set low on RESET. This keeps multiple AD6620 SYNC Masters from driving each other.
(0x000–0xFF) RCF Coefficient RAM
Memory that stores user-programmable coefficients for the RCF
filter. The RAM will hold 256 20-bit twos complement words
for a maximum filter length of 256 taps. In Diversity Channel
Real Mode the filter length is limited to 128 taps per channel.
The number of taps used is controlled by NTAPS–1 (30C) regardless of the number of coefficient locations programmed. If filter
size allows, more than one filter can be resident in the memory
at a time. This makes it possible to switch filters without reloading
all of the coefficients.
(0x100–0x1FF) RCF Data RAM
These locations store I and Q data exiting the CIC5 filter stage
while the RCF performs multiply accumulates. The lower 18
bits of the 36-bit location is I data; the upper 18 bits are Q data.
These locations are addressed in memory and are available via
the control ports so that the data RAM can be flushed for testing and simulation purposes. They are not cleared on reset.
(0x300) Mode Control Register
This location brings the chip out of reset and sets the operating
mode. It also specifies how the chip will use its SYNC pins: as
outputs while acting as a sync master, or as inputs while acting
as a sync slave. This is the only register with a defined power-up
state: on power-up, Bit 0 will be at a Logic “1.” This places the
chip in SOFT_RESET and defines the chip as a sync slave.
Powering up as a sync slave avoids contention problems when
connecting multiple AD6620s.
If Bit 0 is written low and Bits 2 and 1 are low, the AD6620 is in
Single Channel Real Mode. If Bit 1 is high and Bits 0 and 2 are
low, the device is in the Diversity Channel Real Mode. If Bit 2
is high and Bits 0 and 1 are low, the chip is in the Single Channel Complex Mode. Setting Bit 3 high configures the AD6620
as a SYNC master; the SYNC pins are then used as outputs. If
Bit 3 is low, it is a SYNC slave and the SYNC pins function
as inputs. Bits 7–4 are reserved and should be written low.
(0x301) NCO Control Register
This register allows control of special features of the NCO. If
Bit 0 of this register is high the NCO of the AD6620 is by-passed.
Both the I data and the Q data that are passed through the chip
will be the same and the Spectrum will not be translated. In
bypass the input data is attenuated by 12 dB.
–28–
REV. A
AD6620
The NCO has two features to improve the performance of some
systems: Phase Dither and Amplitude Dither. These can be used
together or alone. If Bit 1 of the register is high, Phase Dither is
activated. If Bit 2 is high, Amplitude Dither is activated. For
more information on dither refer to the NCO section.
(0x302) NCO SYNC Control Register
This holds the SYNC_MASK, which controls the frequency of
the SYNC_NCO pulses and therefore the phase accuracy of the
synchronization. See the NCO section for details.
(0x303) NCO_FREQ
This register holds the NCO frequency control word as described
in the NCO section. This is a 32-bit unsigned integer that sets
the frequency of the AD6620 NCO.
Bits 2-0 of this register hold the Output Scale Factor, SOUT.
These bits are interpreted as a 3-bit unsigned integer, the value
of which controls which of the 23 output bits of the RCF are
passed to the output port being used. The data output corresponds to the following equation where OLRCF is the 23-bit
output of the RCF and POL is the 16-bit data available at the
parallel output port or the serial port when 16-bit serial words
are used. The truncation function rounds the scaled 23-bit
number to 16 bits. SOUT is ignored when WL is 24 or 32 bits. In
most applications, this register should be set to 4 as an initial
starting value.
(4 – SOUT )
POL = round16bits(OLRCF × 2
(0x304) NCO PHASE_OFFSET
)
For additional details on determining RCF gain, see the RCF
Output Scale Factor section.
This register controls the phase offset of the NCO. It is also
described in detail in the NCO section and can be used to allow
for phase differences between multiple antennas receiving the
same carrier.
(0x305) INPUT/CIC2 Scale Register
This register holds the scale factor, SCIC2, for CIC2. SCIC2 scales
down the data before it is accumulated in CIC2. This avoids
register wrap-around in the twos-complement arithmetic and
eliminates the resulting spectral errors. SCIC2 is contained in Bits
2–0 of this register. It is treated as an unsigned integer between
0 and 6. Increasing SCIC2 shifts data down. For more details
refer to the section on the CIC2 filter.
Bit 3 of this register is used to control the Unique B feature of
the chip. When written low, the normal mode, the chip uses the
same FIR coefficients for both the A and B channels. However,
when the bit is set high, different coefficients are used for the A
and B channels. When Unique B mode is selected, the filter
coefficients should be interleaved with the A channel terms
occupying the even RCF Coefficient locations and the B channel terms occupying the odd locations.
Bits 7–4 of this register are reserved and must be written 0.
(0x30A) (MRCF – 1)
This register controls the amount of decimation in the RCF
filter stage. The value contained in this register is the RCF
decimation rate minus one. This is interpreted as an unsigned
8-bit integer, but due to limited number of taps and, therefore,
filtering power in the RCF filter accumulators this value should
be limited to 31 (decimation = 32).
The second function of this register is to scale the input data
from the Parallel Data Input port. This allows the AD6620 to
treat the floating point input data with considerable flexibility.
There are two parts of this function. The first is Bit 4, which
tells the AD6620 how to handle the exponent, EXP[2:0]. If this
bit is low, data is shifted down as the exponent increases. If this
bit is high, then for increasing EXP[2:0] the input data is shifted
up. The second part of the input data shifting is the Exponent
Offset(ExpOff[7 . . 5]) held in Bits 7–5 of this register. This provides gain to the input data as described in the Input Port section.
(0x30B) RCF Address Offset Register
This register controls the address offset used by the RCF to
calculate a given filter and is interpreted as an 8-bit unsigned
integer. It allows more than one filter to be placed in the Coefficient RAM. This makes it possible to switch filters without
reloading all of the coefficients. The RCF filter will compute
taps for all coefficients between RCFOFF and (RCFOFF + NTAPS)
provided that the decimation, CLK rate and input data rate
provide sufficient time for this.
(0x306) (MCIC2 – 1)
This register controls the amount of decimation in the CIC2 filter
stage. The value contained in this register is the CIC2 decimation rate minus one. This is interpreted as an unsigned 8-bit
integer but due to limited growth in the CIC2 filter accumulators this value should be limited to 15 (decimation = 16).
(0x30C) (NTAPS – 1)
(0x307) SCIC5
This register holds the scale factor, SCIC5, for CIC5. SCIC5 scales
down the data before it is accumulated in CIC5. This avoids
register wrap-around in the twos-complement arithmetic and eliminates the resulting spectral errors. SCIC5 is contained in Bits 4–0
of this register. It is treated as an unsigned integer between 0
and 20. Increasing SCIC5 shifts data down. For more details refer
to the section on the CIC5 filter.
(0x308) (MCIC5 – 1)
This register controls the amount of decimation in the CIC5
filter stage. The value contained in this register is the CIC5
decimation rate minus one. This is interpreted as an unsigned
8-bit integer, but due to limited growth in the CIC5 filter accumulators this value should be limited to 31 (decimation = 32).
REV. A
(0x309) Output/RCF Control Register
This register controls the number of taps calculated by the RCF.
The value in this register is interpreted as an unsigned integer
and is equal to the number of taps desired minus one. This filter
is not inherently symmetric and the number of coefficients placed
in the Coefficient RAM will be equal to the number of taps,
provided that only one filter at a time is loaded. No symmetry is
assumed and preaddition is not used. The total number of taps
for all filters must be less than 256 taps for Single Channel
Real mode, or less than 128 taps/channel for Diversity Channel
Real mode.
(0x30D) Reserved
Reserved, but must be written 0 for correct operation.
–29–
AD6620
PROGRAMMING THE AD6620
Initializing the AD6620
Dynamic Programming of the AD6620
Before the AD6620 can be used to down convert and filter the
channel of interest it must be configured for the job. First the
RESET pin should be pulsed low for a minimum of 30 ns and
should then be returned high. This HARD_RESET of the
AD6620 clears the CIC Accumulators as well as the NCO
Phase Accumulator. When RESET is brought high the AD6620 is
removed from the HARD_RESET condition. The AD6620 is
now in SOFT_RESET. In this state the Mode Control Register
at address 0x300 contains a “1” (Bit 0 is high). When the AD6620
is in SOFT_RESET, no data is accepted by the input data port
and no processing occurs. The serial port and parallel output
port is held inactive and the chip is defined as a SYNC slave to
avoid possible contentions on these pins. While the AD6620 is
in this condition it should be programmed by the process below.
It should be noted that this initialization must be performed via
the microprocessor port since the serial port is inactive.
1. If the AD6620 is being reinitialized without performing a
HARD_RESET, then address 0x300 should be written 1 to
place the AD6620 in SOFT_RESET. This allows the nondynamic registers to be programmed.
2. Program the Coefficient RAM of the AD6620 with the
desired FIR Filter. The address auto-increment feature can
be used to decrease the amount of time required to program
the Coefficients. This feature is described in detail in the
Microport Control section that follows.
Many attributes of the AD6620 may be altered dynamically as
the AD6620 processes the received data. This allows the receiver
to be adjusted during operation in order to achieve the maximum performance. The typical dynamic registers of the AD6620
are listed in the following table. To program the other registers
follow the steps described in the section titled Initializing the
AD6620. Technically all registers can be programmed dynamically, but adverse results may occur if registers other those listed
are written dynamically.
These addresses may be programmed via either the Microprocessor or the Serial Control Ports.
Table X. Dynamic AD6620 Registers
Address
Bit Width
Name
302
303
304
305
307
309
30B
32
32
16
8
5
4
8
NCO SYNC CONTROL REGISTER
NCO_FREQ
NCO PHASE_OFFSET
INPUT/CIC2 SCALE REGISTER
CIC5 SCALE REGISTER
OUTPUT/RCF CONTROL REGISTER
RCF ADDRESS OFFSET REGISTER
Registers 0x302, 0x303 and 0x304 allow the NCO of the AD6620
to be adjusted. The tuning frequency can be dynamically changed
for frequency hopping. The phase of the carrier can be adjusted
with address 0x304. The phase accuracy of the synchronization
can be changed with 0x302. Registers 0x305, 0x307, and 0x309
allow the user to dynamically control the gain of the AD6620 in
6 dB increments. This can be used to maximize the AD6620s
dynamic range for the signal being tuned at a particular instant.
Register 0x307 allows for AGC where the DSP does power
spectral estimation.
3. (Optional) The first piece of data out of the AD6620 is always
zero due to an output pipeline delay. There will also be a
start-up glitch on the output of the AD6620 due to possible
nonzero data in the I and Q data RAMS of the RCF filter.
These RAMS are not initialized by the HARD_RESET. If
this is a concern then the data RAMS should now be written
to zero. For efficiency the auto-increment feature can be
used as with the programming of the coefficient RAMs.
4. The Configuration Registers of the AD6620 are now programmed. First, address 0x300 should be written to set the
Operating Mode if Diversity Channel Real or Single Channel
Complex Modes are used. Bit 0 of this register should remain
high at this time. This will hold the SOFT_RESET condition.
The remaining configuration registers can now be programmed.
This should start at address 0x301 and continue to address
0x30D. This defines the operation of the NCO and filter stages.
In addition to dynamically writing to these registers, they may
also be read to verify program content. Care should be taken,
however, because reading some registers may affect normal chip
operation. In particular, reading from 303h the NCO frequency
will cause the phase accumulator to be reset via the SYNC_NCO
pulse if the AD6620 is running as a Sync master. If the device is
run as a Sync slave, then the phase accumulator is not reset.
Addresses 000h through 1FFh should not be read dynamically
as doing so will disrupt the internal state machine computing
the FIR taps. These locations may be read statically if needed.
5. The AD6620 is now ready to be removed from SOFT_RESET
and allowed to process data. This is done by writing address
0x300 to again set the desired mode of operation. This location should be set for SYNC MASTER or SYNC SLAVE
operation at this time. Bit 0 of this register is written low at
this time to remove the SOFT_RESET condition.
–30–
REV. A
AD6620
ACCESS PROTOCOLS
Write Pseudocode
The AD6620 external accesses may be performed through either
the Microprocessor Port or the Serial Port. The Microport and
the serial port both use a three-bit address and eight-bit data to
access these registers. The three-bit address provides access to
seven register locations (External Interface Registers). These
register locations are used to access the internal address space of
the AD6620 shown in the Control Register section. The seven
registers are the LAR (Low Address Register), the AMR (Address
Mode Register), and the five data registers (DR4–DR0).
void write_micro(ext_address, int data);
main();
{
/* This code shows the programming of the NCO frequency
register using the write_micro function as defined above. The
variable address is the External Address A[2:0] and data is the
value to be placed in the external interface register. The NCO
register is located at Internal Address = 0x303
*/
// holding registers for NCO byte wide access data
int d3, d2, d1, d0;
Table XI. External Interface Registers
A[2:0]
Name
Comment
000
001
010
011
100
101
110
111
Data Register 0 (DR0)
Data Register 1 (DR1)
Data Register 2 (DR2)
Data Register 3 (DR3)
Data Register 4 (DR4)
Reserved
Low Address Register (LAR)
Address Mode Register (AMR)
D[7:0]
D[15:8]
D[23:16]
D[31:24]
D[35:32]
Reserved
A[7:0]
1-0: A[9:8]
5-2: Reserved
6: Read Increment
7: Write Increment
// NCO frequency word (32-bits wide)
NCO_FREQ = 0xCBEFEFFF;
// write AMR
write_micro(7, 0x03);
// write LAR
write_micro(6, 0x03);
// DR4 is not needed because NCO_FREQ is only 32-bits, not
36
// write DR3 with high byte of 32 bit word (D[31:24]
d3 = (NCO_FREQ & 0xFF000000) >> 24;
write_micro(3, d3);
The internal address space is accessed using a 10-bit internal
address. Many of these address locations are more than a byte
wide and require multiple accesses to the seven External Interface Registers, which are each only 8 bits wide (only 4 bits of
DR4 are used). Accesses to these registers are accomplished
using the 3-bit address and 8-bit data lines the manner described
below. The source of these values depends on the control port
method used.
// write DR2 with high byte of 32 bit word (D[23:16]
d2 = (NCO_FREQ & 0xFF0000) >> 16;
write_micro(2, d2);
// write DR1 with D[15:8]
d1 = (NCO_FREQ & 0xFF00) >> 8;
write_micro(1, d1);
All internal accesses are accomplished by first writing the internal address of the register or memory location to be accessed.
The lower eight address bits are written to the LAR register
and the upper two address bits to the LSBs of the AMR. This
defines the internal address of the location to be accessed as
shown in the memory map shown in the Control Registers and
On-Chip RAM section.
Internal Write Access
Up to 36 bits of data (as needed) can be written by the process
described below. Any high order bytes that are needed are written to the corresponding data registers defined in the external
3-bit address space. The least significant byte is then written to
DR0 at address (000). When a write to DR0 is detected, the
internal microprocessor port state machine then moves the data
in DR4–DR0 to the internal address pointed to by the address
in the LAR and AMR.
REV. A
// write DR0 with D[7:0]
// Writing to DR0 causes all data to be transferred to the
internal address.
//Therefore, DR1, DR2 and DR3 should already be written
d0 = NCO_FREQ & 0xFF;
write_micro(0, d0);
} // end of main
Internal Read Access
A read is performed by first writing the LAR and AMR as with a
write. The data registers (DR4–DR0) are then read in the reverse
order that they were written. First, the least significant byte of
the data (D[7:0]) is read from DR0. On this transaction the
high bytes of the data are moved from the internal address
pointed to by the LAR and AMR into the remaining data registers (DR4–DR1). This data can then be read from the data
registers using the appropriate 3-bit addresses. The number of
data registers used depends solely on the amount of data to be
read or written. Any unused bit in a data register should be
masked out for a read.
–31–
AD6620
Read Pseudocode
int read_micro(ext_address);
main();
{
/* This code shows the reading of the NCO frequency register
using the read_micro function as defined above. The variable
address is the External Address A[2..0] and data is the value to
be placed in the external interface register. The NCO register is
located at Internal Address = 0x303.
*/
// holding registers for NCO byte wide access data
int d3, d2, d1, d0;
// NCO frequency word (32-bits wide)
// write AMR
write_micro(7, 0x03 );
// write LAR
write_micro(6, 0x03);
/* read D[7:0] from DR0, All data is moved from the Internal
Registers to the interface registers on this access. Reading
should be initiated with a read from DR0. Therefore, DR1,
DR2 and DR3 can be read after DR0 */
d0 = read_micro(0) & 0xFF;
// read D[15:8] from DR1
d1 = read_micro(1) & 0xFF;
// read D[23:16] from DR2
d2 = read_micro(2) & 0xFF;
// read D[31:24] from DR3
d3 = read_micro(3) & 0xFF;
// DR4 is not needed because NCO_FREQ is only 32-bits
// Assemble 32-bit NCO_FREQ word from the 4 byte
components
NCO_FREQ = d0 + (d1 << 8) + (d2 << 16) + (d3 << 24);
} // end of main
Auto Increment Feature
To increase throughput, an auto increment feature is provided.
This feature is controlled by Bits 6 and 7 of the AMR. If these
bits are set to 00, the address remains the same after an internal
access. If set to 01, the address is incremented after a read access
has been performed. If set to 10, the address is incremented
after a write access is performed. If set to 11, the address is incremented after each access, read or write. This allows the AD6620
to be initialized in a much shorter time since the access to the
LAR and AMR must occur only once to initialize or read-back
the entire device.
MICROPORT CONTROL
External reads and writes are accomplished in one of two modes
via the Microprocessor Port. The CS, RD (DS), RDY (DTACK),
WR (R/W) and MODE pins are used to control the access. The
specific function of these pins depends on whether the access is
MODE 0 or MODE 1. The Mode 1 signal names are those
listed on the pinout. The access mode is controlled by the
MODE input as described in the following sections.
Table XII. Microprocessor Control Signals
MODE 0
MODE 1
A[2:0] (Address Lines)
D[7:0] (Data Lines)
CS (Chip Select)
RD (Read Strobe)
WR (Write Strobe)
RDY (Ready Signal)
MODE (Mode Select)
A[2:0] (Address Lines)
D[7:0] (Data Lines)
CS (Chip Select)
DS (Data Strobe)
R/W (Read/Write Select)
DTACK (Data Acknowledge)
MODE (Mode Select)
The Microport is synchronous with the master clock (CLK) of
the AD6620, but the interface is not required to be. If the speed
of the interface is significantly slower than CLK, synchronicity
should not be an issue. If the interface is relatively fast compared to CLK, the user may need to synchronize the Microport
to CLK or add wait states to the controlling processor. The
timing diagrams show the relationship of the control signals to
clock and the user should use these as a guide to implement a
Microport interface.
–32–
REV. A
AD6620
is accessing the chip, the RDY line goes low at the start of
the access. When the internal cycle is complete the RDY line
is released.
Mode = 0
If MODE is low during the access, the interface is in Mode 0.
In Mode 0 the CS, RD and the WR lines control the access
type. While an access is being performed, or if the serial port
t DD
CLK1
N
N+1
t HC
N+2
N+3
N+4
N
WR2
t SC
RD2
t HC
CS3
t ZD
t ZR
DATA VALID
D[7:0]
t HA
t SAM
A[2:0]
ADDRESS VALID
t RDY
t RDY
RDY1
NOTES:
1 RDY IS DRIVEN LOW ASYNCHRONOUSLY BY RD AND CS GOING LOW AND RETURNS HIGH ON THE RISING EDGE
OF CLK "N+3" FOR INTERNAL ACCESS (A[2:0] = 000), CLK "N+2" OTHERWISE.
2 THE SIGNAL, WR, MAY REMAIN HIGH AND RD MAY REMAIN LOW TO CONTINUE READ MODE.
3 CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+4 SHOWN) TO COMPLETE READ.
Figure 43. Mode 0 Read (MODE = GND)
t HC
t SC
CLK1
N
N+1
N+2
N+3
WR2
RD2
t SC
t HC
CS3
t SAM
t HM
DATA VALID
D[7:0]
t HA
t SAM
ADDRESS VALID
A[2:0]
t RDYH
t RDYL
RDY
NOTES:
IS DRIVEN LOW ASYNCHRONOUSLY BY WR AND CS GOING LOW AND RETURNS HIGH ON THE
RISING EDGE OF CLK "N+2".
2 THESE SIGNALS (R/W AND DS) MAY REMAIN IN LOW STATE TO CONTINUE WRITING DATA.
3 CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+3 SHOWN) TO COMPLETE WRITE.
*THE NEXT WRITE MAY BE INITIATED ON CLK, N.
1 RDY
Figure 44. Mode 0 Write (MODE = GND)
REV. A
–33–
N*
AD6620
mode the DTACK signal goes low when data is available during
a read or when data has been latched during a write. The DTACK
signal stays low until the DS signal is released.
Mode = 1
If the MODE input is held high the interface is in Mode 1. In
Mode 1 the RD signal becomes the data strobe (DS) and the
WR signal becomes a read/write (R/W) select signal. In this
t DD
N
CLK1
N+1
t HC
N+3
N+2
N+4
N
t SC
R/W2
DS2
t SC
t HC
CS3
t ZD
t ZR
DATA VALID
D[7:0]
t SAM
t HA
A[2:0]
ADDRESS VALID
t DTACK
t DTACK
DTACK
NOTES:
1 DTACK IS DRIVEN LOW ON THE RISING EDGE OF CLK "N+3" FOR INTERNAL ACCESS (A[2:0] = 000),
CLK "N=2" OTHERWISE.
2 THE SIGNAL, R/W MAY REMAIN HIGH AND DS MAY REMAIN LOW TO CONTINUE READ MODE.
3 CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+4 SHOWN) TO COMPLETE ACCESS
AND FORCE DTACK HIGH.
Figure 45. Mode 1 Read (MODE = VDD)
t SC
CLK1
t HC
N
N+1
N+3
N+2
N*
R/W2
DS2
t SC
t HC
CS3
t SAM
D[7:0]
t HM
DATA VALID
t SAM
A[2:0]
t HA
ADDRESS VALID
t DTACK
DTACK
t DTACK
NOTES:
1 ON RISING EDGE OF "N+3" CLK, DTACK IS DRIVEN LOW.
2 THESE SIGNALS (R/W AND DS) MAY REMAIN IN LOW STATE TO CONTINUE WRITING DATA.
3 CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+3 SHOWN) TO COMPLETE WRITE
AND FORCE DTACK HIGH.
*THE NEXT WRITE MAY BE INITIATED ON CLK, N*
Figure 46. Mode 1 Write (MODE = VDD)
–34–
REV. A
AD6620
SERIAL PORT CONTROL
In addition to providing access to the complex output data stream
of the AD6620, the Serial Port can also be used for Dynamic
Control of the device. The dynamic registers of the AD6620
that are typically programmed while the chip is processing are
listed in the table below. In order to use the serial port control,
the chip must first be booted using the microprocessor interface.
Table XIII. Dynamic Registers
The data is contained in the low byte of the 16 significant bits.
This data will be placed into the external interface register
pointed to by A[2 . . 0] for a write and will be ignored for a read.
Serial Port Writes
If the WRITE bit is high and the READ bit is low then a write
access is performed to the external interface register pointed to
by A[2 . . 0]. A write to an internal register takes place by first
writing the AMR and LAR. The data registers DR4–DR1 are
then written as needed. A final write to DR0 then moves the
data to the internal register.
Address
Bit
Width
Name
300
302
303
304
305
307
309
30B
8
32
32
16
8
5
4
8
MODE CONTROL REGISTER
NCO SYNC CONTROL REGISTER
NCO_FREQ
NCO PHASE_OFFSET
INPUT/CIC2 SCALE REGISTER
CIC5 SCALE REGISTER
OUTPUT/RCF CONTROL REGISTER
RCF ADDRESS OFFSET REGISTER
If the READ bit is high, then a read to the register indicated is
performed and the data will appear in the RDATA word appended
to the serial frame. The internal data read is loaded into the
serial data word in FIFO fashion. The first byte read is loaded
into the first eight bits, the second read during the frame is
loaded into the second byte, etc. Since the serial data is shifted
MSB first, the first byte will actually be loaded into the most
significant byte of the serial data word.
The internal address and data structure are shared between
the microprocessor port and the serial port. When accessing
the internal RAM or registers, the serial port is given priority
over a microprocessor request. If a Mode 0 access occurs on
the microport while the serial port is accessing the internal address
space, the RDY line will go low and stay low until the serial
access has been completed. If a Mode 1 access occurs on the
microport during a serial access, the DTACK signal will not go
low until the serial access has been completed. The microport is
used for booting the AD6620 and either the microport or the
serial port can be used to dynamically change the system parameters. Both ports may be used in the same design provided that
the handshaking rules described above are observed.
During a frame (the period between SDFS rising edges) up to
four reads may occur. When a read is requested through the
serial port, a data word is appended to the end of the serial string.
Even if AD is not asserted (see below for AD description) a word is
added to the end of the IQ data stream. Therefore, if the chip is
in single channel mode, the I and Q data are sent followed by a
read word. If the chip is in diversity channel mode, the IQ pairs
are followed by a read word. Thus the serial port responds with
either three or five serial words in a frame, respectively. If AD is
asserted, the read word is sent each frame regardless of a request. If
no requests are made, the appended word is all zeros.
Serial Port Reads
For each word shifted out of the serial port there is a word
shifted in. Each input word can provide one internal access. Each
access can be a read or a write. All reads and writes are performed via the same 8-bit registers used by the microprocessor
port. Each bit in the SDI words has a predefined meaning and
are used to decode which of these registers are being accessed
and whether the access is a read or a write. The bits are defined
according to the table below.
The number of reads accomplished in a frame is limited by the
serial word length. If the serial word length is 16 bits, only two
reads can be performed during a frame. If the serial word length
is 24 bits, three reads can occur in a frame. If the serial word
length is 32 bits, then up to four reads can occur in a frame.
The RDATA word format is shown below. Rows three and four
will not be present when 16-bit words are used, and row four
will not be present when 24-bit words are used.
Table XV. RDATA Word Definition
Table XIV. SDI Input Word Definition
DA7
DA6
DA5
DA4
DA3
DA2
DA1
DA0
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
READ
WRITE
x
x
x
A2
A1
A0
DC7 DC6
DC5
DC4
DC3
DC2
DC1
DC0
D7
D6
D5
D4
D3
D2
D1
D0
DD7 DD6
DD5
DD4
DD3
DD3
DD1
DD0
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Only the first 16 bits of the SDI word contain significant data
regardless of the serial word length. The first two bits shifted in
are the READ and WRITE indicator signals. These bits control
the access type as described below and should not be asserted
simultaneously. If the Serial Port is not used for control then the
SDI pin should be tied low to disable register reads and writes.
The three address bits are the three least significant bits of the
upper byte in the 16-bit word. These three bits A[2:0] define
which of the seven external registers are accessed by the serial
port according to Table XI.
REV. A
The number of words in the serial frame depends on the operating mode of the chip (one or two I/Q pairs) and whether or not
a read access occurs. It also depends on the Append Data pin,
AD. When this signal is asserted, then the RDATA word is
appended to the Serial Frame regardless of whether or not a
read was performed in the frame. This allows time-slotted systems where multiple AD6620s or other devices share a serial
port of a DSP without hardware handshakes. When AD is
high and there has not been a read during the active frame,
the RDATA word is driven low and SDFE is held off for another
serial word length.
At all times, the serial interface must have time to shift all bits.
The section below Serial Port Guidelines should be consulted to
determine if sufficient time exists.
–35–
AD6620
Example of Serial Port W/R Operation
SCLK
The example shown below demonstrates writing and reading
from the AD6620. For this example, the chip is set up in diversity channel real mode. Therefore, there four data words (two Is
and two Qs) are generated as receiver data. Thus four commands
can be shifted into the SDI port. These are shown below. Additionally, the chip is configured with a word length of 16 bits.
The AD6620 response with five words per frame (two Is, two
Qs and the appended read word).
SCLK is an output when SBM is high; SCLK is an input when
SBM is low. In either case the SDI input is sampled on the
falling edge of SCLK, and all outputs are switched on the rising
edge of SCLK. The SDFS pin is sampled on the falling edge of
SCLK. This allows the AD6620 to recognize the SDFS in time
to initiate a frame on the very next SCLK rising edge. The maximum speed of this port is 33.5 MHz or half of the master CLK
signal, whichever is lower. Care should be taken with this signal.
Even when the AD6620 is selected as a serial bus master, reflections on this line will cause the output shifters to ‘double shift’
output data causing corrupt serial data. If this signal is going to
a back plane of more than several inches, the line should either
be buffered or be matched to the impedance of the back plane.
See the Applications section of this data sheet for information
on driving the transmission lines.
Table XVI. SDI Data Format
A-I
A-Q
B-I
B-Q
Append
SDO
XXXX
XXXX
XXXX
XXXX
0AXX
SDI
4703
4600
80XX
4603
XXXX
The table above shows the serial output bits for this configuration. As the I and Q data are being shifted out, the SDI pin is
telling the chip what data to return during the appended data
field. During the A-I portion of the frame, the hex word 4703 is
shifted into the chip. Breaking this word down, the command
instructs the AD6620 to write an ‘03’ into the AMR register.
The next word, 4600, writes a ‘00’ into the LAR. Therefore, the
chip is so configured that the next command will either read
from or write to internal memory space ‘300’ hex, the Mode
Control Register. The next word on the SDI pin is 80XX. This
indicates a read from DR0. Note that the second half of the read
word is ignored. During the B-Q word, another read or write
can be set up. In this case, 4603 changes the internal memory to
point to ‘303,’ the NCO frequency, thus setting up subsequent
access of this register. Now during the append data frame, the
AD6620 sends any read words that are pending due to read
requests. In this case, the contents of register ‘300.’ Since the
chip is in single channel complex mode and running, the chip
responds with ‘0AXX.’ ‘0A’ indicates that the chip is in diversity channel real mode and running as a Sync master. The ‘XX’
is indeterminate and would have been the results of a second
read if one had been requested.
PAR/SER
The Serial Port shares pins with a Parallel Output Port. These
pins are arbitrated by the PAR/SER pin. In order to operate the
chip with the Parallel Output Data Port PAR/SER must be high
while RESET is brought high. For Serial Port operation, PAR/
SER must be held low while RESET is brought high. PAR/SER
should remain valid while the AD6620 is processing (should
only be changed in RESET). PAR/SER should be hardwired on
a given design.
SBM
SDI
Serial Data Input. Serial Data is sampled on the falling edge of
SCLK. This pin is used to write the internal control registers of
the AD6620 or to write the address of an internal location to be
read. These activities are described later in the Serial Frame
Structure section. If this pin is not used to write data into the
control port it should be tied low.
SDO
Serial Data Output. Serial output data is switched on the rising
edge of SCLK. On the very next SCLK cycle after an SDFS,
the MSB of A channel: I data is shifted. On every subsequent
SCLK edge a new piece of data is shifted out on the SDO pin
until the last bit of data is shifted out. The last bit of data
shifted is A channel: Q data in either of the Single Channel
Modes or the B channel: Q data in the Diversity Channel Real
Data. SDO is three-stated when the serial port is outside its
time-slot. This allows the AD6620 to share the SDI of a DSP,
with other AD6620s. In order to ensure that the three-state
condition of this pin does not cause a problem there should
either be a bus holder on this signal or there should be a weak
pull-down resistor placed on it. This will ensure that the SDO
pin is always in a valid logic state.
SDFS
SDFS is the Serial Data Frame Sync signal. SDFS is an output
when SBM is high; SDFS is an input when SBM is low. SDFS
is sampled on the falling edge of SCLK. When SDFS is sampled
high, the AD6620 serial port will become active on the next
rising edge of SCLK for a complete serial time-slot. When SBM
is high SDFS will pulse high for one SCLK cycle before an
active serial time-slot is to be initiated and a transfer will begin
immediately on the next rising edge of SCLK. When used as a
serial slave, the SDFS pin must not receive more than one SDFS
per frame. As with SCLK, care should be taken with this signal.
Even when the AD6620 is selected as a serial bus master, reflections on this line can cause erratic framing results. If this signal
is going to a back plane of more than several inches, the line
should either be buffered or be matched to the impedance of the
back plane. See the applications section of this data sheet for
information on driving the transmission lines.
Serial Bus Master. When SBM is high, the AD6620 generates
SCLK and SDFS. When SBM is low, the AD6620 accepts
external SCLK and SDFS signals. When configured as a bus
master the SCLK signal can be used to strobe data into the DSP
interface. When used with another AD6620 in Serial Cascade
Mode, SCLK can be taken from the master AD6620 and used
to shift data out from the cascaded device. In this situation SDFS
of the Cascaded AD6620 is connected to the SDFE pin of the
master AD6620. When an AD6620 is in Serial Cascade Mode,
SDFE
all of the serial port activities are controlled by the external
Serial Data Frame End output. SDFE will go high during the
signals SCLK and SDFS.
last SCLK cycle of an active time-slot. The SDFE output of a
master AD6620 can be tied to the input SDFS of an AD6620 in
Regardless of whether the chip is a Serial Bus Master or is in
Serial Cascade Mode in order to provide a hardwired time-slot
Serial Cascade Mode, the AD6620 Serial Port functions are
scenario. When the Last Bit of SDO data is shifted out of the
identical except for the source of the SCLK and SDFS pins.
REV. A
–36–
AD6620
Master AD6620, the SDFE signal will be driven high by the
same SCLK rising edge that this bit is clocked out on. On the
falling edge of this SCLK cycle, the Cascaded AD6620 will
sample its SDFS signal, which is hardwired to the SDFE of the
Master. On the very next SCLK edge, A channel: I data of the
Cascaded AD6620 will start shifting out of the port. There will
be no rest between the time-slots of the master and slave.
as a means of programming the part, some extra serial bandwidth
may also be required to shift data from the internal registers of
the AD6620. There must be two or more or zero high speed
clocks between serial frames. When used as a serial bus master
SCLK can run at a maximum rate of half the processing CLK.
In serial slave mode, the serial clock can be run up to 67 MHz.
The equations below help determine what the minimum serial
clock rate must be in order to insure that data is not lost.
WL[1:0]
WL defines the Word Length of the serial data stream. The
possible options are 00–16 bit words, 01–24 bit words, 10–32 bit
words and 11–Undefined. This setting controls the width of all
serial words. All words are shifted MSB first and are left justified,
i.e., the first n-bits are valid and any padding that is needed
to fill the word length is added at the end. When the serial word
length is 24 or 32 bits, the I and Q output data is presented with
23-bit resolution.
Table XVII. Setting Serial Word Length
Serial Word Length
WL1
WL0
16-Bit
24-Bit
32-Bit
Disallowed
0
0
1
1
0
1
0
1
fSCLK ≥
fSAMP × WL × (2 × N CH + RD )
MTOT
MTOT = MCIC2 × MCIC5 × M RCF
RD = 1 if AD is asserted or if read operations are used from the
serial port: otherwise RD = 0. This term accounts for the bandwidth consumed when data is read from the internal control
registers or memory.
JTAG BOUNDARY SCAN
The AD6620 supports a subset of IEEE Standard 1149.1
specifications. For additional details of the standard, please see
“IEEE Standard Test Access Port and Boundary-Scan
Architecture,” IEEE-1149 publication from IEEE.
AD
Append Data signal. In Single Channel Real Mode, when AD is
low the serial data stream consists only of A channel: I and Q
data. If the AD6620 is in Diversity Channel Real Mode, the
serial frame is four words long and consists of both A and B
channel complex data. When the AD signal is high, an extra
serial word is appended to the Serial Frame. This word consists
of any data that is read from the AD6620 internal registers via
the Serial Port. If a Read has not occurred, the data in this word
is zero. The addition of this word allows a Serial System to be
designed so that any AD6620 can have data read at any time
without changing the fixed timing of the serial port.
The AD6620 has five pins associated with the JTAG interface.
These pins are used to access the on-chip Test Access Port
(TAP) and are listed in the table below.
Table XVIII.
Pin Name
Description
TRST
TCLK
TMS
TDI
TDO
TAP Reset
Test Clock
TAP Mode Select
Test Data Input
Test Data Output
The AD6620 supports four op codes as shown below. These
instructions set the mode of the JTAG interface.
If the serial transfer includes a register read, the register data is
appended to the serial frame regardless of the state of the AD pin.
Table XIX.
SDIV[3:0]
When the AD6620 is used as a Serial Bus Master the chip generates a serial clock by dividing down the CLK signal. The
divider ratio is set by the serial division word, SDIV. SDIV is
interpreted as a 4-bit unsigned integer and determines the frequency of the serial clock when the SBM pin is pulled high.
When the AD6620 is in Serial Cascade Mode these bits are
ignored. The following equations express the Serial Clock Frequency as a function of the CLK signal and the SDIV nibble.
fSCLK =
fSCLK =
Op Code
IDCODE
BYPASS
SAMPLE/PRELOAD
EXTEST
01
11
10
00
The Vendor Identification Code can be accessed through the
IDCODE instruction and has the following format.
fCLK
, SDIV = 0
2
Table XX.
MSB
Version Part Number
fCLK
, SDIV ≠ 0
2 × SDIV
0000
Serial Port Guidelines
The serial clock, SCLK, must be run at a rate sufficient to clock
all of the serial data out of the port before new data is latched
into the internal I and Q data registers. See the Serial Output
Data Port section for more details. If the serial port is to be used
REV. A
Instruction
Manufacturing ID #
0010 0111 0111 1110 000 1110 0101
LSB
Mandatory
1
A BSDL file for this device is available from Analog Devices,
Inc. Contact Analog Devices, Inc. for more information.
–37–
AD6620
APPLICATIONS
EVALUATION BOARD
An evaluation board is available for the AD6620. This evaluation board comes complete with an AD6620 and interfaces to a
PC through the printer port. The evaluation board comes complete with software to drive the evaluation board and to design
optimized filters for use with the AD6620. The evaluation board
includes a high speed data interface that mates directly with
evaluation boards for high performance converters such as the
AD6600 and AD6640, allowing digital receivers to be breadboarded with only an external RF/IF converter and an interface
to the DSP.
The control software allows access to all of the internal registers
to provide complete programming of the device in a lab setting.
The software can process high speed data as well as digitally
filtered data from the AD6620 allowing analysis of both pre and
post filter channel characteristics. The controlling software can
also be used to verify the filter performance by sweeping the NCO,
greatly simplifying verification of any given filter design.
decimation rates for the CIC filters must then be selected such
that their performance is near that of the desired channel requirements. Finally, an algorithm such as the Parks-McClellan or
Remez exchange is used to compute the final spectral requirements, including droop correction for passband loss of the CIC
filters. If the designed filter meets the requirements, then the
filter is acceptable. If not, another combination of CIC filter
decimation must be examined. Tables III and IV greatly simplify
distribution and selection of CIC requirements. The filter
software available from Analog Devices helps to automate
this procedure.
NO
SELECT FILTER
REJECTION
REQUIREMENTS
SELECT
DECIMATION
RATE FOR CIC2
DOES CIC2 FILTER YES
PROTECT ENOUGH
BANDWIDTH?
SELECT
DECIMATION
RATE FOR CIC5
DOES CIC5 FILTER
PROTECT ENOUGH
NO
BANDWIDTH?
LATCH
HI SPEED
DATA
LATCH
AD6620
HEADER
LATCH
YES
DESIGN RCF WITH
REMEZ EXCHANGE
FIFO
LATCH
NO
DOES COMPOSITE
FILTER PROVIDE
THE DESIRED
RESULTS?
YES
TRANSCEIVER
Figure 48. Diagram of Filter Design Software
PC PRINTER PORT
SERIAL BUFFERING
Figure 47. Evaluation Board Block Diagram
As shown in the block diagram below, the high speed data into
the evaluation board is sent to both the AD6620 and the by-pass
latches. On the output of the AD6620, data is available in either
serial or parallel mode. In serial mode, data may be sent directly
to a DSP for system bread-boarding. In parallel mode, the data
may be sent to the on-board FIFO for spectral analysis by the
included software. For additional information, refer to the evaluation board manual.
FILTER DESIGN
The AD6620 implements a pair of cascaded CIC filters with a
sum of products FIR filter. The frequency characteristics of the
CIC filters have already been documented. Additional reading
on this class of filters can be found in “An Economical Class of
Digital Filters for Decimation and Interpolation,” by Eugene B.
Hogenauer, IEEE Transactions on Acoustics, Speech, and Signal
Processing, Volume ASSP-29, Number 2, April 1981.
AD6620
The characteristics of the FIR filter are fully programmable.
The coefficients of this filter may be generated in any number
of ways, using standard procedures such as Parks-McClellan.
Available software from Analog Devices that assists in the design
of filters for this product. This software allows comparison
between different distributions of decimation. The software
works independently of the evaluation board, but easily allows
transfer of design data directly to the evaluation board for
immediate verification of the designed filter.
The normal procedure for designing a filter for the chip is as
shown in the flow chart. First, the desired characteristics must
be determined based on the receive channel requirements. The
The AD6620 serial outputs are designed to operate at very high
speed. As such, care must be taken when driving the serial output
lines. These high speed lines must be treated as transmission
lines. Critical lines include the SCLK, SDFS, SDFE, SDI and
SDO. It is recommended that these lines be series source terminated with the characteristic impedance of the driven line. If the
lines are longer than a few inches, digital line buffers should be
used as shown below. Buffering in this manner will prevent
reflections on the serial lines from disrupting operation of the
AD6620. A good reference on transmission lines is found in the
“MECL System Design Handbook” by Motorola Inc., Stock
code HB205R1/D.
SCLK
SCLK
SDO
SDO
SDFS
SDFS
Figure 49. Serial Line Buffering and Series Source
Termination
DSP/SHARC INTERFACING
With little effort, the AD6620 will interface to nearly all industry standard DSPs, as shown in the figure below. The figures
below show operation in TDM applications as well as in serial
slave mode.
In TDM mode the first AD6620 is configured to be the master.
This chip is the first to access the serial data bus. When the
master has data available in its output shifters, it generates an
SDFS telling the DSP that serial data will follow. At this point,
–38–
REV. A
AD6620
the SDO of the master AD6620 takes control of the SDO line
and begins shifting data out of the device. When all data has
been shifted, the master raises the SDFE on the last shifted.
This signals the next chip (slave) that on the next cycle of the
clock it should take control of the SDO line and begin shifting
data to the DSP. When the second AD6620 completes its shift,
it raises its SDFE to signal the next chip in the chain, if present.
If additional devices are connected to the chain, this would be
used to indicate they should take control on the next clock cycle.
This application does not have a third device and therefore, the
frame would end.
Software for Single Channel Real Operation
Normally in an application with a single AD6620, the AD6620
would be configured as the serial bus master. However, there
are applications where the DSP or other device may be the serial
bus master. In this case, the diagram below illustrates how to
configure the AD6620 so that it may be used in this mode. In
order to use this in a meaningful application, the DSP must
know when the AD6620 has new data available on its output. If
the DSP polls the AD6620 too early, either old data will be present
or the data could be in an indeterminate state. To prevent this,
the AD6620 has an output pin DVOUT that signals the DSP
when new data is available. This should be tied to an interrupt
line of the DSP that is edge-sensitive, as the DVOUT line is only
valid for two or four high speed clock cycles depending on the
mode of the chip. The DSP may then invoke an interrupt service
routine to handle the data, see text below. In this application,
the DSP is responsible for generating the framing and clocking
signals to the AD6620 as shown in Figure 51.
2
WL
4
AD
SCLK
DT
SDI
AD6620
SDO
DR
SDFS
RFS
/* —————————————————————————————*/
/* multi-channel register setup */
.SEGMENT/DM dm_data;
.VAR fm_demod_data[2];
sample */
/* —————————————————————————————*/
/* —————————————————————————————*/
/* Subroutine to setup sport1 for use with the AD6620 */
DSP
SDFE
SBM
+3.3V
2
WL
4
AD
/* Array for receiving 1 real and imag
.VAR fm_demod_tcb[8] = 0, 0, 0, 0, fm_demod_data+7, 2, 1,
fm_demod_data;
/* Transfer Control Block for reception of fm data */
setup_sport1:
r0 = 0;
dm(MTCS1) = r0;
SDIV
SCLK
When interfacing Analog Device’s SHARC DSP, the following
code fragments can be used to configure the SHARC. The first
example shows how to configure the registers for use with a single
channel application. The first segment of code defines the memory
for use with the multichannel serial port data. The second segment
of code sets up the serial port for receiving data only. It could
have just as easily been set up for bidirectional data by properly
setting the MTCSI register. The final two code segments are used
when a serial port interrupt occurs. When the SHARC detects
completion of the serial port frame, an interrupt is generated
and the final code segment is executed. The comments in that
section show where user code should be inserted. The SHARC
takes care of moving the serial port buffers data directly to data
memory as shown.
SDIV
/* multi-channel enable setup */
/* do not transmit on any channels */
r0 = 0;
dm(MTCCS1) = r0;
dm(MRCCS1) = r0;
/* Compand Setup */
/* no companding on transmit */
/* no companding on receive */
r0 = 0x00100000;
dm(STCTL1) = r0;
/* Setup sport 1 transmit control register */
/* mfd = 1 */
r0 = 0x038c20f2;
dm(SRCTL1) = r0;
/* Setup sport 1 receive control register */
/* slen = 15, sden & schen enabled */
/* sign extend, external SCLK+RFS */
SCLK
SDI
AD6620
CASCADE
SDO
SDFS
10k⍀
r0 = fm_demod_tcb + 7; /* TCB address */
dm(CP1) = r0;
/* Kickoff DMA chain */
10k⍀
SDFE
SBM
Figure 50. Dual AD6620s Using the Serial Bus in a TDM
Application
2
WL
4
AD
SDIV
SCLK
SCLK
DT
SDI
AD6620
SDO
DR
SDFS
SDFE
SBM
DVOUT
DSP
RFS
10k⍀
10k⍀
rts (db);
bit set imask SPR1I;
nop;
/* RETURN */
/* enable sport1 receive interrupt */
/* —————————————————————————————*/
spr1_svc:
jump spr1_asserted;
RTI;
RTI;
RTI;
/* —————————————————————————————*/
/* —————————————————————————————*/
/* Process received data here. Data samples located in fm_demod_data
and fm_demod_data+1
IRQ
spr1_asserted:
push sts;
/* Push the status stack */
Figure 51. AD6620 Configured as a Serial Slave
/* Use secondary set of DAGs and Register file */
REV. A
–39–
AD6620
bit set mode1 SRD1H | SRD2L | SRRFH | SRRFL;
nop;
/* Insert code here to process I and Q data. The DSP serial port handler
has placed the samples in fm_demod_data and fm_demod_data+1 */
pop sts;
rti (db);
/*—————————————————————————————*/
/*—————————————————————————————*/
spr1_asserted: /* SPORT1 Receive interrupt - do the fm demod and
increment the counter */
/* Pop the status stack */
/* Switch back to primary set of DAGs and Register file */
bit clr mode1 SRD1H | SRD2L | SRRFH | SRRFL;
nop;
.ENDSEG;
/*—————————————————————————————*/
/* Push the status stack */
push sts;
/* Use secondary set of DAGs and Register file */
bit set mode1 SRD1H | SRD1L | SRD2H | SRD2L | SRRFH |
SRRFL;
nop;
/* Insert code here for processing I and Q data pairs. The DSP serial
port handler has placed the samples in fm_demod_data through
fm_demod_data+3 */
Software for Diversity Channel Real Operation
The code for interfacing to Diversity Channel Real mode is very
similar to that of single channel. The only difference being the
number of channels allocated on the TDM chain. This process
can easily be extended for any number of TDM channels as
long as there is sufficient time in the frame to completely transmit the data. This procedure works with the appended data as
well as serially cascaded devices. The code below demonstrates
setup and operation in diversity channel mode.
/*—————————————————————————————*/
/* Pop the status stack */
pop sts;
rti (db);
/* Switch back to primary set of DAGs and Register file */
bit clr mode1 SRD1H | SRD1L | SRD2H | SRD2L | SRRFH |
SRRFL;
nop;
.ENDSEG;
/*—————————————————————————————*/
.SEGMENT/DM dm_data;
/* multi-channel register setup */
TYPICAL LATENCY EXPECTATIONS
.VAR fm_demod_data[4];
sample from each channel */
/* Array for receiving 2 real and imag
.VAR fm_demod_tcb[8] = 0, 0, 0, 0, 0, 4, 1, fm_demod_data;
/* Transfer Control Block for reception of fm data */
/* —————————————————————————————*/
/*—————————————————————————————*/
setup_sport1:
r0 = 0;
/* multi-channel enable setup */
dm(MTCS1) = r0;
/* do not transmit on any channels */
r0 = 0;
dm(MTCCS1) = r0;
dm(MRCCS1) = r0;
/* Compand Setup */
/* no companding on transmit */
/* no companding on receive */
r0 = 0x00100000;
dm(STCTL1) = r0;
/* Setup sport 1 transmit control register */
/* mfd = 1 */
r0 = 0x038c00f2;
dm(SRCTL1) = r0;
/* Setup sport 1 receive control register */
/* slen = 15, sden & schen enabled */
/* sign extend, external SCLK+RFS */
r0 = fm_demod_tcb + 7; /* TCB address */
dm(fm_demod_tcb + 4) = r0;
/* TCB point back to itself */
dm(CP1) = r0;
/* Kickoff DMA chain */
rts (db)
/* RETURN */
bit set imask SPR1I;
/* enable sport1 receive interrupt */
bit set imask CB15I;
/* Enable circular buffer 15 wrap
interrupt for buffers full */
/*—————————————————————————————*/
/*—————————————————————————————*/
spr1_svc: jump spr1_asserted;
RTI;
RTI;
RTI;
In the AD6620 latency can be divided into three components.
For difficult filters, the largest component of latency is Algorithmic Latency. This type of latency is tied inseparably to the desired
filter response. For smaller or minimal filters, Fixed Latency begins
to dominate. This is the undesirable fixed delay associated with
the calculation of the output samples. Finally, Variable Latency,
is the smallest component. This is the delay that can be influenced
by the relative phase of internal decimated clocks with respect to
the SYNC_CIC.
Algorithmic Latency is a necessary component of any filtering
process be it analog or digital. Since frequency is a variation
with respect to time, it must take time to discriminate between
analog frequencies. Assuming the AD6620 is used to generate
linear phase, low-pass filters, the algorithmic latency is a direct
function of the number of RCF taps and the CIC decimation
ratios. In general, the largest part of the impulse response of
these filters is the center of the impulse response length, so that
the delay is represented by one-half the composite impulse
response length.
The impulse response length of the RCF is the number of taps
times the RCF input sample period. Therefore relative to the
input sample clock the impulse response length of the RCF is
given by;
(N
TAPS
)
− 1 × MCIC 5 × MCIC 2 + 1
f ADC
The impulse response length of the CIC5 is given by;
(5 × M
CIC 5
)
− 5 × MCIC 2 + 1
f ADC
–40–
REV. A
AD6620
The impulse response length of the CIC2 is given by
(2 × M
0.20
)
−1
CIC 2
0.00
FRACTION OF FS
f ADC
The composite impulse response length of all three stages is
NTAPS × MCIC 5 × MCIC 2 + 4 × MCIC 5 × MCIC 2 − 3 × MCIC 2 + 1
f ADC
–0.20
58.9824MHz
SAMPLE RATE
MCIC2 = 2
MCIC5 = 4
MRCF = 6
NTAPS = 48
AT 8 OUTPUT SAMPLES,
THE LATENCY WOULD
BE 6.51␮s
EXPECTED LATENCY = 6.31␮s
–0.40
The Algorithmic Latency is
–0.60
NTAPS × MCIC 5 × MCIC 2 + 4 × MCIC 5 × MCIC 2 − 3 × MCIC 2 + 1
2 × f ADC
–0.80
Fixed Latency is the delay due to each register between the input
and the output of the AD6620. The latency is the count of each
register multiplied by the period of the clock that drives it. The
fixed latency of the AD6620 can be approximated by the following expression:
[
[
[
10tCLK + tSAMP 7 + MCIC 2 7 + MCIC 5 5 + M RCF
]]] + N
TAPS
1
2
3
4
5
6
7
8
9 10
OUTPUT SAMPLES
11
12
13
14
15
Figure 53. CDMA Example
0.20
× tCLK
0.00
tCLK
is the high speed clock to the AD6620.
tSAMP is the data rate delivered to the AD6620.
Normally tCLK and tSAMP are the same unless a clock multiplier is
used such as with the AD6600’s 2× clock output.
FRACTION OF FS
where:
Variable Latency is due to any differences between the asynchronous edge of the SYNC pulses and the data rate. This
includes use of the internal synchronization options.
0.00
–0.20
–0.20
–0.80
–1.00
1
61.44MHz
SAMPLE RATE
MCIC2 = 16
MCIC5 = 8
MRCF = 8
NTAPS = 256
AT 19 OUTPUT SAMPLES,
THE LATENCY WOULD
BE 0.32ms
EXPECTED LATENCY = 0.303ms
3
5
7
9
11 13 15 17 19 21 23
OUTPUT SAMPLES
5
7
9
11 13 15 17 19 21 23
OUTPUT SAMPLES
25 27 29
0.20
0.00
–0.60
3
Figure 54. PHS Example
0.20
–0.40
MCIC2 = 2
MCIC5 = 14
MRCF = 3
NTAPS = 84
AT 19 OUTPUT SAMPLES,
THE LATENCY WOULD
BE 24.7␮s
EXPECTED LATENCY = 24.31␮s
–0.40
–0.80
1
FRACTION OF FS
FRACTION OF FS
64.512MHz
SAMPLE RATE
–0.60
Based on the information on latency, the plots shown below
provide typical latency for a variety of different applications.
They were obtained by inserting a –FS dc step into the Input Data
Port of the AD6620. These are I channel step responses for the
input transient. The latency is defined as the output period times
number of output samples until the output reached approximately 50% of the step value.
65.0MHz
SAMPLE RATE
–0.40
MCIC2 = 2
MCIC5 = 6
MRCF = 20
NTAPS = 240
AT 9 OUTPUT SAMPLES,
THE LATENCY WOULD
BE 33.23␮s
EXPECTED LATENCY = 31.2␮s
–0.60
–0.80
–1.00
1
2
3
4
5
6
7
8
9 10
OUTPUT SAMPLES
11
12
Figure 55. WB-GSM Example
25 27 29
Figure 52. AMPS Example
REV. A
–0.20
–41–
13
14
15
AD6620
PARALLEL PROCESSING USING AD6620
If a single AD6620 does not have enough time to compute an
adequate filter, multiple AD6620s can be operated in parallel as
shown in Figure 56. In this example, the processing is distributed between four chips so that each chip can process more
taps. The outputs are then combined such that the desired data
rate is achieved.
AD6620 #1
AD6640
AIN
LATCH
CLK
DOUT
DIN
DVOUT
SYNC RCF
AD6620 #2
CLK
DOUT
DIN
DVOUT
SYNC RCF
OUTPUT
SELECTOR
ENCODE
CLOCK
AD6620 #3
CLK
DOUT
DIN
DVOUT
SYNC RCF
AD6620 #4
CLK
DOUT
DIN
DVOUT
SYNC RCF
RCF TIMING
CONTROL
Figure 56. Parallel Processing with the AD6620
In this application, one high speed ADC can feed parallel
AD6620s. Although not shown in this diagram, the SYNC_NCO
and SYNC_CICs are tied together and synchronized from an
external source with all chips run as SYNC_Slaves.
This architecture allows for each AD6620 to process four times
as many taps as would otherwise be possible. Consider the
example of an ADC clocked at 58.9824 MHz and a desired
output data rate of 4.9152 MHz. If a single AD6620 were used,
the decimation rate would be 12 (58.9824/4.9152) allowing for
only 12 taps in the FIR filter. Not nearly enough for a usable
digital filter. Now consider the case where each AD6620 only
provides an output for one in four samples. In this case, the
decimation rate per chip would be four times larger, 48 in this
example. With a decimation of 48, more taps for the filter can
be generated and produce a much better filter.
COUNTER
0 TO 47
CLOCK IN
COUNT = 0
COUNT = 11
COUNT = 23
COUNT = 35
Figure 57. RCF Timing Generator for Parallel Processing
Implementation of such a procedure is quite simple and basically shown in Figure 57. The filter design would proceed by
designing the filter to have the desired spectral characteristics
at its output rate. For our example here, each AD6620 would
have an output rate of 1.2288 MHz. The filter should be designed
such that the required rejection is attained directly at this rate.
This one filter is loaded into each chip. Upsampling is achieved
on the output by multiplexing between the different AD6620
outputs which are staggered, in this case by 90 degrees of the
output data rate. Therefore, since the decimation rate is 48
and four AD6620s are used, every 12 high speed clock cycles
a new AD6620 output should be selected. The most direct
method is to use these pulses to trigger the SYNC_RCF signals.
This staggering is required to properly phase the AD6620’s internal computations. Once the chips have been synchronized in this
manner, they will begin producing DVOUT signals that can be
used to instruct the Output Selector which output is valid.
The RCF Timing Control is responsible for proper phasing of
the AD6620s in the system. The example shown here is for the
example of four devices in parallel. It can easily be expanded to
any number of devices with this methodology. Since the AD6620s
are decimating by 48, the complete cycle time is 48 system
clocks. Thus the timing control must run modulo 48. When the
count is 0, the first RCF should be reset with a pulse that is one
clock cycle wide. Likewise, when the count is 11, 23 and 35,
RCF2, RCF3 and RCF4 should be reset respectively. This will
properly phase the AD6620s to run 90 degrees out of phase. If
this example consisted of six AD6620s, then they should be
reset on count 0, 7, 15, 23, 31 and 39. Following this method,
any number of AD6620s can be paralleled for higher data rates.
Once the AD6620 RCFs are properly phased, the DVOUT signals
will then enable the output selector to know which outputs should
be connected at the correct point in time. In review, the DVOUT
signal pulses high when the RCF data is being placed on the outputs. Since the devices are operated in Single Channel Real
mode, this signal will be high for two clock cycles while two
pieces of data are written to the output. The output pairs consist
of I followed by Q. As each chip’s DVOUT cycles high, its data
should be connected to the output bus as shown below. This
effectively forms a MUX that sequentially cycles the output of
each of the AD6620s in the system to the output port. The only
remaining issue is retiming the data. Since each AD6620 clocks its
data out in two clock cycles, there will be 10 cycles where the
data is idle. During this period, the last Q out will remain valid
until the next chip in the sequence generates its DVOUT signal. This
normally should pose no problem, but if it does, the output data
could easily go to a FIFO and be retimed so that output data
streams at a regular rate.
In order to meet conventional logic requirements, OE for each
of the input latches should be active low. The DVOUT of the
AD6620 is active high, therefore, an inverter must be typically
inserted between the DVOUT lines and the OE of the latches as
shown in the updated Figure 58.
–42–
REV. A
AD6620
DOUT1
INPUT LATCHING
OE
INPUT LATCHING
OE
the AD6620 is in Diversity Channel Real Mode, with the AD6600
sampling a diversity antenna on its B channel. The AD6620
performs floating-point to fixed-point conversion, digital tuning,
digital filtering and decimation of the A/D output data.
CLOCK
DVOUT1
DOUT2
MAIN
INPUT
OUTPUT
LATCHING
CLOCK
2ⴛCLK
A/B OUT
AD6600
DVOUT2
CLK
A/B
3 RSSI BITS
11 DATA BITS
INPUT LATCHING
DOUT3
DIVERSITY
INPUT
OE
SCLK
SDI
SDO
E[2...0]
IN[15...5] SDFS
ENCODE
AD6620
SCLK
SDO
SDI
SDFS
DSP
CLOCK
Figure 60. Implementation of a Narrow Band Receiver
DVOUT3
INPUT LATCHING
DOUT4
OE
CLOCK
DVOUT4
Figure 58. Parallel Processing Output Selector
In the Output Selector above each of the DVOUT lines is ANDed
with main clock. This allows the data out of each of the AD6620s
to be properly latched into the input latches. The DVOUT line is
also responsible for placing the latched outputs on the internal
bus at the proper time. This data is then latched in the output
latch using the internal ORed clocking signals.
The timing for these events is shown in Figure 59. As shown,
the system clock is run at the specified rate. Then the RCF
timing control state machine is responsible for generating the
appropriate sync pulses. When each AD6620 completes its SOP
computation, it generates the DVOUT pulses shown below. Concurrently, each chip places its IQ data on the output pins of that
device. With this data, the output selector state machine combines all of the data and places the data on the output bus.
Using the AD6620 in a Narrow Band System
A typical interconnection between the AD6600, AD6620 and a
General Purpose DSP is shown in Figure 65. This is an example
of an IF sampling narrow-band system and offers many technical and cost advantages over traditional solutions. In this example,
The 2× CLK on the AD6600 is used as the processing CLK of
the AD6620. The use of this faster clock allows the RCF filter
to process up to twice as many taps per sample. The increased
number of taps available helps to improve the filter characteristics. In some applications an even faster processing clock may be
necessary to allow for improved digital filter performance. In
this case the A/B pin of the AD6620 must be toggled when each
channel input is to be sampled.
For most narrow-band uses of the AD6600/AD6620 combination, a high oversampling ratio is desired. This spreads the
quantization noise of the A/D over a wider spectrum and allows
the digital filtering of the AD6620 to remove much of this noise.
This effectively increases the SNR of the AD6600. This process
of oversampling and digital filtering is called “process gain”
and its contribution to SNR can be calculated from the equation below.
 Sample _ Rate _ of _ Channel 
PG = 10 log 

Signal _ Bandwidth


The process of oversampling can also provide the benefit of
lowering the noise floor of the A/D. This can increase the effective dynamic range of a receiver if the sampling rate is chosen
such that the signal harmonics and/or intermodular distortion
(IMD) products fall out of the band of interest. In this case
these spurs could be filtered by the AD6620 and the quantization noise would be the dominant dynamic range limitation of
the AD6600/AD6620 receiver solution.
CLOCK
DVOUT1
DVOUT2
DVOUT3
DVOUT4
AD6620–1
I Q
I Q
AD6620–2
I Q
AD6620–3
I Q
AD6620–4
SELECTOR
OUTPUT
I Q
I Q
I Q
Figure 59. Timing for Parallel Processing
REV. A
–43–
I Q
AD6620
A DSP is then used to perform the demodulation of the digital
channel. This has the advantage of allowing for in-system configuration options and can even allow for improved modulation
techniques to be applied in the future. This assumes that the
AD6600 and the circuitry on its front end are compatible with
the modulation standard to be used.
AD6620 #1
AIN
AD6640
AD6644
CLK
LATCH
DIN
SERIAL I/O
AD6620 #2
For more information on using the AD6600 and AD6620 in a
Single Carrier application, refer to Analog Devices’ Application
note AN-502.
DIN
ENCODE
CLOCK
SERIAL I/O
AD6620 #3
Using the AD6620 in a Wideband System
CLK
The AD6620 is fully capable of being utilized in a wide-band
architecture system where A/Ds such as the AD6640 or the
AD9042 usually run at higher sample rates than those typically
found in a narrow-band system. A correspondingly wider band
can then be digitized. The digitization of this wide bandwidth
allows many more channels to be digitized using the same A/D
and IF circuitry. The core configuration of such a system is
shown in Figure 61.
DIN
DSP
ARRAY
SERIAL I/O
C00967–0–6/01(A)
CLK
AD6620 #4
CLK
DIN
SERIAL I/O
Figure 61. Implementation of a Multicarrier Receiver
channel. This places a greater requirement on the Spurious Free
Dynamic Range (SFDR) of the A/D than in the narrow-band
case. The SFDR is then usually the limiting factor of the wideband system.
The AD6640 and the AD6620 are both designed to run as fast
as 67 MHz. In these applications the AD6620 will be used to
process only one channel and will process the data at the A/D
sample rate. Additional channels can be processed by taking the
AD6640 high speed data stream to additional AD6620s. Each
AD6620 can then be tuned to a different channel.
The AD6620 provides a great deal of selectivity by mixing down
a channel of interest as in the narrow-band case and filtering the
out-of-band noise and adjacent channels. Unlike the narrowband solutions it is much more difficult to place the spurious
content out of the band of interest because more of this bandwidth is used due to the larger number of carrier channels. The
aliased spurs of one channel are likely to fold back on another
Provided that the A/D has sufficient SFDR for the air interface
requirements, the AD6620 can use process gain, as in the narrowband case, by filtering the out-of-band noise and adjacent channel
power. This increases the SNR of the digital data stream.
As in the Narrow-band System a DSP is then used to demodulate the digital data. The same advantages of flexibility exist in
the wide-band case as they did in the narrow-band case. Future
improvements in demodulation algorithms can be implemented
in the receiver, provided that the front end hardware is compatible with the desired modulation standard.
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
80-Lead Terminal Plastic Quad Flatpack (PQFP)
(S-80A)
0.134 (3.40)
MAX
0.041 (1.03)
0.029 (0.73)
80
1
61
60
0.486 (12.35) BSC
0.555 (14.10)
0.547 (13.90)
0.690 (17.45)
0.667 (16.95)
SEATING
PLANE
TOP VIEW
(PINS DOWN)
0.004 (0.10)
MAX
20
21
0.010 (0.25)
MIN
0.120 (3.05)
0.100 (2.55)
PRINTED IN U.S.A.
0.690 (17.45)
0.667 (16.95)
0.555 (14.10)
0.547 (13.90)
0.486 (12.35) BSC
41
40
0.026 (0.65)
BSC
–44–
0.015 (0.38)
0.009 (0.22)
REV. A
Similar pages