AD6620ASZ-REEL

AD6620ASZ-REEL

  • 厂商:

    AD(亚德诺)

  • 封装:

    QFP80

  • 描述:

    67 MSPS 数字接收信号处理器 AD6620

  • 数据手册
  • 价格&库存
AD6620ASZ-REEL 数据手册
a FEATURES High Input Sample Rate 67 MSPS Single Channel Real 33.5 MSPS Diversity Channel Real 33.5 MSPS Single Channel Complex NCO Frequency Translation Worst Spur Better than –100 dBc Tuning Resolution Better than 0.02 Hz 2nd Order Cascaded Integrator Comb FIR Filter Linear Phase, Fixed Coefficients Programmable Decimation Rates: 2, 3 . . . 16 5th Order Cascaded Integrator Comb FIR Filter Linear Phase, Fixed Coefficients Programmable Decimation Rates: 1, 2, 3 . . . 32 Programmable Decimating RAM Coefficient FIR Filter Up to 134 Million Taps per Second 256 20-Bit Programmable Coefficients Programmable Decimation Rates: 1, 2, 3 . . . 32 Bidirectional Synchronization Circuitry Phase Aligns NCOs Synchronizes Data Output Clocks Serial or Parallel Baseband Outputs Pin Selectable Serial or Parallel Serial Works with SHARC®, ADSP-21xx, Most Other DSPs 16-Bit Parallel Port, Interleaved I and Q Outputs Two Separate Control and Configuration Ports Generic ␮P Port, Serial Port 3.3 V Optimized CMOS Process JTAG Boundary Scan GENERAL DESCRIPTION The AD6620 is a digital receiver with four cascaded signalprocessing elements: a frequency translator, two fixedcoefficient decimating filters, and a programmable coefficient decimating filter. All inputs are 3.3 V LVCMOS compatible. All outputs are LVCMOS and 5 V TTL compatible. As ADCs achieve higher sampling rates and dynamic range, it becomes increasingly attractive to accomplish the final IF stage of a receiver in the digital domain. Digital IF Processing is less expensive, easier to manufacture, more accurate, and more flexible than a comparable highly selective analog stage. The AD6620 diversity channel decimating receiver is designed to bridge the gap between high-speed ADCs and general purpose DSPs. The high resolution NCO allows a single carrier to be selected from a high speed data stream. High dynamic range decimation filters with a wide range of decimation rates allow 67 MSPS Digital Receive Signal Processor AD6620 FUNCTIONAL BLOCK DIAGRAM I REAL, DUAL REAL, OR COMPLEX INPUTS Q COS AD6620 I CIC FILTERS Q I FIR FILTER Q OUTPUT FORMAT SERIAL OR PARALLEL OUTPUTS –SIN COMPLEX NCO EXTERNAL SYNC CIRCUITRY JTAG PORT ␮P OR SERIAL CONTROL both narrowband and wideband carriers to be extracted. The RAM-based architecture allows easy reconfiguration for multimode applications. The decimating filters remove unwanted signals and noise from the channel of interest. When the channel of interest occupies less bandwidth than the input signal, this rejection of out-ofband noise is called “processing gain.” By using large decimation factors, this “processing gain” can improve the SNR of the ADC by 36 dB or more. In addition, the programmable RAM Coefficient filter allows antialiasing, matched filtering, and static equalization functions to be combined in a single, costeffective filter. The input port accepts a 16-bit Mantissa, a 3-bit Exponent, and an A/B Select pin. These allow direct interfacing with the AD6600, AD6640, AD6644, AD9042 and most other highspeed ADCs. Three input modes are provided: Single Channel Real, Single Channel Complex, and Diversity Channel Real. When paired with an interleaved sampler such as the AD6600, the AD6620 can process two data streams in the Diversity Channel Real input mode. Each channel is processed with coherent frequency translation and output sample clocks. In addition, external synchronization pins are provided to facilitate coherent frequency translation and output sample clocks among several AD6620s. These features can ease the design of systems with diversity antennas or antenna arrays. Units are packaged in an 80-lead PQFP (plastic quad flatpack) and specified to operate over the industrial temperature range (–40°C to +85°C). SHARC is a registered trademark of Analog Devices, Inc. REV. A Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 © Analog Devices, Inc., 2001 AD6620 TABLE OF CONTENTS ARCHITECTURE GENERAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . 1 As shown in Figure 1, the AD6620 has four main signal processing stages: a Frequency Translator, two Cascaded Integrator Comb FIR Filters (CIC2, CIC5), and a RAM Coefficient FIR Filter (RCF). Multiple modes are supported for clocking data into and out of the chip. Programming and control is accomplished via serial and microprocessor interfaces. ARCHITECTURE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 TIMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . 11 EXPLANATION OF TEST LEVELS . . . . . . . . . . . . . . . . 11 ORDERING GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . . . 12 PIN CONFIGURATIONS . . . . . . . . . . . . . . . . . . . . . . . . . 13 INPUT DATA PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 OUTPUT DATA PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 FREQUENCY TRANSLATOR . . . . . . . . . . . . . . . . . . . . . 19 SECOND ORDER CASCADED INTEGRATOR COMB FILTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 FIFTH ORDER CASCADED INTEGRATOR COMB FILTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 RAM COEFFICIENT FILTER . . . . . . . . . . . . . . . . . . . . . 25 CONTROL REGISTERS AND ON-CHIP RAM . . . . . . . 27 PROGRAMMING THE AD6620 . . . . . . . . . . . . . . . . . . . 30 ACCESS PROTOCOLS . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 MICROPORT CONTROL . . . . . . . . . . . . . . . . . . . . . . . . 32 SERIAL PORT CONTROL . . . . . . . . . . . . . . . . . . . . . . . . 35 JTAG BOUNDARY SCAN . . . . . . . . . . . . . . . . . . . . . . . . 37 APPLICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Input data to the chip may be real or complex. If the input data is real, it may be clocked in as a single channel or interleaved with a second channel. The two-channel input mode, called Diversity Channel Real, is typically used in diversity receiver applications. Input data is clocked in 16-bit parallel words, IN[15:0]. This word may be combined with exponent input bits EXP[2:0] when the AD6620 is being driven by floating-point or gain-ranging analog-to-digital converters such as the AD6600. Frequency translation is accomplished with a 32-bit complex Numerically Controlled Oscillator (NCO). Real data entering this stage is separated into in-phase (I) and quadrature (Q) components. This stage translates the input signal from a digital intermediate frequency (IF) to baseband. Phase and amplitude dither may be enabled on-chip to improve spurious performance of the NCO. A phase offset word is available to create a known phase relationship between multiple AD6620s. Following frequency translation is a fixed coefficient, high speed decimating filter that reduces the sample rate by a programmable ratio between 2 and 16. This is a second order, cascaded integrator comb FIR filter shown as CIC2 in Figure 1. (Note: Decimation of 1 in CIC2 requires 2× or greater clock into AD6620). The data rate into this stage equals the input data rate, fSAMP. The data rate out of CIC2, fSAMP2, is determined by the decimation factor, MCIC2. OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . . . . . 44 RCF 3 EXP[2:0] IN[15:0] I-RAM 256 ⴛ 18 16 INPUT DATA INTERLEAVE DEINTERLEAVE MULTIPLEXER CIC5 SCALING FREQUENCY 3 TRANSLATOR I 18 16 Q 18 EXP SCALING fSAMP5 PHASE OFFSET CLK A/B TIMING RESET SYNC NCO SYNC CIC 23 23 OUTPUT fSAMP2 COMPLEX NCO Q-RAM 256 ⴛ 18 MCICS SCALING RCF COEFFICIENTS NUMBER OF TAPS DECIMATE FACTOR CIC2, CIC5 DECIMATE FACTORS ADDRESS OFFSET fSAMP SCALE FACTORS OUTPUT NCO FREQUENCY SCALE PHASE OFFSET FACTOR DITHER SYNC MASK CONTROL REGISTERS INPUT MODE MICROPORT AND REAL, DUAL, COMPLEX SERIAL ACCESS FIXED OR WITH EXPONENT SYNC M/S JTAG I/QOUT MULTIPLEXER PARALLEL MICROPROCESSOR INTERFACE SYNC RCF TRST TCK TMS TDI TDO D[7:0] A[2:0] CS DVOUT SCALING, SOUT EXPLNV, EXPOFF SYNC I/O MRCF MCICS MULTIPLEXER CIC2 C-RAM 256 ⴛ 20 R/W DS DTACK (W/R) (R/D) (RDY) MODE PAR/SER A/BOUT SERIAL 16 PARALLEL OUTPUTS AND SERIAL I/O 16 OUT[15:0] SCLK SDI SDO SDFS SDFE SBM WL[1:0] AD SDIV[3:0] Figure 1. Block Diagram –2– REV. A AD6620 The overall filter response for the AD6620 is the composite of all three cascaded decimating filters: CIC2, CIC5, and RCF. Each successive filter stage is capable of narrower transition bandwidths but requires a greater number of CLK cycles to calculate the output. More decimation in the first filter stage will minimize overall power consumption. Data comes out via a parallel port or a serial interface. Following CIC2 is the second fixed-coefficient decimating filter. This filter, CIC5, further reduces the sample rate by a programmable ratio from 1 to 32. The data rate out of CIC5, fSAMP5, is determined by the decimation factors of MCIC5 and MCIC2. Each CIC stage is a FIR filter whose response is defined by the decimation rate. The purpose of these filters is to reduce the data rate of the incoming signal so that the final filter stage, a FIR RAM coefficient sum-of-products filter (RCF), can calculate more taps per output. As shown in Figure 1, on-chip multiplexers allow both CIC filters to be bypassed if a multirate clock is used. Figure 2 illustrates the basic function of the AD6620: to select and filter a single channel from a wide input spectrum. The frequency translator “tunes” the desired carrier to baseband. CIC2 and CIC5 have fixed order responses; the RCF filter provides the sharp transitions. More detail is provided in later sections of the data sheet. The fourth stage is a sum-of-products FIR filter with programmable 20-bit coefficients, and decimation rates programmable from 1 to 32. The RAM Coefficient FIR Filter (RCF in Figure 1) can handle a maximum of 256 taps. (–fsamp/2 TO fsamp/2) WIDEBAND INPUT SPECTRUM C' SIGNAL OF INTEREST "IMAGE" D' –fS /2 A A' B B' –3fS /8 –5fS /16 –fS /4 –3fS /16 –fS /8 –fS /16 fS /16 DC fS /8 3fS /16 SIGNAL OF INTEREST C D fS /4 5fS /16 3fS /8 fS /2 Figure 2a. Wideband Input Spectrum (e.g., 30 MHz from High-Speed ADC) NCO "TUNES" SIGNAL TO BASEBAND AFTER FREQUENCY TRANSLATION A –fS /2 –3fS /8 –5fS /16 –fS /4 –3fS /16 C' C B –fS /8 –fS /16 DC fS /16 A' B' D' D fS /8 3fS /16 fS /4 5fS /16 3fS /8 Figure 2b. Frequency Translation (e.g., Single 1 MHz Channel Tuned to Baseband) CIC2, CIC5, AND RCF 0 –10 –20 –30 –40 dBc –50 –60 –70 –80 –90 –100 –110 –120 –130 FREQUENCY Figure 2c. Baseband Signal is Decimated and Filtered by CIC2, CIC5, RCF REV. A –3– fS /2 AD6620–SPECIFICATIONS RECOMMENDED OPERATING CONDITIONS Parameter Test Level Min AD6620AS Typ Max Unit VDD TAMBIENT I IV 3.0 –40 3.3 +25 3.6 +85 V °C Temp Test Level Min AD6620AS Typ Max Unit Full Full Full Full Full 25°C I I I I V 2.0 –0.3 VDD + 0.3 0.8 10 10 V V µA µA pF LOGIC OUTPUTS2, 4, 7, 8, 9, 10, 11 Logic Compatibility Logic “1” Voltage (IOH = 0.5 mA) Logic “0” Voltage (IOL = 1.0 mA) Full Full Full I I 2.4 IDD SUPPLY CURRENT CLK = 20 MHz12 CLK = 65 MHz13 Reset Mode14 Full Full Full V I I 52 167 POWER DISSIPATION CLK = 20 MHz12 CLK = 65 MHz13 Reset Mode14 Full Full Full V I I 170 550 ELECTRICAL CHARACTERISTICS Parameter (Conditions) 1, 2, 3, 4, 5, 6, 7 LOGIC INPUTS Logic Compatibility Logic “1” Voltage Logic “0” Voltage Logic “1” Current Logic “0” Current Input Capacitance (NOT 5 V TOLERANT) 3.3 V CMOS 1 1 4 3.3 V CMOS/TTL VDD – 0.2 0.2 0.4 V V 227 1 mA mA mA 750 3.3 mW mW mW NOTES 1 Input-Only Pins: CLK, RESET, IN[15:0], EXP[2:0], A/B, PAR/SEL. 2 Bidirectional Pins: SYNC_NCO, SYNC_CIC, SYNC_RCF. 3 Microinterface Input Pins: DS (RD), R/W (WR), CS. 4 Microinterface Bidirectional Pins: A[2:0], D[7:0]. 5 JTAG Input Pins: TRST, TCK, TMS, TDI. 6 Serial Mode Input Pins: SDI, SBM, WL[1:0], AD, SDIV[3:0]. 7 Serial Mode Bidirectional Pins: SCLK, SDFS. 8 Output Pins: OUT[15:0], DV OUT, A/BOUT, I/QOUT. 9 Microinterface Output Pins: DTACK (RDY). 10 JTAG Output Pins: TDO. 11 Serial Mode Output Pins: SDO, SDFE. 12 Conditions for IDD @ 20 MHz. M CIC2 = 2, MCIC5 = 2, MRCF = 1, 4 RCF taps of alternating positive and negative full scale. 13 Conditions for IDD @ 65 MHz. M CIC2 = 2, MCIC5 = 2, MRCF = 1, 4 RCF taps of alternating positive and negative full scale. 14 Conditions for IDD in Reset (RESET = 0). Specifications subject to change without notice. –4– REV. A AD6620 TIMING CHARACTERISTICS (C LOAD = 40 pF All Outputs) Parameter (Conditions) Temp Test Level Min AD6620AS Typ CLK Timing Requirements: tCLK CLK Period CLK Period tCLK CLK Width Low tCLKL tCLKH CLK Width High Full Full Full Full I I IV IV 14.931 15.4 7.0 7.0 Reset Timing Requirements: tRESL RESET Width Low Full I 30.0 ns Input Data Timing Requirements: Input2 to CLK Setup Time tSI tHI Input2 to CLK Hold Time Full Full IV IV –1.0 6.5 ns ns Parallel Output Switching Characteristics: tDPR CLK to OUT[15:0] Rise Delay CLK to OUT[15:0] Fall Delay tDPF tDPR CLK to DVOUT Rise Delay tDPF CLK to DVOUT Fall Delay CLK to IQOUT Rise Delay tDPR tDPF CLK to IQOUT Fall Delay tDPR CLK to ABOUT Rise Delay tDPF CLK to ABOUT Fall Delay Full Full Full Full Full Full Full Full IV IV IV IV IV IV IV IV 8.0 7.5 6.5 5.5 7.0 6.0 7.0 5.5 SYNC Timing Requirements: tSY SYNC3 to CLK Setup Time tHY SYNC3 to CLK Hold Time Full Full IV IV –1.0 6.5 SYNC Switching Characteristics: tDY CLK to SYNC4 Delay Time Full V 7.0 Serial Input Timing: tSSI SDI to SCLKt Setup Time SDI to SCLKt Hold Time tHSI tHSRF SDFS to SCLKu Hold Time tSSF SDFS to SCLKt Setup Time5 tHSF SDFS to SCLKt Hold Time5 Full Full Full Full Full IV IV IV IV IV 1.0 2.0 4.0 1.0 2.0 Serial Frame Output Timing: tDSE SCLKu to SDFE Delay Time tSDFEH SDFE Width High tDSO SCLKu to SDO Delay Time Full Full Full IV V IV 3.5 SCLK Switching Characteristics, SBM = “1”: tSCLK SCLK Period4 tSCLKL SCLK Width Low tSCLKH SCLK Width High tSCLKD CLK to SCLK Delay Time Full Full Full Full I V V V 2 × tCLK Serial Frame Timing, SBM = “1”: tDSF SCLKu to SDFS Delay Time tSDFSH SDFS Width High Full Full IV V 1.0 SCLK Timing Requirements, SBM = “0”: tSCLK SCLK Period tSCLKL SCLK Width Low tSCLKH SCLK Width High Full Full Full I IV IV 15.4 0.4 × tSCLK 0.4 × tSCLK REV. A –5– Unit ns ns ns ns 0.5 × tCLK 0.5 × tCLK 19.5 19.5 19.0 11.5 19.5 13.5 19.5 13.5 ns ns ns ns ns ns ns ns ns ns 23.5 ns ns ns ns ns ns 11.0 11.0 ns ns ns 13.0 ns ns ns ns tSCLK 4.5 0.5 × tSCLK 0.5 × tSCLK 6.5 tSCLK 4.0 ns ns 0.5 × tSCLK 0.5 × tSCLK ns ns ns NOTES 1 This specification valid for VDD >= 3.3 V. t CLKL and tCLKH still apply. 2 Specification pertains to: IN[15:0], EXP[2:0], A/B. 3 Specification pertains to: SYNC_NCO, SYNC_CIC, SYNC_RCF. 4 SCLK period will be ≥ 2 × tCLK when AD6620 is Serial Bus Master (SBM = 1) depending on the SDIV word. 5 SDFS setup and hold time must be met, even when configured as outputs, since internally the signal is sampled at the pad. Specifications subject to change without notice. Max AD6620 TIMING CHARACTERISTICS (C LOAD = 40 pF All Outputs) Parameter (Conditions) Temp Test Level Full Full Full Full Full Full IV IV IV IV IV IV 3.0 5.0 3.0 Full Full I IV 10.0 4.0 Full Full Full Full Full IV IV IV IV IV 3.0 5.0 3.0 3.0 0.0 Full IV 4.0 Full Full Full Full Full Full IV IV IV IV IV IV 3.0 5.0 3.0 0.0 Full Full I V 10.0 5.5 Full Full Full Full Full IV IV IV IV IV 0.0 5.0 6.5 3.0 0.0 Full V 5.5 Min AD6620AS Typ Max Unit MICROPROCESSOR PORT, MODE = 0 MODE0 Input Timing Requirements: tSC Control1 to CLK Setup Time Control1 to CLK Hold Time tHC tHA Address2 to CLK Hold Time tZR CS to Data Enabled Time CS to Data Disabled Time tZD tSAM CS to Address/Data Setup Time MODE0 Read Switching Characteristics: CLK to Data Valid Time tDD tRDY RD to RDY Time MODE0 Write Timing Requirements: tSC Control1 to CLK Setup Time tHC Control1 to CLK Hold Time Micro Data3 to CLK Hold Time tHM tHA Address2 to CLK Hold Time tSAM Address/Data Setup Time to CS MODE0 Write Switching Characteristics: tRDY RD to RDY Time ns ns ns ns ns ns 5.0 5.0 0.0 15.0 30.0 19.5 ns ns ns ns ns ns ns 19.5 ns MICROPROCESSOR PORT, MODE = 1 MODE1 Input Timing Requirements: Control1 to CLK Setup Time tSC tHC Control1 to CLK Hold Time Address2 to CLK Hold Time tHA tZR CS to Data Enabled Time tZD CS to Data Disabled Time Address/Data Setup Time to CS tSAM MODE1 Read Switching Characteristics: tDD CLK to Data Valid Time tDTACK CLK to DTACK Time MODE1 Write Timing Requirements: Control1 to CLK Setup Time tSC tHC Control1 to CLK Hold Time tHM Micro Data3 to CLK Hold Time Address2 to CLK Hold Time tHA tSAM Address/Data Setup Time to CS MODE1 Write Switching Characteristic: tDTACK CLK to DTACK Time ns ns ns ns ns ns 5.0 5.0 30.0 15.5 ns ns ns ns ns ns ns 15.5 ns NOTES 1 Specification pertains to: R/W (WR), DS (RD), CS. 2 Specification pertains to: A[2:0]. 3 Specification pertains to: D[7:0]. Specifications subject to change without notice. –6– REV. A AD6620 TIMING DIAGRAMS CLK, INPUTS, PARALLEL OUTPUTS SYNC PULSES: SLAVE OR MASTER RESET with PAR/SER = “1” establishes Parallel Outputs active. CLK t CLK t CLKH t SY t HY SYNC NCO SYNC CIC SYNC RCF CLK t CLKL NOTE: IN THE SLAVE MODE WITH SINGLE CHANNEL OPERATION, THE WIDTH OF THE SYNC_NCO SHOULD BE ONE SAMPLE CLOCK CYCLE. IN DUAL CHANNEL MODE, THE PULSEWIDTH SHOULD BE TWO SAMPLE CLOCK CYCLES. IF A PULSE LONGER THAN SPECIFIED IS USED, THE NCO WILL BE INHIBITED AND NOT INCREMENT PROPERLY. Figure 3. CLK Timing Requirements Figure 6. SYNC Slave Timing Requirements CLK t HI t SI IN[15:0] EXP[2:0] A/B t CLK t CHP t CPL CLK DATA Figure 4. Input Data Timing Requirements t CS t CH IN[15:0] N+1 N E[2:0] t DPR t DPF t DPF A/B CLK DVOUT Figure 7. SYNC Master Delay VALID OUTPUT DATA I/QOUT I OUT[15:0] IA Q QA I Q IB QB RESET Figure 5. Parallel Output Switching Characteristics t RESL Figure 8. Reset Timing Requirements REV. A –7– AD6620 SERIAL PORT: BUS MASTER SERIAL PORT: CASCADE MODE RESET with PAR/SER = “0” establishes Serial Port active. SBM = “1” puts AD6620 in Serial Bus Master mode SCLK is output; SDFS is output. RESET with PAR/SER = “0” establishes Serial Port active. SBM = “0” puts AD6620 in Serial Port Cascade mode, SCLK is input; SDFS is input. t SCLK CLK t SCLKH t SCLKD SCLK t SCLK t SCLKL t SCLKH Figure 13. SCLK Timing Requirements SCLK t SCLKL Figure 9. SCLK Switching Characteristics SCLK t SSI SCLK SDI t SSI SDI t HSI DATA Figure 14. Serial Input Data Timing Requirements t HSI DATA t HSRF Figure 10. Serial Input Data Timing Requirements SCLK I15 SDO t DSF t DSE I14 Q1 Q0 t HSF SDFS SCLK t SSF t SDFSH SDFS Figure 15. SDO/SDFS Timing Requirements t SDFEH SDFE Figure 11. Serial Frame Switching Characteristics t DSE t DSO SCLK t DSO SDO I15 I14 Q1 Q0 t SDFEH SCLK SDFE SDO I15 I14 I13 Figure 16. SDO, SDFE Switching Characteristics Figure 12. Serial Output Data Switching Characteristics –8– REV. A AD6620 MICROPORT MODE0, READ Timing is synchronous to CLK; MODE = 0. t DD CLK1 N N+1 t HC N+2 N+3 N+4 N WR2 t SC RD2 t HC CS3 t ZD t ZR DATA VALID D[7:0] t HA t SAM A[2:0] ADDRESS VALID t RDY t RDY RDY1 NOTES: 1 RDY IS DRIVEN LOW ASYNCHRONOUSLY BY RD AND CS GOING LOW AND RETURNS HIGH ON THE RISING EDGE OF CLK "N+3" FOR INTERNAL ACCESS (A[2:0] = 000), CLK "N+2" OTHERWISE. 2 THE 3 SIGNAL, WR, MAY REMAIN HIGH AND RD MAY REMAIN LOW TO CONTINUE READ MODE. CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+4 SHOWN) TO COMPLETE READ. Figure 17. MODE0 Read Timing Requirements and Switching Characteristics MICROPORT MODE0, WRITE Timing is synchronous to CLK; MODE = 0. t HC t SC CLK1 N N+1 N+2 N+3 N* WR2 RD2 t SC t HC CS3 t SAM t HM DATA VALID D[7:0] t HA t SAM ADDRESS VALID A[2:0] t RDY t RDY RDY NOTES: RDY IS DRIVEN LOW ASYNCHRONOUSLY BY WR AND CS GOING LOW AND RETURNS HIGH ON THE RISING EDGE OF CLK "N+2". 1 2 THESE SIGNALS (R/W AND DS) MAY REMAIN IN LOW STATE TO CONTINUE WRITING DATA. 3 CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+3 SHOWN) TO COMPLETE WRITE. * THE NEXT WRITE MAY BE INITIATED ON CLK, N*. Figure 18. MODE0 Write Timing Requirements and Switching Characteristics REV. A –9– AD6620 MICROPORT MODE1, READ Timing is synchronous to CLK; MODE = 1. t DD N CLK1 N+1 t HC N+3 N+2 N+4 N t SC R/W2 DS2 t SC t HC CS3 t ZD t ZR DATA VALID D[7:0] t SAM t HA A[2:0] ADDRESS VALID t DTACK t DTACK DTACK NOTES: 1 DTACK IS DRIVEN LOW ON THE RISING EDGE OF CLK "N+3" FOR INTERNAL ACCESS (A[2:0] = 000), CLK "N=2" OTHERWISE. 2 THE SIGNAL, R/W MAY REMAIN HIGH AND DS MAY REMAIN LOW TO CONTINUE READ MODE. 3 CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+4 SHOWN) TO COMPLETE ACCESS AND FORCE DTACK HIGH. Figure 19. MODE1 Read Timing Requirements and Switching Characteristics MICROPORT MODE1, WRITE Timing is synchronous to CLK; MODE = 1. t SC CLK1 t HC N N+1 N+3 N+2 N* R/W2 DS2 t SC t HC CS3 t SAM D[7:0] t HM DATA VALID t SAM A[2:0] t HA ADDRESS VALID t DTACK DTACK t DTACK NOTES: 1 ON RISING EDGE OF "N+3" CLK, DTACK IS DRIVEN LOW. 2 THESE SIGNALS (R/W AND DS) MAY REMAIN IN LOW STATE TO CONTINUE WRITING DATA. 3 CS MUST RETURN TO HIGH STATE AND BE SAMPLED BY CLK (N+3 SHOWN) TO COMPLETE WRITE AND FORCE DTACK HIGH. * THE NEXT WRITE MAY BE INITIATED ON CLK, N*. Figure 20. MODE1 Write Timing Requirements and Switching Characteristics –10– REV. A AD6620 ABSOLUTE MAXIMUM RATINGS* EXPLANATION OF TEST LEVELS Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +4.5 V Input Voltage . . . –0.3 V to VDD + 0.3 V (Not 5 V Tolerant) Output Voltage Swing . . . . . . . . . . . . –0.3 V to VDD + 0.3 V Load Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 pF Junction Temperature Under Bias . . . . . . . . . . . . . . . . 130°C Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C Lead Temperature (5 sec) . . . . . . . . . . . . . . . . . . . . . . 280°C I. 100% Production Tested. II. 100% Production Tested at 25°C, and Sampled Tested at Specified Temperatures. III. Sample Tested Only. IV. Parameter Guaranteed by Design and Analysis. V. Parameter is Typical Value Only. *Stresses greater than those listed above may cause permanent damage to the device. These are stress ratings only; functional operation of the device at these or any other conditions greater than those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. VI. 100% Production Tested at 25°C, and Sampled Tested at Temperature Extremes. Thermal Characteristics 80-Lead Plastic Quad Flatpack: θJA = 44°C/W θJC = 11°C/W ORDERING GUIDE Temperature Range Package Description AD6620AS AD6620S/PCB –40°C to +85°C (Ambient) 80-Lead PQFP (Plastic Quad Flatpack) Evaluation Board with AD6620AS and Software CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the AD6620 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high-energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. REV. A Package Option Model –11– S-80A WARNING! ESD SENSITIVE DEVICE AD6620 PIN FUNCTION DESCRIPTIONS Name Type Description VDD VSS CLK RESET IN[15:0] EXP[2:0] A/B SYNC_NCO SYNC_CIC SYNC_RCF MODE A[2:0] D[7.0] DS or RD R/W or WR CS DTACK or RDY PAR/SER DVOUT A/BOUT I/QOUT TRST TCK TMS TDI TDO P G I I I I I I/O I/O I/O I I I/O/T I I I O I O O O I I I I I 3.3 V Supply Ground Input Clock Active Low Reset Pin Input Data (Mantissa) Input Data (Exponent) Channel (A/B) Select Sync Signal for NCO Sync Signal for CIC Stages Sync Signal for RCF Sets Microport Mode: Mode 1, (MODE = 1), Mode 0, (MODE = 0) Microprocessor Interface Address Microprocessor Interface Data Mode 1: Data Strobe Line, Mode 0: Read Signal Read/Write Line (Write Signal) Chip Select, Enables the Chip for µP Access Acknowledgment of a Completed Transaction (Signals when µP Port Is Ready for an Access) Parallel/Serial Control Select (PAR = 1, SER = 0) Data Valid Pin for the Parallel Output Data Signals to Which Channel the Output Belongs to (A = 1, B = 0) Signals Whether I or Q Data Is Present (I = 1, Q = 0) Test Reset Pin Test Clock Input Test Mode Select Input Test Data Input Test Data Output Pin Types: I = Input, O = Output, P = Power Supply, G = Ground, T = Three-state. SHARED PINS Parallel Outputs (PAR/SER = 1 at RESET) Serial Port (PAR/SER = 0 at RESET) Name Type Description Name Type Description OUT15 O Parallel Output Data SCLK I/O OUT14 OUT13 OUT12 O O O Parallel Output Data Parallel Output Data Parallel Output Data SDI SDO SDFS I O/T I/O OUT11 OUT10 OUT9 OUT8 OUT7 OUT[6:4] OUT3 OUT2 OUT1 OUT0 O O O O O O O O O O Parallel Output Data Parallel Output Data Parallel Output Data Parallel Output Data Parallel Output Data Parallel Output Data Parallel Output Data Parallel Output Data Parallel Output Data Parallel Output Data (LSB) SDFE SBM WL1 WL0 AD NC SDIV3 SDIV2 SDIV1 SDIV0 O I I I I NC I I I I Serial Clock Input (SBM =0) Serial Clock Output (SBM = 1) Serial Data Input Serial Data Output Serial Data Frame Sync Input (SBM = 0) Serial Data Frame Sync Output (SBM = 1) Serial Data Frame End Serial Bus Master (Master = 1, Cascade = 0) Serial Port Word Length, Bit 1 Serial Port Word Length, Bit 0 Append Data Unused, Do Not Connect SCLK Divide Value, Bit 3 SCLK Divide Value, Bit 2 SCLK Divide Value, Bit 1 SCLK Divide Value, Bit 0 Pin Types: I = Input, O = Output, P = Power Supply, G = Ground, T = Three-state. –12– REV. A AD6620 PIN CONFIGURATIONS OUT1 OUT2 VSS OUT3 OUT5 OUT4 VDD OUT6 OUT8 OUT7 OUT10 OUT9 OUT11 VSS VDD OUT13 OUT12 (MSB) OUT15 OUT14 D7 Parallel Output Data 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 D6 1 D5 2 D4 3 PIN 1 IDENTIFIER 60 OUT0 (LSB) 59 A/BOUT 58 I/QOUT 57 VDD 56 DVOUT VSS 4 D3 5 D2 6 55 D1 7 VDD 8 D0 9 PAR/SER RESET TRST 52 TCK 54 53 AD6620 DS 10 DTACK 11 R/W 12 51 TOP VIEW (Not to Scale) 50 TMS TDO TDI VDD 47 SYNC NCO 49 VSS 13 MODE 14 48 A2 15 A1 16 46 45 SYNC CIC SYNC RCF A0 17 CS 18 EXP0 19 44 VSS 43 42 CLK A/B 41 IN0 (LSB) 60 SDIV0 EXP1 20 IN4 VDD IN3 NC VSS IN2 IN1 IN6 IN5 VSS VDD NC NC IN8 IN7 IN10 IN9 VDD IN12 IN11 VSS IN13 IN14 EXP2 IN15 (MSB) 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 SDIV1 SDIV3 SDIV2 WL0 AD SBM WL1 SDFE VSS SDO SDFS SDI VDD D7 SCLK Serial Port 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 D6 1 D5 2 D4 3 PIN 1 IDENTIFIER 59 A/BOUT I/QOUT 57 VDD 56 DVOUT 58 VSS 4 D3 5 D2 6 55 D1 7 VDD 8 RESET TRST 52 TCK 53 D0 9 DS DTACK R/W VSS MODE PAR/SER 54 AD6620 10 51 TOP VIEW (Not to Scale) 11 TMS TDO TDI 48 VDD 47 SYNC NCO 50 12 49 13 14 A2 15 A1 16 46 45 SYNC CIC SYNC RCF A0 17 CS 18 EXP0 19 EXP1 20 44 VSS 43 42 CLK A/B 41 IN0 NC = NO CONNECT REV. A IN2 IN1 VDD IN3 IN4 IN6 IN5 VSS IN8 IN7 VDD IN10 IN9 IN12 IN11 VSS IN13 IN14 EXP2 IN15 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 THE HIGHEST NUMBERED BIT IS THE MSB FOR ALL PORTS –13– AD6620 –Typical Performance Characteristics 400 0 375 –20 RCF DECIMATION –40 REJECTION – dB POWER – mW 350 325 300 CIC5 DECIMATION 275 –60 –80 –100 CIC2 DECIMATION 250 225 –120 1 2 3 LOG 2 (M) 4 –140 5 3 COMPOSITE FREQUENCY RESPONSE – MHz TPC 1. Typical Power vs. Decimation Rates TPC 4. High Decimation GSM Filter Input sample rate 65 MSPS, decimation is 240, FIR taps is 240. Unshown spectrum is below that shown. Decimation distribution is 3, 10, 8, respectively. 0 SPUR = –104dB PHASE DITHER OFF –12 2 1 0 –24 –36 0 –48 –20 –60 –72 –40 REJECTION – dB –84 –96 –108 –120 –132 –80 –100 fSAMP 0 –60 TPC 2. Typical NCO Spur Without Dither –120 –140 0 0 2 4 6 8 COMPOSITE FREQUENCY RESPONSE – MHz SPUR = –118dB PHASE DITHER ON –12 TPC 5. High Decimation AMPS Filter –24 Input sample rate 58.32 MSPS, decimation is 300, FIR taps is 128. Unshown spectrum is below that shown. Decimation distribution among CIC2, CIC5, and RCF is 10, 30 and 1, respectively. –36 –48 –60 –72 –84 –96 –108 –120 –132 0 fSAMP TPC 3. Typical NCO Spur with Dither –14– REV. A AD6620 INPUT DATA PORT Thus for fixed-point ADCs, the exponents are typically static and no input scaling is used in the AD6620. The input data port accepts a clock (CLK), a 16-bit mantissa IN[15:0], a 3-bit exponent EXP[2:0], and channel select Pin A/B. These pins allow direct interfacing to both standard fixed-point ADCs such as the AD9225 and AD6640, as well as to gainranging ADCs such as the AD6600. These inputs are not 5 V tolerant and the ADC I/O should be set to 3.3 V. D11 (MSB) The input data port accepts data in one of three input modes: Single Channel Real, Diversity Channel Real, or Single Channel Complex. The input mode is selected by programming the Input Mode Control Register located at internal address space 300h. IN15 AD6640 AD6620 D0 (LSB) Single Channel Real mode is used when a single channel ADC drives the input to the AD6620. Diversity Channel Real mode is the two channel mode used primarily for diversity receiver applications. Single Channel Complex mode accepts complex data in conjunction with the A/B input which identifies in-phase and quadrature samples (primarily for cascaded 6620s). IN4 IN3 IN2 IN1 IN0 EXP2 EXP1 EXP0 A/B +3.3V The input data port is sampled on the rising edge of CLK at a maximum rate of 67 MSPS. The 16-bit mantissa, IN[15:0] is interpreted as a twos complement integer. For most applications with ADCs having fewer than 16 bits, the active bits should be MSB justified and the unused LSBs should be tied low. Figure 21. Typical Interconnection of the AD6640 Fixed Point ADC and the AD6620 Scaling with Floating-Point ADCs The 3-bit exponent, EXP[2:0] is interpreted as an unsigned integer. The exponent can be modified by the 3-bit exponent offset ExpOff (Control Register 0x305, Bits (7–5)) and an exponent invert ExpInv (Control Register 0x305, Bit 4). ExpOff sets the offset of the input exponent, EXP[2:0]. ExpInv determines the direction of this offset. Equations below show how the exponent is handled. scaled _ input = IN × 2 scaled _ input = IN × 2 – mod(Exp+ ExpOff , 8) For gain-ranging ADCs such as the AD6600, scaled _ input = IN × 2– mod(7– Exp+ ExpOff , 8), ExpInv = 1 , ExpInv = 0 – mod(7– Exp+ ExpOff , 8) An example of the exponent control feature combines the AD6600 and the AD6620. The AD6600 is an 11-bit ADC with three bits of gain ranging. In effect, the 11-bit ADC provides the mantissa, and the three bits of relative signal strength indicator (RSSI) are the exponent. Only five of the eight available steps are used by the AD6600. See the AD6600 data sheet for additional details. where: IN is the value of IN[15:0], Exp is the value of EXP[2:0], and ExpOff is the value of ExpOff. , ExpInv = 1 where: IN is the value of IN[15:0], Exp is the value of EXP[2:0], and ExpOff is the value of ExpOff. Input Scaling In general there are two reasons for scaling digital data. The first is to avoid “clipping” or, in the case of the AD6620 register, “wrap-around” in subsequent stages. Wrap-around is not a concern for the input data since the NCO is designed to accept the largest possible input at the AD6620 data port. The second use of scaling is to preserve maximum dynamic range through the chip. As data flows from one stage to the next it is important to keep the math functions performed in the MSBs. This will keep the desired signal as far above the noise floor as possible, thus maximizing signal-to-noise ratio. The RSSI output of the AD6600 numerically grows with increasing signal strength of the analog input (RSSI = 5 for a large signal, RSSI = 0 for a small signal). With the Exponent Offset equal to zero and the Exponent Invert Bit equal to zero, the AD6620 would consider the smallest signal at the parallel input (EXP = 0) the largest and, as the signal and EXP word increase, it shifts the data down internally (EXP = 5, will shift the 11-bit data right by 5 bits internally before going into the CIC2). The AD6620 regards the largest signal possible on the AD6600 as the smallest signal. Thus the Exponent Invert Bit is used to make the AD6620 exponent agree with the AD6600 RSSI. When it is set high, it forces the AD6620 to shift the data up for growing EXP instead of down. The exponent invert bit should always be set high for use with the AD6600. Table I. AD6600 Transfer Function with AD6620 ExpInv = 1, and No ExpOff Scaling with Fixed-Point ADCs For fixed-point ADCs, the AD6620 exponent inputs EXP[2:0] are typically not used and should be tied low. The ADC outputs are tied directly to the AD6620 Inputs, MSB-justified. The exponent offset (ExpOff) and exponent invert (ExpInv) should both be programmed to 0. Thus the input equation, ADC Input Level AD6600 RSSI[2.0] AD6620 Data Signal Reduction Largest 101 (5) 100 (4) 011 (3) 010 (2) 001 (1) 000 (0) ⫼ 4 (>> 2) ⫼ 8 (>> 3) ⫼ 16 (>> 4) ⫼ 32 (>> 5) ⫼ 64 (>> 6) ⫼ 128 (>> 7) –12 dB –18 dB –24 dB –30 dB –36 dB –42 dB scaled _ input = IN × 2– mod(Exp+ ExpOff , 8), ExpInv = 0 where: IN is the value of IN[15:0], Exp is the value of EXP[0:2], and ExpOff is the value of ExpOff, simplifies to, scaled _ input = IN × 2– mod(0, 8) REV. A Smallest (ExpInv = 1, ExpOff = 0) –15– AD6620 The Exponent Offset is used to shift the data right. For example, Table I shows that with no ExpOff shift, 12 dB of range is lost when the ADC input is at the largest level. This is undesired because it lowers the Dynamic Range and SNR of the system by reducing the signal of interest relative to the quantization noise floor. clock is typically used to clock the AD6620. Applications that require a faster signal processing clock than the ADC sample clock, may employ fractional rate input timing as shown in the following sections. The input timing requirements vary according to the mode of operation. Fractional rate input timing creates a longer “don’t care” time for the input data so that slower ADCs need only meet the setup-and-hold conditions for their data with respect to their own sample clock cycle, rather than the faster signal processing clock. The ADC sample clock may be any integer fraction of CLK up to and including 1, as long as the clock and data rate are less than or equal to 67 MSPS. To avoid this automatic attenuation of the full-scale ADC signal, the Exponent Offset is used to move the largest signal (RSSI = 5) up to the point where there is no downshift. In other words, once the Exponent Invert bit has been set, the Exponent Offset should be adjusted so that mod(7–5 + ExpOff,8) = 0. This is the case when Exponent Offset is set to 6 since mod(8, 8) = 0. Table II illustrates the use of ExpInv and ExpOff when used with the AD6600 ADC. Single Channel Real Mode In the Single Channel Real mode the A/B input pin functions as an active high input enable. If the A/D sample clock is fast enough to perform the necessary filter functions, full rate input timing can be used and A/B should be tied high as shown in Figure 23. Table II. AD6600 Transfer Function with AD6620 ExpInv = 1, and ExpOff = 6 ADC Input Level AD6600 RSSI[2.0] AD6620 Data Signal Reduction Largest 101 (5) 100 (4) 011 (3) 010 (2) 001 (1) 000 (0) ⫼ 1 (>> 0) ⫼ 2 (>> 1) ⫼ 4 (>> 2) ⫼ 8 (>> 3) ⫼ 16 (>> 4) ⫼ 32 (>> 5) –0 dB –6 dB –12 dB –18 dB –24 dB –30 dB Smallest CLK t SI N N+1 N+2 N+3 N+4 EXP[2:0] A/B Figure 23. Full Rate Input Timing, Single Channel Real Mode (ExpInv = 1, ExpOff = 6) This flexibility in handling the exponent allows the AD6620 to interface with other gain ranging ADCs besides the AD6600. The Exponent Offset can be adjusted to allow up to seven RSSI(EXP) ranges to be used as opposed to the AD6600s five. It also allows the AD6620 to be tailored in a system that employs the AD6600, but does not utilize all of its signal range. For example, if only the first four RSSI ranges are expected to occur then the Exponent Offset could be adjusted to five, which would then make RSSI = 4 correspond to the 0 dB point of the AD6620. D10 (MSB) t HI IN[15:0] When a faster processing clock is used to achieve better filter performance, the A/D data must be synchronized with the faster AD6620 CLK signal. This is achieved by having the ADC clock rate an integer fraction of the AD6620 clock rate. AD6620 input data is sampled at the slower ADC clock rate. In the Single Channel Real Mode this is achieved by dynamically controlling the A/B input and bringing it high before each rising CLK edge that data is to be sampled on. A/B must be returned low before the next high speed clock pulse and the duty cycle of the A/B signal will therefore be equal to the data-to-clock ratio. IN15 CLK t HI t SI AD6620 AD6600 IN[15:0] N N+1 EXP[2:0] D0 (LSB) A/B OUT RSS12 RSS11 RSS10 IN4 IN3 IN2 IN1 IN0 EXP2 EXP1 EXP0 A/B Figure 24. Fractional Rate Input Timing (4 × CLK), Single Channel Real Mode A/B Figure 22. Typical Interconnection of the AD6600 GainRanging ADC and the AD6620 in a Diversity Application Input Timing The CLK signal is used to sample the input port and clock the synchronous signal processing stages that follow. The CLK signal can operate up to 67 MHz and have a duty cycle of 45% to 55%. In applications using high speed ADCs, the ADC sample Diversity Channel Real Mode In the Diversity Channel Real mode the A/B pin serves not only as an input enable but also to determine which channel is being sampled on a given CLK edge. A high on the A/B pin marks channel A data and a low on A/B marks channel B data. The AD6620 only accepts the first sample after an A/B transition. All subsequent samples are disregarded until A/B changes again. When full rate input timing is employed in the Diversity Channel Real mode, A/B must toggle on every rising edge of CLK for new data to be clocked into the AD6620. –16– REV. A AD6620 Single Channel Complex Mode In the Single Channel Complex input mode, A/B high identifies the in-phase samples and A/B low identifies quadrature samples. The quadrature samples are paired with the previous in-phase samples. The timing for this mode is the same as that of the Diversity Channel Real Mode. This mode is useful for accepting complex output data from another AD6620 or another source to increase filtering and or decimation rates. CLK t HI t SI IN[15:0] AN BN AN+1 BN+1 AN+2 BN+2 EXP[2:0] A/B In the Single Channel Complex Mode the CIC2 decimation must be set to two (MCIC2 = 2). This is necessary in order to allow enough CLK cycles to process the complex input data as described below. CLK 2x IF CLK 2x IS USED TO CLOCK THE AD6620, THE FIRST RISING EDGE AFTER THE A/B TRANSITION WILL LATCH THE DATA. Figure 25. Full Rate Input Timing, Diversity Channel Real Mode If fractional rate input timing is necessary in the Diversity Channel Real Mode, the A/B pin must toggle at half the rate of the A/D sample clock. The timing diagram below shows a 3× processing clock. In this situation there will be one ADC encode pulse for every three AD6620 CLK pulses and data must be taken on every third CLK pulse. The CLK edges that correspond to the latching of A and B channel data are shown in Figure 26. CLK t HI t SI IN[15:0] AN BN EXP[2:0] First clock cycle: (A/B high). – I data loaded from the input port. – The I data-path gets I × cosine. – The Q data-path gets I × sine. – The first integrator of the CIC2 adds these values to its previous sums. – The rest of the CIC2 is idle. Second clock cycle: (A/B low). – Q data loaded from the input port. – The I data-path gets Q × sine. – The Q data-path gets Q × cosine. – The first integrator of the I path of the CIC2 completes the sum (I × cosine - Q × sine) and the first integrator of the Q path of the CIC2 completes the sum j(I × sine + Q × cosine). – The rest of the CIC2 operates on these sums, which is the complete complex multiply. The data is then multiplexed through the rest of the chip as if it were single channel real data. Simplified Input Data Port Schematic A/B Figure 26. Fractional Rate Input Timing (3 × CLK), Diversity Channel Real Mode Figure 27 details a simplified schematic for the input data port. The first thing to note is that IN[15:0], EXP[2:0] and A/B are all synchronously latched with CLK. Note also that upon soft reset, a seven pipeline delay (sample clock delay) exists in the data path. This delay is synchronous with CLK, but is in fact seven valid sample data delays. For instance, in single channel SOFT RESET CLR LOGIC "1" D Q DELAY 7 CLK ENB Q IN[15:0] D D Q CLR Q INT IN[15:0] EXP[2:0] REGISTER INT EXP[2:0] REGISTER A/B D D Q Q INT DATA STROBE CLK CLK ENB S1 D MULTIPLEXER S2 C D SET Q CLR Q DUAL CHANNEL REAL SINGLE CHANNEL COMPLEX Figure 27. Simplified Input Data Port Schematic for the AD6620 REV. A –17– AD6620 real mode with full rate timing the delay is seven CLKs. If instead the data rate is one-fourth CLK, then 28 CLKs (i.e., seven sample data delays, gated via A/B) occur before valid data is passed to the NCO stage. t DPR CLK Interfacing AD6620 Inputs to 5 V Logic Gates DVOUT None of the inputs to the AD6620 are tolerant of 5 V logic signals. When interfacing 5 V devices to this product, an interface gate such as the 74LCX2244 is recommended. If latching must be performed, 74LCX574 latches may be used. This gate runs from the 3.3 V supply and is tolerant of 5 V inputs. VALID DATA I/QOUT I A/BOUT OUTPUT DATA PORT Parallel Output Data Port DVOUT DVOUT is provided to signal that valid data is present. If this pin is high, there is a valid data word on the bus. DVOUT remains high for two high-speed clock cycles in Single Channel Real and Single Channel Complex Mode and for four high-speed clock cycles in Diversity Channel Real mode. After DVOUT returns low the Q data will remain until the next data sample. I/QOUT When this pin is high the data word represents I data; when I/QOUT is low Q data is present. This signal will also be low when DVOUT is low since the last word of every data phase is Q data. A/BOUT If DVOUT is low, A/BOUT is always low. When A/BOUT is high, A Channel data is available on the output. If DVOUT remains high while A/BOUT is low, then B Channel data is on the output pins of the chip OUT[15:0]. IA QA Figure 28. Parallel Output Data Timing (Single-Channel Mode) t DPR t DPF t DPF t DPF CLK DVOUT A scale factor is associated with the output port, which allows the signal level to be adjusted. This scale factor is mapped to location 309h, Bits 2–0 in the AD6620 internal address space. This scalar controls the weight of the 16-bit data going to the parallel port. The scale factor is discussed in the RAM Coefficient Filter (RCF) section. This rate assumes that there is a minimum decimation of 2 in the first filter stage (CIC2) or a 2× or greater CLK is used. This decimation is required because for every input word there is both an I and a Q output. When the data rate and clock rate are the same (Full Rate Input Timing), the minimum decimation of 2 must occur in CIC2. Refer to CIC2 for more detail. Q A DATA OUT[15:0] The AD6620 provides a choice of two output ports: a 16-bit parallel port and a synchronous serial port. Output operation using the serial port is discussed in the next section. The parallel port is limited to 16 bits. Because pins are shared between the parallel and serial output ports, only one output mode can be used. The output mode must be set with a hard reset generated by at least a 30 ns low time on the RESET pin. If the PAR/SER line is high (Logic “1”), then parallel output data is activated. The PAR/SER pin should remain static after the output mode has been set (i.e., PAR/SER should only change when RESET is low). Data out of the AD6620 is two’s complement. The Parallel Mode provides a 16-bit output port, which constitutes the I and Q data for either one or both channels. This port can run at a maximum of 67 MHz (33.5 MHz I, 33.5 MHz Q). t DPF t DPF I/QOUT VALID DATA I A/BOUT OUT[15:0] Q I A DATA IA Q B DATA QA IB QB Figure 29. Parallel Output Data Timing (Diversity Channel Mode) Serial Output Data Port The AD6620 provides a choice of two output ports: a 16-bit parallel port and a synchronous serial port. The advantage of using the serial port is that all 23 bits of available data can be output in the 24-bit or 32-bit mode. The serial output port shares some of the same pins used by the parallel output port. As a result, one or the other mode of output may be utilized, but not both. The output mode must be set with a hard reset generated by at least a 30 ns low time on the RESET pin. If the PAR/SER line is low (Logic “0”) upon reset, then serial output data is activated. The PAR/SER pin should remain static after the output mode has been set (i.e., PAR/SER should only change when RESET is low). Note that the AD6620 cannot be booted through the serial port. The microport must be used to initialize the device, then serial operation is supported. Figure 30 shows the typical interconnections between an AD6620 in serial master mode and a DSP. Refer to the Serial Control Port section for a detailed description of pin functions and procedures for writing and reading with relation to the serial port. Note the 10 kΩ resistors connected to SDI and SDO. These prevent the lines from toggling when the AD6620 or DSP three-states these pins. –18– REV. A AD6620 2 after SDFS makes the first bit available at SDO. The falling edge of serial clock can be used to sample the data. The total number of bits are then read from the AD6620 (determined by the serial port word length). If the DSP has the ability to count bits, the DSP will know when the complete frame is read. If not, the DSP can monitor the SDFE pin to determine that the complete frame is read. The serial clock provided by the DSP can be asynchronous with the AD6620 clock and input data. 4 WL AD SDIV SCLK AD6620 SCLK SDI DT SDO DR SDFS DSP RFS 10k⍀ 10k⍀ SDFE SBM 2 4 WL +3.3V AD SDIV SCLK Figure 30. Typical Serial Data Output Interface to DSP (Serial Master Mode, SBM = 1) AD6620 Figure 31 shows two AD6620s illustrating the cascade capability for the chip. The first is connected as a serial master and the second is configured in serial cascade mode. The SDFE signal of the master is connected to the SDFS of the slave. This allows the master AD6620 data to be obtained first by the DSP, followed by the cascaded AD6620 data. 2 AD6620 SCLK SDI DT SDO DR SDFS RFS DSP SBM +3.3V WL SDO DR DSP RFS 10k⍀ SDFE SBM DVOUT IRQ Figure 32. Typical Serial Data Output Interface to DSP (Serial Slave Mode, SBM = 0) SDFE 2 DT 10k⍀ AD SDIV SCLK SDI SDFS 4 WL SCLK 4 In either the serial master or slave mode, there are two constraints that must be observed. The first is that the clock must be fast enough to read the serial frame prior to the next frame becoming available. Since the AD6620 output is synchronous with its input sample rate, the output update rate can be determined by the user-programmed decimation rate. The timing diagram in Figure 33 details how serial slave mode is implemented. The second constraint is that the time between serial frames may be either zero SCLK periods (the end of one frame adjoins the beginning of the next) or two or more SCLK periods. One SCLK period between frames is not allowed. AD SDIV t DSO SCLK SDI AD6620 CASCADE SCLK SDO SDFS 10k⍀ DVOUT PULSEWIDTH IS 2 CLKIN SINGLE CHANNEL AND 4 CLKIN DUAL CHANNEL DVOUT 10k⍀ SDFE SBM SDFS Figure 31. Typical Serial Data Output Interface to DSP (Serial Cascade Mode, SBM = 0) The AD6620 also supports a serial slave mode, where the serial clock and interface is provided by a DSP or ASIC that is set to operate in the master mode. Note that the AD6620 cannot be booted through the serial port. The microport must be used to initialize the device, then serial operation is supported. In the serial slave mode, DVOUT is valid and indicates the presence of a new word in the output buffers of the shift register. This pin may thus be used by the DSP to generate an interrupt to service the serial port. The DSP then generates an SFDS pulse to drive the AD6620. The first serial clock rising edge REV. A DSP USES FALLING EDGE OF DVOUT TO GENERATE SDFS I MSB I MSB – 1 SDO FIRST DATA IS AVAILABLE THE FIRST RISING SCLK AFTER SDFS GOES HIGH Figure 33. Timing for Serial Slave Mode (SBM = 0) FREQUENCY TRANSLATOR The first signal processing stage is a frequency translator consisting of two multipliers and a 32-bit complex numerically controlled oscillator (NCO). The NCO serves as a quadrature local oscillator capable of producing any analytic frequency between –fSAMP/2 and +fSAMP/2 with a resolution of fSAMP/232. In the Single Channel Real input mode, fSAMP is equal to fCLK multiplied by the fraction of CLK cycles that A/B is high. In the Diversity Channel Real and Single Channel Complex input –19– AD6620 modes, fSAMP is equal to fCLK multiplied by the fraction of CLK cycles on which A/B has been toggled. The NCO worst case discrete spur is better than –100 dBc for all output frequencies. Amplitude Dither The second dither option is Amplitude Dither or “Complex Dither.” Amplitude Dither is enabled by setting Bit 2 of the NCO Control Register at address 0x301 high. Amplitude Dither improves performance by randomizing the amplitude quantization errors within the angular to Cartesian conversion of the NCO. This dither will be particularly useful when the NCO frequency is close to an integer submultiple of the Input Data Rate. However, this option may reduce spurs at the expense of a slightly raised noise floor. Amplitude Dither and Phase Dither can be used together, separately or not at all. The control word, NCO_FREQ is interpreted as a 32-bit unsigned integer. To translate a channel centered at fCH to dc, calculate NCO_FREQ using the equation below. The mod function is used here to allow for Super Nyquist sampling where the IF carrier (fCH) is larger than the sample rate (fSAMP). The mod removes the integer portion of the number and forces it into the 32-bit NCO Frequency Register. If the fraction remaining is larger than 0.5, the NCO will be tuning above the Nyquist rate. The corresponding signal is then aliased back into the first Nyquist Zone as a negative frequency. Phase Offset The phase offset register adds an offset to the phase accumulator of the NCO. This is a 16-bit register and is interpreted as a 16-bit unsigned integer. A 0 in this register corresponds to a 0 Radian offset and an FFFF hex corresponds to an offset of 2 π (1 – 1/(2^16)) Radians. This register can be used to allow multiple AD6620s whose NCOs are synchronized to produce sine waves with a known and steady phase difference.  f  NCO _ FREQ = 232 × mod  CH ,1  fSAMP  In both Single and Diversity Channel Real Input modes, the output of the translation stage is the complex product of the real input samples and the complex samples from the NCO. It is necessary for the subsequent decimating filters to reject the unwanted image of the channel of interest, as well as any unwanted neighboring signals (and their images) not rejected by previous analog filters. NCO Synchronization In the Diversity Channel Real Input mode, the same NCO output words are used for both channel A and B streams, resulting in identical phase shifts. In Single Channel Complex mode both I and Q inputs are multiplied by the quadrature outputs of the NCO. The I and Q products of the multiply are then processed in the AD6620 filter stages. In single channel real or dual channel real operation, the frequency translation and filtering processes provide a gain of –6 dB. This can be visualized since the input data is usually a real sampled signal consisting of both positive and negative frequency components (Figure 2a). After being mixed with the complex NCO, the normal filtering of the AD6620 will remove one component or the other resulting in an analytic signal (Figure 2b). This filtering thus removes one-half or 6 dB of the signal keeping consistent with the mathematics involved. If however, the filtering of the device allows both the positive and negative frequency components to pass (i.e., the original signal is near dc), the gain of the frequency translation is 0 dB. Finally, if the NCO is bypassed, the gain of the frequency translation block is –12 dB. In order to achieve phase coherence between several AD6620s, a SYNC_NCO pin is provided. When the internal register bit, SYNC_M/S (Bit 3 of internal register 0x300), is set high, SYNC_NCO provides a synchronization pulse on the rising edge of CLK. When the SYNC_M/S bit is low, SYNC_NCO accepts an external synchronization signal sampled on the rising edge of CLK. When the AD6620 is a slave, the SYNC_NCO signal need not be a short pulse. It may be taken high and held for more than a CLK cycle in which case the NCO will be held inactive until this pin is again lowered. If the device is run as a sync slave in Single Channel Mode, the SYNC_NCO pin must be held low for one sample period, usually one clock cycle. If the device is run in Diversity Channel Real mode, the SYNC_NCO must be high for two sample periods (clock cycles). In a system with an array of AD6620s it is not necessary to use one as a master. It may be desirable to generate a synchronization signal elsewhere in the system and use that to control the AD6620. An example of this may be in systems that receive packets of data. In this case, the NCO may be resynchronized prior to the beginning of the packet, thus giving a consistent phase relationship on each burst. This allows for ease of use in a large system where many AD6620s need be synchronized accurately across a large backplane or installation. Phase Dither t DY The AD6620 provides a phase dither option for improving the spurious performance of the NCO. This is controlled via the NCO Control Register at address 301 hex. When phase dither is enabled by setting Bit 1 of this register high, spurs due to phase truncation in the NCO are randomized. The energy from these spurs is spread into the noise floor and Spurious Free Dynamic Range is increased at the expense of very slight decreases in the SNR. Phase dither should be experimented with for each desired NCO frequency and if it is seen to reduce spurs, it should be considered. The choice of whether Phase Dither is used in a system will ultimately be decided by the system goals. If lower spurs are desired at the expense of a slightly raised noise floor, it should be employed. If a low noise floor is desired and the higher spurs can be tolerated or filtered by subsequent stages, then Phase Dither is not needed. CLK SYNC NCO SYNC CIC SYNC RCF –20– NOTE: IN THE SLAVE MODE WITH SINGLE CHANNEL OPERATION, THE WIDTH OF THE SYNC_NCO SHOULD BE ONE SAMPLE CLOCK CYCLE. IN DUAL CHANNEL MODE, THE PULSEWIDTH SHOULD BE TWO SAMPLE CLOCK CYCLES. IF A PULSE LONGER THAN SPECIFIED IS USED, THE NCO WILL BE INHIBITED AND NOT INCREMENT PROPERLY. Figure 34. SYNC_NCO Pin REV. A AD6620 COS SIN PHASE OFFSET PHASE DITHER AMPLITUDE DITHER 32 1 REGISTER MASKED COUNT = 0? SYNC_NCO PIN REGISTER 32 PHASE ACCUMULATOR 32 32 1 SYNC MASK 0 32 32 X4 32 1 32 32 REGISTER NCO FREQ 1 Figure 35. NCO Block Diagram The frequency of the SYNC_NCO pulses, and therefore the accuracy of the synchronization, is determined by the value of the NCO Sync Control Register at address 302 hex. The value in this register is the SYNC_MASK and is interpreted as a 32-bit unsigned integer. This value controls the window around the zero crossing of the NCO output sine wave in which the NCO will output a SYNC_NCO pulse as a master. As a slave, the value in this register will determine the number of MSBs of the output sine wave that are synchronized with the master. The Master and all slaves should use the same SYNC_MASK word. This value should almost always be written as all 1s (FFFFFFFF hex). 2ND ORDER CASCADED INTEGRATOR COMB FILTER The CIC2 filter is a fixed-coefficient, decimating filter. It is constructed as a second order CIC filter whose characteristics are defined only by the decimation rate chosen. This filter can process signals at the full rate of the input port (67 MHz) in all input modes. The output rate of this stage is given by the equation below. fSAMP2 = The decimation ratio, MCIC2, is an unsigned integer that may be between 1 and 16. This stage may be bypassed under certain conditions by setting, MCIC2 equal to 1. For this to happen the processing clock rate, fCLK must be two or more times the input data rate, fSAMP. This is because the I and Q data is processed in parallel within the CIC2 filter, and the I and Q output data is then multiplexed through the same data pipe before it enters the CIC5 filter. Effects of A/B Input on the NCO If the AD6620 is run in Single Channel Real mode using fractional rate input timing, the A/B input is used to enable the NCO advancement. If the A/B line is held high longer than one clock period, the NCO will advance for each rising edge of the CLK while A/B is high. This is not normally the desired result and thus A/B must be taken low after the first CLK period to prevent anomalous NCO results. See additional details under Fractional Rate Timing. The frequency response of the CIC2 filter is given by the following equations. Phase Continuous Tuning with the AD6620 For synchronization purposes, the AD6620 NCO phase is reset each time the NCO frequency register is either written to or read from. This is accomplished by forcing an NCO Sync to occur. Normally, phase-continuous tuning is required on the transmit path to control spectral leakage. On the receive path this in not usually a constraint. However, if phase-continuous tuning is required with the AD6620, it can be accomplished by configuring the AD6620 as a Sync Slave. In this manner, no internal NCO sync is generated when the NCO frequency register is written to. If multiple AD6620s are synchronized together, a common external sync pulse can be used to lock each of the receivers together at the appropriate point in time. It is also possible to reconfigure the AD6620 after the NCO frequency register has been written so that the chip is once again a Sync Master. The next time the NCO phase cycles through 0 degrees, the NCO sync is exerted and the chip is again synchronized. REV. A fSAMP MCIC2 H(z ) = H( f ) = 1 2SCIC 2 1 2SCIC 2  1 – z – MCIC 2  ×   1 – z –1  2   MCIC 2 × f     sin π f  SAMP ×   f      sin π f  SAMP    2 The scale factor, SCIC2 is a programmable unsigned integer between 0 and 6. This serves as an attenuator that can reduce the gain of the CIC2 in 6 dB increments. For the best dynamic range, SCIC2 should be set to the smallest value possible (i.e., lowest attenuation) without creating an overflow condition. This can be safely accomplished using the equation below, where input_level is the largest fraction of full scale possible at the input to this AD6620 (normally 1). The CIC2 scale factor is not ignored when the CIC2 is bypassed. –21– AD6620 which is slightly greater than the 0.07 percent calculated. Therefore, the maximum bound on CIC2 decimation for this condition is four. Additional decimation means less alias rejection than the 100 dB required. 2 SCIC 2 = ceil  log 2 ( MCIC 2 × input _ level ) OLCIC 2 = 1 × input _ level 2SCIC 2 The equations for calculating CIC2 output level is correct when stage is not bypassed (normal operation). However, when bypassed, the following equations should be used instead. OLCIC2 = Input Level The gain and pass band droop of the CIC2 should be calculated by the equations above, as well as the filter transfer equations that follow. If these are unacceptable, they can be compensated for in subsequent stages. CIC2 Rejection The table below illustrates the amount of bandwidth in percent of the data rate into the CIC2 stage. The data in this table may be scaled to any allowable sample rate up to 67 MHz in Single Channel Mode or 33.5 MHz in Diversity Channel Mode. The table can be used as a tool to decide how to distribute the decimation between CIC2, CIC5 and the RCF. Note that although an MCIC2 less then four would still yield the required rejection, overall power consumption is reduced by decimating as much as possible in this stage. Decimation in CIC2 lowers the data rate and thus reduces power consumed in subsequent stages. The plot below shows the CIC2 transfer function using a decimation of four. The first plot is referenced to the input sample rate, the complex spectrum from –fSAMP/2 to fSAMP/2. The second plot is referenced to the CIC2 output rate, the complex spectrum from –fSAMP2/2 to fSAMP2/2. The aliases of the CIC2 can be seen to be “folding back” in toward the edge of the desired filter pass band. It is the level of these aliases as they move into the desired pass band that are important. 0 –20 The data in this table may be scaled to any allowable sample rate up to 67 MHz in Single Channel Mode or 33.5 MHz in Diversity Channel Mode. dBFS –40 Table III. SSB CIC2 Alias Rejection Table (f SAMP = 1) Bandwidth Shown in Percentage of f SAMP –60 –80 MCIC2 –50 dB –60 dB –70 dB –80 dB –90 dB –100 dB 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1.79 1.508 1.217 1.006 0.853 0.739 0.651 0.581 0.525 0.478 0.439 0.406 0.378 0.353 0.331 0.318 0.274 0.223 0.186 0.158 0.137 0.121 0.108 0.097 0.089 0.082 0.075 0.07 0.066 0.061 0.566 0.486 0.395 0.328 0.279 0.242 0.213 0.19 0.172 0.157 0.144 0.133 0.124 0.116 0.109 0.179 0.155 0.126 0.105 0.089 0.077 0.068 0.061 0.055 0.05 0.046 0.043 0.04 0.037 0.035 –100 0.101 0.087 0.071 0.059 0.05 0.044 0.038 0.034 0.031 0.028 0.026 0.024 0.022 0.021 0.02 –120 –0.5 0.3 0.4 0.5 0.1 0.2 0.3 0.4 0.5 –80 Solution: First determine the percentage of the sample rate that is represented by the pass band. Find the –100 dB column on the right of the table and look down this column for a value greater than or equal to your pass band percentage of the clock rate. Then look across to the extreme left column and find the corresponding decimation rate. Referring to the table, notice that for a decimation of 4, the frequency having –100 dB of alias rejection is 0.071 percent 0.2 –60 –120 –0.5 10 MHz 0.1 –40 Goal: Implement a filter with an Input Sample Rate of 10 MHz requiring 100 dB of Alias Rejection for a ± 7 kHz pass band. = 0.07% 0 –20 –100 7 kHz –0.1 0 Example Calculations BWFRACTION = 100 × –0.4 –0.3 –0.2 f/fSAMP dBFS 1.007 0.858 0.696 0.577 0.49 0.425 0.374 0.334 0.302 0.275 0.253 0.234 0.217 0.203 0.19 –0.4 –0.3 –0.2 –0.1 0 f/fSAMP2 Figure 36. CIC2 Alias Rejection, MCIC2 = 4 The set of plots below show a decimation of 16 in the CIC2 filter. The lobes of the filter drop as the decimation rate increases, but the amplitudes of the aliased frequencies increase because the output rate has been reduced. –22– REV. A AD6620 The frequency response of the filter is given by the following equations. The gain and pass band droop of CIC5 should be calculated by these equations. Both parameters may be compensated for in the RCF stage. 0 –20 dBFS –40 H (z ) = –60 1 2S CIC 5 –80 H( f ) = –100 –120 –0.5 –0.4 –0.3 –0.2 –0.1 0 0.1 0.2 0.3 0.4 2 0.5 f/fSAMP 5 CIC 5   MCIC 5 × f    sin  π fSAMP 2    ×  sin  π f       fSAMP 2    5 –80 The scale factor, SCIC5 is a programmable unsigned integer between 0 and 20. It serves to control the attenuation of the data into the CIC5 stage in 6 dB increments. For the best dynamic range, SCIC5 should be set to the smallest value possible (lowest attenuation) without creating an overflow condition. This can be safely accomplished using the equation below, where OLCIC2 is the largest fraction of full scale possible at the input to this filter stage. This value is output from the CIC2 stage then pipelined into the CIC5. SCIC5 is ignored when this filter is bypassed by setting MCIC5 = 1. –100 SCIC 5 = ceil log2 ( MCIC 5 × OLCIC 2 ) – 5 0 –20 –40 dBFS 1 SCIC 5 +5 1– z – M  ×  +5   1– z –1  –60 –120 –0.5 ( (M ) × OL = ) 5 CIC 5 –0.4 –0.3 –0.2 –0.1 0 0.1 0.2 0.3 0.4 OLCIC 5 0.5 f/fSAMP2 Figure 37. CIC2 Alias Rejection, MCIC2 = 16 The third signal processing stage, CIC5, implements a sharper fixed-coefficient, decimating filter than CIC2. The input rate to this filter is fSAMP2. The maximum input rate is given by the equation below. NCH equals two for Diversity Channel Real input mode; otherwise NCH equals one. In order to satisfy this equation, MCIC2 can be increased, NCH can be reduced, or fCLK can be increased (reference fractional rate input timing described in the Input Timing section). fSAMP2 ≤ 2SCIC 5 +5 CIC 2 when CIC5 is bypassed; OLCIC 5 = OLCIC 2 5TH ORDER CASCADED INTEGRATOR COMB FILTER The output rate of this stage is given by the equation below. fSAMP5 ≤ fCLK 2 × N CH The decimation ratio, MCIC5, may be programmed from 1 to 32 (all integer values). When MCIC5 = 1, this stage is bypassed and the CIC5 scale factor is ignored. REV. A 5 –23– fSAMP2 MCIC5 AD6620 This table helps to calculate an upper bound on decimation, MCIC5, given the desired filter characteristics. CIC5 Rejection The table below illustrates the amount of bandwidth in percentage of the clock rate that can be protected with various decimation rates and alias rejection specifications. The maximum input rate into the CIC5 is 32.5 MHz. As in the previous table, these are the 1/2 bandwidth characteristics of the CIC5. Note that the CIC5 stage can protect a much wider band than the CIC2 for any given rejection. Table IV. SSB CIC5 Alias Rejection Table (fSAMP2 = 1) Bandwidth Shown in Percentage of f SAMP2 MCIC5 –50 dB –60 dB –70 dB –80 dB –90 dB –100 dB 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 10.227 7.924 6.213 5.068 4.267 3.68 3.233 2.881 2.598 2.365 2.17 2.005 1.863 1.74 1.632 1.536 1.451 1.375 1.307 1.245 1.188 1.137 1.09 1.046 1.006 0.969 0.934 0.902 0.872 0.844 0.818 5.066 4.107 3.271 2.687 2.27 1.962 1.726 1.54 1.39 1.266 1.162 1.074 0.998 0.932 0.874 0.823 0.778 0.737 0.701 0.667 0.637 0.61 0.584 0.561 0.54 0.52 0.501 0.484 0.468 0.453 0.439 4.008 3.297 2.636 2.17 1.836 1.588 1.397 1.247 1.125 1.025 0.941 0.87 0.809 0.755 0.708 0.667 0.63 0.597 0.568 0.541 0.516 0.494 0.474 0.455 0.437 0.421 0.406 0.392 0.379 0.367 0.355 3.183 2.642 2.121 1.748 1.48 1.281 1.128 1.007 0.909 0.828 0.76 0.703 0.653 0.61 0.572 0.539 0.509 0.483 0.459 0.437 0.417 0.399 0.383 0.367 0.353 0.34 0.328 0.317 0.306 0.297 0.287 0 –20 –40 dBFS 6.393 5.11 4.057 3.326 2.808 2.425 2.133 1.902 1.716 1.563 1.435 1.326 1.232 1.151 1.079 1.016 0.96 0.91 0.865 0.824 0.786 0.752 0.721 0.692 0.666 0.641 0.618 0.597 0.577 0.559 0.541 –60 –80 –100 –120 –0.5 –0.4 –0.3 –0.2 –0.1 0 0.1 0.2 0.3 0.4 0.5 0.1 0.2 0.3 0.4 0.5 f/fSAMP 0 –20 –40 dBFS 8.078 6.367 5.022 4.107 3.463 2.989 2.627 2.342 2.113 1.924 1.765 1.631 1.516 1.416 1.328 1.25 1.181 1.119 1.064 1.013 0.967 0.925 0.887 0.852 0.819 0.789 0.761 0.734 0.71 0.687 0.666 The plots following (Figure 38) represent the CIC5 transfer function with respect to the CIC5 output rate for a decimation of 4. The first plot is referenced to the input sample rate and shows the complex spectrum from –fSAMP/2 to +fSAMP/2. The second plot is referenced to the CIC5 output rate; the complex spectrum ranges from –fSAMP5/2 to +fSAMP5/2. Aliased images in CIC5 “fold back” toward the edge of the desired filter pass band. It is the level of these aliases as they move into the desired pass band that are of concern. The improved roll-off of CIC5 over CIC2 can be seen when these plots are compared to those previously shown for CIC2. –60 –80 –100 –120 –0.5 –0.4 –0.3 –0.2 –0.1 0 f/fSAMP5 Figure 38. CIC5 Alias Rejection, MCIC5 = 4 –24– REV. A AD6620 The set of plots below (Figure 39) represents a decimation of 32 in the CIC5 filter. It can be seen that the lobes of the filter drop as the decimation rate increases, but the aliased frequencies increase due to the reduction of the output rate. 0 The maximum number of taps this filter can calculate, NTAPS, is given by the equation below. The value NTAPS minus 1 is written to the AD6620 internal address space at address 30C hex. The decimation ratio of this filter, MRCF, may be programmed from 1 to 32. The input rate into the RCF is fSAMP5. NCH is equal to two for Diversity Channel Real Input mode; otherwise NCH = 1. –20 NTAPS ≤ dBFS –40 –60 –100 –0.2 –0.1 0 0.1 0.2 0.3 f/fSAMP 0 The RCF stores the data from the CIC5 into a 256 × 36 RAM. 256 × 18 is assigned to I data and 256 × 18 is assigned to Q data. The RCF uses the RAM as a circular buffer, so that it is difficult to know in which address a particular data element is stored. To avoid start-up transients due to undefined data RAM values, the data RAM should be cleared upon initialization. The RCF utilizes the number of data RAM locations equal to NTAPS × NCH, rounded up to the nearest even number, starting from address 0x100, so these are the only values that need be cleared. –20 dBFS –40 –60 –80 When the RCF is triggered to calculate a filter output, it starts by multiplying the oldest value in the data RAM by the first coefficient (located by the RCFOFF register in address 0x30B). This value is accumulated with the products of newer data words multiplied by the subsequent locations in the coefficient RAM until the coefficient address RCFOFF + NTAPS–1 is reached. –100 –120 –0.5 N CH The RCF coefficients are located in addresses 0x000 to 0x0FF and are interpreted as 20-bit twos complement numbers. When writing the coefficient RAM, the lower addresses will be multiplied by relatively older data from the CIC5 and the higher coefficient addresses will be multiplied by relatively newer data from the CIC5. The coefficients need not be symmetric and the coefficient length, NTAPS, may be even or odd. If the coefficients are symmetric, then both sides of the impulse response must be written into the coefficient RAM. –80 –120 –0.3 f  × M RCF min  CLK , 256 fSAMP 5   –0.4 –0.3 –0.2 –0.1 0 0.1 0.2 0.3 0.4 0.5 f/fSAMP5 Figure 39. CIC5 Alias Rejection, MCIC5 = 32 Table V. Three-Tap Filter RAM COEFFICIENT FILTER The final signal processing stage is a sum-of-products decimating filter with programmable coefficients. Figure 40 shows a simplified block diagram. The data memories I-RAM and Q-RAM store the 256 most recent complex samples from the previous filter stage with 18-bit resolution. The coefficient memory, C-RAM, stores up to 256 coefficients with 20-bit resolution. On each CLK cycle one tap for I and one tap for Q is calculated using the same coefficients. The I and Q accumulators provide 3 bits of headroom. This headroom allows the output of the RCF filter to contain 23 significant bits. IIN 256ⴛ18b I-RAM 256ⴛ18b Q-RAM Impulse Response Data 0 1 2 (NTAPS – 1) h(0) h(1) h(2) n(0) Newest n(1) n(2) Oldest The output rate of this filter is determined by the output rate of the CIC5 stage and MRCF. fSAMPR = QOUT This register at address 30b hex allows the AD6620 to hold multiple filters in the RAM. However, the sum of the taps required may not exceed 256 divided by the number of channels. The RCF will compute the filter from RCF_OFFSET to (RCF_OFFSET + NTAPS). A single access can then be used to select which of the filters is used without requiring coefficients be rewritten. Figure 40. RAM Coefficient Filter Block Diagram REV. A fSAMP5 M RCF RCF Coefficient Address Offset IOUT 256ⴛ20b C-RAM QIN Coefficient Address –25– AD6620 RCF Output Scale Factor Table VI. The scale factor associated with the RCF, SOUT, behaves differently than the scale factors in the CIC stages. This scalar, at the RCF output, controls the weight of the 16-bit output data going to the parallel port or to the serial port when using 16-bit words. SOUT determines which of the 23 RCF output bits are used based on the equation below. OLRCF is the 23-bit RCF output data; POL represents the output port data. POL is rounded to the 16 bits desired. The weight of the rounding is adjusted by SOUT. When the serial port is used with 24-bit or 32-bit words, SOUT is ignored. POL = round16 bits (OLRCF × 2(4 – S OUT ) ) Another way to consider the effects of the RCF Output Scale factor is discussed here. If both CIC scalars follow the previous recommendations, the following chart can be used to determine what value to use for the RCF scale factor. In order to determine this, the “gain” of the impulse response must first be determined. This can be done by integrating the coefficients used for the RCF filter remembering to normalize the values against the fullscale input range of 219. There are several possibilities when setting the “gain” of the RCF coefficients. Following these guidelines will preserve at least three bits in the sum of products registers. 1. ∑ h(n) = 1; 0 dB dc gain in RCF filter. Numeric wraparound very unlikely. The RCF Scale factor should be nominally set to 4. 2. ∑ h(n) ≤ 1 ; slight loss in RCF filter. Numeric wraparound is impossible. The RCF Scale factor should be nominally set to 4. 3. ∑ h(n) = m ; where the absolute value of m is a number less than 1 and is scaled to account for losses elsewhere in the system, such as conversion gain errors, attenuator losses or CIC scaling errors. The gain should be scaled down to avoid wraparound in the RCF process, however, then the RCF Scale Factor can be adjusted up to increase the signal level. The value of m can also be negative to account for an inversion through an amplifier. The RCF Scale factor should be set where needed to produce the desired full-scale results with a fully loaded receiver input signal. The RCF Scale factor has the effect as shown in the following table. Each successive gain step doubles or halves the overall gain of the stage. Overall gain through the RCF stage is the cascaded gain of the RCF Scale factor shown below and the RCF coefficient gain discussed previously. RCF Gain RCF Scale Factor (Address 309h) 1/8 1/4 1/2 1 2 4 8 16 7 6 5 4 3 2 1 0 Gain through the RCF of the AD6620 is thus: Gaincoefficients × Gain RCF Unique B Operation Unique B works in conjunction with dual channel mode. In this mode, both the A and B channels can have different FIR coefficients. This can prove useful in many applications where each signal path has known differences. Another option is that FIR gain for one path could be different than the other. During diversity selection, one path could be tailored for weak signals and the other for strong signals, providing extra dynamic range. To use the Unique B mode, set Bit 3 high in register 309h. This will cause the internal state machine to use a different set of coefficients for the B channel than the A. With Bit 3 set low for normal operation, the FIR coefficient index is incremented only after both the A and B channels are computed. However when this bit is set high, the index is incremented after each A channel and B channel computation. Therefore, filters are computed normally. When downloaded to the AD6620, they should be interleaved with the A channel terms occupying the even RCF Coefficient locations and the B channel terms occupying the odd locations. Both filters must be the same length and fit in the allocated memory space. With Unique B set to ‘0,’ the following table illustrates how the coefficients are distributed. Table VII. Coefficient Address W(0) W(1) W(2) W(3) … 0 1 2 3 … With Unique B set to ‘1,’ the following table illustrates how the coefficients are distributed. Table VIII. –26– Coefficient Address Wa(0) Wb(0) Wa(1) Wb(1) … 0 1 2 3 … REV. A AD6620 Filter Phase Synchronization If the AD6620s to be synchronized have identical decimation, then latency through the filter stages will be matched and output data rates for the Sync master’s filter stages will match the corresponding filter stages of the slave. Like the NCO, the AD6620 filter stages have phase synchronization circuitry enabling multiple AD6620s to be used in applications such as diversity antennas and phased array systems. For any fSAMP, there are MCIC2 possible phases of fSAMP2 at the output of the CIC2 stage. Similarly, at the output of the CIC5 stage, there are MCIC5 possible phases of fSAMP5. This means that at the output of the CIC stages there is already MCIC2 × MCIC5 possible phases of the filtered data. Additional phase uncertainty is introduced by decimation done in the RCF. At the output of the AD6620 there are a total of MCIC2 × MCIC5 × MRCF possible output phases of the data. In diversity systems using multiple AD6620s, it is necessary to ensure that the output of each AD6620 in the system is in phase. A variety of system issues (e.g., not bringing the AD6620s on line at the same time, excessive digital noise) could cause the AD6620s to start out-of-phase or to drift out-of-phase as the system runs. To achieve output phase coherence in such systems the SYNC_CIC and SYNC_RCF pins are provided. The function of these pins is controlled by the SYNC_M/S bit in the Mode Control Register at address 300 hex of internal address space. When the SYNC_M/S bit is high, SYNC_CIC and SYNC_RCF provide synchronization pulses on the rising edge of CLK. When the SYNC_M/S bit is low, SYNC_CIC and SYNC_RCF accept external synchronization pulses sampled on the rising edge of clock. This pulse edge synchronizes the CIC2, CIC5 and RCF filter stages of all AD6620 in the chain. Below is an example of the output SYNC pulse waveforms. The SYNC_NCO pulse is not shown and is described in the preceding NCO Synchronization section. Each SYNC_RCF output pulse is concurrent with a SYNC_CIC pulse. The SYNC_RCF output pulse can be connected to the SYNC_CIC, and SYNC_RCF inputs of another AD6620 to achieve full decimation synchronization. CLK SYNC CIC SYNC RCF Figure 41. SYNC Output Pulses In the example above, MCIC2 = 3, and MCIC5 = 1 as evidenced by the SYNC_CIC pulses that occur every 3 CLK cycles (MCIC2 × MCIC5). MRCF = 3, resulting in SYNC_RCF pulses that are one third as frequent as the SYNC_CIC pulses. In this example full rate input timing is employed such that the input data rate equals the clock rate. REV. A MASTER SYNC CIC SLAVE MASTER SYNC M/S SYNC RCF SLAVE Figure 42. SYNC_CIC, SYNC_RCF Pins The three SYNC inputs to the control block originate from the same three bidirectional pads from which the three SYNC outputs are driven. When the AD6620 is a SYNC MASTER, the internal circuitry that generates the SYNC pulse outputs is enabled to the pads. When the AD6620 is a SYNC SLAVE, the internally produced SYNC pulses are three-stated, and the pads are driven from an external input. The capacitance on these pins must be closely monitored since the master responds to the same SYNC pulse as the slave (its own pulse). There is no input requirement to the relative phases of these SYNC pulses. In the absence of SYNC pulses each state machine will free run so the latter decimation filters can be reliably synchronized by the SYNC pulses of an earlier stage. However, when sync pulses are provided externally, setup-and-hold times must be met for each respective input. CONTROL REGISTERS AND ON-CHIP RAM The AD6620 provides a choice of two control ports. It has an 8-bit generic microprocessor port that is used for configuring the device at boot up and dynamically reconfiguring the AD6620 in the system. It also has a synchronous serial port that can also dynamically reconfigure the AD6620 for the desired system operation. All control registers are available from both the serial port and the microprocessor port. These control methods are nonexclusive and the two ports can be used simultaneously. If simultaneous access occurs, the serial port is given precedence over the microprocessor port unless a micro cycle is already under way. The microprocessor port deasserts the RDY signal and waits until the serial access is completed for Mode 0. The microprocessor port does not assert DTACK for Mode 1 until the serial access is completed. –27– AD6620 Table IX. Control Register and RAM Addresses Address Bit Width Name Notation 000–0FF 100–1FF 200–27F 300 20 36 0 8 RCF Coefficient RAM RCF Data RAM Reserved MODE CONTROL REGISTER 301 3 NCO CONTROL REGISTER 302 32 NCO SYNC CONTROL REGISTER SYNC_MASK 303 304 305 32 16 8 NCO_FREQ NCO PHASE_OFFSET INPUT/CIC2 SCALE REGISTER NCO_FREQ 306 307 8 5 MCIC2 – 1 CIC5 SCALE REGISTER MCIC2 – 1 SCIC5 308 309 8 4 MCIC5 – 1 OUTPUT/RCF CONTROL REGISTER MCIC5 – 1 SOUT 30A 30B 30C 30D 8 8 8 8 MRCF – 1 RCF ADDRESS OFFSET REGISTER NTAPS – 1 Reserved (Should Be Written 0) MRCF – 1 RCFOFF NTAPS – 1 Description RCF Coefficient RAM RCF Data RAM Reserved 0: SOFT_RESET1 1: Diversity Channel Real Input Mode 2: Single Channel Complex Input Mode 3: Sync Master/Slave2 (Master = 1, Slave = 0) 7–4: Reserved 0: NCO Bypass (Bypass = 1, Active = 0) 1: Enable Phase Dither 2: Enable Amplitude Dither 7–3: Reserved Write: Sync Mask Shadow Read: Sync Mask Channel Frequency for NCO Tuning NCO Phase Offset 2–0: SCIC2 3: Reserved 4: ExpInv 7–5: : ExpOff CIC2 Decimation Minus One 4–0: SCIC5 7–5: Reserved CIC5 Decimation Minus One 2–0: Output Scale Factor 3: Unique B Flag (Normal Mode = 0, Unique B Mode = 1) 7–4: Reserved RCF Decimation Minus One Filter Coefficient Address Offset Number of Taps Minus One Reserved (Should Be Written 0) NOTES 1 This bit is set high on RESET. The chip is held into SOFT_RESET until it is written low. 2 This bit is set low on RESET. This keeps multiple AD6620 SYNC Masters from driving each other. (0x000–0xFF) RCF Coefficient RAM Memory that stores user-programmable coefficients for the RCF filter. The RAM will hold 256 20-bit twos complement words for a maximum filter length of 256 taps. In Diversity Channel Real Mode the filter length is limited to 128 taps per channel. The number of taps used is controlled by NTAPS–1 (30C) regardless of the number of coefficient locations programmed. If filter size allows, more than one filter can be resident in the memory at a time. This makes it possible to switch filters without reloading all of the coefficients. (0x100–0x1FF) RCF Data RAM These locations store I and Q data exiting the CIC5 filter stage while the RCF performs multiply accumulates. The lower 18 bits of the 36-bit location is I data; the upper 18 bits are Q data. These locations are addressed in memory and are available via the control ports so that the data RAM can be flushed for testing and simulation purposes. They are not cleared on reset. (0x300) Mode Control Register This location brings the chip out of reset and sets the operating mode. It also specifies how the chip will use its SYNC pins: as outputs while acting as a sync master, or as inputs while acting as a sync slave. This is the only register with a defined power-up state: on power-up, Bit 0 will be at a Logic “1.” This places the chip in SOFT_RESET and defines the chip as a sync slave. Powering up as a sync slave avoids contention problems when connecting multiple AD6620s. If Bit 0 is written low and Bits 2 and 1 are low, the AD6620 is in Single Channel Real Mode. If Bit 1 is high and Bits 0 and 2 are low, the device is in the Diversity Channel Real Mode. If Bit 2 is high and Bits 0 and 1 are low, the chip is in the Single Channel Complex Mode. Setting Bit 3 high configures the AD6620 as a SYNC master; the SYNC pins are then used as outputs. If Bit 3 is low, it is a SYNC slave and the SYNC pins function as inputs. Bits 7–4 are reserved and should be written low. (0x301) NCO Control Register This register allows control of special features of the NCO. If Bit 0 of this register is high the NCO of the AD6620 is by-passed. Both the I data and the Q data that are passed through the chip will be the same and the Spectrum will not be translated. In bypass the input data is attenuated by 12 dB. –28– REV. A AD6620 The NCO has two features to improve the performance of some systems: Phase Dither and Amplitude Dither. These can be used together or alone. If Bit 1 of the register is high, Phase Dither is activated. If Bit 2 is high, Amplitude Dither is activated. For more information on dither refer to the NCO section. (0x302) NCO SYNC Control Register This holds the SYNC_MASK, which controls the frequency of the SYNC_NCO pulses and therefore the phase accuracy of the synchronization. See the NCO section for details. (0x303) NCO_FREQ This register holds the NCO frequency control word as described in the NCO section. This is a 32-bit unsigned integer that sets the frequency of the AD6620 NCO. Bits 2-0 of this register hold the Output Scale Factor, SOUT. These bits are interpreted as a 3-bit unsigned integer, the value of which controls which of the 23 output bits of the RCF are passed to the output port being used. The data output corresponds to the following equation where OLRCF is the 23-bit output of the RCF and POL is the 16-bit data available at the parallel output port or the serial port when 16-bit serial words are used. The truncation function rounds the scaled 23-bit number to 16 bits. SOUT is ignored when WL is 24 or 32 bits. In most applications, this register should be set to 4 as an initial starting value. (4 – SOUT ) POL = round16bits(OLRCF × 2 (0x304) NCO PHASE_OFFSET ) For additional details on determining RCF gain, see the RCF Output Scale Factor section. This register controls the phase offset of the NCO. It is also described in detail in the NCO section and can be used to allow for phase differences between multiple antennas receiving the same carrier. (0x305) INPUT/CIC2 Scale Register This register holds the scale factor, SCIC2, for CIC2. SCIC2 scales down the data before it is accumulated in CIC2. This avoids register wrap-around in the twos-complement arithmetic and eliminates the resulting spectral errors. SCIC2 is contained in Bits 2–0 of this register. It is treated as an unsigned integer between 0 and 6. Increasing SCIC2 shifts data down. For more details refer to the section on the CIC2 filter. Bit 3 of this register is used to control the Unique B feature of the chip. When written low, the normal mode, the chip uses the same FIR coefficients for both the A and B channels. However, when the bit is set high, different coefficients are used for the A and B channels. When Unique B mode is selected, the filter coefficients should be interleaved with the A channel terms occupying the even RCF Coefficient locations and the B channel terms occupying the odd locations. Bits 7–4 of this register are reserved and must be written 0. (0x30A) (MRCF – 1) This register controls the amount of decimation in the RCF filter stage. The value contained in this register is the RCF decimation rate minus one. This is interpreted as an unsigned 8-bit integer, but due to limited number of taps and, therefore, filtering power in the RCF filter accumulators this value should be limited to 31 (decimation = 32). The second function of this register is to scale the input data from the Parallel Data Input port. This allows the AD6620 to treat the floating point input data with considerable flexibility. There are two parts of this function. The first is Bit 4, which tells the AD6620 how to handle the exponent, EXP[2:0]. If this bit is low, data is shifted down as the exponent increases. If this bit is high, then for increasing EXP[2:0] the input data is shifted up. The second part of the input data shifting is the Exponent Offset(ExpOff[7 . . 5]) held in Bits 7–5 of this register. This provides gain to the input data as described in the Input Port section. (0x30B) RCF Address Offset Register This register controls the address offset used by the RCF to calculate a given filter and is interpreted as an 8-bit unsigned integer. It allows more than one filter to be placed in the Coefficient RAM. This makes it possible to switch filters without reloading all of the coefficients. The RCF filter will compute taps for all coefficients between RCFOFF and (RCFOFF + NTAPS) provided that the decimation, CLK rate and input data rate provide sufficient time for this. (0x306) (MCIC2 – 1) This register controls the amount of decimation in the CIC2 filter stage. The value contained in this register is the CIC2 decimation rate minus one. This is interpreted as an unsigned 8-bit integer but due to limited growth in the CIC2 filter accumulators this value should be limited to 15 (decimation = 16). (0x30C) (NTAPS – 1) (0x307) SCIC5 This register holds the scale factor, SCIC5, for CIC5. SCIC5 scales down the data before it is accumulated in CIC5. This avoids register wrap-around in the twos-complement arithmetic and eliminates the resulting spectral errors. SCIC5 is contained in Bits 4–0 of this register. It is treated as an unsigned integer between 0 and 20. Increasing SCIC5 shifts data down. For more details refer to the section on the CIC5 filter. (0x308) (MCIC5 – 1) This register controls the amount of decimation in the CIC5 filter stage. The value contained in this register is the CIC5 decimation rate minus one. This is interpreted as an unsigned 8-bit integer, but due to limited growth in the CIC5 filter accumulators this value should be limited to 31 (decimation = 32). REV. A (0x309) Output/RCF Control Register This register controls the number of taps calculated by the RCF. The value in this register is interpreted as an unsigned integer and is equal to the number of taps desired minus one. This filter is not inherently symmetric and the number of coefficients placed in the Coefficient RAM will be equal to the number of taps, provided that only one filter at a time is loaded. No symmetry is assumed and preaddition is not used. The total number of taps for all filters must be less than 256 taps for Single Channel Real mode, or less than 128 taps/channel for Diversity Channel Real mode. (0x30D) Reserved Reserved, but must be written 0 for correct operation. –29– AD6620 PROGRAMMING THE AD6620 Initializing the AD6620 Dynamic Programming of the AD6620 Before the AD6620 can be used to down convert and filter the channel of interest it must be configured for the job. First the RESET pin should be pulsed low for a minimum of 30 ns and should then be returned high. This HARD_RESET of the AD6620 clears the CIC Accumulators as well as the NCO Phase Accumulator. When RESET is brought high the AD6620 is removed from the HARD_RESET condition. The AD6620 is now in SOFT_RESET. In this state the Mode Control Register at address 0x300 contains a “1” (Bit 0 is high). When the AD6620 is in SOFT_RESET, no data is accepted by the input data port and no processing occurs. The serial port and parallel output port is held inactive and the chip is defined as a SYNC slave to avoid possible contentions on these pins. While the AD6620 is in this condition it should be programmed by the process below. It should be noted that this initialization must be performed via the microprocessor port since the serial port is inactive. 1. If the AD6620 is being reinitialized without performing a HARD_RESET, then address 0x300 should be written 1 to place the AD6620 in SOFT_RESET. This allows the nondynamic registers to be programmed. 2. Program the Coefficient RAM of the AD6620 with the desired FIR Filter. The address auto-increment feature can be used to decrease the amount of time required to program the Coefficients. This feature is described in detail in the Microport Control section that follows. Many attributes of the AD6620 may be altered dynamically as the AD6620 processes the received data. This allows the receiver to be adjusted during operation in order to achieve the maximum performance. The typical dynamic registers of the AD6620 are listed in the following table. To program the other registers follow the steps described in the section titled Initializing the AD6620. Technically all registers can be programmed dynamically, but adverse results may occur if registers other those listed are written dynamically. These addresses may be programmed via either the Microprocessor or the Serial Control Ports. Table X. Dynamic AD6620 Registers Address Bit Width Name 302 303 304 305 307 309 30B 32 32 16 8 5 4 8 NCO SYNC CONTROL REGISTER NCO_FREQ NCO PHASE_OFFSET INPUT/CIC2 SCALE REGISTER CIC5 SCALE REGISTER OUTPUT/RCF CONTROL REGISTER RCF ADDRESS OFFSET REGISTER Registers 0x302, 0x303 and 0x304 allow the NCO of the AD6620 to be adjusted. The tuning frequency can be dynamically changed for frequency hopping. The phase of the carrier can be adjusted with address 0x304. The phase accuracy of the synchronization can be changed with 0x302. Registers 0x305, 0x307, and 0x309 allow the user to dynamically control the gain of the AD6620 in 6 dB increments. This can be used to maximize the AD6620s dynamic range for the signal being tuned at a particular instant. Register 0x307 allows for AGC where the DSP does power spectral estimation. 3. (Optional) The first piece of data out of the AD6620 is always zero due to an output pipeline delay. There will also be a start-up glitch on the output of the AD6620 due to possible nonzero data in the I and Q data RAMS of the RCF filter. These RAMS are not initialized by the HARD_RESET. If this is a concern then the data RAMS should now be written to zero. For efficiency the auto-increment feature can be used as with the programming of the coefficient RAMs. 4. The Configuration Registers of the AD6620 are now programmed. First, address 0x300 should be written to set the Operating Mode if Diversity Channel Real or Single Channel Complex Modes are used. Bit 0 of this register should remain high at this time. This will hold the SOFT_RESET condition. The remaining configuration registers can now be programmed. This should start at address 0x301 and continue to address 0x30D. This defines the operation of the NCO and filter stages. In addition to dynamically writing to these registers, they may also be read to verify program content. Care should be taken, however, because reading some registers may affect normal chip operation. In particular, reading from 303h the NCO frequency will cause the phase accumulator to be reset via the SYNC_NCO pulse if the AD6620 is running as a Sync master. If the device is run as a Sync slave, then the phase accumulator is not reset. Addresses 000h through 1FFh should not be read dynamically as doing so will disrupt the internal state machine computing the FIR taps. These locations may be read statically if needed. 5. The AD6620 is now ready to be removed from SOFT_RESET and allowed to process data. This is done by writing address 0x300 to again set the desired mode of operation. This location should be set for SYNC MASTER or SYNC SLAVE operation at this time. Bit 0 of this register is written low at this time to remove the SOFT_RESET condition. –30– REV. A AD6620 ACCESS PROTOCOLS Write Pseudocode The AD6620 external accesses may be performed through either the Microprocessor Port or the Serial Port. The Microport and the serial port both use a three-bit address and eight-bit data to access these registers. The three-bit address provides access to seven register locations (External Interface Registers). These register locations are used to access the internal address space of the AD6620 shown in the Control Register section. The seven registers are the LAR (Low Address Register), the AMR (Address Mode Register), and the five data registers (DR4–DR0). void write_micro(ext_address, int data); main(); { /* This code shows the programming of the NCO frequency register using the write_micro function as defined above. The variable address is the External Address A[2:0] and data is the value to be placed in the external interface register. The NCO register is located at Internal Address = 0x303 */ // holding registers for NCO byte wide access data int d3, d2, d1, d0; Table XI. External Interface Registers A[2:0] Name Comment 000 001 010 011 100 101 110 111 Data Register 0 (DR0) Data Register 1 (DR1) Data Register 2 (DR2) Data Register 3 (DR3) Data Register 4 (DR4) Reserved Low Address Register (LAR) Address Mode Register (AMR) D[7:0] D[15:8] D[23:16] D[31:24] D[35:32] Reserved A[7:0] 1-0: A[9:8] 5-2: Reserved 6: Read Increment 7: Write Increment // NCO frequency word (32-bits wide) NCO_FREQ = 0xCBEFEFFF; // write AMR write_micro(7, 0x03); // write LAR write_micro(6, 0x03); // DR4 is not needed because NCO_FREQ is only 32-bits, not 36 // write DR3 with high byte of 32 bit word (D[31:24] d3 = (NCO_FREQ & 0xFF000000) >> 24; write_micro(3, d3); The internal address space is accessed using a 10-bit internal address. Many of these address locations are more than a byte wide and require multiple accesses to the seven External Interface Registers, which are each only 8 bits wide (only 4 bits of DR4 are used). Accesses to these registers are accomplished using the 3-bit address and 8-bit data lines the manner described below. The source of these values depends on the control port method used. // write DR2 with high byte of 32 bit word (D[23:16] d2 = (NCO_FREQ & 0xFF0000) >> 16; write_micro(2, d2); // write DR1 with D[15:8] d1 = (NCO_FREQ & 0xFF00) >> 8; write_micro(1, d1); All internal accesses are accomplished by first writing the internal address of the register or memory location to be accessed. The lower eight address bits are written to the LAR register and the upper two address bits to the LSBs of the AMR. This defines the internal address of the location to be accessed as shown in the memory map shown in the Control Registers and On-Chip RAM section. Internal Write Access Up to 36 bits of data (as needed) can be written by the process described below. Any high order bytes that are needed are written to the corresponding data registers defined in the external 3-bit address space. The least significant byte is then written to DR0 at address (000). When a write to DR0 is detected, the internal microprocessor port state machine then moves the data in DR4–DR0 to the internal address pointed to by the address in the LAR and AMR. REV. A // write DR0 with D[7:0] // Writing to DR0 causes all data to be transferred to the internal address. //Therefore, DR1, DR2 and DR3 should already be written d0 = NCO_FREQ & 0xFF; write_micro(0, d0); } // end of main Internal Read Access A read is performed by first writing the LAR and AMR as with a write. The data registers (DR4–DR0) are then read in the reverse order that they were written. First, the least significant byte of the data (D[7:0]) is read from DR0. On this transaction the high bytes of the data are moved from the internal address pointed to by the LAR and AMR into the remaining data registers (DR4–DR1). This data can then be read from the data registers using the appropriate 3-bit addresses. The number of data registers used depends solely on the amount of data to be read or written. Any unused bit in a data register should be masked out for a read. –31– AD6620 Read Pseudocode int read_micro(ext_address); main(); { /* This code shows the reading of the NCO frequency register using the read_micro function as defined above. The variable address is the External Address A[2..0] and data is the value to be placed in the external interface register. The NCO register is located at Internal Address = 0x303. */ // holding registers for NCO byte wide access data int d3, d2, d1, d0; // NCO frequency word (32-bits wide) // write AMR write_micro(7, 0x03 ); // write LAR write_micro(6, 0x03); /* read D[7:0] from DR0, All data is moved from the Internal Registers to the interface registers on this access. Reading should be initiated with a read from DR0. Therefore, DR1, DR2 and DR3 can be read after DR0 */ d0 = read_micro(0) & 0xFF; // read D[15:8] from DR1 d1 = read_micro(1) & 0xFF; // read D[23:16] from DR2 d2 = read_micro(2) & 0xFF; // read D[31:24] from DR3 d3 = read_micro(3) & 0xFF; // DR4 is not needed because NCO_FREQ is only 32-bits // Assemble 32-bit NCO_FREQ word from the 4 byte components NCO_FREQ = d0 + (d1
AD6620ASZ-REEL 价格&库存

很抱歉,暂时无法提供与“AD6620ASZ-REEL”相匹配的价格&库存,您可以联系我们找货

免费人工找货