FEATURES
Pin Compatible to the AD6622
18-Bit Parallel Digital IF Output
Real or Interleaved Complex
18-Bit Bidirectional Parallel Digital IF Input/Output
Allows Cascade of Chips for Additional Channels
Clipped or Wrapped Over Range
Two’s Complement or Offset Binary Output
Four Independent Digital Transmitters in Single Package
RAM Coefficient Filter (RCF)
Programmable IF and Modulation for Each Channel
Programmable Interpolating RAM Coefficient Filter
p/4-DQPSK Differential Phase Encoder
3p/8-PSK Linear Encoder
8-PSK Linear Encoder
Programmable GMSK Look-Up Table
Programmable QPSK Look-Up Table
All-Pass Phase Equalizer
Programmable Fine Scaler
Programmable Power Ramp Unit
High Speed CIC Interpolating Filter
Transmit Signal Processor (TSP)
AD6623
Digital Resampling for Noninteger Interpolation Rates
NCO Frequency Translation
Spurious Performance Better than –100 dBc
Separate 3-Wire Serial Data Input for Each Channel
Bidirectional Serial Clocks and Frames
Microprocessor Control
2.5 V CMOS Core, 3.3 V Outputs, 5 V Inputs
JTAG Boundary Scan
APPLICATIONS
Cellular/PCS Base Stations
Micro/Pico Cell Base Stations
Wireless Local Loop Base Stations
Multicarrier, Multimode Digital Transmit
GSM, EDGE, IS136, PHS, IS95, TDS CDMA, UMTS,
CDMA2000
Phased Array Beam Forming Antennas
Software Defined Radio
Tuning Resolution Better than 0.025 Hz
Real or Complex Outputs
SDINA
SDFIA
SDFOA
SCLKA
SDINB
SDFIB
SDFOB
SCLKB
SDINC
SDFIC
SDFOC
SCLKC
SDIND
SDFID
SDFOD
SCLKD
FUNCTIONAL BLOCK DIAGRAM
NCO = NUMERICALLY CONTROLLED
OSCILLATOR/TUNER
SYNC
4
QIN
IN
[17–0]
OEN
QOUT
OUT
[17:0]
DATA
SP
ORT
DATA
SP
ORT
DATA
SP
ORT
DATA
SP
ORT
RAM
COEFFICIENT
FILTER
RAM
COEFFICIENT
FILTER
RAM
COEFFICIENT
FILTER
RAM
COEFFICIENT
FILTER
JTAG
I
Q
I
Q
I
Q
I
Q
SCALER
SCALER
SCALER
SCALER
AND
POWER
RAMP
AND
POWER
RAMP
AND
POWER
RAMP
AND
POWER
RAMP
I
Q
I
Q
I
Q
I
Q
CIC5
FILTER
CIC5
FILTER
CIC5
FILTER
CIC5
FILTER
I
RCIC2
Q
FILTER
I
RCIC2
Q
FILTER
I
RCIC2
Q
FILTER
I
RCIC2
Q
FILTER
MICROPORT
I
Q
I
Q
I
Q
I
Q
NCO
NCO
NCO
NCO
CHAN A
CHAN B
SUMMATION
CHAN C
CHAN D
TDLTMS TCK
TDO
TRST
D[7:0]
REV. 0
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.
The AD6623 is a 4-channel Transmit Signal Processor (TSP)
that creates high bandwidth data for Transmit Digital-to-Analog
Converters (TxDACs) from baseband data provided by a Digital
Signal Processor (DSP). Modern TxDACs have achieved sufficiently high sampling rates, analog bandwidth, and dynamic range
to create the first Intermediate Frequency (IF) directly.
AD6623 synthesizes multicarrier and multistandard digital signals
to drive these TxDACs. The RAM-based architecture allows easy
reconfiguration for multimode applications. Modulation,
shaping and anti-imaging filters, static equalization, and tuning
functions are combined in a single, cost-effective device. Digital
IF signal processing provides repeatable manufacturing, higher
accuracy, and more flexibility than comparable high dynamic
range analog designs.
The AD6623 has four identical digital TSPs complete with synchro-
circuitry and cascadable wideband channel summation.
nization
AD6623 is pin compatible to AD6622 and can operate in AD6622compatible control register mode.
The AD6623 utilizes a 3.3 V I/O power supply and a 2.5 V core
power supply. All I/O pins are 5 V tolerant. All control registers
and coefficient values are programmed through a generic microprocessor interface. Intel and Motorola microprocessor bus modes
are supported. All inputs and outputs are LVCMOS compatible.
FUNCTIONAL OVERVIEW
Each TSP has five cascaded signal processing elements: a programmable interpolating RAM Coefficient Filter (RCF), a
programmable Scale and Power Ramp, a programmable fifth order
Cascaded Integrator Comb (CIC5) interpolating filter, a flexible
second order Resampling Cascaded Integrator Comb filter (rCIC2),
and a Numerically Controlled Oscillator/Tuner (NCO).
The outputs of the four TSPs are summed and scaled on-chip.
In multicarrier wideband transmitters, a bidirectional bus allows
the Parallel (wideband) IF Input/Output to drive a second
In this operational mode two AD6623 channels
and the other two AD6623 channels drive a second
tiple AD6623s may be combined by driving the INOUT[17:0]
the succeeding with the OUT[17:0] of the preceding chip. The
drive one DAC
DAC.
The
pulse-
DAC.
Mul-
of
INOUT[17:0] can alternatively be masked
allow preceding AD6623’s outputs to be ignored.
Each channel accepts input data from independent serial ports
that may be connected directly to the serial port of Digital Signal
Processor (DSP) chips.
The RCF implements any one of the following functions:
*This specification denotes an absolute maximum supply current for the device. The conditions include all channels active, minimum interpolation in both CIC
stages, and maximum switching of input data. In an actual application the power will be less.
See the Thermal Management section of the data sheet for further details.
–4–
REV. 0
AD6623
GENERAL TIMING CHARACTERISTICS
1, 2
TestAD6623AS
Parameter (Conditions)TempLevelMinTypMaxUnit
CLK Timing Requirements:
t
CLK
t
CLKL
t
CLKH
CLK PeriodFullI9.6ns
CLK Width LowFullIV3ns
CLK Width HighFullIV30.5 × t
CLK
ns
RESET Timing Requirement:
t
RESL
RESET Width LowFullI30.0ns
Input Data Timing Requirements:
t
SI
t
HI
INOUT[17:0], QIN to ↑CLK Setup TimeFullIV1ns
INOUT[17:0], QIN to ↑CLK Hold TimeFullIV2ns
Output Data Timing Characteristics:
t
DO
↑CLK to OUT[17:0], INOUT[17:0],
QOUT Output Delay TimeFullIV26ns
t
DZO
OEN HIGH to OUT[17:0] ActiveFullIV37.5ns
SYNC Timing Requirements:
t
SS
t
HS
Master Mode Serial Port Timing Requirements (SCS = 0):
Switching Characteristics
t
DSCLK1
t
DSCLKH
t
DSCLKL
SYNC(0, 1, 2, 3) to ↑CLK Setup TimeFullIV1ns
SYNC(0, 1, 2, 3) to ↑CLK Hold TimeFullIV2ns
3
↑CLK to ↑SCLK Delay (divide by 1)FullIV410.5ns
↑CLK to ↑SCLK Delay (for any other divisor)FullIV513ns
↑CLK to ↓SCLK Delay
(divide by 2 or even number)FullIV3.59ns
t
DSCLKLL
↓CLK to ↓SCLK Delay
(divide by 3 or odd number)FullIV410ns
Channel is Self-Framing
t
SSDI0
t
HSDI0
t
DSFO0A
SDIN to ↑SCLK Setup TimeFullIV1.7ns
SDIN to ↑SCLK Hold TimeFullIV0ns
↑SCLK to SDFO DelayFullIV0.53.5ns
Channel is External-Framing
t
SSFI0
t
HSFI0
t
SSDI0
t
HSDI0
t
DSFO0B
Slave Mode Serial Port Timing Requirements (SCS = 1):
Switching Characteristics
t
SCLK
t
SCLKL
t
SCLKH
SDFI to ↑SCLK Setup TimeFullIV2ns
SDFI to ↑SCLK Hold TimeFullIV0ns
SDIN to ↑SCLK Setup TimeFullIV2ns
SDIN to ↑SCLK Hold TimeFullIV0ns
↑SCLK to SDFO DelayFullIV0.53ns
3
SCLK PeriodFullIV2 t
CLK
ns
SCLK Low TimeFullIV3.5ns
SCLK High TimeFullIV3.5ns
Channel is Self-Framing
t
SSDH
t
HSDH
t
DSFO1
SDIN to ↑SCLK Setup TimeFullIV1ns
SDIN to ↑SCLK Hold TimeFullIV2.5ns
↑SCLK to SDFO DelayFullIV410ns
Channel is External-Framing
t
SSFI1
t
HSFI1
t
SSDI1
t
HSDI1
t
DSFO1
NOTES
1
All Timing Specifications valid over VDD range of 2.375 V to 2.675 V and VDDIO range of 3.0 V to 3.6 V.
2
C
= 40 pF on all outputs (unless otherwise specified).
LOAD
3
The timing parameters for SCLK, SDIN, SDFI, SDFO, and SYNC apply to all four channels (A, B, C, and D).
Specifications subject to change without notice.
SDFI to ↑ SCLK Setup TimeFullIV2ns
SDFI to ↑SCLK Hold TimeFullIV1ns
SDIN to ↑SCLK Setup TimeFullIV1ns
SDIN to ↑SCLK Hold TimeFullIV2.5ns
↓SCLK to SDFO DelayFullIV10ns
REV. 0
–5–
AD6623
MICROPROCESSOR PORT TIMING CHARACTERISTICS
1, 2
Test AD6623AS
Parameter (Conditions)TempLevelMinTypMaxUnit
MICROPROCESSOR PORT, MODE INM (MODE = 0)
MODE INM Write Timing:
t
SC
t
HC
t
HWR
t
SAM
t
HAM
t
DRDY
t
ACC
Control3 to ↑CLK Setup TimeFullIV4.5ns
Control3 to ↑CLK Hold TimeFullIV2.0ns
WR(RW) to RDY(DTACK) Hold TimeFullIV8.0ns
Address/Data to WR(RW) Setup TimeFullIV3.0ns
Address/Data to RDY(DTACK) Hold TimeFullIV2.0ns
WR(RW) to RDY(DTACK) DelayFullIV4.0ns
WR(RW) to RDY(DTACK) High DelayFullIV4 × t
CLK
5 × t
CLK
9 × t
CLK
ns
MODE INM Read Timing:
t
SC
t
HC
t
SAM
t
HAM
t
ZOZ
t
DD
t
DRDY
t
ACC
Control3 to ↑CLK Setup TimeFullIV4.5ns
Control3 to ↑CLK Hold TimeFullIV2.0ns
Address to RD(DS) Setup TimeFullIV3.0ns
Address to Data Hold TimeFullIV2.0ns
Data Three-State DelayFullIVns
RDY(DTACK) to Data DelayFullIVns
RD(DS) to RDY(DTACK) DelayFullIV4.0ns
RD(DS) to RDY(DTACK) High DelayFullIV8 × t
CLK
10 × t
CLK
13 × t
CLK
ns
MICROPROCESSOR PORT, MOTOROLA (MODE = 1)
MODE MNM Write Timing:
t
SC
t
HC
t
HDS
t
HRW
t
SAM
t
HAM
t
DDTACK
t
ACC
Control3 to ↑CLK Setup TimeFullIV4.5ns
Control3 to ↑CLK Hold TimeFullIV2.0ns
DS(RD) to DTACK(RDY) Hold TimeFullIV8.0ns
RW(WR) to DTACK(RDY) Hold TimeFullIV8.0ns
Address/Data to RW(WR) Setup TimeFullIV3.0ns
Address/Data to RW(WR) Hold TimeFullIV2.0ns
DS(RD) to DTACK(RDY) Delayns
RW(WR) to DTACK(RDY) Low DelayFullIV4 × t
CLK
5 × t
CLK
9 × t
CLK
ns
MODE MNM Read Timing:
t
SC
t
HC
t
HDS
t
SAM
t
HAM
t
ZD
t
DD
t
DDTACK
t
ACC
NOTES
1
All Timing Specifications valid over VDD range of 2.375 V to 2.675 V and VDDIO range of 3.0 V to 3.6 V.
2
C
= 40 pF on all outputs (unless otherwise specified).
LOAD
3
Specification pertains to control signals: RW, (WR), DS, (RD), CS.
Specifications subject to change without notice.
Control3 to ↑CLK Setup TimeFullIV4.0ns
Control3 to ↑CLK Hold TimeFullIV2.0ns
DS(RD) to DTACK(RDY) Hold TimeFullIV8.0ns
Address to DS(RD) Setup TimeFullIV3.0ns
Address to Data Hold TimeFullIV2.0ns
Data Three-State DelayFullIVns
DTACK(RDY) to Data DelayFullIVns
DS(RD) to DTACK(RDY) DelayFullIVns
DS(RD) to DTACK(RDY) Low DelayFullIV8 × t
*Stresses greater than those listed above may cause permanent damage to the
device. These are stress ratings only; functional operation of the devices 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.
196-Lead BGA:
= 26.3°C/W, no airflow
JA
= 22°C/W, 200 lfpm airflow
JA
Thermal measurements made in the horizontal position on a
2-layer board.
EXPLANATION OF TEST LEVELS
I.100% Production Tested
II. 100% Production Tested at 25°C, and Sample Tested at
Specified Temperatures
III. Sample Tested Only
IV. Parameter Guaranteed by Design and Analysis
V. Parameter is Typical Value Only
AD6623AS–40°C to +70°C (Ambient)128-Lead MQFP (Metric Quad Flatpack)S-128A
AD6623ABC–40°C to +85°C (Ambient)196-Lead BGA (Ball Grid Array)BC-196
AD6623S/PCBMQFP Evaluation Board with AD6623 and Software
AD6623BC/PCBBGA Evaluation Board with AD6623 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 AD6623 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.
13, 12, 11, 10, 8, 7, 6OUT[17:0]O/TParallel Output Data
47, 59, 66, 104, 127VDDP2.5 V Supply
14, 26, 41, 78, 90, 110, 122VDDIOP3.3 V Supply
30QOUTO/TWhen HIGH indicates Q Output Data
33, 37, 40, 43, 44, 45, 46, 48D[7:0]I/O/TBidirectional Microport Data
49DS (RD)IINM Mode: Read Signal, MNM Mode: Data Strobe Signal
50DTACK
51RW (WR)IActive HIGH Read, Active Low Write
55MODEI
56, 57, 58A[2:0]IMicroport Address Bus
60CSIChip Select, Active low enable for µP Access
61RESET
62SYNC0
63SYNC1
67CLK
69SYNC2
70QIN
71, 74–77, 79–82, 86–89, 91–94, 97INOUT[17:0]1I/OWideband Input/Output Data (Allows Cascade of Multiple
73SYNC3
100TRST
101TCK
105SDFIAISerial Data Frame Input—Channel A
106TMS
107TDOOTest Data Output
108TDI
109SCLKAI/OBidirectional Serial Clock—Channel A
111SDFOAOSerial Data Frame Sync Output—Channel A
112SDINA
113SCLKBI/OBidirectional Serial Clock—Channel B
114SDFOBOSerial Data Frame Sync Output—Channel B
115SDFIBISerial Data Frame Input —Channel B
117SDFICISerial Data Frame Input—Channel C
118SDINB
119SCLKCI/OBidirectional Serial Clock—Channel C
120SDFOCOSerial Data Frame Sync Output—Channel C
121SDINC
123SCLKDI/OBidirectional Serial Clock—Channel D
124SDFODOSerial Data Frame Sync Outpu—Channel D
125SDIND
126SDFIDISerial Data Frame Input—Channel D
NOTES
1
Pins with a Pull-Down resistor of nominal 70 kΩ.
2
Pins with a Pull-Up resistor of nominal 70 kΩ.
1
(RDY)O
2
1
1
1
1
1
1
2
1
2
1
1
1
1
1
IActive High Output Enable Pin
(Complex Output Mode)
Acknowledgment of a Completed Transaction (Signals when
µP Port Is Ready for an Access) Open Drain, Must Be
IActive Low Reset Pin
ISYNC Signal for Synchronizing Multiple AD6623s
ISYNC Signal for Synchronizing Multiple AD6623s
IInput Clock
ISYNC Signal for Synchronizing Multiple AD6623s
I
When HIGH indicates Q input data (Complex Input Mode)
AD6623 Chips In a System)
ISYNC Signal for Synchronizing Multiple AD6623s
ITest Reset Pin
ITest Clock Input
SCLKAI/OBidirectional Serial Clock—Channel A
SCLKBI/OBidirectional Serial Clock—Channel B
SCLKCI/OBidirectional Serial Clock—Channel C
SCLKDI/OBidirectional Serial Clock—Channel D
SDFOAOSerial Data Frame Sync Output—Channel A
SDFOBOSerial Data Frame Sync Output—Channel B
SDFOCOSerial Data Frame Sync Output—Channel C
SDFODOSerial Data Frame Sync Output—Channel D
SDFIAISerial Data Frame Input—Channel A
SDFIBISerial Data Frame Input—Channel B
SDFICISerial Data Frame Input—Channel C
SDFIDISerial Data Frame Input—Channel D
1
OEN
MICROPORT CONTROL
D[7:0]I/O/TBidirectional Microport Data
A[2:0]IMicroport Address Bus
DS (RD)IActive Low Data Strobe (Active Low Read)
DTACK (RDY)
OUT[17:0]OWideband Output Data
QOUTOWhen HIGH Indicates Q Output Data (Complex Output Mode)
JTAG AND BIST
2
TRST
1
TCK
2
TMS
TDOO/TTest Data Output
1
TDI
NOTES
1
Pins with a Pull-Down resistor of nominal 70 kΩ.
2
Pins with a Pull-Up resistors of nominal 70 kΩ.
1
2
1
1
1
1
1
1
1
1
I/OA Input Data (Mantissa)
IWhen HIGH Indicates Q Input Data (Complex Input Mode)
IActive LOW Reset Pin
IInput Clock
IAll Sync Pins Go to All Four Output Channels
IAll Sync Pins Go to All Four Output Channels
IAll Sync Pins Go to All Four Output Channels
IAll Sync Pins Go to All Four Output Channels
ISerial Data Input—Channel A
ISerial Data Input—Channel B
ISerial Data Input—Channel C
ISerial Data Input—Channel D
IActive High Output Enable Pin
2
O/TActive Low Data Acknowledge (Microport Status Bit)
The AD6623 has four independent Serial Ports (A, B, C, and D),
and each accepts data to its own channel (A, B, C, or D) of the
device. Each Serial Port has four pins: SCLK (Serial CLocK), SDFO
(Serial Data Frame Out), SDFI (Serial Data Frame In), and SDIN
(Serial Data INput). SDFI and SDIN are inputs, SDFO is an output,
and SCLK is either input or output depending
(Serial Clock Slave: 0xn16, Bit 4). Each
on the state of SCS
channel can be
operated
either as a Master or Slave channel depending upon SCS. The Serial
Port can be self-framing or accept external framing from
the SFDI
pin or from the previous adjacent channel (0xn16, Bits 7 and 6).
Serial Master Mode (SCS = 0)
In master mode, SCLK is created by a programmable internal
counter that divides CLK. When the channel is “sleeping,” SCLK
held low. SCLK becomes active on the first rising edge of CLK
is
after Channel
address 4). Once
the CLK frequency
sleep is removed (D0 through D3 of external
active, the SCLK frequency is determined by
and the SCLK divider, according to the
equations below.
AD6623 mode:
f
CLK
SCLKdivider
+1
f
SCLK
=
AD6622 mode:
f
CLK
SCLKdivider
f
SCLK
=
×+21()
The SCLK divider is a 5-bit unsigned value located at Internal
Channel Address 0xn0D (Bits 4–0), where “n” is 1, 2, 3, or 4 for
the chosen channel A, B, C, or D, respectively. The user must
SDFO is used to provide a sync signal to the host. The input
sample rate
lation
input sample rate, then the SDFO will continually adjust the
period
to the input sample rate. When the channel is in sleep mode, SDFO
is held low. The first SDFO is delayed by the channel reset latency
after the Channel Reset is removed. The channel reset latency
varies dependent on channel configuration.
External Framing Mode
In this mode Bit 7 of register 0xn16 is set high. The external
framing can come from either the SDFI pin (0xn16, Bit 6 = 0)
or the previous adjacent channel (0xn16, Bit 6 = 1). In the case
of external framing from a previous channel, it uses the internal
frame end signal for serial data frame syncing. When in master
mode, SDFO and SDFI transition on the positive edge of SCLK,
and SDIN is captured on the positive edge of SCLK. When in
slave mode, SDFO and SDFI transition on the negative edge of
SCLK, and SDIN is captured on the negative edge of SCLK.
Serial Port Cascade Configuration
In this case the SDFO signal from the last channel of the first
chip would be programmed to be a serial data frame end (SFE:
(1)
0xn16, Bit 5 = 1). This SDFO signal would then be fed as an
input for the second cascaded chip’s SDFI pin input. The second
chip would be programmed to accept external framing from the
SDFI pin (0xn16, Bit 7 = 1, Bit 6 = 0).
(2)
Serial Data Format
The format of data applied to the serial port is determined by
the RCF mode selected in Control Register 0xn0C. Below is a
table showing the RCF modes and input data format that it sets.
select the SCLK divider to insure that SCLK is fast enough to
accept full input sample words at the input sample rate. See the
design example at the end of this section. The maximum SCLK
frequency is equal to the CLK when operating in AD6623 mode
serial clock master. When operating in AD6622 compatible
the maximum SCLK frequency is one-half the CLK.
SCLK frequency is 1/32 of the
or 1/64 of the
CLK
frequency
CLK frequency in AD6623 mode
when in AD6622 mode. SDFO
The minimum
mode,
changes on the positive edge of SCLK when in master mode. SDIN
is captured on positive edge when SCLK is in master mode.
Serial Slave Mode (SCS = 1)
0xn0C 0xn0C0xn0CSerial DataRCF
Bit 6Bit 5Bit 4Word LengthMode
00032FIR
00 1/4-DQPSK
010GMSK
011MSK
10024 (Bit 9 is high)
Any of the AD6623 serial ports may be operated in the serial slave
mode. In this mode, the selected AD6623 channel requires that
an external device such as a DSP to supply the SCLK. This is
done to synchronize the serial port to meet an external timing
requirement. SDIN is captured on negative edge of SCLK when
in slave mode.
Self-Framing Mode
In this mode Bit 7 of register 0xn16 is set low. The serial data
frame output, SDFO, generates a self-framing data request and
is pulsed high for one SCLK cycle at the input sample rate. In
this mode, the SDFI pin is not used, and the SDFO signal would
be programmed to be a serial data frame request (0xn16, Bit 5 = 0).
1018-PSK
11 03/8-8-PSK
111QPSK
The serial data input, SDIN, accepts 32-bit words as channel input
data. The 32-bit word is interpreted as two 16-bit two’s complement quadrature words, I followed by Q, MSB first. This results in
linear I and Q data being provided to the RCF. The first bit is
shifted into the serial port starting on the next rising edge of SCLK
after the SDFO pulse. Figure 16 shows a timing diagram for SCLK
master (SCS = 0) and SDFO set for frame request (SFE = 0).
is determined by the CLK divided by channel interpo-
factor. If the SCLK rate is not an integer multiple of the
by one SCLK cycle to keep the average SDFO rate equal
Table I. Serial Data Format
16 (Bit 9 is low)FIR,
compact
REV. 0
–15–
AD6623
CLK
t
SSDI0
SCLK
SDFO
SDI
t
DSDFO0A
t
SSDI0
DATA n
CLKn
t
HSDI0
Figure 16. Serial Port Switching Characteristics
As an example of the Serial Port operation, consider a CLK frequency of 62.208 MHz and a channel interpolation of 2560. In
that case, the input sample rate is 24.3 kSPS (62.208 MHz/2560),
which is also the SDFO rate. Substituting, f
SCLK
≥ 32 ⫻ f
SDFO
PROGRAMMABLE RAM COEFFICIENT FILTER (RCF)
Each channel has a fully independent RAM Coefficient Filter (RCF).
The RCF accepts data from the Serial Port, processes it, and passes
the resultant I and Q data to the CIC filter. A variety of processing
options may be selected individually or in combination,
PSK and MSK modulation, FIR filtering, all-pass phase equalization,
and scaling with arbitrary ramping. See Table III.
Processing BlockInput DataOutput Data
Interpolating FIR FilterI and QI and Q
PSK Modulator2 or 3 bits
into the equation and solving for SCLKdivider, we find the mini-
value for SCLKdivider according to the equation below.
mum
f
SCLKdivider
Evaluating this equation for our example, SCLKdivider must be
less than or equal to 79. Since the SCLKdivider channel register
is a 5-bit unsigned number it can only range from 0 to 31.
Any value in that range will be valid for this example, but if it is
important that the SDFO period is constant, then there is another
restriction. For regular frames, the ratio f
to an integer of 32 or larger. For this example, constant SDFO
periods can only be achieved with an SCLK divider of 31 or less.
See Table II for usable SCLK divider values and the corresponding
SCLK and f
SCLK/fSDFO
In conclusion, SDFO rate is determined by the AD6623 CLK
rate and the interpolation rate of the channel. The SDFO
equal to the channel input rate. The channel interpolation
equal to RCF interpolation times CIC5 interpolation, times
CIC2 interpolation:
LLL
=××
RCFCIC
The SCLK divide ratio is determined by SCLKdivider as shown
in the previous equation. The SCLK must be fast enough to
input 32 bits of data prior to the next SDFO. Extra SCLKs are
ignored by the serial port.
CLK
≤
×32
f
SFDO
SCLK/fSDFO
ratio for the example of L = 2560.
L
CRIC
M
CRIC
2
2
5
(3)
must be equal
rate is
is
(4)
MSK Modulator1 bit per symbolFiltered MSK
QPSK2 bits per symbolFiltered QPSK
All-pass Phase EqualizerI and QI and Q
Scale and RampI and QI and Q
OVERVIEW OF THE RCF BLOCKS
The Serial Port passes data to the RCF with the appropriate
format and bit precision for each RCF configuration, see Figure 17.
The data
Q vectors
lated bits may be sent to the PSK Modulator, the Interpolating
MSK Modulator, or the Interpolating QPSK Modulator. The PSK
Modulator produces unfiltered I and Q vectors at the symbol
rate which are then passed through the Interpolating FIR Filter.
The Interpolating MSK Modulator and the Interpolating QPSK
Modulator produce oversampled, pulse-shaped vectors directly
without employing the Interpolating FIR Filter. When possible,
the MSK and QPSK modulators
throughput and decreased power
Interpolating FIR Filter. In addition, the Interpolating MSK
Modulator can realize filters with nonlinear inter-symbol interference, achieving excellent accuracy for GMSK applications.
After interpolation, an optional Allpass Phase Equalizer (APE)
Table II. Example of Usable SCLK Divider
Values and f
SCLK/fSDPO
Ratios for L = 2560
can be inserted into the signal path. The APE can realize any real,
stable, two-pole, two-zero all-pass filter at the RCF’s interpolated
rate. This is especially useful to precompensate for nonlinear
SCLKdivisor f
02560
11280
3640
SCLK/fSDFO
phase responses of receive filters in terminals, as specified by IS-95.
When active, the APE utilizes shared hardware with the interpolating modulators and filter, which may reduce the allowed RCF
throughput, inter-symbol interference, or both. See Figure 18.
4512
7320
9256
15160
19128
3180
including
Table III. Data Format Processing Options
per symbolUnfiltered I
and Q:
/4-QPSK,
8-PSK, or
3/8-8-PSK
or GSM I and Q
I and Q
may be modulated vectors or unmodulated bits. I and
are sent directly to the Interpolating Fir Filter. Unmodu-
are recommended for increased
consumption compared to
–16–
REV. 0
AD6623
313029282726252423222120191817161514131211109876543210 BIT
< msb, I, lsb >< msb, Q, lsb >FIR
23222120191817161514131211109876543210BIT
< msb, I, lsb >< msb, Q, lsb >COMPACT FIR
1514131211109876543210BIT
< msb, I, lsb >< msb, Q, lsb >COMPACT FIR
43210BIT
m s D1 D2 D08PSK
43210BITSERIAL SYNC
m sX D1 D0QPSKRAMP
43210BIT
M S X X D0 MSK/GSM
210BIT
0 D1 D08PSK
1 0BIT
D1 D0QPSK
0BIT
D0 MSK/GSM
Figure 17. Data Formats Supported by the AD6623 when
SCLK Master (SCS = 0), and SFDO Set for Frame Request (SFE = 0)
INTERPOLATING
PSK
MODULATOR
DATA FROM SERIAL PORT
FIR
FILTER
INTERPOLATING
MSK
MODULATOR
INTERPOLATING
QPSK
MODULATOR
ALLPASS
PHASE
EQUALIZER
SCALE
AND
RAMP
DATA TO CIC FILTERS
Figure 18. RCF Block Diagram
Table IV. FIR Filter Internal Precision
MinimumMaximum
Signalx y NotationDecimalHexadecimal (h)DecimalHexadecimal (h)
I and Q Inputs1.15–1.00000+1.000000.9999690.FFFE
Coefficients1.15–1.00000+1.000000.9999690.FFFE
Product2.18–0.99969+3.000201.0000001.00000
Sum4.18–7.00000+8.00007.9999967.FFFFC
FIR Output1.17–1.00000+1.000000.9999920.FFFF8
The Scale and Ramp block adjusts the final magnitude of the
modulated RCF output. A synchronization pulse from the SYNC0–3
pins or serial words can be used to command this block to ramp
down, pause, and ramp up to a new scale factor. The shape of
the ramp is stored in RAM, allowing complete sample by sample
control at the RCF interpolated rate. This is particularly useful
for time division multiplexed standards such as GSM/EDGE.
Modulator configurations can be updated while the ramp is quiet,
allowing for GSM and EDGE timeslots to be multiplexed together
without resetting or reconfiguring the channel. Each of the RCF
processing blocks is discussed in greater detail in the following
sections.
INTERPOLATING FIR FILTER
The Interpolating FIR Filter realizes a real, sum-of-products filter
on I and Q inputs using a single interleaved Multiply-Accumulator
(MAC) running at the CLK rate. The input signal is interpolated
by integer factors to produce arbitrary impulse responses up to
256 output samples long.
Each bus in the data path carries bipolar two’s complement values.
For the purpose of discussion, we will arbitrarily consider the radix
point positioned so that the input data ranges from –1 to just
below 1. In Figure 19, the data buses are marked x ⫻ y to denote
finite precision limitations. A bus marked x ⫻ y has x bits above
the radix and y bits below the radix, which implies a range from
REV. 0
–17–
AD6623
x–1
–2
Table IV for each
each MSB has nega
limited by result of the
bits are the same except in one case.
The RCF realizes a FIR filter with optional interpolation. The FIR
filter can produce impulse responses up to 256 output samples
long. The FIR response may be interpolated up to a factor of 256,
although the best filter performance is usually achieved when the
RCF interpolation factor (L
256 ⫻ 16 coefficient memory (CMEM) can be divided among an
arbitrary number of filters, one of which is selected by the Coefficient Offset Pointer (channel address 0x0B). The polyphase
implementation is an efficient equivalent to an integer up-sampler
followed FIR filter running at the interpolated rate.
The AD6623 RCF realizes a sum-of-products filter using a polyphase
implementation. This mode is equivalent to an interpolator followed
by a FIR filter running at the interpolated rate.
diagram below, the interpolating block increases the rate by the RCF
interpolation factor (L
between every input sample.
impulse response length (N
where n is an integer from 0 to N
The difference equation for Figure 20 is written below, where h[n]
is the RCF impulse response, b[n] is the interpolated input sample
sequence at point ‘b’ in the diagram above, and c[n] is the output
sample sequence at point ‘c’ in Figure 20.
This difference equation can be described by the transfer function
from point ‘b’ to ‘c’ as:
The actual implementation of this filter uses a polyphase decomposition
Compared to the diagram above, this implementation has the benefits
x–1
to 2
– 2–y in 2–y steps.
The range limits are tabulated in
bus. The hexadecimal values are bit-exact and
tive weight. Note that the Product bus range is
multiplication and the two most significant
INPUT
DMEM
3216
CMEM
25616
1.15
INPUT
1.152.181.17
COEF
1.15
ACCUMULATOR
4.18
PRODUCT
20, 2–1, 2–2, OR 2
Figure 19. Interpolating FIR Filter Block Diagram
) is confined to eight or below. The
RCF
In the functional
) by inserting L
RCF
The next block
) and an impulse
RCF
f
f
IN
L
RCF
L
IN
RCF
bac
–1 zero valued samples
RCF
is a filter with a finite
response of h[n],
–1.
RCF
N
TA P
RCF
FIR FILTER
h[n]
f
L
IN
Figure 20. RCF Interpolation
N
1
–
=
[]
()
bc
RCF
∑
[]
=k 0
N
–
1
RCF
=
∑
k
= 0
–
×
[]
–
1
×
[]
cnhn bn k
Hzhnz
to skip the multiply-accumulates when b[n–k] is zero.
OUTPUT
–3
RCF
of reducing by a factor of L
an output and the required data memory (DMEM). The price of
these benefits is that the user must place the coefficients into the coefficient
memory (CMEM) indexed by the interpolation phase. The process of
selecting the coefficients and placing them into the CMEM is broken
into three steps shown below.
The FIR accepts two’s complement I and Q samples from the serial
port with a fixed-point resolution of 16 bits each. When the serial port
provides data with less precision, the LSBs are padded with zeroes.
The Data-Mem stores the most recent 16 I and Q pairs for a total
of 32 words. The size of the Data-Mem limits the RCF impulse
response to 16 ⫻ L
the Serial Port have fewer than 16 bits, the LSBs are padded with
zeroes. The Data-Mem can be accessed through the Microport
from 0x20 to 0x5F above the processing channel’s base internal
address, while the channel’s Prog bit is set (external address 4).
In order to avoid start-up transients, the Data-Mem should be
cleared before operation. The Prog bit must then be reset to
enable normal operation.
The Coef-Mem stores up to 256 16-bit filter coefficients. The CoefMem can be accessed through the Microport from 0x800 to 0x8FF
above the processing channel’s base internal address, while the channel’s
Prog bit is set (external address 4). For AD6622 compatibility, the lower
128 words are also mirrored from 0x080 to 0x0FF above the processing
channel’s base internal address, while
start-up transients, the Data-Mem should be cleared
The Prog bit must
There is a single Multiply-Accumulator (MAC) on which both the
I and Q operations must be interleaved. Two CLK cycles are required
for the MAC to multiply each coefficient by an I and Q pair. The
MAC is also used for four additional CLK cycles if the All-pass
Phase Equalizer is active.
The size of the Data-Mem and Coef-Mem combined with the
speed of the MAC determine the total number of the taps per
phase (T
RCF input samples that influence each RCF output sample.
The maximum available T
Tleast offloor
RCF
The impulse response length at the output of the RCF is deter
by the product of the number of interfering input samples
(5)
and the RCF interpolation factor (L
(8) below. The values of N
registers. L
be set so that L
the RCF results in an inconvenient sample rate at the output of
(6)
the RCF, the desired output rate can usually be
selecting non-integer interpolation in the resampling
NTL
output samples. When the data words from
RCF
then be reset to enable channel operation.
) that may be calculated. T
RCF
≤
RCFRCFRCF
16
is not a control register, but N
RCF
RCF
RCF
is an integer. If the integer interpolation by
=×
both the time needed
RCF
the Prog
bit is set. To avoid
to calculate
before operation.
is the number of
RCF
is calculated by the equation below.
RCF
256
L
RCF
f
CLK
floor
2
×
f
SDO
2,, –
APE
×
(T
and T
), as shown by
RCF
are programmed
RCF
RCF
equation
into control
and T
RCF
achieved by
CIC2 filter.
(7)
mined
RCF
must
(8)
)
–18–
REV. 0
Table V. RCF Control Registers
AD6623
ChannelBit
AddressWidthDescription
0x0A1615–8: N
0x0B87–0: O
0x0C10
9: Ch. A Compact FIR Input Word Length
–1 B; 7–0: N
RCF
RCF
RCF
–1 A
0: 16 bits–8 I followed by 8 Q
1: 24 bits–12 I followed by 12 Q
8: Ch. A RCF PRBS Enable
7: Ch A RCF PRBS Length
0: 15
1: 8,388,607
6–4: Ch. A RCF Mode Select
000 = FIR
001 = p/4-DQPSK Modulator
010 = GMSK Look-Up Table
011 = MSK Look-Up Table
100 = FIR compact mode
101 = 8-PSK
110 = 3p/8-8PSK Modulator
111 = QPSK Look-Up Table
3–0: Ch. A RCF Taps per Phase
0x0D87–6: RCF Coarse Scale (g):
00 = 0 dB
01 = –6 dB
10 = –12 dB
11 = –18 dB
5: Ch. A Allpass Ph. Eq. Enable
4–0: Serial Clock Divider (1, ..., 32)
0x0E1615–2: Ch. A Unsigned Scale Factor
1–0: Reserved
0x0F1817–16: Ch. A Time Slot Sync Select
00: Sync0 (See 0x001 Time Slot)
01: Sync1
10: Sync2
11: Sync3
15–0: Ch. A RCF Scale Hold-Off Counter
1) Ramp Down (if Ramp is enabled)
2) Update Scale and Mode
3) Ramp Up (if Ramp is enabled)
0x1101615–0: Ch. A RCF Phase EQ Coef1
0x1111615–0: Ch. A RCF Phase EQ Coef2
0x1121615–0: Ch. A RCF MPSK Magnitude 0
0x1131615–0: Ch. A RCF MPSK Magnitude 1
0x1141615–0: Ch. A RCF MPSK Magnitude 2
0x1151615–0: Ch. A RCF MPSK Magnitude 3
0x11687: Reserved
6: Ch. A Serial Data Frame Select
0: Serial Data Frame Request
1: Serial Data Frame End
ChannelBit
AddressWidth Description
5: Ch. A External SDFI Select
0: Internal SDFI
1: External SDFI
4: Ch. A SCLK Slave Select
0: Master
1: Slave
3: Ch. A Serial Fine Scale Enable
2: Ch. A Serial Time Slot Sync Enable
(ignored in FIR mode)
1: Ch. A Ramp Interpolation Enable
0: Ch. A Ramp Enable
0x11765–0: Ch. A Mode 0 Ramp Length, R0–1
0x11865–0: Ch. A Mode 1 Ramp Length, R1–1
0x11954–0: Ch. A Ramp Rest Time, Q
0x11A–0x11FReserved
0x120–0x13F 1615–0: Ch. A Data Memory
0x140–0x17F 1615–14: Reserved
13–0: Ch. A Power Ramp Memory
0x180–0x1FF 1615–0: Ch. A Coefficient Memory
This address is mirrored at 0x900–0x97F
and contiguously extended at
0x980–0x9FF
PSK MODULATOR
The PSK Modulator is an AD6623 extension feature that is
only available when the control register bit 0x000:7 is high.
The PSK Modulator creates 32-bit complex inputs to the
Interpolating FIR Filter from two or three data bits captured
by the serial port. The FIR Filter operates exactly as if the 32bit word came directly from the serial port. There are three
PSK modulation options to choose from: /4-DQPSK, 8-PSK,
and 3/8-8-PSK. Every symbol of any of these modulations
can be represented by one of the 16 phases shown in Figure 21.
0
Figure 21. 16-Phase Modulations
REV. 0
–19–
AD6623
All of these phase locations are represented in rectangular coordinates by only four unique magnitudes in the positive and negative
directions. These four values are read from four channel registers
that are programmed according to the following table, which
gives the generic formulas and a specific example. The example
is notable because it is only 0.046 dB below full-scale and the
16-bit quantization is so benign at that magnitude, that the rms
error is better than –122 dBc. It is also worth noting that because
none of the phases are aligned with the axes, magnitudes slightly
beyond 0.16 dB above full-scale are achievable.
The Sph word is calculated by the QPSK Mapper according to
the following truth table.
Using the four channel registers from the preceding table, the PSK
Modulator assembles the 16 phases according to Table VII.
Table VII. PSK Modulator Phase
PhaseI ValueQ Value
8-PSK Modulation
IS-136+ compliant 8-PSK modulation is selected by setting the
channel register 0x0C: 6–4 to 101b. The Phase word is calculated
according to the following diagram. The three LSBs of the serial
input word update the payload bits once per symbol.
The following three sections show how the phase values are
created for each PSK modulation mode.
/4-DQPSK Modulation
IS-136 compliant /4-DQPSK modulation is selected by setting
the channel register 0x0C: 6–4 to 001b. The phase word is calculated
according to the following diagram. The two LSBs
input word update the payload bits once per symbol.
Mapper creates a data dependent static phase word (Sph)
of the serial
The
QPSK
which
is added to a time dependent rotating phase word (Rph). The Rph
starts at zero when the RCF is reset or
pulse. Otherwise, the Rph increments
switches modes via a sync
by two on every symbol.
3 /8-8-PSK Modulation
EDGE compliant 3 /8-8-PSK modulation is selected by setting the
channel register 0x0C: 6–4 to 110b. The phase word is calculated
according to the following diagram. The three LSBs of the serial
input word update the payload bits once per symbol. The 8-PSK
Mapper creates a data-dependent static phase word (Sph) which is
added to a time-dependent rotating phase word (Rph). The 8-PSK
Mapper operates exactly as described in the
Modulation section. The Rph starts at zero when
or switches modes via a sync pulse. Otherwise, the Rph increments
by three on every symbol.
(2
and the corresponding coefficient weight from positive full-scale
through zero to negative full-scale is illustrated in Table X.
Figure 24. 3 π/8-8-PSK Mapper
MSK Look-Up Table
The MSK Look-Up Table mode for the RCF is selected in Control
Register 0x10C. In the MSK Mode, the RCF performs
pulse-shaping based on four symbols of impulse response.
arbitrary
For the
MSK Mode (3, [16] bits), the serial input format is 11 bits of scaling
(MSB first) followed by 1 bit of data. The 11 bits can be used to
scale the input data.
GMSK Look-Up Table
The GMSK Look-Up Table mode for the RCF is selected in Control
Table XI shows the recommended b
respective oversampling rate.
Register 0x10C. In the GMSK Mode, the RCF performs arbitrary
pulse-shaping based on four symbols of impulse response.
GMSK Mode (3, [16] bits), the serial input format is 11
For the
bits of
scaling (MSB first) followed by 1 bit of data. The 11 bits can be used
to scale the input data.
QPSK Look-Up Table
The QPSK Filter mode for the RCF is selected in Control
Register 0xX0C. In the QPSK Mode, the RCF performs baseband
linear pulse-shaping based on filter impulse response up to 12
symbols. For the QPSK Mode (3, [16]bits), the serial input format
is 13 bits of scaling (MSB first) followed by one bit I and then
SCALE AND RAMP
Scale factors can be range from 0 to [CHF]–1/[CHF] with a
resolution 1/[CHF]
one bit Q. The 13 bits can be used to scale the input data.
PHASE EQUALIZER
The IS-95 Standard includes a phase equalizer after matched
filtering at the baseband transmit side of a base station. This
filter pre-distorts the transmitted signal at the base station in
order to compensate for the distortion introduced to the received
signal by the analog baseband filtering in a handset. The AD6623
includes this functionality in the form of an Infinite Impulse
Response (IIR) all-pass filter in the RCF. This Phase Equalizer
pre-distort filter has the following transfer function:
2
12
Hz
()
==
Yz
()
Xz
()
bz bz
++
11 2
2
zbzb
++
FINE SCALING
AD6623 allows fine scaling of the RCF output signal. A scale
factor of 12 to 14 bits is available through the Microport. The
Microport fine scale factor is located in Channel Register 0xn0E.
RCF POWER RAMPING
The output of the RCF will be multiplied by a 14-bit ramping
profile before entering the CIC filters. It is a RAM programmable engine that starts indexing through ramping coefficients
when the RAMP bit works its way through the chain. It will then
count a programmable number of samples and then RAMP down
in reverse order. This will allow the ramping values to update at
(9)
a modest rate relative to the DAC and still contain the spectral
leakage associated with the ramping. A user should provide
X(z)
–1
Z
b
2
–1
Z
b
1
through the MicroPort the ramping coefficient values, the number
of samples to ramp up, and one bit to define the air-interface
standard. The programmable power ramp up/down unit allows
power ramping on time-slot basis as specified from some wireless
transmission technologies (e.g, TDMA).
AD6623
) ⫻ 2, or 0.00006103515625. The register values, in hexadecimal,
The I and Q outputs of the RCF stage are interpolated by two
cascaded integrator comb (CIC) filters. The CIC section is separated into three discrete blocks: a fifth order filter (CIC5), a second
order resampling filter (rCIC2), and a scaling block (CIC Scaling).
The CIC5 and rCIC2 blocks each exhibit a gain that changes with
respect to their rate change factors, L
rCIC2
, M
rCIC2
and L
CIC5
. The
product of these gains must be compensated for in a shared CIC
Scaling block and can be done to within 6 dB The remaining
compensation can come from the RCF (in the form of coefficient scaling) or the fine scaling unit.
AD6623
CIC Scaling
The scale factor S
is a programmable unsigned integer
CIC
between 4 and 32. This is a combined scaler for the CIC5 and
baseband, but internal registers peak in response to various
dynamic inputs. As long as L
is no possibility of overflow at any register.
rCIC2 stages. The overall gain of the CIC section is given by
the equation below
CIC Gain LL
_
4
=××
CICrCIC
5
–
S
CIC
2
2
(10)
CIC5
The first CIC filter stage, the CIC5, is a fifth order interpolating
cascaded integrator comb whose impulse response is completely
defined by its interpolation factor, L
CIC5
. The value L
CIC5
–1 can
be independently programmed for each channel at location 0xn09.
The pass band droop of CIC5 should be calculated using this equation
and can be compensated for in the RCF stage. The gain should
be calculated from the CIC scaling section above.
As an example, consider an input from the RCF whose bandwidth
is 0.141 of the RCF output rate, centered at baseband. Interpolation
by a factor of five reveals five images, as shown below.
2–S
CIC
CIC_SCALErCIC2CIC5
L
CIC5
L
rCIC
2
M
rCIC
2
Figure 26. CIC5
While this control register is 8 bits wide, L
should be confined
CIC5
to the range from 1 to 32 to avoid the possibility of internal
overflow for full scale inputs. The output rate of this stage is given
by the equation below.
ffL
=×
CICCICCIC255
(11)
The transfer function of the CIC5 is given by the following
equations with respect to the CIC5 output sample rate, f
5
L
–
CIC
CIC z
5
()
1
=
5
z
–
1
1
–
z
–
samp5
.
(12)
The SCIC value can be independently programmed for each
channel at Control Register 0xn06. S
according to equation (13) below to ensure the net gain through
the CIC stages.
SCIC serves to frame which bits of the CIC output are transferred
to
the NCO stage. This results in controlling the data out of the
stages in 6 dB Increments. For the best dynamic range, S
CIC
should be set to the smallest value possible (lowest attenuation)
without creating an overflow condition. This can be safely
accomplished using the equation below. To ensure the CIC
may be safely calculated
CIC
CIC
The CIC5 rejects each of the undesired images while passing the
image at baseband. The images of a pure tone at channel center
(DC) are nulled perfectly, but as the bandwidth increases the
rejection is diminished. The lower band edge of the first image
always has the least rejection. In this example, the CIC5 is inter-
polating by a factor of five and the input signal has a bandwidth
of 0.141 of the RCF output sample rate. The plot below shows
–110 dBc rejection of the lower band edge of the first image. All
other image frequencies have better rejection.
output data is in range, equation (13) must always be met. The
maximum total interpolation rate may be limited by the amount
of scaling available.
CIC f
5
is confined to 32 or less, there
CIC5
5
Lf
sinππ
CIC
f
f
CIC
CIC
sin
1
()=
10
–10
–30
–50
–70
dB
–90
–110
–130
–150
–33–2–1012
L
CIC
5
×
5
5
f
5
Figure 27. Interpolation Images
10
–10
(16)
SceilLL
≥×
4
loglog
CICCICCIC
058≤≤S
()
CIC
25 22
+
()
()
(13)
(14)
This polynomial fraction can be completely reduced as follows
demonstrating a finite impulse response with perfect phase
linearity for all values of L
–
1
L
CIC
5
CIC zzze
5
()–
=
–
∑
0
==
k
.
CIC5
5
k
–
L
1
CIC
5
=
∑
k
1
j
–
1
5
k
π
2
L
CIC
5
(15)
The frequency response of the CIC5 can be expressed as follows.
The initial 1/L
which is appropriate when the samples are destined for a DAC
with a zero order hold output. The maximum gain is L
factor normalizes for the increased rate,
CIC5
CIC5
4
at
–22–
–30
–50
–70
dB
–90
–110
–130
–150
–33–2–1012
Figure 28. –110 dBc Rejection
REV. 0
AD6623
Table XII lists maximum bandwidth that will be rejected to various
levels for CIC5 interpolation factors from 1 to 32. The
above corresponds to the listing in the –110 dB column and the
= 5 row. It is worth noting here that the rejection of the
L
CIC5
CIC5 improves as the interpolation factor increases.
Table XII. Max Bandwidth of Rejection for L
–110 dB–100 dB–90 dB–80 dB–70 dB
FullFullFullFullFull
0.1010.1270.1600.2030.256
0.1260.1590.1980.2460.307
0.1360.1700.2110.2620.325
Values
CIS
example
Chosen L
324096
311162
24–30
233836
1–224096
Two parameters determine the rate change in this block. They are
the interpolation factor (L
(M, 9 bits). When combined, and subject to the maximum
of L
0.1360.1750.2170.2690.333
0.1430.1780.2200.2720.337
0.1440.1790.2220.2750.340
0.1450.1800.2240.2760.341
0.1460.1810.2240.2770.342
0.1460.1820.2250.2780.343
0.1470.1820.2260.2780.344
0.1470.1820.2260.2790.344
0.1470.1830.2260.2790.345
0.1470.1830.2260.2790.345
0.1480.1830.2270.2800.345
0.1480.1830.2270.2800.345
0.1480.1830.2270.2800.346
0.1480.1830.2270.2800.346
0.1480.1830.2270.2800.346
The only constraint is that the ratio L/M must be greater than or
equal to one. This implies that the rCIC2 has a net interpolation
of 1 or more.
Resampling is implemented by apparently increasing the input
sample rate by the factor L, using zero stuffing for the new data
samples. Following the resampler is a second order cascaded
integrator comb filter. Filter characteristics are determined only
by the fractional rate change (L/M).
The filter can produce output signals at the full CLK rate of the
AD6623. The output rate of this stage is given by the equation
below.
0.1480.1840.2270.2800.346
0.1480.1840.2270.2800.346
0.1480.1840.2270.2800.346
0.1480.1840.2270.2800.346
0.1480.1840.2270.2800.346
0.1480.1840.2270.2810.346
0.1480.1840.2270.2810.346
0.1480.1840.2270.2810.346
0.1480.1840.2270.2810.346
0.1480.1840.2270.2810.346
Both L
rate (L
may be between 1 and 512. The stage can be bypassed by setting
the L and M to 1.
The transfer function of the rCIC2 is given by the following
equations with respect to the rCIC2 output sample rate, f
0.1480.1840.2270.2810.346
0.1480.1840.2270.2810.346
0.1480.1840.2280.2810.346
rCIC2
The rCIC2 filter is a second order Cascaded Resampling Integrator
Comb filter whose impulse response is completely defined by
its rate change factors, L
rCIC2
and M
. The resampler is
rCIC2
The frequency response of the rCIC2 can be expressed as follows.
The maximum gain is L
factor normalizes for the increased rate, which is appropriate when
the samples are destined for a DAC with a zero order hold output.
implemented using a unique technique that does not require
a high-speed clock (but it’s still completely jitter-free), thus
simplifying the design and saving power. The resampler allows for
noninteger relationships between the input data rate and the master
clock. This allows easier implementation of systems that are either
multimode or require a master clock that is not a multiple of the
input data rate to be used.
The value of L
tions based upon the chosen LCIC5 value as shown in Table XIII.
is limited from 1 to 4096 subject to some restric-
rCIC2
The pass-band droop of CIC5 should be calculated using this
equation and can be compensated for in the RCF stage. The
gain should be calculated from the CIC scaling section above.
The values M
for each channel at locations 0xn07, 0xn08. While
registers are nine bits and 12 bits wide respectively,
Table XIII. Maximum Permissible L
ValueMaximum Allowed L
CIC5
30 4
– log ()
L
rCIC
, 12 bits) and the decimation
rCIC2
, the total rate change can be any fraction in the form of:
rCIC2
R
rCIC2
f
out
rCIC z
rCIC f
L
M
L
2
rCIC
=
M
2
rCIC
and M
rCIC2
) may be from 1 to 4096 and the decimation (M
rCIC2
2
()
=
2
()=
rCIC2
LM
1 14096 1512=≥≤≤≤≤,,
f
2
rCIC
are unsigned integers. The interpolation
rCIC2
2
L
–
rCIC
2
z
1
M
L
–
1
rCIC
rCIC
–1, L
1
–
z
–
at baseband. The initial M
rCIC2
sin
2
2
sinππ
–1 can be independently programmed
rCIC2
[]
2
=
2
Lf
rCIC
×
2
f
f
out
f
out
RC1C2
L
CIC
23
2
Values
rCIC2
these control
M
factor
values
(17)
(18)
rCIC2
.
out
(19)
rCIC2/LrCIC2
(20)
–1 and
rCIC2
)
REV. 0
–23–
AD6623
L
–1 should be confined to the ranges shown by Table XIII
rCIC2
according to the interpolation factor of the CIC5.
Exceeding the
recommended guidelines may result in overflow for input sequences
at or near full scale. While relatively large ratios
of L
rCIC2/MrCIC2
allow for the larger overall interpolations with minimal power
consumption, L
rCIC2/MrCIC2
should be minimized to achieve the
best overall image rejection.
As an example, consider an input from the CIC5 whose bandwidth
is 0.0033 of the CIC5 rate, centered at baseband.
Interpolation
by a factor of five reveals five images, as shown below.
10
–10
–30
–50
–70
dB
–90
–110
–130
–150
–2–1
012
Figure 29. CIC5 Interpolation Images
The rCIC2 rejects each of the undesired images while passing
the image at baseband. The images of a pure tone at channel
center (DC) are nulled perfectly, but as the bandwidth increases
the rejection is diminished. The lower band edge of the first
image always has the least rejection. In this example, the rCIC2
is interpolating by a factor of five and the input signal has a
bandwidth of 0.0033 of the CIC5 output sample rate. Figure 30
below shows –110 dBc rejection of the lower band edge of the
first image. All other image frequencies have better rejection.
10
–10
–30
–50
–70
dB
–90
–110
–130
–150
–33–2–1012
Figure 30. rCIC2 –110 dBc
Table XIV lists maximum bandwidth that will be rejected to
various levels for CIC2
interpolation factors from 1 to 32. The
example above corresponds to the listing in the –110 dB column
and the L
= 5 row. The rejection of the CIC2 improves as
CIC2
the interpolation factor increases.
Table XIV. Maximum Bandwidth of Rejection for L
–110 dB–100 dB–90 dB–80 dB–70 dB
FullFullFullFullFull
0.00230.00400.00720.01270.0226
0.00290.00520.00930.01650.0292
0.00320.00570.01010.01790.0316
0.00330.00590.01050.01860.0328
0.00340.00600.01070.01890.0334
0.00340.00610.01080.01920.0338
0.00350.00620.01090.01930.0341
0.00350.00620.01100.01940.0343
0.00350.00620.01100.01950.0344
0.00350.00620.01100.01950.0345
0.00350.00620.01110.01960.0346
0.00350.00620.01110.01960.0346
0.00350.00630.01110.01960.0347
0.00350.00630.01110.01970.0347
0.00350.00630.01110.01970.0347
0.00350.00630.01110.01970.0348
0.00350.00630.01110.01970.0348
0.00350.00630.01110.01970.0348
0.00350.00630.01110.01970.0348
0.00350.00630.01110.01970.0348
0.00350.00630.01110.01970.0348
0.00350.00630.01110.01970.0348
0.00350.00630.01120.01970.0348
0.00350.00630.01120.01980.0349
0.00350.00630.01120.01980.0349
0.00350.00630.01120.01980.0349
0.00350.00630.01120.01980.0349
0.00350.00630.01120.01980.0349
0.00350.00630.01120.01980.0349
0.00350.00630.01120.01980.0349
0.00350.00630.01120.01980.0349
NUMERICALLY CONTROLLED OSCILLATOR/TUNER
Each channel has a fully independent tuner. The tuner accepts
data from the CIC filter, tunes it to a digital Intermediate Frequency (IF), and passes the result to a shared summation block.
The tuner consists of a 32-bit quadrature NCO and a Quadrature
Amplitude Mixer (QAM). The NCO serves as a local oscillator and
the QAM translates the interpolated channel data from baseband
to the NCO frequency. The worst case spurious signal from the
NCO is better than –100 dBc for all output frequencies. The
tuner can produce real or complex outputs as requested by the
shared summation block.
In the complex mode, the NCO serves as a quadrature local oscil
running at f
–f
CLK
f
CLK
In the real mode, the NCO serves as a quadrature local oscillator
running at f
–f
CLK
f
CLK
discarded. Negative frequencies are distinguished from positive
Values
CIC2
(NCO)
lator
/2 capable of producing any frequency step between
CLK
/4 and +f
/4 with a resolution of f
CLK
CLK
33
/2
(0.0121 Hz for
= 104 MHz).
capable of producing any frequency step between
CLK
/2 and +f
/2 with a resolution of f
CLK
CLK
32
/2
(0.0242 Hz for
= 104 MHz). The quadrature portion of the output is
–24–
REV. 0
PHASE
OFFSET
16
AD6623
16
NCO
MICROPROCESSOR
INTERFACE
FREQUENCY
WORD
3232
QD
3232
CLK
QD
3232
ON
GEN.
OFF
PN
Figure 31. Numerically Controlled Oscillator and QAM Mixer
frequencies solely by spectral inversion. The digital IF is calculated using the equation:
NCO frequency
ff
=×
IFNCO
_
32
2
(21)
where:
NCO_frequency is the value written to 0xn02,
f
is the desired intermediate frequency, and
IF
f
is f
NCO
/2 for complex outputs and f
CLK
for real outputs.
CLK
Phase Dither
The AD6623 provides a phase dither option for improving the
spurious performance of the NCO. Phase dither is enabled by
writing a “1” to Bit 3 of Channel Register 0xn01. When phase
dither is enabled, spurs due to phase truncation in the NCO are
randomized. The choice of whether phase dither is used in a system
will ultimately be decided by the system goals and the choice of IF
frequency. The 18 most significant bits of the phase accumulator
are used by the angle to Cartesian conversion. If the NCO frequency
has all zeroes below the 18
If the fraction below the 18
th
bit, then phase dither has no effect.
th
bit is near a 1/2 or 1/3 of the 18
th
This register allows multiple NCOs to be synchronized to produce
sine waves with a known phase relationship.
NCO Frequency Update and Phase Offset Update Hold-Off
Counters
The update of both the NCO frequency and phase offset
can be
these
the master
tion with the
forming and frequency
of the data sheet for additional
be cleared on Sync (set to 0x0000)
Register 0xn01 high.
NCO Control Scale
The output of the NCO can be scaled in four steps of 6 dB each
via Channel Register 0xn01, Bits 1–0. Table XV show a breakdown of the NCO Control Scale. The NCO always has loss to
accommodate the possibility that both the I and Q inputs may
reach full-scale simultaneously, resulting in a 3 dB input magnitude.
bit, then spurs will accumulate separated from the IF by 1/2 or
1/3 of the CLK frequency. The smaller the denominator of this
residual fraction, the larger the spurs due to phase truncation will
be. If the phase truncation spurs are unacceptably high for a given
frequency, then the phase dither can reduce these at the penalty
of a slight elevation in total error energy. If the phase truncation
spurs are small, then phase dither will not be effective in reducing
0xn01 Bit 10xn01 Bit 0NCO Output Level
00–6 dB (no attenuation)
01–12 dB attenuation
10–18 dB attenuation
11–24 dB attenuation
them further, but a slight elevation in total error energy will occur.
Amplitude Dither
Amplitude dither can also be used to improve spurious performance
of the NCO. Amplitude dither is enabled by writing a “1” to Bit 4
of Channel Register at 0xn01. When enabled, amplitude dither
can reduce spurs due to truncation at the input to the QAM. If
the entire frequency word is close to a fraction that has a small
denominator, the spurs due to amplitude truncation will be large
and amplitude dither will spread these spurs effectively. Amplitude
dither also will increase the total error energy by approximately
3 dB. For this reason amplitude dither should be used judiciously.
Phase Offset
The phase offset (Channel Register 0xn04) adds an offset to the
phase accumulator of the NCO. This is a 16-bit register that is
interpreted as a 16-bit unsigned integer. Phase offset ranges
from 0 to nearly 2 radians with a resolution of /32768 radians.
SUMMATION BLOCK
The Summation Block of the AD6623 serves to combine the
outputs of each channel to create a composite multicarrier signal.
The four channels are summed together and the result is then
added with the 18-bit Wideband Input Bus (IN[17:0]). The final
summation is then driven on the 18-bit Wideband Output Bus
(OUT[17:0]) on the rising edge of the high speed clock. If the
OEN input is high then this output bus is three-stated. If the OEN
input is low then this bus will be driven by the summed data.
The OEN is active high to allow the Wideband Output Bus to
be connected to other busses without using extra logic. Most
busses (like 374 type registers) require a low output enable,
opposite of the AD6623 OEN, thus eliminating extra circuitry.
The wideband parallel input IN[17:0] is defined as bidirectional,
to support dual parallel outputs. Each parallel output produces
the sum of two of the four internal TSPs and AD6623
I DATA FROM
ANGLE TO
CARTESIAN
CONVERSION
ON
OFF
PN
GEN.
I, Q
Q DATA FROM
CIC5
CIC5
I
Q
synchronized with internal Hold-Off counters. Both of
counters are 16-bit unsigned integers and are clocked at
CLK
rate. These Hold-Off counters used in conjunc-
frequency or phase offset registers, allow beam
hopping. See the Synchronization section
details. The NCO phase can also
by setting Bit 2 of Channel
Table XV. NCO Control Scale
other
which is
that can
REV. 0
–25–
AD6623
drive two DACs. Channels are added in pairs (A + B), (C + D)
as shown in Figure 32.
to output complex data on the Wideband Output Bus. The I data
samples would be identified when QOUT is low
samples would be identified when QOUT is high. The
CHANNELS
A + B
AD6623
CHANNELS
C + D
OUT
[17:0]
IN/ OUT
[17:0]
14-BIT
DAC
14-BIT
DAC
Figure 32. AD6623 Driving Two DACs
The Wideband Output Bus may be interpreted as a two’s complement number or as an offset binary number as defined by bit 1 of the
Summation Mode Control Register at address 0x000. When this
bit is high, then the Wideband Output is in two’s complement mode
and when it is low it is configured for offset binary output data.
method of obtaining complex data is to provide a QIN signal that
toggles on every rising edge of the CLK. This could be obtained
by connecting the QOUT of another AD6623 to QIN as shown
in Figure 33. In a cascaded system the QIN of the first AD6623
in the chain would typically be tied high and the QOUT of the
first AD6623 would be connected to the QIN of the following
part. All AD6623s will synchronize themselves to the QIN input
so that the proper samples are always paired and the Wideband
Output bus represents valid complex data samples. Table XV
shows different parallel input and output data bus formats as a
function of QIN and QOUT.
The MSB (bit 17) of the Wideband Output Bus is typically used
as a guard bit for the purpose of clipping the wideband output
bus when bit 0 of the Summation Mode Control Register at
address 0x000 is high. If clip detection is enabled then bit 17 of
the output bus is not used as a data bit. Instead, bit 16 will become
the MSB and is connected to the MSB of the DAC. Configuring
the DAC in this manner gives the summation block a gain of 0 dB.
When clip detection is not enabled and bit 17 is used as a data
QININ[17:0]OUT[17:0], QOUT
LowRealReal
HighZeroComplex
PulsedComplexComplex
bit then the summation block will have a gain of –6.02 dB.
There are two data output modes. The first is offset binary.
This mode is used only when driving offset binary DACs. Two’s
LOGIC1
complement mode may be used in one of two circumstances. The
first is when driving a DAC that accepts two’s complement data.
LOGIC0
The second is when driving another AD6623 in cascade mode.
When clipping is enabled, the two’s complement mode output bus
will clip to 0x2FFFF for output signals more positive than the
output can express and it will clip to 0x3000 for signals more negative than the output can express. In offset binary mode the output
bus will clip to 0x3FFFF for output signals more positive than
the output can express and it will clip to 0x2000 for signals more
negative than the output can express.
The Wideband Input is always interpreted as an 18-bit two’s
complement number and is typically connected to the Wideband
Output Bus of another AD6623 in order to send more than four
carriers to a single DAC. The Output Bus of the preceeding
AD6623 should be configured in two’s complement mode and
clip detection disabled. The 18-bit resolution insures that the noise
and spur performance of the wideband data stream does not become
the limiting factor as large numbers of carriers are summed.
There is a two-clock cycle latency from the Wideband Input Bus
to the Wideband Output Bus. This latency may be calibrated out
of the system by use of the Start Hold-Off counter. The preceding
AD6623 in a cascaded chain can be started two CLK
cycles before
the following AD6623 is started and the data from each AD6623
will arrive at the DAC on the same clock cycle. In systems where the
individual signals are not correlated, this is usually not necessary.
The AD6623 is capable of outputting both real and complex data.
When in Real mode the QIN input is tied low signaling that all
inputs on the Wideband Input Bus are real and that all outputs
on the Wideband Output Bus are real. The Wideband Input Bus
will be pulled low and no data will be added to the composite
signal if this port is unused (not connected).
SYNCHRONIZATION
Three types of synchronization can be achieved with the AD6623.
These are Start, Hop, and Beam. Each is described in detail below.
The synchronization is accomplished with the use of a shadow
register and a Hold-Off counter. See Figure 34 for a simplistic
schematic of the NCO shadow register and NCO Frequency
Hold-Off counter to understand basic operation. Enabling the
clock (AD6623 CLK) for the Hold-Off counter can occur with
either a Soft_Sync (via the micro port), or a Pin Sync (via the
AD6623 Sync pin, Pin 62). The functions that include shadow
registers to allow synchronization include:
1. Start
2. Hop (NCO Frequency)
3. Beam (NCO Phase Offset)
Start
Refers to the start-up of an individual channel, chip, or multiple
chips. If a channel is not used, it should be put in the Sleep
Mode to reduce power dissipation. Following a hard reset (low
pulse on the AD6623 RESET pin), all channels are placed in
the Sleep Mode.
Start With No Sync
If no synchronization is needed to start multiple channels or multiple AD6623s, the following method should be used to initialize
the device.
1. To program a channel, it must first be set to the Program Mode
If complex data is desired there are two ways this can be obtained.
The first method is to simply set the QIN input of the
high and to set the Wideband Input Bus low. This allows
AD6623
the AD6623
and
the Q data
second
Table XV. Valid Output Bus Data Modes
Wideband InputOutput Data Type
Q
IN
IN
[17:0]
Q
OUT
OUT
[17:0]
Q
IN
IN
[17:0]
AD6623AD6623
OUT
[16:3]
14-BIT
DAC
Figure 33. Cascade Operation of Two AD6623s
(bit high) and Sleep Mode (bit high) (Ext Address 4). The
Program Mode allows programming of data memory and coefficient memory (all other registers are programmable whether in
Program Mode or not). Since no synchronization is used, all
–26–
REV. 0
AD6623
Sync bits are set low (External Address 5). All appropriate
control and memory registers (filter) are then loaded. The
Start Update Hold-Off Counter (0xn00) should be set to 0.
2. Set the appropriate program and sleep bits low (Ext Address 4).
This enables the channel. The channel must have Program
and Sleep Mode low to activate a channel.
NCO
REGISTER
3232
QD
ENA
HOLDOFF
COUNTER
C = 1
D
PL
C = 0
ENA
START
COUNTER
C = 1
D
PL
C = 0
ENA
NCO PHASE
ACCUMULATOR
CLR
SLEEP
Q
SET
RESET PINCLK
MICROPROCESSOR INTERFACE
NCO SHADOW
32
16
HOP
SYNC
START
SYNC
REGISTER
QD
HOP
HOLDOFF
QD
START
HOLDOFF
QD
CLR
16
1616
Figure 34. NCO Shadow Register and Hold-Off Counter
Start with Soft Sync
The AD6623 includes the ability to synchronize channels or chips
under microprocessor control. One action to synchronize is the
start of channels or chips. The Start Update Hold-Off Counter
(0xn00) in conjunction with the Start bit and Sync bit (Ext
Address 5) allow this synchronization. Basically the Start Update
Hold-Off Counter delays the Start of a channel(s) by its value
(number of AD6623 CLKs). The following method is used to synchronize the start of multiple channels via microprocessor control.
1. Set the appropriate channels to sleep mode (a hard reset to the
AD6623 Reset pin brings all four channels up in sleep mode).
2. Write the Start Update Hold-Off Counter(s) (0xn00) to the
appropriate value (greater than 1 and less than 2
16
–1). If the
chip(s) is not initialized, all other registers should be loaded
at this step.
3. Write the Start bit and the SyncX(s) bit high (Ext Address 5).
4. This starts the Start Update Hold-Off Counter counting down.
The counter is clocked with the AD6623 CLK signal. When it
reaches a count of one the sleep bit of the appropriate channel(s)
is set low to activate the channel(s).
Start with Pin Sync
A Sync pin is provided on the AD6623 to provide the most
accurate synchronization, especially between multiple AD6623s.
Synchronization of start with an external signal is accomplished
with the following method.
1. Set the appropriate channels to sleep mode (a hard reset to the
AD6623 Reset pin brings all four channels up in sleep mode).
2. Write the Start Update Hold-Off Counter(s) (0xn00) to the
appropriate value (greater than 1 and less than 2
16
–1). If the
chip(s) is not initialized, all other registers should be loaded
at this step.
3. Set the Start on Pin Sync bit and the appropriate Sync Pin
Enable high (0xn01).
4. When the Sync pin is sampled high by the AD6623 CLK this
enables the count down of the Start Update Hold-Off Counter.
The counter is clocked with the AD6623 CLK signal. When it
reaches a count of one the sleep bit of the appropriate channel(s)
is set low to activate the channel(s).
Hop
A jump from one NCO frequency to a new NCO frequency.
This
change in frequency can be synchronized via microprocessor
control or an external Sync signal as described below.
To set the NCO frequency without synchronization the following
method should be used.
Set Frequency No Hop
1. Set the NCO Frequency Hold-Off counter to 0.
2. Load the appropriate NCO frequency. The new frequency
will be immediately loaded to the NCO.
Hop with Soft Sync
The AD6623 includes the ability to synchronize a change in NCO
frequency of multiple channels or chips under microprocessor
control. The NCO Frequency Hold-Off counter (0xn03) in conjunction
this
counter
by its
is used
with the Hop bit and the Sync bit (Ext Address 5) allow
synchronization. Basically the NCO Frequency Hold-Off
delays the new frequency from being loaded into the NCO
value (number of AD6623 CLKs). The following method
to synchronize a hop in frequency of multiple channels
via microprocessor control.
1. Write the NCO Frequency Hold-Off (0xn03) counter to the
appropriate value (greater than 1 and less then 2
16
–1).
2. Write the NCO Frequency register(s) to the new desired
frequency.
3. Write the hop bit and the Sync(s) bit high (Ext Address 5).
4. This starts the NCO Frequency Hold-Off counter counting
down. The counter is clocked with the AD6623 CLK signal.
When it reaches a count of one the new frequency is loaded
into the NCO.
Hop with Pin Sync
A Sync pin is provided on the AD6623 to provide the most
accurate synchronization, especially between multiple AD6623s.
Synchronization of hopping to a new NCO frequency with an
external signal is accomplished with the following method.
1. Write the NCO Frequency Hold-Off counter(s) (0xn03) to
the appropriate value (greater than 1 and less than 216–1).
2. Write the NCO Frequency register(s) to the new desired
frequency.
3. Set the Hop on Pin Sync bit and the appropriate Sync Pin
Enable high (0xn01).
4. When the Sync pin is sampled high by the AD6623 CLK
this enables the count down of the NCO Frequency Hold-Off
counter. The counter is clocked with the AD6623 CLK signal.
When it reaches a count of one the new frequency is loaded into
the NCO.
REV. 0
–27–
AD6623
Beam
A change in phase for a particular channel and can be synchronized
with respect to other channels or AD6623s. This change in phase
can be synchronized via microprocessor control or an external
Sync signal.
To set the amplitude without synchronization the following
method should be used.
Set Phase No Beam
1. Set the NCO Phase Offset Update Hold-Off Counter (0xn05)
to 0.
2. Load the appropriate NCO Phase Offset (0xn04). The NCO
Phase Offset will be immediately loaded.
Beam with Soft Sync
The AD6623 includes the ability to synchronize a change in NCO
phase of multiple channels or chips under microprocessor control.
The NCO Phase Offset Update Hold-Off Counter in conjunction
with the Beam bit and the Sync bit (Ext Address 5) allow this
synchronization. Basically the NCO Phase Offset Update HoldOff Counter delays the new phase from being loaded into the
NCO/RCF by its value (number of AD6623 CLKs). The following
method is used to synchronize a beam in phase of multiple channels
via microprocessor control.
1. Write the NCO Phase Offset Update Hold-Off Counter (0xn05)
to the appropriate value (greater than 1 and less then 2
2. Write the NCO Phase Offset register(s) to the new desired
phase and amplitude.
3. Write the beam bit and the Sync(s) bit high (Ext Address 5).
4. This starts the NCO Phase Offset Update Hold-Off Counter
counting down. The counter is clocked with the AD6623
CLK signal. When it reaches a count of one the new phase is
loaded into the NCO.
Beam with Pin Sync
A Sync pin is provided on the AD6623 to provide the most
accurate synchronization, especially between multiple AD6623s.
Synchronization of beaming to a new NCO Phase Offset with an
external signal is accomplished using the following method.
1. Write the NCO Phase Offset Hold-Off (0xn05) counter(s) to
the appropriate value (greater than 1 and less than 216–1).
2. Write the NCO Phase Offset register(s) to the new desired
phase and amplitude.
3. Set the Beam on Pin Sync bit and the appropriate Sync Pin
Enable high (0xn01).
4. When the Sync pin is sampled high by the AD6623 CLK this
enables the count down of the NCO Phase Offset Hold-Off
counter. The counter is clocked with the AD6623 CLK signal.
When it reaches a count of one the new phase is loaded into
the NCO registers.
JTAG INTERFACE
The AD6623 supports a subset of IEEE Standard 1149.1 specification. For additional details of the standard, please see IEEE StandardTest Access Port and Boundary-Scan Architecture, IEEE-1149
publication from IEEE.
The AD6623 has five pins associated with the JTAG interface.
These pins are used to access the on-chip Test Access Port and
are listed in Table XVII.
16
–1).
NamePin NumberDescription
TRST100Test Access Port Reset
TCK101Test Clock
TMS106Test Access Port Mode Select
TDI108Test Data Input
TDO107Test Data Output
Note that TCK and TDI are internally pulled down which is
opposite of IEEE Standard 1149.1. These pins may be connected
to external pull-up resistors, with the associated additional current
draw through the pull-ups, or left unconnected.
The AD6623 supports four op codes are shown in Table XVIII.
These instructions set the mode of the JTAG interface.
The Vendor Identification Code (Table XIX) can be accessed
through the IDCODE instruction and has the following format.
MSBPartManufacturer LSB
Version NumberID NumberMandatory
00000010 0111 1000 0000 000 1110 0101 1
A BSDL file for this device is available from Analog Devices, Inc.
Contact Analog Devices for more information.
SCALING
Proper scaling of the wideband output is critical to maximize the
spurious and noise performance of the AD6623. A relatively small
overflow anywhere in the data path can cause the spurious free
dynamic range to drop precipitously. Scaling down the output
levels also reduces dynamic range relative to an approximately
constant noise floor. A well-balanced scaling plan at each point
in the signal path will be rewarded with optimum performance.
The scaling plan can be separated into two parts: multicarrier
scaling and single-carrier scaling.
Multicarrier Scaling
An arbitrary number of AD6623s can be cascaded to create a
composite digital IF with many carriers. As the number of carriers
increases, the peak to RMS ratio of the composite digital IF will
increase as well. It is possible and beneficial to limit the peak to
RMS ratio through careful frequency planning and controlled
phase offsets. Nevertheless, in most cases with a
carriers, the worst-case peak is an unlikely event.
The AD6623 immediately preceding the DAC can be programmed
to clip rather than wrap around (see the Summation Block description). For a large number of carriers, a rare but finite chance of
clipping at the AD6623 wideband output will result in superior
dynamic range compared to lowering each carrier level until
clipping is impossible. This will also be the case for most DACs.
Through analysis or experimentation, an optimal output level of
individual carriers can be determined for any particular DAC.
Table XVII. Test Access Port Pins
Table XVIII. Op Codes
InstructionOp Code
IDCODE10
BYPASS11
SAMPLE/PRELOAD01
EXTEST00
Table XIX. Vendor Identification Code
large number of
–28–
REV. 0
AD6623
Single-Carrier Scaling
Once the optimal power level is determined for each carrier, one
must determine the best way to achieve that level. The maximum
gain of the RCF coefficients is 11.26 dB, the RCF coarse scale
should be set to 2 (12.04 dB). This yields an RCF output level
and fine scale input level of –0.78 dB
SNR can be achieved by maximizing the intermediate power level
at each processing stage. This can be done by assuming the proper
level at the output and working along the following path: Summation, NCO, CIC, Ramp, RCF, and finally, Fine Scaler Unit.
The Summation Block is intended to combine multiple carriers
with each carrier at least 6 dB below full scale. For this configu-
The fine scale unit is left to turn a –0.78 dB level into a –5.59 dB
level. This requires a gain of –4.81 dB, which corresponds to a
14-bit [0–2] scale value of 1264h. All subsequent rescalings
during chip operation should be relative to this maximum.
ration, the AD6623 driving the DAC should have clip detection
enabled. OUT17 becomes a clip indicator that reports clipping
in both polarities. If the DAC requires offset binary outputs, then
the internal offset binary conversion should be enabled as well.
Any preceding cascaded AD6623s should disable clip detection
and offset binary conversion. The IN17–IN0 of the first AD6623
in the cascade should be grounded. See the Summation Block
section for details. In this configuration, intermediate OUT17s will
serve as guard bits that allow intermediate sums to exceed full scale.
As long as the final output does not exceed 6 dB over full scale, the
clip detector will perform correctly.
If a single carrier needs to exceed –6 dB full scale, hardwired
scaling can be accomplished according to Table XX. This is most
useful when the AD6623 is processing a Single Wideband
Carrier
such as UMTS or CDMA 2000.
Table XX. Hardwired Scaling
Finally, as described in the RCF section, there may be a worst-case
peak of a phase that is larger than the channel center gain. In the
preceding example, if the worst case to channel center ratio is larger
than 4.59 dB (potentially overflowing the RCF), then the RCF_
Coarse_Scale should be reduced by one and the CIC_Scale should
be increased by one. In the preceding example, if the worst
channel center ratio is larger than 5.59 dB (potentially over
the RCF and CIC), then the RCF_Coarse_Scale should be reduced
by one and the NCO_Output_Scale should be increased
MICROPORT INTERFACE
The MicroPort interface is the communications port between the
AD6623 and the host controller. There are two modes of bus
operation: Intel nonmultiplexed mode (INM), and Motorola non-
multiplexed mode (MNM) that is set by hard-wiring the MODE
pin to either ground or supply. The mode is selected based on the
use of the MicroPort control lines (DS or RD, DTACK or RDY,
RW or WR) and the capabilities of the host processor. See the
timing diagrams for details on the operation of both modes.
The External Memory Map provides data and address registers
The NCO/Tuner is equipped with an output scaler that ranges
from –6.02 dB to –24.08 dB below full scale, in 6.02 dB steps. See
the NCO/Tuner section for details. The best SNR will be achieved
by maximizing the input level to the NCO and using the largest
possible NCO attenuation. For example, to achieve an output
level –20 dB below full scale, one should set the CIC output level to
–1.94 dB below full scale and attenuate by –18.06 dB in the NCO.
The CIC is equipped with an output scaler that ranges from 0 dB
to –186.64 dB below full scale in 6.02 dB steps. This large attenuation
is necessary to compensate for the potentially large gains associated with CIC interpolation. See the CIC section for details. For
example to achieve an output level of –1.94 dB below full scale,
with a CIC5 interpolation of 27 (114.51 dB gain) and a CIC2 interpolation of 3 (9.54 dB gain), one should set the CIC_Scale to 20
and the Fine Scale Unit output level to –5.59 dB below full scale.
– .– .–..– .1 94 9 54 114 51 20 6 025 59+× =
(22)
The ramp unit when bypassed will have exactly 0 dB of gain and
can be ignored. When in use, the gain is dependant on what value
is stored in the last valid RMEM location. RMEM words are
14 bits [0–1), so when the value is positive full scale, the gain is
about –0.0005 dB; probably neglectable.
The RCF coefficients should be normalized to positive full scale.
This will yield the greatest dynamic range. The RCF is equipped
with an output scaler that ranges from 0 dB to –18.06 dB below
full scale in 6.02 dB steps. This attenuation can be used to partially
compensate for filter gain in the RCF. For example, if the maximum
to read and write the extensive control registers in the Internal
Memory Map. The control registers access global chip functions
and multiple control functions for each independent channel.
MicroPort Control
All accesses to the internal registers and memory of the AD6623
are accomplished indirectly through the use of the microprocessor
port external registers shown in Table XXI. Accesses to the Exter-
nal Registers are accomplished through the 3 bit address bus (A[2:0])
and the 8-bit data bus (D[7:0]) of the AD6623 (MicroPort).
External Address [3:0] provides access to data read from or writ-
ten to the internal memory (up to 32 bits). External Address [0]
is the least significant byte and External Address [3] is the most
significant byte. External Address [4] controls the Sleep Mode
of each channel. External Address [5] controls the sync status of
each channel. External Address [7:6] determines the Internal
Address selected and whether this address is incremented after
subsequent reads and/or writes to the internal registers.
EXTERNAL MEMORY MAP
The External Memory Map is used to gain access to the Internal
Memory Map described below. External Address [7:6] sets the
Internal Address to which subsequent reads or writes will be per-
formed. The top two bits of External Address [7] allow the user
to set the address to auto increment after reads, writes, or both.
All internal data words have widths that are less than or equal to
32 bits. Accesses to External Address [0] also triggers access to
the AD6623’s internal memory map. Thus during writes to the
11 26 12 040 78.–.– .=
– .– .– .559 078481=
481
– .
floorh1021264
20
13
×
=
case to
flowing
by one.
(23)
(24)
(25)
REV. 0
–29–
AD6623
Table XXI. External Registers
External Data
External AddressD7D6D5D4D3D2D1D0
7:UARWrincRdinc––IAIIIAIOIA9IA8
6:LARIA7IA6IA5IA4IA3IA2IA1IA0
5:Sync–BeamHopStartSync DSync CSync BSync A
4:SleepProg DProg CProg BProg ASleep DSleep CSleep BSleep A
3:Byte3ID31ID30ID29ID28ID27ID26ID25ID24
2:Byte2ID23ID22ID21ID20ID19ID18ID17ID16
1:Byte1ID15ID14ID13ID12ID11ID10ID9ID8
0:Byte0ID7ID6ID5ID4ID3ID2ID1ID0
internal registers, External Address [0] must be written last to
insure all data is transferred. Reads are the opposite in that
External Address [0] must be the first data register read (after setting
the appropriate internal address) to initiate an internal access.
External Address [5:4] reads and writes are transferred immediately
to internal control registers. External Address [4] is the sleep register.
The sleep bits can be set collectively by the address. The sleep bits
can
be cleared by operation of start syncs (described below).
External Address [5] is the sync register. These bits are write only.
There are three types of syncs: start, hop, and beam. Each of these
can be sent to any or all of the four channels. For example, a write of
X0010100 would issue a start sync to channel C only. A write of
X1101111 would issue a beam sync and a hop sync to all channels.
The internal address bus is 12 bits wide and the internal data bus
is 32 bits wide. External address 7 is the UAR (Upper Address
Register) and stores the upper four bits of the address space in
UAR[3:0]. UAR[7:6] define the auto-increment feature. If Bit 6
is high, the internal address is incremented after an internal read.
If Bit 7 is high, the internal address is incremented after an internal
write. If both bits are high, the internal address in incremented
after either a write or a read. This feature is designed for sequential
access to internal locations. External address 6 is the LAR (Lower
Address Register) and stores the
address. External addresses 3 through
internal data. All internal accesses are two clock cycles long.
Writing to an internal location with a data width of 16 bits is
achieved by first writing the upper four bits of the address to bits
3 through 0 of the UAR (bits 7 and 6 of the UAR are written to
determine whether or not the auto increment feature is enabled).
The LAR is then written with the lower eight bits of the internal
address (it doesn’t matter if the LAR is written before the UAR as
long as both are written before the internal access). Since the data
width of the internal address is 16 bits, only data register 1 and data
register 0 are needed. Data register 1 must be written first because
the write to data register 0 triggers the internal access. Data register
0 must always be the last register written to initiate the internal write.
Reading from the MicroPort is accomplished in a similar manner.
The internal address is first written. A read from data register 0
activates the internal read, thus register 0 must always be read first
to initiate an internal read. This provides the 8 LSBs of the internal
read through the MicroPort (D[7:0]). Additional bytes are then
read by changing the external address (A[2:0]) and performing
additional reads. If data register 3 (or any other) is read before
data register 0, incorrect data will be read. Data register 0 must
be read first in order to transfer data from the core memory to the
external memory locations. Once the data register is read, the remaining
locations may be examined in any order.
lower 8 bits of the internal
0 store the 32 bits of the
Access to the external registers of Table XX is accomplished
in one of two modes using the CS, DS(RD), RW(WR), and
DTACK(RDY) inputs. The access modes are Intel Nonmultiplexed mode and Motorola Nonmultiplexed mode. These modes
are controlled by the MODE input (MODE = 0 for INM,
MODE
Intel Nonmultiplexed Mode (INM)
MODE must be tied low to operate the AD6623 MicroPort in
INM mode. The access type is controlled by the user with the
chip select (CS), read (RD), and write (WR) inputs. The ready
(RDY) signal is produced by the MicroPort to communicate to
the user the MicroPort is ready for an access. RDY goes low at
the start of the access and is released when the internal cycle is
complete. See the timing diagrams for both the read and write
modes in the Specifications.
Motorola Nonmultiplexed Mode (MNM)
MODE must be tied high to operate the AD6623
MNM mode. The access type is controlled by the user with the
chip select (CS), data strobe (DS), and read/write (RW) inputs.
The data acknowledge (DTACK) signal is produced by the
MicroPort to acknowledge the completion of an access to the user.
DTACK goes low when an internal access is complete and then
will return high after DS is deasserted. See the timing diagrams
for both the read and write modes in the Specifications.
The DTACK(RDY) pin is configured as an open drain so that
multiple devices may be tied together at the microprocessor/
microcontroller without contention.
The MicroPort of the AD6623 allows for multiple accesses while
CS is held low (CS can be tied permanently low if the MicroPort
is not shared with additional devices). The user can access multiple
locations by pulsing the RW(WR) or DS(RD) lines and changing
the contents of the external three bit address bus (A[2:0]).
External Address 7 Upper Address Register (UAR)
Sets the four most significant bits of the internal address, effectively
selecting channels 1, 2, 3, or 4 (D2:D0). The autoincrement of
read and write are also set (D7:D6).
External Address 6 Lower Address Register (LAR)
Sets the internal address 8 LSBs (D7:D0).
External Address 5 Sync
This register is write only. Bits in this address control the synchronization of the AD6623 channels. If the user intends to bring up
channels with no synchronization requirements then all bits of this
register should be written low. Two types of sync signals are available
with the AD6623. The first is Soft Sync. Soft Sync is software
synchronization enabled through the MicroPort. The
synchronization method is Pin Sync. Pin Sync is enabled
= 1 for MNM).
MicroPort
second
by a signal
in
–30–
REV. 0
AD6623
applied to the Sync pin (Pin 62). See the Synchronization section
for detailed explanations of the different modes.
External Address 4 Sleep
Bits in this register determine how the chip is programmed and
enables the channels. The program bits (D7:D4) must be set high
to
allow programming of CMEM and DMEM for each channel.
Sleep bits (D3:D0) are used to activate or sleep channels. These can
be used manually by the user to bring up a channel by simply
writing
the required channel high. These bits can also be used in conjunction with the Start and Sync signals available in External Address
5 to synchronize the channels. See the Synchronization section for a
detailed explanation of different modes.
INTERNAL COUNTER REGISTERS AND ON-CHIP RAM
AD6623 and AD6622 Compatibility
The AD6623 functionality is a superset of the AD6622 functionality.
The AD6623 is pin-compatible with AD6622.
AD6622 compatibility is selected when bit 7 of Internal Control
Register 0x000 is low. In this state, all AD6623 extended control
registers are cleared. While in the AD6622 mode the unused
AD6623 pins are three-stated.
Listed below is the mapping of internal AD6623 registers. AD6622
compatibility is selected by setting 0x000:7 low. In this state, all
AD6623 extended control registers are cleared. Registers marked
as “Reserved” must be written low.
External Address 3:0 (Data Bytes)
These registers return or accept the data to be accessed for a
read or write to internal addresses
Common Function Registers (not associated with a particular channel)
3. Ramp Up (if Ramp is enabled)
0x11015–0Ch. A RCF Phase EQ Coef1No Change
0x11115–0Ch. A RCF Phase EQ Coef2No Change
0x11215–0UnusedCh. A RCF FIR–PSK Magnitude 0
0x11315–0UnusedCh. A RCF FIR–PSK Magnitude 1
0x11415–0UnusedCh. A RCF FIR–PSK Magnitude 2
0x11515–0UnusedCh. A RCF FIR–PSK Magnitude 3
0x1167–6UnusedCh. A Serial Data Frame Input Select
0x: Internal Frame Request
10: External SDFI Pad
11: Previous Channel’s Frame End
5UnusedCh. A Serial Data Frame Output Select
0: Serial Data Frame Request
1: Serial Data Frame End
4UnusedCh. A Serial Clock Slave (SCS)
SCS = 0: Master Mode
(SCLK is an output)
SCS = 1: Slave Mode
(SCLK is an input)
3UnusedCh. A Serial Fine Scale Enable
2UnusedCh. A Serial Time Slot Sync Enable
(ignored in FIR mode)
1UnusedCh. A Ramp Interpolation Enable
0UnusedCh. A Ramp Enable
0x1175–0UnusedCh. A Mode 0 Ramp Length, R0–1
0x1184–0UnusedCh. A Mode 1 Ramp Length, R1–1
0x1194–0UnusedCh. A Ramp Rest Time, Q
(No inputs requested during rest time.)
0x11A–11FUnusedNo Change
0x120–13F15–0Ch. A Data RAMNo Change
0x140–17F15–14UnusedNo Change
13–0UnusedCh. A Ramp RAM
0x180–1FF15–0Ch. A Coefficient RAMNo Change
This address is mirrored at 0x900–0x97F
and contiguously extended at 0x980–0x9FF
NOTES
1
Clear on RESET.
2
These bits update after a Start or a Beam Sync. See CR 0x10F.
3
Allows dynamic updates.
“2”
.
1
(0x000) Summation Mode Control
Controls features in the summation block of the AD6623.
Bit 5–6:Reserved.
Bit 4:Low: Wideband Input Enabled.
High: Wideband Input Disabled.
Bit 3:Low: Dual Output Disabled.
High: Dual Output Enabled.
Bit 2:Reserved.
Bit 1:Low: Output data will be in two’s complement.
High: Output data will be in offset binary.
Bit 0:Low: Over-range will wrap.
High: Over-range will clip to full scale.
(0x001) Sync Mode Control
Bit 7:Ignores all but the first pin sync.
Bit 6:Beam on pin Sync.
Bit 5:Hop on pin Sync.
REV. 0
Bit 4:High enables the count down of the Start Hold-Off
Counter. The counter is clocked with the AD6623
CLK signal. When it reaches a count of one the Sleep
bit of the appropriate channel(s) is set low to activate
the channel(s).
Bit 3–0:High enables synchronization of these channels.
See the
Synchronization section of the data sheet for
detailed explanation.
(0x002) BIST Counter
Sets the length, in CLK cycles, of the built-in self test.
(0x003) BIST Result
A read-only register containing the result after a self test. Must be
compared to a known good result for a given setup to determine
pass/fail.
–33–
AD6623
Channel Function Registers
The following registers are channel-specific. ‘0xn’ denotes that
(0xn06) CIC Scale
Bits 4–0: Sets the CIC scaling per the equation below.
these values are represented as hexadecimal numbers; ‘n’ represents the specified channel. Valid channels are n = 1, 2, 3, and 4.
(0xn00) Start Update Hold-Off Counter
See the Synchronization section for detailed explanation. If no
synchronization is required, this register should be set to 0.
Bit 17–16: The Start Sync Select bits are used to set which
sync pin will initiate a start sequence.
Bit 15–0:The Start Update Hold-Off Counter is used to synchro-
nize start–up of AD6623 channels and can be used to
synchronize
Counter is clocked by
(0xn01) NCO Control
multiple chips. The Start Update Hold-Off
the AD6623 CLK (master clock).
Bit 1:0Set the NCO scaling per Table XXI.
Table XXI. NCO Control (0xn01)
Bit 1Bit 0NCO Output Level
00–6 dB (no attenuation)
01–12 dB attenuation
10–18 dB attenuation
11–24 dB attenuation
Bit 2:High clears the NCO phase accumulator to 0 on
either a Soft Sync or Pin Sync (see Synchronization
for details).
Bit 3:High enables NCO phase dither.
Bit 4:High enables NCO amplitude dither.
Bit 7–5:Reserved and should be written low.
(0xn02) NCO Frequency
This register is a 32-bit unsigned integer that sets the NCO
Frequency. The NCO Frequency contains a shadow register for
synchronization purposes. The shadow can be read back directly,
the NCO Frequency cannot.
f
32
NCO
FREQUENCY
(0xn03) NCO Frequency Update Hold-Off Counter
=×
2
CHANNEL
CLK
(26)
See the CIC section for details.
(0xn07) CIC2 Decimation – 1 (M
This register is used to set the decimation in the CIC2 filter. The
value written to this register is the decimation minus one. The
CIC2 decimation can range from 1 to 512 depending upon the
interpolation of the CIC2. There is no timing error associated
with this decimation. See the CIC2 section for further details.
(0xn08) CIC2 Interpolation – 1 (L
This register is used to set the interpolation in the CIC2 filter.
The value written to this register is the interpolation minus one.
The CIC2 interpolation can range from 1 to 4096.
be chosen equal to or larger than M
sen such that
details the CIC2
(0xn09) CIC5 Interpolation – 1
This register sets the interpolation rate for the CIC5 filter stage
(unsigned integer). The programmed value is the CIC5 Interpo-
lation – 1. Maximum interpolation is limited by the CIC scaling
available (See the CIC section).
(0xn0A) Number of RCF Coefficients – 1
This register sets the number of RCF Coefficients and is limited
to a maximum of 256. The programmed value is the number of
RCF Coefficients – 1. There is an A register and a B register at
this memory location. Value A is used when the RCF is operating
in mode 0 and value B is used when in mode 1. The RCF mode
bit of interest here is bit 6 of address 0xn0C.
(0xn0B) RCF Coefficient Offset
This register sets the offset for RCF Coefficients and is normally
set to 0. It can be viewed as a pointer which selects the portion
of the CMEM used when computing the RCF filter. This allows
multiple filters to be stored in the Coefficient memory space, selecting
the appropriate filter by setting the offset.
(0xn0C) Channel Mode Control 1
Bit 9:High, selecting compact FIR mode results in 24-bit
See the Synchronization section for detailed explanation. If no
synchronization is required, this register should be set to 0.
Bit 17–16: The Hop Sync Select bits are used to set which sync
pin will initiate a hop sequence.
Bit 15–0:The Hold-Off Counter is used to synchronize the
Bit 8:High enables RCF Pseudo-Random Input Select.
Bit 7:High selects a Pseudo-Random sequence length of
change of NCO frequencies.
(0xn04) NCO Phase Offset
Bits 6–4:Sets the channel input format as shown in Table XXII.
This register is a 16-bit unsigned integer that is added to the phase
accumulator of the NCO. This allows phase synchronization of
multiple channels of the AD6623(s). The NCO Phase Offset contains
a shadow register for synchronization purposes. The
be read back directly, the NCO Phase Offset cannot.
shadow can
See the
Synchronization section for details.
(0xn05) NCO Phase Offset Update Hold-Off Counter
See the Synchronization section for a detailed explanation. If no
synchronization is required, this register should be set to 0.
Bit 17–16: The Phase Sync Select bits are used to set which sync
pin will initiate a phase sync sequence.
Bit 15–0:The Hold-Off Counter is used to synchronize the
Bit 6Bit 5Bit 4Input Mode
000FIR
001/4-DQPSK
010GSM
011MSK
100Compact FIR
1018PSK
1103/8-8PSK
111QPSK
change of NCO phases.
–34–
CIC ScaleceilLL
_=××
4
log
()
CIC
25
()
CIC
2
– 1)
CIC2
– 1)
CIC2
and both must be cho-
rCIC2
a suitable CIC2 Scalar can be chosen. For more
section should be consulted.
serial word length (12 I followed by 12 Q). When
low, selecting compact FIR mode results in 16-bit
serial word length (8 I followed by 8 Q).
8,388,607. Low selects a Pseudo-Random Sequence
length of 15.
Table XXII. Channel Inputs
L
rCIC2
(27)
must
REV. 0
AD6623
Bit 6Can be set through the serial port (see section on
serial word formats).
Bits 3–0:Sets (N
(0xn0D) Channel Mode Control 2
RCF/LRCF
) –1
Bits 7–6:Sets the RCF Coarse Scale as shown in Table XXIII.
Table XXIII. RCF Coarse Scale
Bit 7Bit 6RCF Coarse Scale (dB)
000
01–6
10–12
11–18
Bit 5:High enables the RCF phase equalizer.
Bits 4–0:Sets the serial clock divider (SDIV) that determines the
serial clock frequency based on the following equation.
=
CLK
SDIV
+1
(28)
f
SCLK
(0xn0E) Fine Scale Factor
Bits 15–2:Sets the RCF Fine Scale Factor as an unsigned number
representing the values (0,2). This register is shadowed for synchronization purposes. The shadow can
be read back directly, the Fine Scale Factor can not.
Bits 1–0:Reserved.
(0xn0F) RCF Time Slot Hold-Off Counter
Bits 17–16: The Time Slot Sync Select bits are used to set which
sync pin will initiate a time slot sync sequence.
Bits 15–0: The Hold-Off Counter is used to synchronize the
change of RCF Fine Scale. See the Synchronization
section for a detailed explanation. If no synchronization is required, this register should be set to 0.
(0xn10–0xn11) RCF Phase Equalizer Coefficients
See the RCF section for details.
(0xn12–0xn15) FIR-PSK Magnitudes
See the RCF section for details.
(0xn16) Serial Port Setup
Bits 7–6:Serial Data Frame Start Select
Title XXIV. Serial Port Setup
Bit 7Bit 6Serial Data Frame Start
0XInternal Frame Request
10External SDFI Pad
11Previous Channel’s Frame End
Bit 5:High means SDFO is a frame end, low means SDFO
is a frame request.
Bit 4:High selects serial slave mode. SCLK is an input in
serial slave mode.
Bit 3:High enables Fine Scaling through the Serial Port
(not available in FIR Mode).
Bit 2:High enables Serial Time Slot Syncs (not available
in FIR Mode).
Bit 1:High enables Power Ramp coefficient interpolation.
Bit 0:High enables the Power Ramp.
(0xn17) Power Ramp Length 0
This is the length of the ramp for mode 0, minus one.
(0xn18) Power Ramp Length 1
This is the length of the ramp for mode 1, minus one. Setting
this to zero disables dual ramps.
(0xn19) Power Ramp Rest Time
This is the number of RCF output samples to rest for between a
ramp down and a ramp up.
(0xn1A–0xn1F) Unused
(0xn20–0xn3F) Data Memory
This group of registers contain the RCF Filter Data. See the RCF
section for additional details.
(0xn40–0xn17F) Power Ramp Coefficient Memory
This group of registers contain the Power Ramp Coefficients.
See the Power Ramp section for additional details.
(0xn80–0xn1FF) Coefficient Memory
This group of registers contain the RCF Filter Coefficients.
See the RCF section for additional details.
PSEUDOCODE
Write Pseudocode
Void Write_Micro(ext_address, int data);
Main()
{
/* This code shows the programming of the
NCO frequency register using the Write_Micro
function 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.
Internal Address = 0x102, channel 1
*/
/*Holding registers for NCO byte wide
access data*/
int d3, d2, d1, d0;
/*NCO frequency word (32 bits wide)*/
NCO_FREQ=0x1BEFEFFF;
/*write Chan */
Write_Micro(7, 0x01);
/*write Addr */
Write_Micro(6,0x02);
/*write Byte 3*/
d3=(NCO_FREQ & 0xFF02Y∞00)>>24;
Write_Micro(3,d3);
/*write Byte 2*/
d2=(NCO_FREQ & 0xFF0000)>>16;
Write_Micro(2,d2);
/*write Byte 1*/
d1=(NCO_FREQ & 0xFF00)>>8;
Write_Micro(1,d1);
/*write Byte 0, Byte 0 is written last and
causes an internal write to occur*/
d0=NCO_FREQ & 0xFF;
Write_Micro(0,d0);
}
REV. 0
–35–
AD6623
Read Pseudocode
Void Read_Micro(ext_address);
Main()
{
/* This code shows the reading of the NCO
frequency register using the Read_Micro
function defined above. The variable
address is the External Address A[2:0]
Internal Address = 0x102, channel 1
*/
/*Holding registers for NCO byte wide
access data*/
int d3, d2, d1, d0;
/*NCO frequency word (32 bits wide)*/
/*write Chan */
Write_Micro(7, 0x01);
/*write Addr*/
Write_Micro(6,0x02);
/*read Byte 0, all data is moved from the
Internal Registers to the interface
registers on this access, thus Byte 0 must
be accessed first for the other Bytes to be
valid*/
d0=Read_Micro(0) & 0xFF;
/*read Byte 1*/
d1=Read_Micro(1) & 0xFF;
/*read Byte 2*/
d2=Read_Micro(2) & 0xFF;
/*read Byte 0 */
d3=Read_Micro(3) & 0xFF;
}
APPLICATIONS
The AD6623 provides considerable flexibility for the control of
the synchronization, relative phasing, and scaling of the individual
channel inputs. Implementation of a multichannel transmitter
invariably begins with an analysis of the output spectrum that
must be generated.
MULTIPLE TSP OPERATION
Each of the four Transmit Signal Processors (TSPs) of the AD6623
can adequately reject the interpolation images of narrow band-
width carriers such as AMPS, IS-136, GSM, EDGE, and PHS.
Wider bandwidth carriers such as IS-95 and IMT2000 require a
coordinated effort of multiple processing channels.
This section demonstrates how to coordinate multiple TSPs to
create wider bandwidth channels without sacrificing image
rejection. As an example, a UMTS carrier is modulated using
four TSP channels (an entire AD6623). The same principles
can be applied to different designs using more or fewer TSPs.
This section does not explore techniques for using multiple TSPs
to solve problems other than Serial Port or RCF throughput.
Designing filter coefficients and control settings for de-interleaved
TSPs is no harder than designing a filter for a single TSP. For
example, if four TSPs are to be used, simply divide the input
data rate by four and generate the filter as normal. For any
design, a better filter can always be realized by incrementing the
number of TSPs to be used. When it is time to program the
TSPs, only two small differences must be programmed. First,
each channel is configured with exactly the same filter, scalers,
modes and NCO frequency. Since each channel receives data at
one-quarter the data rate and in a staggered fashion, the Start
Hold-Off Counters must also be staggered (see “Programming
Multiple TSPs” section). Second, the phase offset of each NCO
must be set to match the demultiplexed ratio (in this example).
Thus the phase offset should be set to 90 degrees (16384 which
is one-quarter of a 16-bit register).
Determining the Number of TSPs to Use
There are three limitations of a single TSP that can be over-
come by deinterleaving an input stream into multiple TSPs:
Serial Port bandwidth, the time restriction to the RCF impulse
response length (NRCF), and the DMEM restriction to NRCF.
If the input sample rate is faster than the Serial Port can accept
data, the data can be de-interleaved into multiple Serial Ports.
USING THE AD6623 TO PROCESS UMTS CARRIERS
The AD6623 may be used to process two UMTS carriers, each
with an output oversampling rate of 24⫻ (i.e., 92.16 MSPS).
The AD6623 configuration used to accomplish this consists of
using two processing channels in parallel to process each UMTS
Recalling from the Serial Port description, the SCLK frequency
(f
number of processing channels, SCLKdivider should be set as low
as possible to get the highest f
can accept.
carrier. Please refer to the Technical Note: Processing Two UMTS
Carriers with 24⫻ Oversampling Using the AD6623.
DIGITAL TO ANALOG CONVERTER (DAC) SELECTION
The selection of a high-performance DAC depends on a number
of factors. The dynamic range of the DAC must be considered
from a noise and spectral purity perspective. The 14-bit AD9772A
A minimum of 32 SCLK cycles are required to accept an input
sample, so the minimum number of TSPs (NTSP) due to limited
Serial Port bandwidth is a function of the input sample rate (f
as shown in the equation below.
is the best choice for overall bandwidth, noise, and spectral purity.
In order to minimize the complexity of the analog interpolation
filter which must follow the DAC, the sample rate of the master
clock is generally set to at least three times the maximum analog
frequency of interest.
In the case where a 15 MHz band of interest is to be up-converted
to RF, the lowest frequency might be 5 MHz and the upper band
edge at 20 MHz (offset from dc to afford the best image reject
filter after the first digital IF). The minimum sample rate would
be set to 65 MSPS.
Consideration must also be given to data rate of the incoming
data stream, interpolation factors, and the clock rate of the DSP.
For example for a UMTS system, we will assume f
and the serial data source can drive data at 38.4 Mbps
(SCLKdivider
N
of the Serial Port (This is TSP channels, not TSP ICs).
Multiple TSPs are also required if the RCF does not have enough
time or DMEM space to calculate the required RCF filter. Recalling
the maximum N
three restrictions to the RCF impulse response length, N
) is determined by the equation below. To minimize the
SCLK
that the serial data source
SCLK-
f
f
=
SCLK
Nceil
≥
TSP
is 3 with a Serial Clock f
TSP
CLK
SCLKdivider
f
×
32
IN
f
SCLK
= 0).
To achieve fIN = 3.84 MHz, the minimum
– equation from the RCF description, are
TAPS
+1
= 76.8 MHz,
CLK
= 52 MHz which is a
SCLK
(29)
),
IN
(30)
limitation
.
RCF
–36–
REV. 0
AD6623
Time Restriction CMEM Restriction
Scaling must be considered as normal with an interpolation
factor of L, to guarantee no overflow in the RCF, CIC, or NCOs.
The output level at the summation port should be calculated
NL
RCFRCF
1
≤×
min
, 16256
2
(31)
using an interpolation factor of L/N
Programming Multiple TSPs
Configuring the TSPs for de-interleaved operation is straight
DMEM Restriction
where:
L
LLL
=×× =
RCFCIC
CIC
5
M
CIC
2
2
Nf
×
TSPCLK
f
IN
(32)
De-interleaving the input data into multiple TSPs extends the
time restriction and may possibly extend the DMEM restriction,
but will not extend the CMEM restriction. Deinterleaving the
input stream to multiple TSPs divides the input sample rate to
each TSP by the number of TSPs used (N
). To keep the output
TSP
rate fixed, L must be increased by a factor of NCH, which extends
the time restriction. This increase in L may be achieved by increas-
any one or more of L
ing
limits. Achieving a larger L by increasing L
or L
will relieves the DMEM restriction as well.
CIC2
In a UMTS example, N
3.84 MHz, resulting in L = 80. Factoring L into L
= 8, and L
L
CIC
= 1 results in a maximum N
CIC2
RCF
TSP
, L
CIC5
= 4, f
, or L
CLK
within their normal
CIC2
instead of L
RCF
= 76.8 MHz, and f
IN
= 10,
RCF
= 40 due to
RCF
CIC5
=
the time restriction. Figure 37 shows an example RCF impulse
response which has a frequency response as shown in Figure 38
from 0 Hz to 7.68 MHz (f
IN
⫻ L
RCF/NTSP
). The composite RCF
and CIC frequency response is shown in Figure 38, on the same
frequency scale. This figure demonstrates a good approximation
forward. All the Channel Registers and the CMEM of each TSP
are programmed identically, except the Start Hold-Off Counters
and NCO Phase Offset.
In order to separate the input timing to each TSP, the Hold-Off
Counters must be used to start each TSP successively in response
to a common Start SYNC. The Start SYNC may originate from
the SYNC pin or the MicroPort. Each subsequent TSP must have
a Hold-Off Counter value L/N
If the TSPs are located on cascaded
Counters of the upstream device should
additional one.
In the UMTS example, L = 80 and N
quickly as possible to a Start SYNC, the Hold-Off Counter
values should be 1, 21, 41, and 61.
Driving Multiple TSP Serial Ports
When configured properly, the AD6623 will drive each SDFO
out of phase. Each new piece of data should be driven only into
the TSP that pulses its SDFO pin at that time.
In the UMTS example in Figure 35, L = 80 and N
each serial port need only accept every fourth input sample.
Each serial port is shifting at peak capacity, so sample 1, 2, and
3 begin shifting into Serial Ports B, C, and D before sample 0 is
completed into Serial Port A.
to a root-raised-cosine with a roll-off factor of 0.22, a passband
ripple of 0.1 dB, and a stopband ripple better than –70 dB until
the lobe of the first image which peaks at –60 dB about 7.68 MHz
from the carrier center. This lobe could be reduced by shifting
more of the interpolation towards the RCF, but that would
sacrifice near in performance. As shown, the first image can be
easily rejected by an analog filter further up the signal path.
.
TSP
larger than its predecessor’s.
TSP
AD6623s, the Hold-Off
be incremented by an
= 4, so to respond as
TSP
SDFOA
04
SDFOB
SDFOC
SDFOD
15
2
3
Figure 35. UMTS Example
TSP
6
= 4, so
7
REV. 0
3.84 MCPS
32
COMLEX SIGNAL 32 BITS (16, I, 16 Q)
REAL OR IMAGINARY SIGNAL
DATA
RE-FORMATTER
0.96
MCPS
32
0.96
MCPS
32
0.96
MCPS
32
0.96
MCPS
32
RAM
COEF
FILTER
RAM
COEF
FILTER
RAM
COEF
FILTER
RAM
COEF
FILTER
9.6MSPS
I
Q
9.6MSPS
I
Q
9.6MSPS
I
Q
9.6MSPS
I
Q
CIC
CIC
CIC
CIC
76.8MSPS
NCO
76.8MSPS
NCO
76.8MSPS
NCO
76.8MSPS
NCO
Figure 36. Summation Block
–37–
SUMMATION
BLOCK
76.8 MSAMPLES/SEC
DAC
AD6623
1.0
0.5
MAGNITUDE
0.0
10
05
152025303540
COEFFICIENT
Figure 37. Typical Impulse Response for WBCDMA
10
0
–10
–20
–30
–40
dBc
–50
–60
–70
–80
–90
–100
0 1000
2000 3000 4000 5000 6000 7000 8000 9000 10000
kHz
Figure 38. RAM Coefficient Filter, Frequency Response for
WBCDMA
10
0
–10
CIC ROLLOFF
COMPOSITE
kHz
dBc
–100
–20
–30
–40
–50
–60
–70
–80
–90
0 1000
IDEAL
FILTER
2000 3000 4000 5000 6000 7000 8000 9000 10000
AD6623 RESPONSE
Figure 39. RCF and CIL, Frequency Response for WBCDMA
THERMAL MANAGEMENT
The power dissipation of the AD6623 is primarily determined
by three factors: the clock rate, the number of channels active,
and the distribution of interpolation rates. The faster the clock
rate the more power dissipated by the CMOS structures of the
AD6623 and the more channels active the higher the overall
power of the chip. Low interpolation rates in the CIC stages
(CIC5, CIC2) results in higher power dissipation. All these
factors should be analyzed as each application has different
thermal requirements.
The AD6623 128-Lead MQFP is specially designed to provide
excellent thermal performance. To achieve the best performance
the power and ground leads should be connected directly to planes
on the PC board. This provides the best thermal transfer from the
AD6623 to the PC board.
–38–
REV. 0
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
128-Lead Terminal Metric Quad Flatpack (MQFP)
0.685 (17.40)
0.677 (17.20)
0.669 (17.00)
0.555 (14.10)
0.551 (14.00)
0.547 (13.90)
TOP VIEW
(PINS DOWN)
102
0.041 (1.03)
0.035 (0.88)
0.031 (0.78)
SEATING
PLANE
0.134 (3.40)
MAX
128103
1
AD6623
0.791 (20.10)
0.787 (20.00)
0.783 (19.90)
0.921 (23.40)
0.913 (23.20)
0.906 (23.00)
0.003 (0.08)
MAX
0.010 (0.25)
MIN
0.110 (2.80)
0.106 (2.70)
0.102 (2.60)
*
THE ACTUAL POSITION OF EACH LEAD IS WITHIN 0.00315 (0.08) FROM ITS IDEAL
POSITION WHEN MEASURED IN THE LATERAL DIRECTION. CENTER FIGURES ARE
TYPICAL UNLESS OTHERWISE NOTED
38
39
0.020 (0.50)
BSC*
0.011 (0.27)
0.009 (0.22)
0.007 (0.17)
65
64
196-Lead Ball Grid Array (BGA)
0.594 (15.10)
0.591 (15.00) SQ
0.587 (14.90)
BALL A1
INDICATOR
TOP VIEW
0.059
(1.50)
MAX
DETAIL A
SEATING
PLANE
NOTES
1. CONTROLLING DIMENSIONS ARE IN MILLIMETERS
2. THE ACTUAL POSITION OF THE BALL GRID IS WITHIN
0.008 (0.20) OF ITS IDEAL POSITION RELATIVE TO THE
PACKAGE EDGES
3. THE ACTUAL POSITION OF EACH BALL IS WITHIN
0.004 (0.10) OF ITS IDEAL POSITION TO THE BALL GRID
4. CENTER FIGURES ARE NOMINAL DIMENSIONS
0.039 (1.00)
BSC
BALL PITCH
0.512
(13.0)
BSC
SQ
0.039 (1.00)
0.033 (0.85)
0.021 (0.53)
0.017 (0.43)
14 12 10 8 6 4 2
13 11 9 7 5 3 1
0.039 (1.00) BSC
BALL PITCH
BOTTOM VIEW
0.028 (0.70)
0.024 (0.60)
0.020 (0.50)
BALL DIAMETER
DETAIL A
A
B
C
D
E
F
G
H
J
K
L
M
N
P
0.008 (0.20)
COPLANARITY
REV. 0
–39–
C02768–0–1/02(0)
–40–
PRINTED IN U.S.A.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.