0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
GC4116-PBZ

GC4116-PBZ

  • 厂商:

    BURR-BROWN(德州仪器)

  • 封装:

    LBGA160

  • 描述:

    IC QUAD DUC CHIP MULT-STD 160BGA

  • 数据手册
  • 价格&库存
GC4116-PBZ 数据手册
SLWS135 A - JUNE 2002 GC4116 MULTI-STANDARD QUAD DUC CHIP DATA SHEET This datasheet may be changed without notice. Texas Instruments reserves the right to make changes in circuit design and/or specifications at any time without notice. The user is cautioned to verify that datasheets are current before placing orders. Information provided by Texas Instruments is believed to be accurate and reliable. No responsibility is assumed by Texas Instruments for its use, nor for any infringement of patents or other rights of third parties which may arise from its use. No license is granted by implication or otherwise under any patent rights of Texas Instruments. GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 REVISION HISTORY Revision Date Description 0.1 February 8, 2000 Original 0.2 March 22, 2000 Corrected typos, and miscellaneous errors. 0.3 October 31, 2000 Rewritten throughout to reflect new modes, final design changes SLWS135 April 27, 2001 Modified to reflect Production specifications. Changes throughout. SLWS135A May 15, 2002 Modified to reflect 106 MHz clock New UMTS transmit filter response, Sum I/O gain equation corrected, Section 7.0 application notes completed. Clarifications throughout.  2002 Texas Instruments Incorporated. -i- This document contains preliminary information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 1.0 KEY FEATURES ........................................................................................................................ 1 2.0 BLOCK DIAGRAM ..................................................................................................................... 1 3.0 FUNCTIONAL DESCRIPTION ................................................................................................... 2 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15 3.16 4.0 CONTROL INTERFACE ....................................................................................................................... 2 CHANNEL INPUT FORMAT ................................................................................................................. 4 THE UP-CONVERTERS ...................................................................................................................... 5 THE OVERALL INTERPOLATION FILTER RESPONSE ..................................................................... 9 THE SUM TREE .................................................................................................................................. 10 OVERALL GAIN .................................................................................................................................. 10 FOUR CHANNEL RESAMPLER ........................................................................................................ 11 SERIAL CONTROLLER ...................................................................................................................... 14 CLOCKING ......................................................................................................................................... 15 POWER DOWN MODES.................................................................................................................... 15 SYNCHRONIZATION ......................................................................................................................... 15 INITIALIZATION ................................................................................................................................. 16 DATA LATENCY ................................................................................................................................ 17 DIAGNOSTICS .................................................................................................................................... 17 JTAG .................................................................................................................................................. 17 MASK REVISION REGISTER ............................................................................................................. 18 PACKAGING ............................................................................................................................ 19 5.0 CONTROL REGISTERS .......................................................................................................... 23 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.11 6.0 GLOBAL REGISTERS ........................................................................................................................ 23 PAGED REGISTERS ......................................................................................................................... 29 FREQUENCY AND PHASE PAGES (PAGES 0 AND 1)..................................................................... 30 INPUT GAIN PAGE (PAGE 2)............................................................................................................. 31 CHANNEL INPUT PAGE (PAGE 3) .................................................................................................... 32 RESAMPLER INPUT PAGE (PAGE 4) ............................................................................................... 33 I/O CONTROL PAGE (PAGE 7) .......................................................................................................... 34 RESAMPLER CONTROL PAGE (PAGE 8)......................................................................................... 38 RESAMPLER RATIO PAGE (PAGE 9) ............................................................................................... 40 PFIR COEFFICIENT PAGES (PAGES 16 to 31) ................................................................................ 41 RESAMPLER COEFFICIENT PAGES (PAGES 32-63) ...................................................................... 42 SPECIFICATIONS..................................................................................................................... 43 6.1 6.2 6.3 6.4 6.5 7.0 ABSOLUTE MAXIMUM RATINGS ...................................................................................................... 43 RECOMMENDED OPERATING CONDITIONS .................................................................................. 43 THERMAL CHARACTERISTICS......................................................................................................... 43 DC CHARACTERISTICS..................................................................................................................... 44 AC CHARACTERISTICS..................................................................................................................... 45 APPLICATION NOTES ............................................................................................................. 46 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 7.10 7.11 7.12 7.13 7.14 7.15 POWER AND GROUND CONNECTIONS .......................................................................................... 46 STATIC SENSITIVE DEVICE.............................................................................................................. 46 MOISTURE SENSITIVE PACKAGE.................................................................................................... 46 THERMAL MANAGEMENT................................................................................................................. 46 REFERENCE DESIGNS ..................................................................................................................... 47 EXAMPLE PFIR FILTER SETS........................................................................................................... 49 EXAMPLE RESAMPLER CONFIGURATIONS ................................................................................... 49 NOISE ANALYSIS ............................................................................................................................... 49 EXAMPLE GSM APPLICATION.......................................................................................................... 49 EXAMPLE IS-136 DAMPS APPLICATION.......................................................................................... 49 EXAMPLE IS-95 NB-CDMA (CDMA2000-1X) APPLICATION ........................................................... 49 EXAMPLE UMTS WB-CDMA APPLICATION ..................................................................................... 49 DIAGNOSTICS .................................................................................................................................... 49 OUTPUT TEST CONFIGURATION..................................................................................................... 49 INPUT TEST CONFIGURATION......................................................................................................... 49  2002 Texas Intruments Incorporated - iii - This document contains preliminary information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 LIST OF FIGURES Figure 1: GC4116 Block Diagram ........................................................................................................................................................ 1 Figure 2: Normal Control I/O Timing .................................................................................................................................................... 3 Figure 3: Edge Write Control Timing .................................................................................................................................................... 3 Figure 4: Serial Input Formats .............................................................................................................................................................. 4 Figure 5: The Up-converter Channel .................................................................................................................................................... 5 Figure 6: Typical PFIR Specifications .................................................................................................................................................. 6 Figure 7: Five Stage CIC Interpolate by N Filter .................................................................................................................................. 7 Figure 8: NCO Circuit ........................................................................................................................................................................... 8 Figure 9: Example NCO Spurs ............................................................................................................................................................. 8 Figure 10: NCO Peak Spur Plot ............................................................................................................................................................. 8 Figure 11: Overall Filter Response ........................................................................................................................................................ 9 Figure 12: Resampler Channel Block Diagram .................................................................................................................................... 11 Figure 13: The Resampler’s Spectral Response ................................................................................................................................. 12 Figure 14: Resampler Serial Output ..................................................................................................................................................... 14 Figure 15: 160 Pin Plastic Ball Grid Array (PBGA) Package ............................................................................................................... 19 Figure 16: Reference Design Without the Resampler........................................................................................................................... 47 Figure 17: Reference Design Using the Resampler.............................................................................................................................. 48 Table 1: Sync Modes ........................................................................................................................................................................ 16 LIST OF TABLES Table 2: Sync Descriptions ............................................................................................................................................................... 16 Table 3: Mask Revisions ................................................................................................................................................................... 18 Table 4: GC4116 Pin Out Locations Top View ................................................................................................................................. 20 Table 5: GLOBAL CONTROL REGISTERS ..................................................................................................................................... 23 Table 6: Page Assignments .............................................................................................................................................................. 29 Table 7: IO Control Page Registers (Page 5) .................................................................................................................................... 34 Table 8: Resampler Control Registers .............................................................................................................................................. 38 Table 9: Resampler Ratio Page ........................................................................................................................................................ 40 Table 10: PFIR Coefficient Pages........................................................................................................................................................ 41 Table 11: Resampler Coefficient Pages (Single filter mode) .............................................................................................................. 42 Table 12: Absolute Maximum Ratings ................................................................................................................................................ 43 Table 13: Recommended Operating Conditions ................................................................................................................................. 43 Table 14: Thermal Data ...................................................................................................................................................................... 43 Table 15: DC Operating Conditions .................................................................................................................................................... 44 Table 16: AC Characteristics ............................................................................................................................................................... 45  2002 Texas Instruments Incorporated. - iv - This document contains preliminary information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 1.0 SLWS135A - JUNE 2002 KEY FEATURES • • • • • Output rates up to 106 MSPS Four identical up-convert channels 16 bit real or complex inputs Four bit serial input ports, or memory mapped input registers Serial interface controller simplifies interfacing with ASICs or DSP chips Resampler circuit filters, pulse shapes and resamples data to allow arbitrary input to output sample rate conversion Interpolation factors of 32 to 5,792 in each channel 16 to 32 by combining two channels Independent frequency, phase and gain controls User programmable 63 tap input filter 0.02 Hz tuning resolution 115 dB Spur Free Dynamic Range 90 dB or more image rejection 0.07 dB gain resolution 0.05 dB peak to peak passband ripple The four channels are summed into a single output signal 22 bit sum I/O path to merge outputs from multiple GC4116 chips • • • • • • • • • • • • • • • • • • • • • • • • 22 BITS BLOCK DIAGRAM SUM IN 22 BITS FILTER 20 BITS 16 BITS (CIC) TUNING FREQUENCY PHASE OFFSET 63 TAP PROGRAMMABLE INTERPOLATE BY 2 FILTER (PFIR) 31 TAP INTERPOLATE BY 2 FILTER (CFIR) SINE/ COSINE GENERATOR DIVIDE BY 16 INTERPOLATE BY 8 TO 2K FILTER SCFSA 20 BITS SO 16 BITS SYNC COUNTER AND DIAGNOSTIC TEST GENERATOR CHANNEL C 23 BITS INPUT 16 BITS SIB BY 8 TO 2K LOGIC AND GAIN SIA INTERPOLATE 19 BITS 31 TAP INTERPOLATE BY 2 FILTER (CFIR) 20 BITS 16 BITS BOUNDARY SCAN 63 TAP PROGRAMMABLE INTERPOLATE BY 2 FILTER (PFIR) SINE/ COSINE GENERATOR 16 BITS TDO JTAG (CIC) 16 BITS TDI 16 BITS TCK FILTER TUNING FREQUENCY PHASE OFFSET CHANNEL B TMS BY 8 TO 2K 16 BITS SIND, SFSD, SCKD (CHANNEL INPUTS) SUM OUT (8 to 22 BITS) INTERPOLATE 16 BITS SINC, SFSC, SCKC 31 TAP INTERPOLATE BY 2 FILTER (CFIR) 16 BITS SERIAL INPUTS 16 BITS SINB, SFSB, SCKB 63 TAP PROGRAMMABLE INTERPOLATE BY 2 FILTER (PFIR) 16 BITS CHANNEL A SINA, SFSA, SCKA SCALE & ROUND 2.0 8 to 22 bit 2’s complement or offset binary output samples Accepts QPSK or QAM symbol data directly, performs transmit (pulse shape) filtering Performs pulse shaping and phase equalization for IS95 and CDMA2000 Exceeds Damps, GSM, & IS95 requirements Supports up to two 4 Mbaud channels. Microprocessor interface for control Built in diagnostics Each GC4116 chip upconverts: Four GSM, DAMPS, or IS95 carriers, or Two 3X CDMA2000 carriers, or Two 3.84MB UMTS carriers Power consumption at 70 MHz, 2.5 volts: 84 mW per DAMPS channel 107 mW per GSM channel 305mW per 3.84MB UMTS channel Industrial temperature range (-40C to +85C) GC4116PB 160 ball PBGA (15mm by 15mm) package 3.3volt I/O voltage, 2.5volt core voltage JTAG Boundary Scan SCFSB SCSTART (CIC) SERIAL CONTROLLER SCFSC SCFSD CK, CK2X TUNING FREQUENCY CLOCK DOUBLING AND DISTRIBUTION CIRCUIT PHASE OFFSET CHANNEL D SCCK0, SCCK1 SINE/ COSINE GENERATOR ROUTA WRMODE CONTROL INTERFACE BY 8 TO 2K FILTER 20 BITS INTERPOLATE 16 BITS 31 TAP INTERPOLATE BY 2 FILTER (CFIR) 16 BITS 16 BITS 16 BITS RINA, RFSA, RCKA 63 TAP PROGRAMMABLE INTERPOLATE BY 2 FILTER (PFIR) (CIC) RINB, RFSB, RCKB FOUR CHANNEL ROUTB RINC, RFSC, RCKC RESAMPLER ROUTC RIND, RFSD, RCKD ROUTD ROFS0, ROFS1 PARALLEL INPUTS CHREQ TUNING FREQUENCY PHASE OFFSET ROCK0, ROCK1 SINE/ COSINE GENERATOR RSTART CE WR RD A[0:4] C[0:7] Figure 1. GC4116 Block Diagram  2002 Texas Instruments Incorporated -1- This document contains information which may be changed at any time without notice RREQ GC4116 MULTI-STANDARD QUAD DUC CHIP 3.0 SLWS135A - JUNE 2002 FUNCTIONAL DESCRIPTION 3.1 The GC4116 quad transmit chip contains four identical up-conversion channels. The up-convert channels accept real or complex signals, interpolate them by programmable amounts ranging from 32 to 5,792, and modulates them up to selected center frequencies. The modulated signals are then summed together and optionally summed with modulated signals from other GC4116 chips. Channels can be used in pairs to reduce the interpolation ratio down to 16 in order to process wider band input signals. The chip is configured by writing control information into control registers within the chip. The control registers are grouped into 8 global registers and 64 pages of registers, each page containing up to 16 registers. The global registers are accessed as addresses 0 through 15. Address 15 is the page register which selects which page is accessed by addresses 16 through 31. The contents of these control registers and how to use them are described in Section 5. The registers are written to or read from using the C[0:7], A[0:4], CE, RD and WR pins. Each control register has been assigned a unique address within the chip. This interface is designed to allow the GC4116 chip to appear to an external processor as a memory mapped peripheral (the pin RD is equivalent to a memory chip’s OE pin). Each channel contains a user programmable input filter (PFIR) which can be used to shape the transmitted signal’s spectrum, or can be used as a Nyquist transmit filter for shaping digital data such as QPSK, GMSK or QAM symbols (See Section 7 for example applications). The up-converter channels are designed to maintain over 115 dB of spur free dynamic range. Each up-convert channel accepts 16 bit inputs (bit serial) and produces 20 bit outputs. The up-converter outputs are summed with an external 22 bit input to produce a single 22 bit output. The chip can output either real or complex data. The frequencies and phase offsets of the four sine/cosine sequence generators can be independently specified, as can the gain of each circuit. Each channel interpolates by the same amount, but can be programmed with independent PFIR coefficients. Channels can be synchronized to support beamformed or frequency hopped systems. An external processor (a microprocessor, computer, or DSP chip) can write into a register by setting A[0:4] to the desired register address, selecting the chip using the CE pin, setting C[0:7] to the desired value and then pulsing WR low. The data will be written into the selected register when both WR and CE are low and will be held when either signal goes high. An alternate “edge write” mode can be used to strobe the data into the selected register when either WR or CE goes high. This is useful for processors that do not guarantee valid data when the write strobe goes active, but guarantee that the data will be stable for the required set up time before the write strobe goes inactive. The edge write is necessary for these processors, as some control registers (such as most sync registers) are sensitive to transient values on the C[0:7] data bus. An independent resampler block performs resampling on up to 4 signals. The resampler has its own input and output pins so that it can be used independently from the up-convert channels. The resampler engine is identical to the one in the gc4016. It provides a user programmable filter up to 512 taps long and allows for sampling by arbitrary amounts with delay resolutions up to 64 time phases. To read from a control register the processor must set A[0:4] to the desired address, select the chip with the CE pin, and then set RD low. The chip will then drive C[0:7] with the contents of the selected register. After the processor has read the value from C[0:7] it should set RD and CE high. The C[0:7] pins are turned off (high impedance) whenever CE or RD are high or when WR is low. The chip will only drive these pins when both CE and RD are low and WR is high. A serial controller block is used to generate serial clocks and frame strobes for the channel and resampler input ports. This block simplifies interfacing the GC4116 to other devices. On chip diagnostic circuits are provided to simplify system debug and maintenance. One can also ground the RD pin and use the WR pin as a read/write direction control and use the CE pin as a control I/O strobe. Figure 2 shows timing diagrams illustrating both I/O modes. The chip receives configuration and control information over a microprocessor compatible bus consisting of an 8 bit data I/O port, a 5 bit address port, a chip enable strobe, a read strobe and a write strobe. The chip’s 110 control registers (8 bits each) and five coefficient RAM’s are memory mapped into the 5 bit address space of the control port using an internal page register.  2002 Texas Instruments Incorporated CONTROL INTERFACE -2- This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP CE WR SLWS135A - JUNE 2002 tREC tCSU RD tREC tCSU A[0-4] tCDLY C[0-7] tCZ READ CYCLE- NORMAL MODE CE WR tREC tCSPW tCSU RD tREC tCSU A[0-4] tCHD C[0-7] WRITE CYCLE- NORMAL MODE CE tREC WR tREC tCSU A[0-4] tCDLY C[0-7] tCZ READ CYCLE- RD HELD LOW CE WR tCSPW tREC tCSU A[0-4] tREC tCHD C[0-7] WRITE CYCLE- RD HELD LOW Figure 2. Normal Control I/O Timing The setup, hold and pulse width requirements for control read or write operations are given in Section 6.0. The edge write mode, enabled by the WRMODE input pin, allows for rising edge write cycles. In this mode the data on the C[0:7] pins only need to be stable for a small setup time before the rising edge of the write strobe, and held for a small hold time afterwards. This mode is appropriate for processors that do not provide stable data before the start of the write pulse. Figure 3 shows the timing for this mode. CE WR tREC tCSPW tCSU RD tREC tCSU A[0-4] tCHD C[0-7] EDGE WRITE MODE tCSU Figure 3. Edge Write Control Timing  2002 Texas Instruments Incorporated -3- This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 3.2 SLWS135A - JUNE 2002 CHANNEL INPUT FORMAT The bit serial samples are always entered MSB first. Complex values are entered I-half first followed by the Q-half. Real values are entered as pairs of samples, with the first sample in the I-half and the second sample in the Q-half. The input accepts either pairs of 16 bit words each with its own frame strobe (the unpacked mode), or as a single 32 bit transfer with a single frame strobe (the packed mode). The bit serial input formats are shown in Figure 4 The input samples are 16 bits, either real or complex. The samples are input to the chip either through the bit-serial input ports, or through memory mapped control registers. The channel data request signal (CHREQ) is output from the chip to identify when the GC4116 is ready for another complex input sample or pair of real samples. Figure 4a shows the unpacked input mode (PACKED in the input control register is low). The user provides a bit serial clock (SCK), a frame strobe (SFS) and a data bit line (SIN). The chip clocks SFS and SIN into the chip on the rising edge of SCK (or falling edge if the SCK_POL bit in the input control register is set). The user sends a 16 bit serial input word to the GC4116 by setting SFS high (or low if SFS_POL in the input control register is set) for one SCK clock cycle, and then transmitting the data, MSB first, on the next 16 SCK clocks. The SFS may remain high during the transfer, but must go low for one SCK cycle before the next serial word is sent. The serial sample is transferred to a parallel register on the next SCK clock. Additional SCK clocks are acceptable but are ignored. The data can be transmitted “back to back” as shown in Figure 4b as long as the SFS signal toggles low and then high as shown. If the PACKED control bit is high, then the I and Q samples (or I0 then I1 for real data) are sent as a single 32 bit word with only one SFS strobe as shown in Figure 4c.: 3.2.1 Bit Serial Interface The bit serial format consists of a data input pin (SIN), a bit clock pin (SCK), and a frame strobe pin (SFS) for each of the four channels (A,B,C and D), and a channel data request pin (CHREQ) which is common to all channels. The serial channel inputs can come directly from the Four Channel Resampler by connecting the resampler’s serial output ports to the channel’s serial input ports, and connecting the CHREQ pin to the resampler’s RSTART pin. The Resampler and its I/O interface is described in Section 3.7. If the Resampler is not being used, then the Serial Controller can be used to generate the proper serial clocks and frame strobes fro the channel inputs. In this case CHREQ is tied to SCSTART, and then SCCK and the SCFS strobes are used to drive the serial clock and frame strobes for both the channel inputs and the channel data source (typically a DSP chip, FPGA, or ASIC). SCK TSU THD SFS SIN (must go low before next transfer) TSU THD I15 I14 I13 I3 I2 I1 I0 I2 I1 I0 (a) UNPACKED MODE SCK SFS SIN I15 I14 I13 I3 Q15 (b) 16 BIT MODE, BACK TO BACK TRANSFER SCK (SFS occurs once at beginning of the 32 bit transfer) SFS SIN I15 I14 I13 I3 I2 I1 I0 Q15 (c) 32 BIT “PACKED” MODE Figure 4. Serial Input Formats  2002 Texas Instruments Incorporated -4- This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 be done before the next CHREQ strobe is received. See global address 14 for handshake details. The GC4116 input interface sends a channel data request strobe (CHREQ) when a new input sample is required for the up-converter channels. The CHREQ strobe is output from the chip every 4N clocks, where N is the interpolation ratio in the CIC filter. The pulse width of the CHREQ strobe is one CK period. The polarity of CHREQ is user programmable. The CHREQ strobe is typically connected to SCSTART of the serial request controller, or to RSTART of the resampler (See Section 3.7.9). CHREQ can also be used as an interrupt to an external device to tell it to send another input sample. The GC4116 chip must receive the last data bit at least three CK clocks before the next CHREQ strobe. See Section 3.11 for the timing relationship between SIA and CHREQ. 3.3 Each up-converter channel uses a two stage interpolate by four filter and a 5 stage cascaded integrate-comb (CIC) filter to increase the sample rate of the input data up to the chip’s clock rate. An NCO and mixer circuit modulates the signal up to the desired center frequency. A block diagram of each up-convert channel is shown in Figure 5. Each input sample is multiplied by an 8 bit 2’s complement gain word. The gain adjustment is GAIN/128, where the gain word (GAIN) ranges from -128 to +127. This gives a 42 dB gain adjustment range. Setting G to zero clears the channel input. A different gain can be specified for each channel. The gain values are double buffered and may be transferred to the active register on a sync. The transfer is delayed so that the new values take effect on the same sample for all channels. Gain is described in more detail in Section 3.6. The frame sync can be sent up to 9 clock cycles (CK, not SCK) before CHREQ. This is normally used when the serial interface timing is tight, i.e., the CHREQ rate is less than 34 SCK cycles, so that there is not time between CHREQ strobes to send SFS, then 32 bits and then have at least 3 CK cycles before the next CHREQ. Very Important Note: The chip requires that SCK be active when frame sync occurs, and be active for one cycle after the last bit is sent. Serial data can be sent using only 32 SCK clocks per CHREQ period if the frame sync for the 16 bit I word (or the 32 bit I/Q word in the PACKED mode) is coincident with the last bit of the previous transfer. The Serial Controller block described in Section 3.8 can provide appropriately timed frame strobes and serial clocks. After the gain has been applied, the input samples are interpolated by a factor of 2 in a 63 tap filter with programmable coefficients (PFIR). A typical use of the PFIR is to implement matched (root-raised-cosine) transmit filters. The PFIR will also, if desired, convert real input data to single-sideband complex data. In this mode the PFIR does not interpolate by a factor of 2. Instead it down-converts the input data by FS/4, where FS is the input sample rate, and low 3.2.2 Memory Mapped Interface pass filters the result. Input samples can be entered into the chip using the control interface. Addresses 16 through 31 on page 3 are the input data registers. Note that these registers can be written to in a DMA burst, 8 bits at a time. Note that some DMA formats write samples most significant byte first. If this is the case then the DMA should write from address 31 down to address 16. The CHREQ strobe from the GC4116 chip defines when the DMA transfer can start. The transfer must The second interpolate by 2 filter is a 31 tap compensating filter (CFIR) which both interpolates by 2 and pre-compensates for the droop associated with the CIC filter that follows it. N SCALE and BIG_SHIFT SHIFT DOWN CFIR FILTER INTERPOLATE BY 2 Q CIC FILTER INTERPOLATE BY 8 TO 2K The CIC filter interpolates by another factor of N=(8 to 1,448) to give an overall interpolation factor of 32 to 5,792 (16 to 2,896 in the real input mode). PFIR TAPS PFIR FILTER INTERPOLATE BY 2 GAIN INPUT GAIN I FROM INPUT FORMATTER THE UP-CONVERTERS cosine OUT sine TUNING FREQUENCY PHASE OFFSET NCO Figure 5. The Up-converter Channel  2002 Texas Instruments Incorporated -5- This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 The interpolated signal is modulated by a sine/cosine sequence generated by the NCO. In the real output mode the real part (I-half) of the complex result is saved as the channel output. Signal of Interest Passband (Typically 0.25 to 0.4 of FIN) 0 dB Narrow transition band Power In the complex output mode the CIC interpolation is cut in half and the NCO/mixer calculates both the I-half and Q-half of the complex result. In this mode the complex output sample rate is one-half the clock rate, with the I and Q halves multiplexed together onto the same output bus. Image Reject Stopband (Typically starts between 0.6 and 0.75 FIN) -100 dB 0 FIN/2 FIN Figure 6. Typical PFIR Specifications the filter if the sum of the 63 coefficients is equal to 65536. If the sum is not 65536, then PFIR will introduce a gain equal 3.3.1 The Programmable Interpolate By 2 Filter (PFIR) to: The input samples are filtered by two stages of interpolate by 2 filtering before they are interpolated by the CIC filter. The first stage interpolate by two filter is a 63 tap filter with programmable 16 bit coefficients. The PFIR will accept either complex or real input data. If the input samples are complex, the filter doubles the input rate by inserting zeroes between each sample, and then low pass filters the result. If the input samples are real (REAL in address 1 is set), the filter translates the real samples down by FIN/4, PFIR_SUM PFIR_GAIN = ---------------------------65536 , where PFIR_SUM is the sum of the 63 coefficients. The 63 coefficients are identified as coefficients h0 through h62, where h31 is the center tap. The coefficients are assumed to be symmetric, so only the first 32 coefficients (h0 through h31) are loaded into the chip. A non-symmetric mode (NO_SYM_PFIR in address 26) allows the user to download a 32 tap non-symmetric filter as taps h0 through h31. The newest sample is multiplied by h31 and the oldest is multiplied by h01. where FIN is the input sample rate, by multiplying them by the complex sequence +1, -j, -1, +j, …, and then lowpass filters the result. This generates a single-sideband modulation of the real input. Note that in the real input mode the data is entered as pairs of samples packed into the complex input word format (see Section 3.2). If double sideband real upconversion is desired, then the chip should be operated in the complex mode with the Q-half of each complex pair set to zero. 3.3.2 The Compensating Interpolate by 2 Filter (CFIR) The second stage filter is a fixed coefficient 31 tap interpolate by 2 filter. The second stage filter always interpolates by a factor of two. The second filter has a passband which is flat (0.01 dB ripple) out to 0.6FIN and provides over 90dB of image rejection beyond 1.4FIN. The The PFIR filter passband must be flat in the region of the signal of interest, and have the desired out of band rejection in the region that will contain the interpolation image. Figure 6 illustrates the passband and stopband requirements of the filter. FIN is the input sample rate to the channel. 2FIN is the second filter also compensates for the droop associated with the CIC interpolation filter described in the next section. The 16 unique coefficients of the symmetric filter are: -34, -171, -166, 403, 837, -317, -1983, -790, 2820, 3328, -1667, -6589, -4024, 7232, 20602, 26577 output sample rate of the PFIR. A common use of the PFIR is to pulse shape digital data. The PFIR will accept QPSK, O-QPSK, PSK, PAM, OOK, π/4-QPSK, or QAM symbols and The passband of this filter is wide enough to upconvert digital symbol data with excess bandwidths up to 0.35. then filter them by the desired pulse shaping filter, which is commonlt a root-raised-cosine (RRC) filter. The symbols can be entered directly into the chip at the desired symbol (baud) rate. The application notes in Section 7 describes sample filter coefficients sets for common standards (DAMPS, GSM, IS95, UMTS). The CFIR output is scaled to have unity gain. The output rate of the CFIR filter is 4FIN in the complex input mode and is 2FIN in the real input mode. The CFIR output rate relative to the clock rate is FCK/N Each channel has its own PFIR coefficient memory, so the same filter, or a different filter, can be used in each channel. The user downloaded filter coefficients are 16 bit 2’s complement numbers. Unity gain will be achieved through  2002 Texas Instruments Incorporated Frequency -6- This document contains information which may be changed at any time without notice SLWS135A - JUNE 2002 ZERO PAD BY FACTOR OF N SCALE AND ROUND GC4116 MULTI-STANDARD QUAD DUC CHIP 16 BITS DATA IN CLOCKED AT 1/N RATE 16 BITS DATA OUT CLOCKED AT FULL RATE Figure 7. Five Stage CIC Interpolate by N Filter 3.3.4 Wideband Input Mode 3.3.3 The CIC Interpolate by N Filter The CFIR output is interpolated by a factor of N in the The overall interpolation factor of an up convert channel is 4N. The minimum value of N is 8, which limits the maximum input sample rate to be FCK/32. If the clock rate is CIC1 filter, where N is any integer between 8 and 1,448. The filter is a 5 stage CIC filter. A block diagram of the CIC filter is shown in Figure 7.The output of the CIC interpolation filter is equal to the clock rate. The CIC filter has a gain equal to 100 MHz, then the maximum single channel input bandwidth is between 2 and 3 MHz. Wider input bandwidths can be handled by combining two channels into a single wideband channel using the SplitIQ mode (SPLITIQ in register 1). In the split IQ mode the complex input data is split between two channels. One channel up converts the I-half and the other channel up converts the Q-half. This allows the channels to process data at twice the rate so the minimum CIC interpolation is N=4 (rather than the previous N=8). N4 which must be removed by the “SCALE AND ROUND” circuit shown in Figure 7. This circuit has a gain equal to 2-(3+SCALE+12*BIG_SHIFT), where SCALE ranges from 0 to 15 and BIG_SHIFT ranges from 0 to 2. The value chosen for BIG_SHIFT must also satisfy: 2(12*BIG_SHIFT+18) ≥ N4. Overflows due to improper gain settings will go undetected if this relationship is violated. This restriction means that N must be less than 23 for BIG_SHIFT = 0, N must be less than 182 for BIG_SHIFT = 1, and N must be less than 1449 for BIG_SHIFT = 2. Larger interpolation amounts can be achieved by using the resampler to perform interpolation. Larger interpolation amounts using the CIC can be accomplished only by reducing the signal amplitude feeding the CIC. The input data is entered as two samples per CHREQ cycle. The I-half inputs are packed into complex words (I0 with I1, for example) and input into the first channel. The Q-half inputs are packed into complex words (Q0 with Q1, for example) and input into the second channel. The channel processing the imaginary data is programmed with a phase offset of 90 degrees from the channel processing the real channel (PHASE=0x4000). The CIC filter must be initialized when the chip is first configured or whenever the interpolation value N or the shift value BIG_SHIFT are changed. The CIC filter is initialized using the flush controls described in Section 5.8. If the CIC is disturbed during processing due to noise, radiation particles, or due to changing N or BIG_SHIFT, then the CIC will generate wideband white noise in the output. This property is inherent in the mathematics of a CIC filter used for interpolation. This instability can be prevented by using the In this mode, the chip can support two channels of 3.84 Mbaud UMTS signals. NOTE: The resampler can not be used in the split IQ mode since it cannot provide data in the two samples per CHREQ format. 3.3.5 Complex Output Mode The chip may be configured to generate complex rather than real output. In this case the output is the I word followed by the Q word at half the clock rate. The QFLG signal is used to identify the Q half of the output. Complex output applies to all channels on a chip. Likewise, if any chip in a sum path is using complex output, then all chips in the sum path must do so also. The CIC in the complex mode interpolates by N, but only outputs every other sample. This means that the effective CIC interpolation is N/2 in the complex output mode. Note, however, that the CIC gain will still be a function of N, not N/2. “auto flush” capability of the chip2 (See DISABLE_AUTO_FLUSH in control register 13). The auto flush mode detects CIC instability and automatically re-initializes the CIC. The auto flush mode requires that the gain up to the output of the CIC filter is less than or equal to unity. 1. Hogenhauer, Eugene V., An Economical Class of Digital Filters for Decimation and Interpolation, IEEE transactions on Acoustics, Speech and Signal Processing, April 1981. 2. The auto flush mode is a patented feature of the chip. Use of the auto flush mode is highly recommended. CIC instability in cellular basestation chips without the auto flush feature can cause full power white noise to be transmitted on ALL frequencies, interfering with cell users in all nearby cells.  2002 Texas Instruments Incorporated -7- This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 DITHER GENERATOR PHASE OFFSET 32 BITS 16 BITS 32 BITS FREQUENCY WORD 5 BITS 23 MSBs SINE/COSINE LOOKUP TABLE 18 MSBs 20 BITS SINE/COSINE OUT Figure 8. NCO Circuit 3.3.6 The Numerically Controlled Oscillator (NCO) signal. A negative tuning frequency can be used to spectrally flip the spectrum of the desired signal. FREQ and PHASE are set in addresses 16 through 31 of the frequency and phase pages. The tuning frequency of each down converter is specified as a 32 bit word and the phase offset is specified as a 16 bit word. The NCOs can be synchronized with NCOs on other chips. This allows multiple down converter outputs to be coherently combined, each with a unique phase and amplitude. A block diagram of the NCO circuit is shown in Figure 8. Note: The frequency word (FREQ) must be doubled in the complex output mode (COMPLX_OUT=1 in address 13). The NCO’s frequency, phase and accumulator can be initialized and synchronized with other channels using the FREQ_SYNC, PHASE_SYNC, and NCO_SYNC controls in addresses 8 through 11. The FREQ_SYNC and PHASE_SYNC controls determine when new frequency and phase settings become active. Normally these are set to “always” so that they take effect immediately, but can be used to synchronize frequency hopping or beam forming systems. The NCO_SYNC control is usually set to never, but can be used to synchronize the LOs of multiple channels. The tuning frequency is set to FREQ according to the formula FREQ = 232F/FCK, where F is the desired tuning frequency and FCK is the chip’s clock rate. The 16 bit phase offset setting is PHASE = 216P/2π, where P is the desired phase in radians ranging between 0 and 2π. Note that a positive tuning frequency should be used to upconvert the dlo.nodither.894784853.ppow dlo.dither.894784853.ppow 0 0 Ftune = 5/24 Fs Ftune = 5/24 Fs FREQ=5/24 FS No dither FREQ=5/24 FS With dither -50 Gain (dB) Gain (dB) -50 -105.28 dB -105 dB -116.4dB dB -116 -100 -100 -150 -150 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0 1 a) Worst case spectrum without dither 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 b) Spectrum with dither (tuned to same frequency) Figure 9. Example NCO Spurs 0 0 -107 dB -50 -121 dB Gain (dB) Gain (dB) -50 -100 -100 -150 -150 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 a) Plot without dither or phase initialization 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 1 b) Plot with dither and phase initialization Figure 10. NCO Peak Spur Plot  2002 Texas Instruments Incorporated 0.9 -8- This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 The NCO’s spur level is reduced to below -113 dB through the use of phase dithering. The spectrums in Figure 9 show the NCO spurs for a worst case tuning frequency before and after dithering has been turned on. Notice that the spur level decreases from -105 dB to -116 dB. Dithering is turned on or off using the DITHER_SYNC controls in addresses 8 through 11. Figure 10 shows the maximum spur levels as the tuning frequency is scanned over a portion of the frequency range with the peak hold function of the spectrum analyzer turned on. Notice that the peak spur level is -107 dB before dithering and is -121 dB after dithering has been turned on and the phase initialization described above has been used. The worst case NCO spurs at -113 to -116dB, such as the one shown in Figure 9(b), are due to a few frequencies that are related to the sampling frequency by multiples of FCK/96 and FCK/124. In these cases the rounding errors in 3.4 THE OVERALL INTERPOLATION FILTER RESPONSE The image rejection of the up-convert channel is equal to the stop band rejection of the overall interpolation filter response. The overall response is obtained by convolving the interpolated responses of the PFIR and CFIR filters and CIC filter response. The overall response and appropriate transmit masks are shown in Figure 11 for four common standards. Figure 11a shows the overall response for IS136 (also referred to as DAMPS). Figure 11b shows the response for GSM (input at 2 samples per bit). Figures 11c & d shows the response for IS95 and 3.84 MB UMTS. the sine/cosine lookup table repeat in a regular fashion, thereby concentrating the error power into a single frequency, rather than spreading it across the spectrum. These worst case spurs can be eliminated by selecting an initial phase that minimizes the errors or by changing the tuning frequency by a small amount (50 Hz). Setting the initial phase to 4 for multiples of FCK/96 or FCK/124 (and to 0 for other frequencies) will result in spurs below -115 for all frequencies. IS136 Transmit Mask GSM Transmit Mask (b) GSM (a) IS136 TO BE GENERATED IS95 Transmit Mask (c) IS95 (d) 3.84 MB UMTS Figure 11. Overall Filter Response  2002 Texas Instruments Incorporated -9- This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 3.5 SLWS135A - JUNE 2002 THE SUM TREE crest factor of 12 dB is adequate if the final number of bits going to a DAC is 12 bits. In most cases the input data will already have the correct crest factor for the application, in As shown in Figure 1, the mixer outputs are rounded to 20 bits and put into the LSBs of a 23 bit sum tree. The sum tree adds all four up-convert channels together. The 23 bit sum tree output is shifted down by three bits and rounded to 19 bits before being added into the LSBs of the external 22 bit sum input. The final 23 bit sum is either saturated to 22 bits (the MSB is checked for overflow) and output from the chip as 22 bits, or is scaled up by 0 to 7bits, rounded into the 8, 10, 12, 14, 16, 18, 20, or 22 MSBs and then output from the chip. which case the ratio In some applications the input amplitude is far from random. For example, QPSK data has constant amplitude. In such cases the largest gain that guarantees no overflow can be calculated from the PFIR coefficients and normally allows a substantially higher gain than the optimal gain for random data of similar power. Note that the resampler’s gain can be used to increase or decrease the RMS input level to the channels. The sum tree adds the four channels within a single GC4116 together and then adds in sums from other chips using the sum I/O ports. The 22 bit sum I/O path guarantees that no overflow will occur for systems with 8 chips (32 channels) or less. The final chip in the chain should then shift and round the result to optimize the performance of the D/A. Since this represents the sum of many channels the gain should be set with a 14 dB crest factor. The latency from SUMI[0:21] to SUMO[0:21] is eight clock cycles. OVERALL GAIN The overall gain of the chip is a function of the input gain setting (G), the sum of the programmable filter coefficients (PFIR_SUM described in Section 3.3.1), the amount of interpolation in the CIC filters (N described in Section 3.3.3), the scale circuit settings in the CIC filter (SCALE and BIG_SHIFT described in Section 3.3.3), and the sum tree scale factor (SUM_SCALE described in Section 3.5). The overall gain, excluding any resampler gain, is: IN 4 – SCALE + 12 × BIG_SHIFT + 3 G ---------------------------- } { N 2 - } { PFIR_SUM = { ----}{ 65536 128 2 will be equal to the crest factor (e.g., 0.2) and the gain settings in the channel should be set to unity. The sum tree gain is equal to 2SUM_SCALE-6, where SUM_SCALE is 0 to 7 (See address 19 of the IO control page). Overflows in the sum tree are saturated to plus or minus full scale. 3.6  RMS  -  ------------- 32768  The 14 dB crest factor assumes that the channels can be treated as uncorrelated signals which will result in a random, uniform amplitude distribution. If M signals are correlated, however, the amplitude gain can be sum tree gain should be set to 1 ----M M and the . Examples of correlated SUM_SCALE-6 signals are pure tones or modem signals that have been synchronized so that they might peak at the same time. These signals, however, require a much smaller crest factor, such as 3 dB for pure tones and 6 dB for modem signals. In this case the crest factor of 14 dB will absorb much of the where G and PFIR_SUM can be different for each channel, but N, SCALE, BIG_SHIFT, and SUM_SCALE are common to all channels. The resamplers gain, which precedes the input gain, is discussed in Section 3.7.6. difference in gain between The optimal gain setting is one which will keep the amplitude of the data within the channel as high as possible without causing overflow. For random amplitude data the recommended gain target is to keep the root-mean-squared amplitude of the data close to one-fifth (0.2) full scale (a 14 dB crest factor). This level should be maintained throughout the channel computations. This means that the products and M . If overflow does occur, then the samples are saturated to plus or minus full scale. Overflow can be monitored using the status register (address 14). The values of N and BIG_SHIFT must also satisfy ≥ N4 (see Section 3.3.3 for details). If N and BIG_SHIFT do not satisfy this relationship, then an overflow may occur which may not be detected. 2(12*BIG_SHIFT+18)  RMS   G   PFIR_SUM  -   ---------   ----------------------------   ------------- 32768   128   65536  and If the auto flush mode is used, then the gain in the CIC must be less than or equal to unity. This means that the values of N, SCALE and BIG_SHIFT must satisfy 4 – ( SCALE + 12 × BIG_SHIFT + 3 )  RMS   G   PFIR_SUM  }  ---------------   ---------   ----------------------------  { N 2  32768   128   65536  should both be less than or equal to 0.2, where “RMS” is the root-mean-squared level of the input data. Other crest factors can be used depending upon the application. For example, a  2002 Texas Instruments Incorporated M 2(SCALE+12*BIG_SHIFT+3) ≥ N4 (see Section 3.3.3 for details). - 10 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 If attenuation is necessary, for example when multiple channel outputs are to be added together, then the attenuation should be added as close to the output of the chip as is possible - preferably only at the end of the sumtree just prior to going to the D/A. The Serial Controller is used to tell the resampler input buffer when the next set of serial samples is ready. The Serial Controller can also be used to generate the serial clock and frame strobes for the resampler’s input ports (see Section 3.8). 3.7 3.7.2 Functional Description FOUR CHANNEL RESAMPLER The resampler consists of an input buffer, an interpolation filter, and an output buffer. A functional block diagram of the resampler is shown in Figure 12. The GC4116 contains a resampler which can be used to feed the up-converter channels in the chip, or can be used as a general resampling resource for a signal processing system. The resampler shares the clock to the chip, but its input, output and control circuitry are independent from the rest of the chip. The resampler in the GC4116 chip is very similar to the one in the GC4016 chip. The resampler’s sampling rate change is the ratio NDELAY/NDEC where NDELAY and NDEC are the interpolation and decimation factors shown in Figure 12. The decimation amount NDEC is a mixed integer/fractional number. When NDEC is an integer, then the exact sampling instance is computed and there is no phase jitter. If NDEC is fractional, then the desired sampling instance will not be one of the possible NDELAY interpolated values. Instead the nearest interpolated sample is used. This introduces a timing error (jitter) of no more than 1/(2*NDELAY) times the input The resampler requires the use of the Serial Controller block described in Section 8. Note that the resampler only works on complex data so the up converter’s real or split IQ modes, which require two real samples per complex word, can not use the resampler. Also, the maximum output sample rate from the resampler is CK/44 when it is connected to the GC4116’s upconvert channels. This means the upconvert channels must interpolate by at least a factor of 44 (N>=11) when using the resampler. sample period. The input buffer accepts 16 bit data from the serial input ports or the memory mapped input registers. The input buffer serves both as a FIFO between the input and the resampler, and as a data delay line for the interpolation filter. The 64 complex word input buffer can be configured as four segments of 16 complex words each to support 4 resampler channels, or as two segments of 32 complex words each to support 2 resampler channels, or as a single segment of 64 complex words to support a single resampler channel. The number of segments is set by NCHAN in address 16 of the 3.7.1 Resampler Input Format The resampler inputs are complex samples, 16 bits per I or Q word. The samples are input to the resampler through bit-serial input ports, or through memory mapped registers. A resampler data request signal (RREQ) is output from the chip to identify when the resampler is ready for another complex input sample. The request (RREQ) signal may not be periodic, depending upon the resampling ratio being used. resampler control page. The interpolation filter zero pads the input data by a factor of NDELAY and then filters the zero padded data using a QTAP length filter. The output of the QTAP filter is then The bit serial interface to the resampler functions the same as the serial interface to the channels (see Section 2) except the resampler does not support real input mode and the maximum input complex word rate is CK/34. decimated by a factor of NDEC. The resampling ratio for each channel is determined by setting the 32 bit RATIO control in addresses 16 through 31 Interpolation Filter INPUT BUFFER Fractional Decimation NDEC NDELAY OUTPUT BUFFER QTAP Filter Coefs Resampling Filter Figure 12. Resampler Channel Block Diagram  2002 Texas Instruments Incorporated - 11 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 of the resampler ratio page. The value of RATIO is defined as: RATIO = 2 root raised cosine receive filters, as desired. The resampler filter can also be used to augment the CIC, CFIR and PFIR filters’ spectral response. 26 INPUT SAMPLE RATE 26  NDEC  ------------------------ = 2  --------------------------------------------------------------------  NDELAY  OUTPUT SAMPLE RATE The number of filter coefficients, QTAP, is equal to NMULT*NDELAY, where NMULT is the number of multiplies available to compute each resampler output, and NDELAY is either 4, 8, 16, 32 or 64 as will be described later. The maximum filter length is 512. The user specifies NMULT in address 17 of the resampler control page. Up to four ratios can be stored within the chip. A ratio map register (address 23) selects which ratio is used by each channel. The three spectral plots shown in Figure 13 illustrate the steps required to resample the channel data. The first spectral plot shows the data just after zero padding. The sample rate after zero padding is NDELAY*FS, where FS is The filter can be symmetric, or non-symmetric, as selected by the NO_SYM_RES control in address 17 of the resampler control page. The symmetric filter is of even length the sample rate into the resampler. The second spectrum shows the shape of the QTAP filter which must be applied to the zero padded data in order to suppress the interpolation images. The last spectrum shows the final result after which means the center tap repeats. The 12 bit filter coefficients are stored in a 256 word memory which can be divided into one, two, or four equal blocks. This allows the user to store one symmetric filter of up to 512 taps, two symmetric filters of up to 256 taps each, or four symmetric filters of up to 128 taps each. The number of filters is set by NFILTER in address 16 of the resampler control page. The filter used by each channel is selected using the FILTER_SEL controls in address 18 of the resampler control page. The filter lengths are cut in half if the filters are not symmetric. The coefficients are stored in memory with h0 stored in the lowest address, where h0 is the decimating by NDEC. 3.7.3 The Resampler Filter Figure 13(b) illustrates the spectral shape requirements of the QTAP filter. If the desired signal bandwidth is B, then the filter’s passband must be flat out to B/2 and the filter’s stop band must start before FS-B/2. The user designs this filter assuming a sample rate equal to NDELAY*FS. Section 7.6 contains example resampler filters coefficient sets. Other passband and stopband responses can be used, such as NDELAY Images added by zero padding Power ... ... Freq -3FS -2FS -FS -FS/2 FS/2 FS 2FS 3FS a) Spectrum after zero padding QTAP Filter Frequency Response Power Images reduced by Filtering ... ... -3FS -2FS -FS -FS/2 FS/2 FS 2FS Freq 3FS b) Spectrum after filtering In-band aliasing caused by decimation by NDEC Power -FO -FO/2 FO/2 Freq FO=(NDELAY/NDEC)FS b) Final Spectrum after decimating by NDEC Figure 13. The Resampler’s Spectral Response  2002 Texas Instruments Incorporated - 12 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 line is either 16 for four resampler channels, 32 for two channels or 64 for a single channel as set by the NCHAN control in address 16 of the resampler control page. This limits NMULT to be less than or equal to 15, 31 or 63 coefficient multiplied by the newest piece of data. The center tap of a symmetric filter is h(QTAP/2)-1. The coefficients for multiple filters (NFILTER>1), are interleaved in the 256 word memory. dependent upon the number of resampler channels1. 3.7.4 Restrictions on NMULT The typical resampler configuration will have four active channels, all using the same filter and the same resampling ratio. The typical configuration has NCHAN set to 4, NFILTER set to 1, NMULT set to 15 and NO_SYM_RES set to 0. This sets NDELAY to 32 and QTAPS to 480. The user does not directly set the value of NDELAY. The chip sets the value of NDELAY using NO_SYM_RES, NMULT and NFILTER according to: NDELAY ( 2 – NO_SYM_RES ) -] = Floor_2 [ 256 (--------------------------------------------NMULT ) ( NFILTER ) 3.7.5 Resampler Shift and Round where the function FLOOR_2[X] means the power of two value that is equal to or less than “X”. Since NMULT is restricted to be greater than or equal to 6 and less than or equal to 64, then NDELAY is either 4, 8, 16, 32 or 64. The length of the filter is then: The gain of each resampler output is adjusted by an up-shift by 0-15 bits (FINAL_SHIFT). This up-shift is applied just before rounding to 12, 16, 20 or 24 bits (ROUND). The values of FINAL_SHIFT and ROUND are set in control register 19 of the resampler control page. The resampler gain is: QTAP = ( NDELAY ) ( NMULT ) The value of NMULT determines both the length of the filter and the number of delays in the resampling operation. In general one would choose the largest value of NMULT which gives an adequately large value of NDELAY. The choice of NMULT, however, must meet several restrictions. NMULT must be greater than a minimum, it cannot exceed the available number of multiplier cycles, and it must be less than the input delay line segment size. These restrictions are described below. RES_SUM 32768 × NDELAY RES_GAIN = ( ----------------------------------------------- ) ( 2 NMULT ≥ 6 if there are two or more channels if there is only one channel (NCHAN=0) 3.7.6 By-Passing the Resampler The resampler is bypassed by using a configuration which has h0 set to 1024, all other taps set to zero, NMULT set to 7, NO_SYM_RES set to 1, FINAL_SHIFT set to 5, and RATIO set to 226 (0x04000000). Note that the NDELAY term in the RES_GAIN equation shown above does not apply in this case and should be set to unity in the gain equation. 3.7.7 Resampler Output Buffer The resampler output buffer stores resampler outputs until they are needed. The output is double buffered so that samples from each channel can be stored while previous samples are being output. Resampler output samples are held in the buffer until the RSTART signal is received. When RSTART is received, the buffered data is transferred to the serial output ports which begin to output the samples as serial data streams. The RSTART pulse can only be one CK pulse wide. The maximum value of NMULT must be less than, or equal to, twice the number of clock cycles available to calculate a resampler output. NMULT is the number of multiplier cycles used by the resampler to calculate each output. Since the resampler can perform two multiplies every clock cycle, the value of NMULT cannot exceed two times the number of clock cycles available to the resampler for each channel. The number of clock cycles available to the resampler is equal to the clock rate to the chip divided by the sum of the output sample rates for each resampler channel. Note that the resampler’s output sample rate is usually much less than the clock rate, so that NMULT is rarely limited by this restriction. The resampler serial output format is shown in Figure 14. The serial frame sync (ROFS) and serial data (ROUT) change on the rising edge of the serial clock (ROCK). The resampler serial outputs can be connected directly to the 1. NOTE: If the resampler is being used at much less than its maximum capacity, i.e., NMULT is much less than twice the number of clock cycles available, AND the channels are synchronous, then NMULT may equal the size of the delay line. The value of NMULT must also be less than the size of the delay line formed by the input buffer. The size of the delay  2002 Texas Instruments Incorporated ) where RES_SUM is the sum of the QTAP coefficients. The minimum value of NMULT is determined by the minimum number of clock cycles required to update the resampler’s state. This is a hardware restriction imposed by the chip’s architecture. This limitation is: NMULT ≥ 7 FINAL_SHIFT - 13 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 3.8 SERIAL CONTROLLER RSTART The Serial Controller block can be used to generate the necessary serial clock and frame strobes for the channel or resampler input ports. This frees the input data source (ASIC, FPGA or DSP chip) from having to generate these signals. In the case of a DSP chip, this may allow the input samples to be transferred in a background “DMA” mode that doesn’t interrupt the DSP before or after each serial transfer. ROCK ROFS ROUT I15 I14 I13 I12 I11 I1 I0 Q15 Q14 Q13 Q12 Figure 14. Resampler Serial Output upconverter channel serial inputs if the polarity of the resampler serial clock is inverted by setting RES_CK_POL in address 18 of the resampler control page. The Serial controller generates a serial clock and four serial frame strobes, one for each input serial port. Each frame strobe can be programmed to be delayed by a different amount from the Serial Controller start (SCSTART) pulse. 3.7.8 Resampler I/O Control The Resampler will stop if the output buffer is full, or if the input buffer needs more samples. Typically the output rate is constant, such as when the resampler is feeding upconverter channels. The input rate is typically erratic, depending upon when the resampler needs more input data. The serial controller contains a serial clock generator and a frame counter. The serial clock (SCCK) is generated by dividing down CK by 1 to 16 (see SC_CK_DIV in address 20 of the IO control page). The serial clocks in multiple chips can be synchronized by using the SIA or SIB sync inputs, as selected by the SCCK_SYNC control bits in address 20 of the IO control page. Two copies of the serial clock are output on pins SCCK0 and SCCK1. Two copies are output to increase the fanout of the clock. The resampler start control (RSTART) is used to start the serial outputs. The RSTART control transfers data from the output buffer into the serial output registers. The serial output frame will then start on the next rising edge of ROCK1. If the output buffer is full, then the resampler will stop until the next RSTART pulse has been received. The start signal (SCSTART) is clocked into the chip on the rising edge of CK. SCSTART is expected to be one CK clock cycle wide. Typically SCSTART is either connected to CHREQ or RREQ, depending upon whether the it is being used for the up convert channels or the resampler. The resampler input data timing is controlled by the RREQ strobe and the Serial Controller described in the next Section. The RREQ strobe is output when the resampler needs more input data. The RREQ strobe should be connected to the SCSTART input of the Serial Controller. The Serial Controller is then programmed to tell the resampler that the serial transfer is done and new input data is ready. The frame length programmed into the Serial Controller tells the resampler that the new data samples are ready SC_FRAME_CNT+18 serial clocks after RREQ. SC_FRAME_CNT is set in address 21 of the IO control page. Note that the serial controller can be used to slow down the RREQ rate by setting the minimum period between RREQ strobes to be SC_FRAME_CNT+18 serial clocks. The 8 bit frame counter is started by SCSTART at the value SC_FRAME_CNT. The counter is decremented at the serial clock rate until it reaches zero. The counter will continue to decrement for 18 more serial clocks if it is being used with the resampler (SC_MODE=0 in address 17 of the IO Control page), at which time it will tell the resampler that the serial frame is done and a new resampler computation can begin. The counter will count down 2 more serial clocks and stop if the serial controller is being used with the channels (SC_MODE=1). The serial frame strobes SCFSA, SCFSB, SCFSC and SCFSD are generated by comparing the upper four bits of the frame counter to SC_FS_DELAY_A, SC_FS_DELAY_B, SC_FS_DELAY_C and SC_FS_DELAY_D. A frame strobe is output when the delay values match the counter and the lower four bits of the counter are zero. This allows the frame strobes to be generated on 16 serial clock boundaries. NOTE: If the 4 LSBs of SC_FRAME_CNT are zero, and one of the SC_FS_DELAY values match the upper 4 bits of SC_FRAME_CNT, then that frame strobe will be active when the serial controller is idle and waiting for another SCSTART 1. Actually, the serial frame starts on the next rising edge of ROCK which is 2 CK pulses after RSTART.  2002 Texas Instruments Incorporated - 14 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 generates the GC4116 input data doesn’t need to pack two samples into a 32 bit word, instead it sends a 16 bit word every time it receives the pulse. In general, the lower 4 bits of SC_FRAME_CNT should be non-zero. The serial control supports both the packed and unpacked serial modes, where the unpacked mode expects a serial frame strobe for each 16 bit word of a complex pair, and the packed mode expects a single frame strobe for the 32 bit complex pair. 3.9 The chip clock rate is equal to the output data rate which can be up to 106 MHz. An internal clock doubler doubles the clock rate so that the internal circuitry is clocked at twice the data rate. The clock doubler requires 4-5 clocks to adapt to the rate of the incoming clock during which time the reset should be active. A gated clock, not uniform clock period clock, is not suitable for this device above 40 MHz. A test mode (ext_2xck) allows the use of an external double rate clock (ck2x pin). This is intended for use in production test. Please contact Texas Instruments if further information on this mode is needed. The frame strobe in the packed mode (PACKED=1 and SC_MODE=1, or RES_PACKED=1 and SC_MODE=0, in addresses 16 and 17 of the IO Control page) may be positioned in one of 15 delays, corresponding to SC_FS_DELAY values of 0 through 14. In the unpacked mode only the upper three bits of the counter are compared with the upper 3 bits of the SC_FS_DELAY values. The lower bit of the SC_FS_DELAY values must be zero. This means that the values will match twice, outputting two frame strobes, 16 bits apart. 3.10 If the input data is coming from four serial streams, so that the four frame strobes should be sent at the same time, then SC_FRAME_CNT should be set to 17, and the four SC_FS_DELAY values should be set to “1”. Larger values of SC_FRAME_CNT can be used in this case in order to spread out the RREQ periods. POWER DOWN MODES The chip has a power down and clock loss detect circuit. This circuit detects if the clock is absent long enough to cause dynamic storage nodes to lose state. If clock loss is detected, an internal reset state is entered to force the dynamic nodes to become static. The control registers are not reset and will retain their values, but any data values within the chip will be lost. When the clock returns to normal the chip will automatically return to normal. In the reset state the chip consumes only a small amount of standby power. The user can select whether this circuit is in the automatic clock-loss detect mode, is always on (power down mode), or is disabled (the clock reset never kicks in) using the DISABLE_CK_LOSS control bit in address 13 and the GLOBAL_RESET control bit in address 5. The whole chip, or individual down converter channels can be powered down. Individual channels are powered down using the RESET_A, B, C and D control bits in address 5. If the data is coming from a single TDM bus, then SCFSA (or SCSTART) can be sent to the data source to start the TDM frame, and then SCFSB, SCFSC and SCFSD can be delayed to identify the appropriate time slots in the TDM bus. When the serial controller is being used with the channel inputs (not the resampler) and the upconvert interpolation factor is 32 or 36, then the frame delays must be used to delay the serial frames to start between 3 to 9 clocks (CK) before the next CHREQ strobe. This is because of the requirement that the serial transfer of 32 bits is completed 3 to 9 clocks before the next CHREQ strobe (See Section 3.2.1). This means that for an interpolation of 32 (the CIC interpolation factor N is 8), SC_FRAME_CNT should be set to 23 and the SC_FS_DELAY values should be “0”. For an interpolation of 36 (N=9) SC_FRAME_CNT should be 27. For larger interpolation factors the default value of 17 can be used. NOTE that if the serial clock is divided, then similar delay values may need to be used in order to insure that the serial frame is complete before the next CHREQ. 3.11 SYNCHRONIZATION Each GC4116 chip can be synchronized through the use of one of two sync input signals, an internal one shot sync generator, or a sync counter. The sync to each circuit can also be set to be always on or always off. Each circuit within the chip, such as the sine/cosine generators or the interpolation control counter can be synchronized to one of these sources. These syncs can also be output from the chip so that multiple chips can be synchronized to the syncs coming from a designated “master” GC4116 chip. In the wideband (splitIQ) mode (see Section 3.3.4) the channel serial inputs will want two samples, 16 bits each, after each channel request. The serial control can generate two frame strobes for each CHREQ, by using the unpacked mode (PACKED=0). In this mode the circuitry which  2002 Texas Instruments Incorporated CLOCKING - 15 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 The 2 bit sync mode control for each sync circuit is defined in Table 1: Table 2: Sync Descriptions Sync Circuit Mode 1 Description Default Table 1: Sync Modes MODE SYNC SOURCE 0 off (never asserted) INT_SYNC SIA Interpolation control counter. Sets timing of CHREQ. 1(SIA) SIA Internal sync counter. Generates TC sync. Mode 2 is always ONE_SHOT 2 (OS) 2 (TC) 1 SIA or SIB (See Table 2) COUNTER_ SYNC 2 TC (terminal count of the sync counter) or ONE_SHOT (if USE_ONESHOT in address 0 is set) OUTPUT_ SYNC SIA The output sync (SO) selection. GAIN_SYNC SIB A single bit sync selection. GAIN_SYNC=0 means the gain is applied immediately. GAIN_SYNC=1 means the gain is applied after SIB. 0 DIAG_SYNC SIA Selects when to start the diagnostic ramp and to store the diagnostic checksum. 2 (TC) FREQ_SYNC SIB Selects when new frequency settings take effect. 3 (on) PHASE_SYNC SIB Selects when new phase settings take effect. 3 (on) NCO_SYNC SIB Reset the NCO phase accumulator 0 (off) DITHER_ SYNC SIB Clears the NCO dither circuit. 0 (off) FLUSH _ (A,B,C,D) SIA Starts a flush of the channel 1 (SIA) ROCK_SYNC SIA Syncs the resampler’s serial output clock. Mode 2 is SIB. 1 (SIA) SCCK_SYNC SIA Syncs the serial controller’s 1 (SIA) serial output clock. Mode 2 is SIB. 3 on (always active) NOTE: the internal syncs are active high. The SIA and SIB inputs have been inverted to be the active high syncs SIA and SIB in Table1. The ONE_SHOT sync (address 0, bit 7) can either be a level or a pulse as selected by the OS_MODE control bit in address 13. The level mode is used to initialize the chip, the pulse mode is used to synchronously switch frequency, phase or gain values. The SIA and SIB external sync inputs are provided to allow independent synchronization of different features of the GC4116 chip. Sync mode 1 is either SIA or SIB, depending upon what circuit is being synchronized by the sync circuit. Table 2 lists all of the sync circuits, what they do, which sync mode 1 it uses, and the suggested default mode settings. The SIA sync is intended to be used during initialization only. The circuits connected to SIA are ones that should be initialized once, and then let free run. SIB is intended to be used for those circuits which may be periodically initialized, such as changing frequency, phase and gain between TDMA bursts. The interpolation control counter generates the request strobe (CHREQ) output from the chip. This counter can be syncronized using the input SIA sync (INT_SYNC=1). This allows the user to lock the timing of the request strobe to the SIA timing. If this is done, and BIG_SHIFT is even, then the CHREQ strobe will go high 9 clock cycles after the SIA strobe. For example, if the SIA signal is active during clock cycle 0, then CHREQ will go high during clock cycle 9 and then repeat every 4N clocks (or 2N clocks in the real input mode) thereafter. If BIG_SHIFT is odd then the delay is 8 clock cycles.  2002 Texas Instruments Incorporated RES_SYNC Note 1 Syncs the resampler during initialization 2 (SIA) RATIO_SYNC Note 1 Selects when a new resampler ratio takes effect. 3 (SIB) Note 1: These use a 3 bit sync mode selection where modes 0,1 and 5 are “off”, mode 2 is SIA, mode 3 is SIB, mode 4 is ONE_SHOT, and modes 6 and 7 are “on”. 3.12 INITIALIZATION Two initialization procedures are recommended. The first is recommended for multi-GC4116 chip configuration. The second can be used for stand alone GC4116 chips. - 16 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 3.12.1 Initializing Multiple GC4116 Chips 3.13 The multi-GC4116 initialization procedure assumes that the SIA sync input pins of all GC4116 chips are tied together and are connected to the SO output of the “master” chip, or to a common sync source. The procedure is to: (1) reset the chip by setting address 5, the reset register, to 0xFF; (2) configure the rest of the chip including setting the INT_SYNC, RES_SYNC and FLUSH_(A,B,C,D) to be SIA, the OS_MODE to be 1, and the OUTPUT_SYNC to be OS (see Table 1); (3) assert the SIA sync input by setting the ONE_SHOT control bit high (or by setting the external SIA source low); (4) release the global resets by setting address 5 to 0x00; and (5) release the SIA sync by setting ONE_SHOT to 0 (or the external SIA source high). The data latency through the chip is defined as the delay from the rising edge of a step function input to the chip to the rising edge of the step function as it leaves the chip. This delay is dominated by the number of taps in each of the filters. An estimate of the overall latency through the chip, expressed as the number of CK clock cycles is: (CIC latency = 2.5N) + (CFIR latency = 16N) + (PFIR latency = N*PTAP) + (Resampler latency) + (Input delay) + (Pipeline delay) where N is the CIC interpolation ratio and PTAP is the number of PFIR taps. PTAP is normally 63. Latency can be reduced by using the NO_SYM_PFIR mode to shorten the filter. The Resampler latency, if the resampler is being used, is approximately 2N*NMULT plus a resampler input sample period and a resampler output period to allow for resampler I/O buffering. The latency in the resampler can be minimized by using the bypass configuration (See Section 3.7.7). The global resets are asserted before configuring the chip so that the operation of all of the pins, including the directions of the bidirectional and tristate pins, will be established before the global resets release them. The SIA sync is asserted before releasing the global resets so that the channels will remain in a reset state after the global resets are released. All channels and the resampler will then start synchronously by releasing the SIA sync. If there are multiple chips which need synchronized, then synchronously releasing the SIA sync to them all will force them all to be synchronized. The Input delay is approximately two input sample periods due to the double buffering in the serial input ports. The Pipeline delay is approximately 40 clock cycles. 3.14 DIAGNOSTICS The chip has an internal ramp generator which can be used in place of the data inputs for diagnostics. An internal checksum circuit generates a checksum of the output data to verify the chip’s operation. See Section 7.12 for diagnostic configurations and checksums. The frequency, phase and gain of multiple chips can be initialized by holding SIB low and then releasing it to all of the chips at the same time. Besides the internal diagnostics, the chip supports initial board debug through special input and output tests. The suggested procedure for bringing up the GC4116 chip on a board is to first check the control interface by writing to the control registers and reading them back. The diagnostics described in Section 7.12 should be run next, followed by the output and input tests described in Sections 7.13 and 7.14. If these pass successfully, then the configuration customized for the desired application should work. 3.12.2 Initializing Stand Alone GC4116 chips The initialization sequence for a stand alone GC4116 chip is similar to the one for the multi-GC4116 procedure, except that the ONE_SHOT is used to synchronize the chip, not the SIA input sync. The procedure is to: (1) reset the chip by setting address 5, the reset register, to 0xFF; (2) configure the rest of the chip including setting the INT_SYNC, RES_SYNC and FLUSH_(A,B,C,D) to be ONE_SHOT (mode 2) and the OS_MODE to be 1; (3) assert the syncs by setting ONE_SHOT high; (4) release the global resets by setting address 5 to 0x00; and (5) release the syncs by setting ONE_SHOT to 0.  2002 Texas Instruments Incorporated DATA LATENCY 3.15 JTAG The GC4116 supports a four pin (TDI, TDO, TCK and TMS) boundary scan interface. Contact Texas Instruments to receive the GC4116’s BSDL file. TDI, TMS and TCK have internal pull resistors to Vpad. Leave open or pulled up if unused. - 17 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 3.16 SLWS135A - JUNE 2002 MASK REVISION REGISTER determine, through software, what version of the GC4116 chips are being used. The current mask revision codes are: An 8 bit mask revision code (REVISION) can be read from address 31 of page 0. The revision code allows users to Table 3: Mask Revisions GC4116 Revision Code (REVISION) Release Date Mask Code on Package Description 0 April 2000 SAMPLE Early samples 1 Nov. 2000 1002ACBA First Release, Revision 1 2 March 2001 1002ACBB Revision 2, adds JTAG, corrects initialization bug 2 2001-2002 1002ACBC 1002ACBD Yield enhancements, no functional, timing, electrical or thermal changes.  2002 Texas Instruments Incorporated - 18 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP PACKAGING H4 H2 H1 G3 H3 G1 G2 F3 F2 E3 E1 E2 D1 D2 C1 C2 B1 B3 C3 A3 B4 C4 M10 N10 L14 L11 M8 M9 N14 L12 H14 G13 E14 F12 M5 (MSB) SUMI21 SUMI20 SUMI19 SUMI18 SUMI17 SUMI16 SUMI15 SUMI14 SUMI13 SUMI12 SUMI11 SUMI10 SUMI9 SUMI8 SUMI7 SUMI6 SUMI5 SUMI4 SUMI3 SUMI2 SUMI1 SUMI0 GC4116 QUAD DUC CHIP SCKD SCKC SCKB SCKA SFSD SFSC SFSB SFSA SIND SINC SINB SINA N6 N7 P9 K13 L13 J11 G12 G11 E13 L3 L1 K2 K3 K1 M1 P2 L2 N3 J3 J1 SCSTART J14 J12 RSTART RESAMPLER I/O RIND RINC RINB RINA RD WR CE WRMODE CK2X CONTROL I/O 13 mm A2 A1 A 0.5 mm 1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D E F G H J K L M N P P6 SCCK1 SCCK0 P11 M12 SCFSD SCFSC SCFSB SCFSA P7 N9 N12 M11 ROFS1 ROFS0 ROUTD ROUTC ROUTB ROUTA A4 (MSB) A3 A2 A1 A0 1.53 mm D1 D GRAYCHIP GC4116PB QUAD DUC MMMMMM LLL YYWW TOP VIEW ROCK1 ROCK0 RFSD RFSC RFSB RFSA CK 0.36 mm MMMMMM = Mask Code LLL = Lot Number YYWW = Date Code RREQ RCKD RCKC RCKB RCKA SIB SIA CHREQ A4 B5 C5 A5 B6 B7 A7 C8 C7 A8 B8 C9 A9 B9 C10 A10 B10 C11 B11 A12 B12 A13 C13 (MSB) C7 C6 C5 C4 C3 C2 C1 C0 SO TMS TCK TDI TDO L 1.0 mm P N M L K J H G F E D C B A CHANNEL I/O SERIAL CONTROLLER I/O M14 M13 J13 K12 SUMO21 SUMO20 SUMO19 SUMO18 SUMO17 SUMO16 SUMO15 SUMO14 SUMO13 SUMO12 SUMO11 SUMO10 SUMO9 SUMO8 SUMO7 SUMO6 SUMO5 SUMO4 SUMO3 SUMO2 SUMO1 SUMO0 QFLG 15 mm 4.0 SLWS135A - JUNE 2002 M6 P10 N11 P12 M7 P 1.0 mm B 0.53 mm 1 2 3 4 5 6 7 8 9 10 11 12 13 14 BOTTOM VIEW H13 H11 F14 E12 P5 N5 P4 M4 N4 P3 M2 M3 DIMENSION D (width body) D1 (width cover) P (ball pitch) B (ball width) L (overhang) A (overall height) A1 (ball height) A2 (substrate thickness) TYP 15 mm 13 mm 1.0 mm 0.53 mm 1.0 mm 1.53 mm 0.5 mm 0.36 mm TOLERANCE mm mm mm mm mm mm mm mm THERMAL GND BALLS: G7, G8, H7, H8 GND BALLS: A6, D3, D12, E4, F4, F11, G14, K4, K11, N8 B2, B13, C6, D5, D9, D11, L5, L7, L8, L10, N2, N13 J2 VCORE BALLS: D4, D7, D14, F1, F13, G4, H12, J4, K14, P8 C12 E11 D13 C14 VPAD BALLS: A2, A11, B14, D6, D8, D10, L4, L6, L9, N1, P13 NOTE: 0.01 to 0.1 µf DECOUPLING CAPACITORS SHOULD BE PLACED AS CLOSE AS POSSIBLE TO EACH SIDE OF THE CHIP Figure 15. 160 Pin Plastic Ball Grid Array (PBGA) Package  2002 Texas Instruments Incorporated - 19 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 Table 4: GC4116 Pin Out Locations Top View 1: A: 2: 3: VPAD SUMI2 4: 5: SUMO21 SUMO18 6: GND 7: 8: SUMO15 SUMO12 10: 11: 12: 13: 14: SUMO9 SUMO6 VPAD SUMO2 SUMO0 SUMO8 SUMO5 SUMO3 SUMO1 GND VPAD SUMO7 SUMO4 TMS QFLG TDO VPAD GND GND TDI VCORE B: SUMI5 GND SUMI4 SUMI1 SUMO20 SUMO17 SUMO16 C: SUMI7 SUMI6 SUMI3 SUMI0 SUMO19 GND SUMO13 SUMO14 SUMO10 D: SUMI9 SUMI8 GND VCORE GND VPAD VCORE E: SUMI11 SUMI10 SUMI12 GND TCK ROUTA RINA SINB F: VCORE SUMI13 SUMI14 GND GND SINA VCORE ROUTB G: SUMI16 SUMI15 SUMI18 VCORE TGND TGND RINB RINC SINC GND H: SUMI19 SUMI20 SUMI17 SUMI21 TGND TGND ROUTC VCORE ROUTD SIND J: SIA SO SIB VCORE RIND CK2X RCKB CK K: A0 A2 A1 GND GND RCKA RFSB VCORE L: A3 CE A4 VPAD GND VPAD GND GND VPAD GND SCKA SFSA RFSA SCKB M: RD C1 C0 C4 SCSTART RREQ ROFS0 SFSD SFSC SCKD SCFSA SCCK0 RCKC RCKD N: VPAD GND WRMODE C3 C6 RSTART RFSD GND SCFSC SCKC ROCK0 SCFSB GND SFSB WR C2 C5 C7 CHREQ SCFSD VCORE RFSC ROCK1 SCCK1 ROFS1 VPAD P: SUMO11 9: VPAD GND VPAD = Pad ring power VCORE = Core power TGND = Thermal ground  2002 Texas Instruments Incorporated - 20 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 SIGNAL DESCRIPTION SIGNAL DESCRIPTION CK INPUT CLOCK. Active high input The clock input to the chip. The SUMI, RSTART, SCSTART, SIA and SIB input signals are clocked into the chip on the rising edge of this clock. The SUMO, CHREQ, RREQ, ROUT, ROCK, ROFS, SCCK, SCFS and SO outputs are clocked out by the rising edge of CK. RREQ CK2X DOUBLE RATE INPUT CLOCK. Active high input The chip uses an internally doubled clock for normal processing. For test purposes the double rate clock can be supplied externally using this pin. Should be grounded for normal use. RESAMPLER REQUEST, programmable active high or low output The chip requests new input data for the resampler by asserting this signal. RREQ is clocked out of the chip on the rising edge of CK and is one CK cycle wide. The polarity of this signal is user programmable. This signal must be connected to the SCSTART input of the serial controller if the resampler is being used. It can also be used as an interrupt to a DSP chip, or as a start pulse to dedicated circuitry. RSTART SIA, SIB SYNC IN. Active low input The sync inputs to the chip. These syncs are clocked into the chip on the rising edge of the input clock (CK). All timers, accumulators, and control counters are, or can be, synchronized to one of SIA or SIB. RESAMPLER START, active high input This input requests the resampler to send data. Typically connected to CHREQ. RSTART is clocked into the chip on the rising edge of CK and can only be high for one CK cycle. RIN A,B,C,D SO SYNC OUT. Active low output This signal is either a delayed version of the input sync SIA, the sync counter’s terminal count (TC), or a one-shot strobe. The SO signal is clocked out of the chip on the rising edge of the input clock (CK). RESAMPLER INPUT BIT SERIAL DATA, Active high input The bit serial input data for the resampler input. The I and Q halves of complex data are entered on the same pin, MSB to LSB, I-half followed by Q-half. RCK A,B,C,D CHREQ CHANNEL DATA REQUEST, programmable active high or low output The chip requests new input data for the channels by asserting this signal. CHREQ is clocked out of the chip on the rising edge of CK and is one CK cycle wide. The polarity of this signal is user programmable. This signal is typically connected to the RSTART input of the resampler, or the SCSTART input of the serial controller. It can also be used as a start pulse to dedicated circuitry or an interrupt to a DSP chip. RESAMPLER INPUT SERIAL CLOCK, Active high or low input The resampler serial data bits are clocked into the chip by these clocks. The active edge of these clocks are user programmable. RFS A,B,C,D RESAMPLER INPUT FRAME STROBE, Active high or low input The resampler bit serial frame strobe. This strobe delineates the 32 bit complex words within the bit serial input stream. This strobe can be a pulse at the beginning of each bit serial word, or can act as a window enable which is active while the data bits are active. ROUT A,B,C,D RESAMPLER OUTPUT BIT SERIAL DATA, Active high output The bit serial output data from the resampler. The I and Q halves of complex data are transmitted on the same pin, I followed by Q, 16 bits each, MSB first. ROCK 0,1 RESAMPLER OUTPUT SERIAL CLOCKS, programmable active high or low output These outputs provide two copies of a programmable serial clock. Normally used to drive the serial clock inputs to the channels (SCK-A,B,C,D). ROFS 0,1 RESAMPLER OUTPUT FRAME STROBES, programmable active high or low output The resampler outputs a single frame strobe common to all outputs. Two copies of this signal are provided for fan out. They are normally connected to the channels (SFS-A,B,C,D). SIN A,B,C,D BIT SERIAL INPUT DATA, Active high input The bit serial input data for the four channels. The I and Q halves of complex data are entered on the same pin. Each time the chip asserts CHREQ (See above) the I-half is entered and then the Q-half. SCK A,B,C,D BIT SERIAL DATA CLOCK, Active high or low input The serial data bits are clocked into the chip by these clocks. The active edge of these clocks are user programmable. SFS A,B,C,D BIT SERIAL FRAME STROBE, Active high or low input The bit serial word strobe. This strobe delineates the 16 bit words, or 32 bit complex pair, within the bit serial input stream. This strobe can be a pulse at the beginning of each bit serial word, or can act as a window enable which is active while the data bits are active.  2002 Texas Instruments Incorporated - 21 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 SIGNAL DESCRIPTION SIGNAL DESCRIPTION SCSTART SERIAL CONTROLLER START, active high input The start pulse for the serial controller. Normally connected to CHREQ or RREQ. Can only be high for one CK cycle at a time. C[0:7] SCCK 0,1 SERIAL CONTROLLER OUTPUT CLOCKS, active high or low outputs These outputs provide two copies of a programmable serial clock. Normally used to drive both the serial clock port of a DSP, FPGA or ASIC chip and the serial clock inputs of either the resampler block (RSCK-A,B,C,D) or the channels (SCK-A,B,C,D). CONTROL DATA I/O BUS. Active high bidirectional This is the 8 bit control data I/O bus. Control register data is loaded into the chip or read from the chip through these pins. The chip will only drive these pins when CE is low and RD is low and WR is high. A[0:4] CONTROL ADDRESS BUS. Active high input These pins are used to address the control registers within the chip. Each of the control registers within the chip are assigned a unique address. A control register can be written to or read from by having the page register set to the appropriate page and then setting A[0:4] to the register’s address. RD READ ENABLE. Active low input This pin enables the chip to output the contents of the selected register on the C[0:7] pins when CE is also low. WR WRITE ENABLE. Active low input This pin enables the chip to write the value on the C[0:7] pins into the selected register when CE is also low. CE CHIP ENABLE. Active low input This control strobe enables the read or write operation. The contents of the register selected by A[0:5] will be output on C[0:7] when RD is low and CE is low. If WR is low and CE is low, then the selected register will be loaded with the contents of C[0:7]. WRMODE WRITE MODE. Active high input This pin changes the write timing on the control port so that the data need only be stable relative to the rising edge of either WR or CE. VCORE CORE SUPPLY VOLTAGE. These pins are used to supply the core logic. Nominally set at 2.5V. VPAD INTERFACE VOLTAGE. These pins are used to set the voltage I/O levels for all pins. Nominally set at 3.3V. Still functional at lower supplies but at reduced speed. GND GROUND. TGND THERMAL GROUND These pins are used to extract heat from the die and should be connected to the ground plane. SCFS A,B,C,D SUMI[0:21] SERIAL CONTROLLER OUTPUT FRAME STROBES, active high or low outputs The frame strobe outputs of the serial controller. They are normally connected either to the resampler input frame strobes (RSFS-A,B,C,D) or the channel input frame strobes (SFS-A,B,C,D) as well as to a DSP, FPGA or ASIC chip’s serial frame strobe input. SUM IO INPUT DATA. Active high inputs The 22 bit two’s complement sum tree input samples. New samples are clocked into the chip on the rising edge of CK. The input data rate is assumed to be equal to the clock rate. SUMO[0:21] SUM IO OUTPUT DATA. Active high outputs The 22 bit sum tree output data. The bits are clocked out on the rising edge of the clock (CK). Programmable two’s complement or offset binary. QFLG Q FLAG. Active high output This output is high to identify the imaginary half of a complex sample. This is useful in complex output mode where I and Q are multiplexed onto the sum IO pins. QFLG is clocked out on the rising edge of CK. TMS,TCK,TDI,TDO JTAG INTERFACE. Active high input (TCK, TMS, TDI) pins and active high tristate output (TDO) pins The JTAG interface, see Section 3.15. TCK, TDI and TMS have internal pull up resistors to Vpad. Unused JTAG pins should be left floating or pulled up to Vpad.  2002 Texas Instruments Incorporated - 22 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.0 SLWS135A - JUNE 2002 CONTROL REGISTERS The chip is configured and controlled through the use of eight bit control registers. These registers are accessed for reading or writing using the control bus pins (CE, RD, WR, A[0:4], and C[0:7]) described in the previous section. The registers are divided into 16 global registers and 16 paged registers. Addresses 0-15 are reserved for global registers. Addresses 16-31 are used for paged registers. Address 15 is the page register which selects which control registers are accessed by addresses 16 through 31. 5.1 GLOBAL REGISTERS The 16 global control registers are: Table 5: GLOBAL CONTROL REGISTERS ADDRESS NAME DESCRIPTION 0 Sync Mode Syncs for interpolation, counter, and output. Also ONE_SHOT control. 1 Interpolation Mode Real in, SplitIQ, gain sync, no symmetry, and diagnostic. 2 Interpolation Gain Set CIC gain. 3 Interpolation Byte 0 CIC interpolation count least significant byte. 4 Interpolation Byte 1 CIC interpolation count most significant bye. 5 Reset Resets for the four channels, resampler, outputs, and global reset. 6 Counter Byte 0 Sync counter least significant byte. 7 Counter Byte 1 Sync counter most significant byte. 8 Chan A sync Syncs for channel A’s frequency, phase, NCO, and dither. 9 Chan B sync Syncs for channel B’s frequency, phase, NCO, and dither. 10 Chan C sync Syncs for channel C’s frequency, phase, NCO, and dither. 11 Chan D sync Syncs for channel D’s frequency, phase, NCO, and dither. 12 Flush Flush controls for all four channels. 13 Miscellaneous Complex out, msb invert, and various test control bits. 14 Status Status feedback from chip including: ready/missed flags for channel and resampler, and overflow flags from many places w/in the chip. 15 Page Page register  2002 Texas Instruments Incorporated - 23 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP ADDRESS 0: SLWS135A - JUNE 2002 Sync Mode, suggested default = 0x69 BIT TYPE NAME DESCRIPTION 0,1 (LSBs) R/W INT_SYNC Synchronizes the interpolation control counter. The interpolation counter controls the filtering of each channel. Mode 1 is SIA. 2,3 R/W COUNTER_SYNC Synchronizes the sync counter. This counter is used to generate the periodic “TC” sync pulses. Mode 2 is OS, not TC, for the counter. Mode 1 is SIA. 4,5 R/W OUTPUT_SYNC The selected sync is inverted and output on the SO pin. Mode 1 is SIA. 6 R/W USE_ONESHOT The terminal count mode in table 1 is replaced by ONE_SHOT (OS) when this bit is set. 7 R/W ONE_SHOT The one shot sync signal (OS) is generated when this bit is set. If OS_MODE in register 13 is low, then a one shot pulse (one clock cycle wide) is generated. If OS_MODE is high, then the ONE_SHOT sync is active while this bit is high. This bit must be cleared before another one shot pulse can be generated. ADDRESS 1: Interpolation Mode, suggested default = 0x00 BIT TYPE NAME DESCRIPTION 0 LSB R/W REAL The input samples are real when this bit is set and are up-converted as a single sideband signal. The input samples are treated as complex when this bit is low. The input rate is FCK/4N when this bit is low and is FCK/2N when this bit is high, where FCK is the chip’s clock rate and N is the interpolation setting in registers 3 and 4 (See Section 5.4). If double sideband real data is to be up-converted, then the complex mode should be used with the Q-half set to zero. 1 R/W SPLIT_IQ This control bit puts all four channels into the SPLITIQ mode where each channel processes real data at twice the input rate. Two channels work in tandem (A with B and C with D) to process the complex input signal. This mode allows the chip to upconvert two channels at double bandwidth. 2 R/W GAIN_SYNC Selects when the input gain is updated. If 0 the input gain (see page 2) takes effect immediately. If 1, then gain is updated on the first sample following SIB. 3 R/W TEST Special test mode. Set to 0 for normal use. 4 R/W NOSYM When 0 the PFIR filter is symmetric with 63 taps. When 1, the PFIR filter is non-symmetric with 32 taps. The newest data sample is multiplied by h31. 5 R/W DIAG Use the diagnostic ramp as input data. 6,7 R/W DIAG_SYNC The diagnostic ramp is synchronized by the sync selected by these bits according to table 1. This sync also loads the checksum register. Mode 1 is SIA ADDRESS 2: Interpolation Gain, suggested default = 0x09 BIT TYPE NAME DESCRIPTION 0-3 R/W SCALE SCALE ranges from 0 to 15. 4,5 R/W BIG_SHIFT BIG_SHIFT equals 0, 1 or 2. 6,7 R/W UNUSED The CIC filter has a gain which is equal to N4. To remove this gain the CIC outputs are shifted down by (3+SCALE+12*BIG_SHIFT) bits and then rounded to 16 bits before they are sent to the mixer circuit. The value chosen for BIG_SHIFT must also satisfy: 2(12*BIG_SHIFT+18) ≥ N4. Overflows due to improper gain settings will go undetected if this relationship is violated. This restriction means that BIG_SHIFT is 0 for N between 8 and 22, BIG_SHIFT is 1 for N between 23 and 181, and BIG_SHIFT is 2 for N between 182 and 1448. The interpolation gain settings apply to all channels in the chip.  2002 Texas Instruments Incorporated - 24 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP ADDRESS 3: SLWS135A - JUNE 2002 Interpolation Byte 0, suggested default = 0x07 BIT TYPE NAME DESCRIPTION 0-7 R/W INT[0:7] The LSBs of the interpolation control word INT. INT is N-1. ADDRESS 4: Interpolation Byte 1, suggested default = 0x00 BIT TYPE NAME DESCRIPTION 0-5 R/W INT[8:13] The 6 MSBs of the interpolation control word INT. INT is N-1. 6,7 R/W Unused Where INT is equal to N-1. The chip interpolates the input data by a factor of 2N for real input data and 4N for complex input data, where N ranges from 8 to 16384. This provides an interpolation range from 32 to 65,536 for complex input signals and 16 to 32,768 for real input signals. NOTE: The chip needs to be flushed each time the interpolation registers are changed. See Section 5.8. Values of N exceeding 1448 should be avoided since they will cause overflow unless the input signal amplitude is correspondingly reduced. For complex output the signal is decimated by two after the CIC and before the mixer. As a result, the effective interpolation amount is only N/2, but the gain needs to be calculated for “N”. The interpolation factor applies to all channels in the chip. In the SPLIT_IQ mode (see Section 3.3.4 and bit 1, address 1), INT is set to INT=2N-1, where N ranges from 4 to 8192. ADDRESS 5: Reset Register, Set to 0xff on power up. BIT TYPE NAME DESCRIPTION 0 LSB R/W RESET_A This bit resets channel A. It is set during power up. While in reset the channel consumes very modest power (uWatts). 1 R/W RESET_B This bit resets channel B. 2 R/W RESET_C This bit resets channel C. 3 R/W RESET_D This bit resets channel D. 4 R/W RESAMPLER_RESET This bit resets the resampler. 5 R/W NOCK_RESET Allows output enables to flow through registers in output pads. Set on power up so that all outputs are tristated at power up. The user should reset this bit when ready for outputs to drive. 6 R/W PAD_RESET This bit resets the output formatter block. 7 R/W GLOBAL_RESET This bit powers down the chip. The reset register powers up to the reset state of 0xff. The register should be set to 0xff during initialization, and then cleared to begin operation. See Section 3.12 for initialization details.  2002 Texas Instruments Incorporated - 25 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP ADDRESS 6: SLWS135A - JUNE 2002 Counter Byte 0, suggested default = 0xff BIT TYPE NAME DESCRIPTION 0-7 R/W CNT[0:7] The LSBs of the counter cycle period ADDRESS 7: Counter Byte 1, suggested default = 0xff BIT TYPE NAME DESCRIPTION 0-7 R/W CNT[8:15] The 8 MSBs of the counter cycle period The chip’s internal sync counter counts in cycles of 128(CNT+1) clocks. A terminal count signal (TC) is output at the end of each cycle. The counter can be synchronized to an external sync as specified in the Sync mode Register (See Address 0). If CNT is set so that 128(CNT+1) is a multiple of twice the interpolation ratio (i.e., a multiple of 16N), then the terminal count of this counter can be output on the SO pin and used to periodically synchronize multiple GC4116 chips. ADDRESS 8: Channel-A Sync Modes, suggested default = 0x5f ADDRESS 9: Channel-B Sync Modes ADDRESS 10: Channel-C Sync Modes ADDRESS 11: Channel-D Sync Modes Registers 8,9,10 and 11 control the synchronization modes of the four channels. The sync modes described here are unique to each of the channels. Sync mode 1 is SIB. The sync modes are shown in Table 1 (See Section 3.11). BIT TYPE NAME DESCRIPTION 0,1 LSB R/W FREQ_SYNC The new frequency setting takes affect on this sync 2,3 R/W PHASE_SYNC The new phase offset takes affect on this sync 4,5 R/W NCO_SYNC The NCO is initialized to the phase setting by this sync 6,7 MSB R/W DITHER_SYNC The dither circuit is initialized by this sync to zero. The NCO_SYNC mode is usually set to be always “off”, unless the user wants to coherently control the phases of multiple channels. The FREQ_SYNC and PHASE_SYNC modes are typically set to be always “on” so that frequency and phase settings will take effect immediately as they are written into their control registers (See pages 0 and 1). The DITHER_SYNC is used to turn on or off the dithering of the NCO phase. To turn off dithering set the DITHER_SYNC to be always “on” so that it remains initialized to zero. To turn dithering on set the sync to be always “off”. During diagnostics the NCO_SYNC and DITHER_SYNC should be set to “TC”.  2002 Texas Instruments Incorporated - 26 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP ADDRESS 12: BIT TYPE SLWS135A - JUNE 2002 Channel Flush Register, suggested default = 0x55 NAME DESCRIPTION 0,1 LSB R/W FLUSH_A[0:1] The flush sync for channel A. 2,3 R/W FLUSH_B[0:1] The flush sync for channel B. 4,5 R/W FLUSH_C[0:1] The flush sync for channel C. 6,7 MSB R/W FLUSH_D[0:1] The flush sync for channel D. This register controls flushing the four channels. Each channel is flushed when the selected sync occurs. Sync mode 1 is SIA. The sync is selected according to Table 1 in Section 3.11. Each channel needs to be flushed when the chip is being initialized or when the interpolation control is changed. The flush lasts for 8N clocks after the sync occurs. The channel flush syncs will normally be left in a “never” mode. During diagnostics the channels will need to be flushed at the beginning of each sync cycle. ADDRESS 13: Miscellaneous Register, Set to zero on power up BIT TYPE NAME DESCRIPTION 0 LSB R/W DISABLE_AUTO_FLUSH The chip normally automatically flushes a channel if instability in the channel’s CIC filter is detected. If this bit is set the auto flush feature is disabled. 1 R/W MSB_INVERT Inverts the MSB of the output data (SUMO21) for use with offset binary DACs. Should not be set for chips feeding the sumin port of another GC4116. 2 R/W COMPLEX_OUT Complex output is generated with I followed by Q. Interpolation amount is 2N for complex input and N for real input. 3 R/W EXT_2XCK For test purposes an external 2x clock can be supplied. This control bit enables its use. Normal use will set this bit to zero. 4 R/W CK2X_TEST 5 R/W DISABLE_CK_LOSS The absence of a clock for extended times (1mS) can cause a current surge. An internal circuit detects this condition prior to the current surge and puts the chip into a reset state. This control bit disables this feature. Normal use will set this bit to zero. 6 R/W FOUR_OUT _MODE (GC4117 only) Puts the chip into the GC4117’s four separate output mode. Is only valid for the 208 ball GC4117 package. Must be set low for the 160 ball GC4116 package. 7 R/w OS_MODE The ONE_SHOT signal is a level, not a pulse when this bit is set.  2002 Texas Instruments Incorporated For test purposes the internally generated 2x clock can be routed to the soB pin for test. Normal use will set this bit to zero. - 27 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP ADDRESS 14: SLWS135A - JUNE 2002 Status Register BIT TYPE NAME DESCRIPTION 0 LSB R/W CHAN_INPUT_READY The user sets this bit after loading the input registers. The chip clears this bit when the values have been read and it is time to load new ones. Part of the channel’s parallel input handshake protocol. 1 R/W CHAN_MISSED The chip sets this bit If the user has not set the INPUT_READY bit before the chip reads the input registers. This bit high indicates that an error has occurred. Part of the channel’s parallel input handshake protocol. 2 R/W RES_INPUT_READY The user sets this bit after loading the input registers. The chip clears this bit when the values have been read and it is time to load new ones. Part of the resampler’s parallel input handshake protocol. 3 R/W RES_MISSED The chip sets this bit If the user has not set the INPUT_READY bit before the chip reads the input registers. This bit high indicates that an error has occurred. Part of the resampler’s parallel input handshake protocol. 4 R/W CHAN_OVERFLOW Overflow was detected in the CIC shifter. 5 R/W SUMIO_OVERFLOW Overflow was detected in the sumio path at the final rounder. For normal uses this should not occur except in the final chip in a sumpath. In the final chip the D/A loading is often optimized to balance clipping and rounding noise resulting in a SUMIO_OVERFLOW every 10,000 to 100,000 samples. 6 R/W RES_OVERFLOW This bit is set by the chip if an overflow is detected in the resampler. This should never happen if the resampler is properly programmed. 7 R/W CK_LOSS_DETECTED The chip sets this bit if it detects a clock loss. This register is modified by the chip setting or clearing bits to indicate status of a variety of conditions. The user reads the status register to detect the status and rewrites it to be able to detect the next change in status. The CHAN_INPUT_READY and RES_INPUT_READY bits are used to tell an external processor when to load new input samples. If desired, the CHREQ and RREQ pins can be used as an interrupt to the external processor to tell the processor when to load new samples. The user does not need to set the INPUT_READY bits if interrupts are used. If INPUT_READY is not set, however, the MISSED flag will not be valid. The same input block design is used for channels and the resampler. The resampler always requires complex input data. The channels can accept real input data. The parallel input mode assumes the data are being entered as complex pairs, even when the data are real. To enter real data in the parallel mode, the user must put two real samples into each complex pair, the first sample in the I-half and the second in the Q-half. ADDRESS 15: BIT TYPE Page Register NAME DESCRIPTION Page number for addresses 16 through 31. 0-5 R/W Page[0:5] 6,7 R/W Unused  2002 Texas Instruments Incorporated - 28 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.2 SLWS135A - JUNE 2002 PAGED REGISTERS Addresses 16 through 31 are used in pages as determined by the page map register (address 15). The page assignments are: Table 6: Page Assignments PAGE DESCRIPTION 0 Frequency and Phase for Channels A and B Also Checksum And Revision Registers 1 Frequency and Phase for Channels C and D 2 Input Gain Settings 3 Channel Input Registers 4 Resampler Input Registers 5 I/O Control Registers 6,7 unused 8 Resampler Control Registers 9 Resampler Ratio Registers 10-15 unused 16-19 Channel A PFIR Coefficients 20-23 Channel B PFIR Coefficients 24-27 Channel C PFIR Coefficients 28-31 Channel D PFIR Coefficients 32-63 Resampler Coefficients  2002 Texas Instruments Incorporated - 29 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.3 SLWS135A - JUNE 2002 FREQUENCY AND PHASE PAGES (PAGES 0 AND 1) Pages 0 and 1 are used to set the tuning frequencies and phase offsets of the four channels. Page 0 also contains the read only checksum diagnostic register and the mask revision register. The 32 bit frequency control word is defined as: FREQ = 232F/FCK where F is the desired tuning frequency and FCK is the chip’s clock rate (not the CK2X rate). Use positive frequency values to upconvert signals. Use negative frequency values to upconvert inverted spectrums. The 32 bit 2’s complement frequency words are entered as four bytes, the least significant byte in the lowest address, the most significant in the highest address. In the complex output mode (COMPLEX_OUT=1 in address 13) FREQ must be doubled: FREQ = 233F/FCK The 16 bit phase offset is defined as: PHASE = 216P/2π where P is the desired phase in radians from 0 to 2π. PAGE 0: Channels A and B ADDRESSES 16, 17, 18, and 19: Frequency Channel A ADDRESS TYPE NAME DESCRIPTION 16 R/W FREQ_A[0:7] Byte 0 (LSBs) of FREQ_A 17 R/W FREQ_A[8:15] Byte 1 of FREQ_A 18 R/W FREQ_A[16:23] Byte 2 of FREQ_A 19 R/W FREQ_A[24:31] Byte 3 (MSBs) of FREQ_A ADDRESSES 20, 21: Phase Channel A ADDRESS TYPE NAME DESCRIPTION 20 R/W PHASE_A[0:7] Byte 0 (LSBs) of PHASE_A 21 R/W PHASE_A[8:15] Byte 1 (MSBs) of PHASE_A ADDRESSES 24, 25, 26, and 27: Frequency Channel B ADDRESS TYPE NAME DESCRIPTION 24 R/W FREQ_B[0:7] Byte 0 (LSBs) of FREQ_B 25 R/W FREQ_B[8:15] Byte 1 of FREQ_B 26 R/W FREQ_B[16:23] Byte 2 of FREQ_B 27 R/W FREQ_B[24:31] Byte 3 (MSBs) of FREQ_B ADDRESSES 28, 29: Phase Channel B ADDRESS TYPE NAME 20 R/W PHASE_B[0:7] Byte 0 (LSBs) of PHASE_B 21 R/W PHASE_B[8:15] Byte 1 (MSBs) of PHASE_B  2002 Texas Instruments Incorporated DESCRIPTION - 30 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 ADDRESSES 30, 31: Checksum and Revision Registers ADDRESS TYPE NAME DESCRIPTION 30 Ronly CHECKSUM The 8 bit diagnostic checksum. See Section 3.14. 31 Ronly REVISION The 8 bit Revision number. See Section 3.16. PAGE 1: Channels C and D ADDRESSES 16, 17, 18, and 19: Frequency Channel C ADDRESS TYPE NAME DESCRIPTION 16 R/W FREQ_C[0:7] Byte 0 (LSBs) of FREQ_C 17 R/W FREQ_C[8:15] Byte 1 of FREQ_C 18 R/W FREQ_C[16:23] Byte 2 of FREQ_C 19 R/W FREQ_C[24:31] Byte 3 (MSBs) of FREQ_C ADDRESSES 20, 21: Phase Channel C ADDRESS TYPE NAME DESCRIPTION 20 R/W PHASE_C[0:7] Byte 0 (LSBs) of PHASE_C 21 R/W PHASE_C[8:15] Byte 1 (MSBs) of PHASE_C ADDRESSES 24, 25, 26, and 27: Frequency Channel D ADDRESS TYPE NAME DESCRIPTION 24 R/W FREQ_D[0:7] Byte 0 (LSBs) of FREQ_D 25 R/W FREQ_D[8:15] Byte 1 of FREQ_D 26 R/W FREQ_D[16:23] Byte 2 of FREQ_D 27 R/W FREQ_D[24:31] Byte 3 (MSBs) of FREQ_D ADDRESSES 28, 29: Phase Channel D ADDRESS TYPE NAME DESCRIPTION 20 R/W PHASE_D[0:7] Byte 0 (LSBs) of PHASE_D 21 R/W PHASE_D[8:15] Byte 1 (MSBs) of PHASE_D  2002 Texas Instruments Incorporated - 31 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.4 SLWS135A - JUNE 2002 INPUT GAIN PAGE (PAGE 2) This page contains independent gain settings for the four channels. Gain is G/128, where G is in two’s complement format. Page two registers are listed in the table below. ADDRESSES 16, 17, 18, and 19: Input Gain ADDRESS TYPE NAME DESCRIPTION 16 R/W GAIN_A[0:7] The gain (G) for channel A 17 R/W GAIN_B[0:7] The gain (G) for channel B 18 R/W GAIN_C[0:7] The gain (G) for channel C 19 R/W GAIN_D[0:7] The gain (G) for channel D 5.5 CHANNEL INPUT PAGE (PAGE 3) Page 3 is used to enter input data in the parallel mode (see PARALLEL_A,B,C and D in address of the IO control page). ADDRESSES 16 to 31: Channel Inputs ADDRESS TYPE NAME DESCRIPTION 16 R/W CHAN_A_I[0:7] The 8 LSBs of Channel A’s I input 17 R/W CHAN_A_I[8:15] The 8 MSBs of Channel A’s I input 18 R/W CHAN_A_QI[0:7] The 8 LSBs of Channel A’s Q input 19 R/W CHAN_A_Q[8:15] The 8 MSBs of Channel A’s Q input 20 R/W CHAN_B_I[0:7] The 8 LSBs of Channel A’s I input 21 R/W CHAN_B_I[8:15] The 8 MSBs of Channel A’s I input 22 R/W CHAN_B_QI[0:7] The 8 LSBs of Channel A’s Q input 23 R/W CHAN_B_Q[8:15] The 8 MSBs of Channel A’s Q input 24 R/W CHAN_C_I[0:7] The 8 LSBs of Channel A’s I input 25 R/W CHAN_C_I[8:15] The 8 MSBs of Channel A’s I input 26 R/W CHAN_C_QI[0:7] The 8 LSBs of Channel A’s Q input 27 R/W CHAN_C_Q[8:15] The 8 MSBs of Channel A’s Q input 28 R/W CHAN_D_I[0:7] The 8 LSBs of Channel D’s I input 29 R/W CHAN_D_I[8:15] The 8 MSBs of Channel D’s I input 30 R/W CHAN_D_QI[0:7] The 8 LSBs of Channel D’s Q input 31 R/W CHAN_D_Q[8:15] The 8 MSBs of Channel D’s Q input The CHAN_INPUT_READY and CHAN_MISSED control bits in the status register (address 14) can be used as “handshake” signals between the chip and the external processor providing the data. The external processor sets CHAN_INPUT_READY after it has loaded the channel inputs into page 3. The chip will then clear CHAN_INPUT_READY when it has used the new inputs. The external processor can monitor CHAN_INPUT_READY to determine when it is time to load new inputs. If the external processor has not set CHAN_INPUT_READY when the chip wants to use the inputs, then it will set CHAN_MISSED to let the external processor know that a handshake error has occurred and input samples have been missed. The external processor can also use the CHREQ output as an interrupt to know new samples are needed.  2002 Texas Instruments Incorporated - 32 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.6 SLWS135A - JUNE 2002 RESAMPLER INPUT PAGE (PAGE 4) Page 4 is used to enter input data in the parallel mode (see PARALLEL_A,B,C and D in address of the IO control page). ADDRESSES 16 to 31: Resampler Inputs ADDRESS TYPE NAME DESCRIPTION 16 R/W RES_A_I[0:7] The 8 LSBs of Resampler Channel A’s I input 17 R/W RES_A_I[8:15] The 8 MSBs of Resampler Channel A’s I input 18 R/W RES_A_QI[0:7] The 8 LSBs of Resampler Channel A’s Q input 19 R/W RES_A_Q[8:15] The 8 MSBs of Resampler Channel A’s Q input 20 R/W RES_B_I[0:7] The 8 LSBs of Resampler Channel A’s I input 21 R/W RES_B_I[8:15] The 8 MSBs of Resampler Channel A’s I input 22 R/W RES_B_QI[0:7] The 8 LSBs of Resampler Channel A’s Q input 23 R/W RES_B_Q[8:15] The 8 MSBs of Resampler Channel A’s Q input 24 R/W RES_C_I[0:7] The 8 LSBs of Resampler Channel A’s I input 25 R/W RES_C_I[8:15] The 8 MSBs of Resampler Channel A’s I input 26 R/W RES_C_QI[0:7] The 8 LSBs of Resampler Channel A’s Q input 27 R/W RES_C_Q[8:15] The 8 MSBs of Resampler Channel A’s Q input 28 R/W RES_D_I[0:7] The 8 LSBs of Resampler Channel D’s I input 29 R/W RES_D_I[8:15] The 8 MSBs of Resampler Channel D’s I input 30 R/W RES_D_QI[0:7] The 8 LSBs of Resampler Channel D’s Q input 31 R/W RES_D_Q[8:15] The 8 MSBs of Resampler Channel D’s Q input The RES_INPUT_READY and RES_MISSED control bits in the status register (address 14) can be used as “handshake” signals between the chip and the external processor providing the data. The external processor sets RES_INPUT_READY after it has loaded the channel inputs into page 3. The chip will then clear RES_INPUT_READY when it has used the new inputs. The external processor can monitor RES_INPUT_READY to determine when it is time to load new inputs. If the external processor has not set RES_INPUT_READY when the chip wants to use the inputs, then it will set RES_MISSED to let the external processor know that a handshake error has occurred and input samples have been missed. The external processor can also use the RREQ output as an interrupt to know new samples are needed.  2002 Texas Instruments Incorporated - 33 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.7 SLWS135A - JUNE 2002 I/O CONTROL PAGE (PAGE 5) Page 5 controls the formatting and IO speed of channel and resampler inputs, resampler output, sumout and enables for the various outputs. Page five registers are listed in the table below: Table 7: IO Control Page Registers (Page 5) ADDRESS NAME DESCRIPTION 16 Channel Input Mode Channel input format (packed, clock and frame polarity, parallel or serial). 17 Resampler Input Mode Resampler input format (packed, clock and frame polarity, parallel or serial). 18 Resampler Output Mode Controls resampler output clock rate, sync, polarity, and frame polarity. 19 Sum IOMode Sum IO path rounding, delay, shifting, and clear. 20 Serial Controller Modes Controls request clock rate, sync, and polarity. 21 Serial Controller Frame Count Sets the serial controller’s frame length. 22 Serial Controller Frame Delays A and B Delay positions for serial controller frame strobes A and B. 23 Serial Controller Frame Delays C and D Delay positions for serial controller frame strobes C and D. 24 Output Enables Output enables for sum, resampler, request, frame strobes, sync out, and request polarities. 25 Resampler Clock Divider Sets the clock rate for the resampler computations 26-31 Unused ADDRESS 16: Channel Input Mode Register, suggested default = 0x01 BIT TYPE NAME DESCRIPTION 0 LSB R/W PACKED Puts the channel serial inputs into the 32 bit transfer mode where each complex pair is packed into 32 bit words. The complex pair is formatted as I word in the upper 16 bits and the Q word in the lower 16 bits. Each word is formatted as MSB first. 1 R/W Unused 2 R/W SCK_POL The SIN Input bits and SFS frame strobes are clocked in on the trailing edge of SCK when this bit is set. The rising edge is used when this bit is low. 3 R/W SFS_POL The SFS signal is treated as active low when this bit is set. Otherwise the signal is treated as active high. 4 R/W PARALLEL_A The parallel/Serial control for channel input A. When low input for channel A is taken from the serial port. When high it is taken from the channel input page registers. 5 R/W PARALLEL_B The parallel/Serial control for channel B. 6 R/W PARALLEL_C The parallel/Serial control for channel C. 7 R/W PARALLEL_D The parallel/Serial control for channel D.  2002 Texas Instruments Incorporated - 34 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 I/O CONTROL PAGE 5 (continue) ADDRESS 17: Resampler Input Mode Register, suggested default = 0x03 BIT TYPE NAME DESCRIPTION 0 LSB R/W RES_PACKED Puts the resampler serial inputs into the 32 bit transfer mode where each complex pair is packed into 32 bit words. The complex pair is formatted as I word in the upper 16 bits and the Q word in the lower 16 bits. Each word is formatted as MSB first. 1 R/W SC_MODE Set to zero when the serial controller is being used with the resampler and is set to 1 when it is used with the channels. 2 R/W RCK_POL The RIN Input bits and RFS frame strobes are clocked in on the trailing edge of RSCK when this bit is set. The rising edge is used when this bit is low. 3 R/W RFS_POL The RFS signal is treated as active low when this bit is set. Otherwise the signal is treated as active high. 4 R/W RES_PARALLEL_A The parallel/Serial control for resampler input A. When low input for resampler channel A is taken from the serial port. When high it is taken from the resampler input page registers. 5 R/W RES_PARALLEL_B The parallel/Serial control for resampler channel B. 6 R/W RES_PARALLEL_C The parallel/Serial control for resampler channel C. 7 R/W RES_PARALLEL_D The parallel/Serial control for resampler channel D. ADDRESS 18: Resampler Output Mode Register, suggested default = 0x51 BIT TYPE NAME DESCRIPTION 0-3 LSB R/W ROCK_RATE The resampler serial output clock rate is ROCK = CK/(1+ROCK_RATE). The serial clock changes on the rising edge of CK when ROCK_RATE is even. 4 R/W ROCK_POL Resampler serial output clock polarity. Inverts ROCK. When ROCK_POL=0 and ROCK_RATE=0, ROCK is a slightly delayed version of CK. 5 R/W ROFS_POL Resampler frame strobe polarity. If low, the frame strobe pulses high for one RCK period prior to the first transmitted bit. If high the frame strobe pulses low. 6,7 R/W ROCK_SYNC Sync control for the resampler output clock. The sync settings are 0 =never; 1 = SIA; 2 =SIB; 3=Always. ADDRESS 19: Sum IOMode Register, suggested default = 0xB8 BIT TYPE NAME DESCRIPTION 0-2 LSB R/W SUM_ROUND Round the output to 22-(2*SUM_ROUND) bits. The remaining low order bits are cleared. In normal use SUM_ROUND is 0 for all chips in a sum path except the final one. The final one is programmed to match the number of bits used by the D/A or other follow-on devices. 3-5 R/W SUM_SCALE Shift the sum output up by SUM_SCALE bits prior to rounding. In normal use SUM_SCALE is 0 for all chips in a sum path except the final one. The final one is typically programmed so that the output has a 14 dB crest factor. 6 R/W SUM_DELAY The latency sumin to sumout is 8 cycles. Enabling this bit adds 8 cycles of latency to the output of the 4 internal channels to match the delay from one previous chip. 7 R/W SUM_CLEAR Clears sumin data so that regardless of the input to the sumin port it does not affect the sum output.  2002 Texas Instruments Incorporated - 35 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 I/O CONTROL PAGE 5 (continue) ADDRESS 20: Serial Controller Output Mode Register, suggested default = 0x51 BIT TYPE NAME DESCRIPTION 0-3 LSB R/W SCCK_RATE The SCCK output rate is set to SCCK = CK / SCCK_RATE. The serial clock is always approximately 50% duty cycle. The serial clock changes on the rising edge of CK when SCCK_RATE even. 4 R/W SCCK_POL Serial controller clock polarity. Inverts SCCK. When SCCK_POL=0 and SCCK_RATE=0, RCK is a slightly delayed version of CK. 5 R/W SCFS_POL Serial controller frame strobe polarity. If low, the frame strobe pulses high for one SCCK period prior to the first transmitted bit. If high the frame strobe pulses low. 6,7 R/W SCCK_SYNC Sync control for the SCCK clock. The sync settings are 0 = never; 1=SIA; 2=SIB; 3=Always. ADDRESS 21: Serial Controller Frame Count, suggested default = 0x17 BIT TYPE NAME DESCRIPTION 0-7 R/W SC_FRAME_CNT The initial value for the serial controller frame counter. Sets the serial controller’s frame length. The frame counter is preloaded with this value and held there until SCSTART. Once SCSTART is received the counter is decremented with each SCCK clock. When the lower four bits are zero and the upper four bits match one of the SC_FRAME_DELAY values, then the respective frame strobe is output. If unpacked then bit 4 of the counter is forced to zero for the match, resulting in a pair of strobes separated by 16 clocks for each frame strobe delay value. ADDRESS 22: SC Frame Delays A and B, suggested default = 0x11 BIT TYPE NAME DESCRIPTION 0-3 R/W SC_FRAME_DELAY_A Delay value for serial controller output frame strobe A. 4-7 R/W SC_FRAME_DELAY_B Delay value for serial controller output frame strobe B. ADDRESS 23: SC Frame Delays C and D, suggested default = 0x11 BIT TYPE NAME DESCRIPTION 0-3 R/W SC_FRAME_DELAY_C Delay value for serial controller output frame strobe C. 4-7 R/W SC_FRAME_DELAY_D Delay value for serial controller output frame strobe D.  2002 Texas Instruments Incorporated - 36 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 I/O CONTROL PAGE 5 (continue) ADDRESS 24: Output Enable Register, suggested default = 0x3, fSet to zero on power up BIT TYPE NAME DESCRIPTION 0 LSB R/W SUM_EN Enable sumout pins. 1 R/W RES_EN Enable resampler serial data out, resampler frame strobes, and resampler serial clocks. 2 R/W REQ_EN Enable resampler and channel request outputs. 3 R/W SC_EN Enable serial controller serial clocks and frame strobes. 4 R/W SO_EN Enable the sync output (SO) pin 5 R/W Unused 6 R/W CHREQ_POL Invert the channel request. This is useful when the request signal is used as a frame strobe with some DSPs (such as Lucent 1620). 7 R/W RREQ_POL Invert the resampler request. This is useful when the request signal is used as a frame strobe with some DSPs (such as Lucent 1620). ADDRESS 25: Resampler Clock Divide Register, Must be set to 0x00, Set to zero on power up BIT TYPE NAME DESCRIPTION 0-7 R/W RES_CLK_DIV Resampler clock division. The resampler clock divider is not functional and must be set to zero.  2002 Texas Instruments Incorporated - 37 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.8 SLWS135A - JUNE 2002 RESAMPLER CONTROL PAGE (PAGE 8) This page controls the resampler. The address assignments are: Table 8: Resampler Control Registers ADDRESS NAME DESCRIPTION 16 N-channels Sets the number of resampler channels and filters 17 N-Multiplies Sets the number of multiplies per output 18 Filter Select Maps filters to resampler channels 19 Final Shift Sets the final gain shift 20 Serial Map Maps serial inputs to resampler channels 21 Ratio Sync Synchronizes the ratio selection changes. 22 unused 23 Ratio Map 24-31 Unused ADDRESS 16: Maps ratios to resampler channels N-Channels Out Register, Suggested default = 0x23 BIT TYPE NAME DESCRIPTION 0-1 LSB R/W NC Must be set to NC=NCHAN-1, where NCHAN is the number of resampler channels to be generated. A value of NC=0 means one resampler channel. A value of NC=1 means two resampler channels. Use a value of NC=3 for either three or four resampler channels. A value of 2 is illegal and will produce erroneous results. 2-3 R/W NF Must be set to NF=NFILTER-1, where NFILTER is the number of resampler filters. Used to partition the resampler coefficient RAM. A value of NF=0 means one filter (normal case). A value of NF=1 means two filters. A value of NF=3 means four filters. A value of 2 is illegal. 4-6 R/W RES_SYNC The resampler is synchronized to this sync source. This sync clears the delay accumulators in all channels at the same time. The sync modes are: 0,1 and 5 are “never”, 2=SIA, 3=SIB, 4=OS, and 6,7 are “always”. 7 MSB R/W Unused ADDRESS 17: N-Multiplies Register, Suggested default = 0x0E BIT TYPE NAME DESCRIPTION 0-5 LSB R/W NM Must be set to NM=NMULT-1, where NMULT is the number of resampler multiplies. The minimum legal value is NM=5, the maximum is NM=63 but typically the maximum will be set by other constraints (see Section 3.7.4). In the case of a single channel output the minimum value is NM=6. 6 R/W NO_SYM_RES The resampler filter is presumed to be symmetric unless this bit is set. 7 MSB R/W Unused  2002 Texas Instruments Incorporated - 38 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 RESAMPLER CONTROL PAGE 8 (continue) ADDRESS 18: Filter Select Register, Suggested default = 0x00 BIT TYPE NAME DESCRIPTION 0-1 LSB R/W FILTER_SEL_0 The filter map for resampler channel 0. This select which of the NFILTER filters to use for this channel. Must be less than or equal to NFILTER 2-3 R/W FILTER_SEL_1 The filter map for resampler channel 1. 4-5 R/W FILTER_SEL_2 The filter map for resampler channel 2. 6-7 MSB R/W FILTER_SEL_3 The filter map for resampler channel 3. ADDRESS 19: Final Shift Register, Suggested default = 0x14 BIT TYPE NAME DESCRIPTION 0-3 LSB R/W FINAL_SHIFT The final shift up applied to all resampler channels before rounding and outputting. Legal values are 0-15. 4-5 R/W ROUND Round the output to 12 (ROUND=0), 16 (ROUND=1), 20 bits (ROUND=2) or 24 bits (ROUND=3). Note, ROUND must be set to 1 (16 bits). 6,7 (MSB R/W Unused ADDRESS 20: Serial Map Register, Suggested default = 0xE4 BIT TYPE NAME DESCRIPTION 0-1 LSB R/W SERIAL_MAP_A The map for serial input A. This tells the hardware which resampler channel serial input A should be directed to. 2-3 R/W SERIAL_MAP_B The map for serial input B. 4-5 R/W SERIAL_MAP_C The map for serial input C. 6-7 MSB R/W SERIAL_MAP_D The map for serial input D. This register maps resampler serial inputs to resampler channels. For most applications this will be a simple map of input A to resampler channel 0, input B to resampler channel 1, etc. However, for two channel and one channel modes the mapping is non-standard. The resampler input buffer requires that serial input D is always active, so in the single channel mode serial input D must be mapped to resampler channel 0. This requires the serial map register to be set to 0x00. For two channels, serial inputs C and D will be active and they should be mapped to resampler channels 0 and 1. This requires the serial map register to be set to 0x40. ADDRESS 21: Ratio Sync, Suggested default = 0x20 BIT TYPE NAME DESCRIPTION 0-3 LSB R/W TEST For Factory test purposes, must be set to zero. 4-6 R/W RATIO_SYNC Changes to the ratio map (address 23) are synchronized to this sync source. The sync modes are: 0,1 and 5 are “never”, 2=SIA, 3=SIB, 4=OS, and 6,7 are “always”. 7 MSB R/W Unused When processing complex input signals partial results are computed in adjacent channels that must be summed together to produce a meaningful result. This control bit informs the resampler to save the data presented to it’s input and add it to the next sample presented (if the chip is properly set up this will be from the next channel). In this manner the real and imaginary portions of the input are rejoined prior to resampling.  2002 Texas Instruments Incorporated - 39 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 RESAMPLER CONTROL PAGE 8 (continue) ADDRESS 23: Ratio Map Register Suggested default = 0x00 BIT TYPE NAME DESCRIPTION 0-1 LSB R/W RATIO_MAP_0 The ratio map for resampler channel 0. This tells the hardware which resampler ratio should be use for resampler channel 0. 2-3 R/W RATIO_MAP_1 The ratio map for resampler channel 1. 4-5 R/W RATIO_MAP_2 The ratio map for resampler channel 2. 6-7 MSB R/W RATIO_MAP_3 The ratio map for resampler channel 3. The default ratio maps select ratio 0 for all four channels. The resampler in the GC4116 must use the same ratio for all resampler channels, which means that the valid values for the ratio map are 0x00, 0x55, 0xAA and 0xFF to select ratio 0, 1, 2 or 3. The ratio maps can also be used to synchronously switch between resampling ratios. This allows the chip’s resampler to be used in timing loops where the ratio must toggle between several values which have been programmed into the chip. 5.9 RESAMPLER RATIO PAGE (PAGE 9) This page stores four resampler ratios to be used by the resampler channels. Each ratio is the 32 bit ratio of the input sample rate to the output sample rate with an implicit decimal point six bits down from the top. The total range for the ratio is then 0 to 63. The hardware limits the decimation to be less than 32 (hence the MSB of the 32 bit word should always be zero). RATIO = 226(Input Sample Rate)/(Output Sample Rate) Table 9: Resampler Ratio Page ADDRESS NAME ADDRESS NAME 16 RATIO_0 (LSBs) 24 RATIO_2 (LSBs) 17 RATIO_0 25 RATIO_2 18 RATIO_0 26 RATIO_2 19 RATIO_0 (MSBs) 27 RATIO_2 (MSBs) 20 RATIO_1 (LSBs) 28 RATIO_3 (LSBs) 21 RATIO_1 29 RATIO_3 22 RATIO_1 30 RATIO_3 23 RATIO_1 (MSBs) 31 RATIO_3 (MSBs) The ratio map register selects which ratio is used by the resampler.  2002 Texas Instruments Incorporated - 40 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.10 SLWS135A - JUNE 2002 PFIR COEFFICIENT PAGES (PAGES 16 to 31) The user programmable filter PFIR coefficients are stored using pages16 to 19 for channel A, pages 20 to 23 for channel B, pages 24 to 27 for channel C, and pages 28 to 31 for channel D. Table 10: PFIR Coefficient Pages Pages 16, 20, 24 or 28 Pages 17, 21, 25 or 29 Pages 18, 22, 26 or 30 Pages 19, 23, 27 or 31 Address Description Description Description Description 16 h0 LSBs (end tap) h8 LSBs h16 LSBs h24 LSBs 17 h0 MSBs (end tap) h8 MSBs h16 MSBs h24 MSBs 18 h1 LSBs h9 LSBs h17 LSBs h25 LSBs 19 h1 MSBs h9 MSBs h17 MSBs h25 MSBs 20 h2 LSBs h10 LSBs h18 LSBs h26 LSBs 21 h2 MSBs h10 MSBs h18 MSBs h26 MSBs 22 h3 LSBs h11 LSBs h19 LSBs h27 LSBs 23 h3 MSBs h11 MSBs h19 MSBs h27 MSBs 24 h4 LSBs h12 LSBs h20 LSBs h28 LSBs 25 h4 MSBs h12 MSBs h20 MSBs h28 MSBs 26 h5 LSBs h13 LSBs h21 LSBs h29 LSBs 27 h5 MSBs h13 MSBs h21 MSBs h29 MSBs 28 h6 LSBs h14 LSBs h22 LSBs h30 LSBs 29 h6 MSBs h14 MSBs h22 MSBs h30 MSBs 30 h7 LSBs h15 LSBs h23 LSBs h31 LSBs (center tap) 31 h7 MSBs h15 MSBs h23 MSBs h31 MSBs (center tap) Coefficient h0 is the first coefficient and coefficient h31 is the center coefficient of the filter’s impulse response. The 16 bit 2’s complement coefficients are stored in two bytes, least significant byte first, for example, the LSBs of coefficient 0 are stored in address 16 and the MSBs in address 17. TO LOAD A COEFFICIENT THE USER MUST WRITE THE LSBYTE FIRST FOLLOWED BY THE MSBYTE. Unknown values will be written into the LSBs if the MSB is written first. The coefficient registers are read/write.  2002 Texas Instruments Incorporated - 41 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 5.11 SLWS135A - JUNE 2002 RESAMPLER COEFFICIENT PAGES (PAGES 32-63) These pages store the 256 resampler coefficients. Storing resampler coefficient values is similar to storing the coefficients for the PFIR filters. The resampler coefficients are 12 bits with the 8 LSBs written in one address, and the upper 4 bits written as the 4 LSBs of the next address. When reading back resampler coefficients the top four bits of the second address always read back zero. The resampler coefficient RAM must be written in blocks of eight addresses (four coefficients). Writes to the RAM occur when a write is done to addresses 23 or 31. Supplying coefficients in sequential order will write correctly to the RAM. If just a portion of the resampler coefficient RAM is to be updated, then one must write in blocks of the eight addresses 16 to 23, or 24 to 31. Writing to less than eight addresses will either result in no change to the RAM or unknown changes to some coefficients. TO LOAD A COEFFICIENT THE USER MUST WRITE IN BLOCKS OF FOUR COEFFICIENTS. ONE MUST WRITE TO ADDRESSES 16-22 THEN ADDRESS 23 OR TO ADDRESSES 24-30 THEN ADDRESS 31. Table 11: Resampler Coefficient Pages (Single filter mode) Page Address 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 16 h0 h8 h16 h24 h32 h40 h48 h56 h64 h72 h80 h88 h96 h104 h112 h120 17 h0 h8 h16 h24 h32 h40 h48 h56 h64 h72 h80 h88 h96 h104 h112 h120 18 h1 h9 h17 h25 h33 h41 h49 h57 h65 h73 h81 h89 h97 h105 h113 h121 19 h1 h9 h17 h25 h33 h41 h49 h57 h65 h73 h81 h89 h97 h105 h113 h121 20 h2 h10 h18 h26 h34 h42 h50 h58 h66 h74 h82 h90 h98 h106 h114 h122 21 h2 h10 h18 h26 h34 h42 h50 h58 h66 h74 h82 h90 h98 h106 h114 h122 22 h3 h11 h19 h27 h35 h43 h51 h59 h67 h75 h83 h91 h99 h107 h115 h123 23 h3 h11 h19 h27 h35 h43 h51 h59 h67 h75 h83 h91 h99 h107 h115 h123 24 h4 h12 h20 h28 h36 h44 h52 h60 h68 h76 h84 h92 h100 h108 h116 h124 25 h4 h12 h20 h28 h36 h44 h52 h60 h68 h76 h84 h92 h100 h108 h116 h124 26 h5 h13 h21 h29 h37 h45 h53 h61 h69 h77 h85 h93 h101 h109 h117 h125 27 h5 h13 h21 h29 h37 h45 h53 h61 h69 h77 h85 h93 h101 h109 h117 h125 28 h6 h14 h22 h30 h38 h46 h54 h62 h70 h78 h86 h94 h102 h110 h118 h126 29 h6 h14 h22 h30 h38 h46 h54 h62 h70 h78 h86 h94 h102 h110 h118 h126 30 h7 h15 h23 h31 h39 h47 h55 h63 h71 h79 h87 h95 h103 h111 h119 h127 31 h7 h15 h23 h31 h39 h47 h55 h63 h71 h79 h87 h95 h103 h111 h119 h127 Page Address 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 16 h128 h136 h144 h152 h160 h168 h176 h184 h192 h200 h208 h216 h224 h232 h240 h248 17 h128 h136 h144 h152 h160 h168 h176 h184 h192 h200 h208 h216 h224 h232 h240 h248 18 h129 h137 h145 h153 h161 h169 h177 h185 h193 h201 h209 h217 h225 h233 h241 h249 19 h129 h137 h145 h153 h161 h169 h177 h185 h193 h201 h209 h217 h225 h233 h241 h249 20 h130 h138 h146 h154 h162 h170 h178 h186 h194 h202 h210 h218 h226 h234 h242 h250 21 h130 h138 h146 h154 h162 h170 h178 h186 h194 h202 h210 h218 h226 h234 h242 h250 22 h131 h139 h147 h155 h163 h171 h179 h187 h195 h203 h211 h219 h227 h235 h243 h251 23 h131 h139 h147 h155 h163 h171 h179 h187 h195 h203 h211 h219 h227 h235 h243 h251 24 h132 h140 h148 h156 h164 h172 h180 h188 h196 h204 h212 h220 h228 h236 h244 h252 25 h132 h140 h148 h156 h164 h172 h180 h188 h196 h204 h212 h220 h228 h236 h244 h252 26 h133 h141 h149 h157 h165 h173 h181 h189 h197 h205 h213 h221 h229 h237 h245 h253 27 h133 h141 h149 h157 h165 h173 h181 h189 h197 h205 h213 h221 h229 h237 h245 h253 28 h134 h142 h150 h158 h166 h174 h182 h190 h198 h206 h214 h222 h230 h238 h246 h254 29 h134 h142 h150 h158 h166 h174 h182 h190 h198 h206 h214 h222 h230 h238 h246 h254 30 h135 h143 h151 h159 h167 h175 h183 h191 h199 h207 h215 h223 h231 h239 h247 h255 31 h135 h143 h151 h159 h167 h175 h183 h191 h199 h207 h215 h223 h231 h239 h247 h255 Table 11 shows the coefficient register assignments when there is a single filter (NF=0). For two filters (NF=1), the two filters are interleaved, i.e., the heven in Table 11 will contain one filter and hodd will contain the other. Four four filters (NF=3), the four filters are interleaved, i.e., h0, h4, h8, ... is the first filter, h1, h5, ... is the second, etc.  2002 Texas Instruments Incorporated - 42 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 6.0 SPECIFICATIONS 6.1 ABSOLUTE MAXIMUM RATINGS SLWS135A - JUNE 2002 Table 12: Absolute Maximum Ratings CAUTION: Exceeding the absolute maximum ratings (min or max) may cause permanent damage to the part. These are stress only ratings and are not intended for operation. PARAMETER SYMBOL MIN MAX UNITS Pad Ring Supply Voltage VPAD -0.3 4.1 V Core Supply Voltage VCORE -0.3 3.0 V Input voltage (undershoot and overshoot) VIN -0.5 VPAD+0.5 V Storage Temperature TSTG -65 150 Junction Temperature under operation TJ °C °C °C 125 Lead Soldering Temperature (10 seconds) NOTES 300 1 ESD Classification Class 3A Human Body Model (4 kV) (JESD22-A114-B) Class 4 Charged Device Model (1 kV) (JESD22-C101-A) Moisture Sensitivity Class 2 1. The circuit is designed for junction temperatures up to 125C. Sustained operation above 125C junction temperature will reduce long term reliability. 6.2 RECOMMENDED OPERATING CONDITIONS Table 13: Recommended Operating Conditions PARAMETER SYMBOL MIN MAX UNITS NOTES Pad Ring Supply Voltage VPAD 3.0 3.6 V 1 Core Supply Voltage VCORE 2.3 2.7 V 1 Temperature Ambient, no air flow TA -40 +85 Junction Temperature TJ °C °C 100 1 2 1. DC and AC specifications in Tables 15 and 16 are production tested over these ranges. 2. Thermal management may be required for full rate operation, See Table 22 below and Section 6.4. 6.3 THERMAL CHARACTERISTICS Table 14: Thermal Data 160 PBGA THERMAL CONDUCTIVITY SYMBOL UNITS 0.5 Watt Theta Junction to Ambient Theta Junction to Case θJA θJC 1 Watt TBD: Estimated at 32 TBD TBD °C/W °C/W Note: Air flow will reduce θja and is highly recommended.  2002 Texas Instruments Incorporated - 43 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 6.4 SLWS135A - JUNE 2002 POWER CONSUMPTION The power consumption is a function of the operating mode of the chip. The following equation estimates the typical power supply current for the chip. Chip to chip variation is typically +/- 5%. The AC specification in Table 16 is the current tested for during production test and represents the absolute maximum power supply current. F CK I PAD (TYP) = ( V PAD )  -------- ( N o ut ) ( C out + 2pF ) 4 V CORE F CK 510 I CORE (TYP) =  -------------  -------------- 24 + A  35 + --------- + 16R mA  2.5   100M  N Where A is the number of active channels (0 to 4), N is the CIC decimation ratio, FCKis the clock rate, Nout is the number of active output data pins, and Cout is the average capacitive load on each data pin. R is one if the resampler is active, and is 0 if the resampler is off (RES_RESET=1 in address 5). The equation assumes random data transition density of 1 rising edge per four clock cycles. 6.5 DC CHARACTERISTICS Table 15: DC Operating Conditions (-40 to 85°C case unless noted) VPAD = 3.0 to 3.6V PARAMETER UNITS TEST LEVEL V IV V IV V IV V IV 1 uA IV 35 uA IV 2 mA IV SYMBOL MIN MAX Voltage input low VIL Voltage input high VIH Voltage output low (IOL = 2mA) VOL Voltage output high (IOH = -2mA) VOH Leakage current (VIN = 0V or VPAD) Inputs or Outputs in tristate condition | IIN | Pullup current (VIN = 0V) (TDI, TMS, TCK) | IPU | Quiescent supply current, ICORE or IPAD (VIN=0 or VIN=VPAD, Address 0 = F0, LVDS=0) ICCQ Data input capacitance (All inputs except CK) CIN 4 (typical) pF I Clock input capacitance (CK input) CCK 13 (typical) pF I 0.8 2.3 0.5 2.4 5 Notes: Currents are measured at nominal voltages, high temperature (85C). Voltages are measured at low speed. Output voltages are measured with the indicated current load Test Levels: I. Recommended min or max, controlled by design and process and not directly tested II. Verified on initial part evaluation. III. 100% tested at room temperature, sample tested at hot and cold. IV. 100% tested at hot, sample tested cold. V. 100% tested at hot and cold.  2002 Texas Instruments Incorporated - 44 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 6.6 SLWS135A - JUNE 2002 AC CHARACTERISTICS Table 16: AC Characteristics (-40 TO +85oC Case, unless noted) 2.3 V to 2.7 V PARAMETER UNITS TEST LEVEL MHz IV ns IV 70 % II 2 ns I SYMBOL Clock Frequency Clock low or high period MIN MAX FCK Note 1 106 tCKL/H 3 Clock Duty Cycle (tCKH as a percentage of the clock period) Clock rise and fall times (VIL to VIH) tRF Input setup before CK goes high (IN or SI) tSU 2 ns IV Input hold time after CK goes high tHD 0.8 ns IV FSCK 0 MHz IV Serial Clock low or high period tSCKL/H 3 ns IV Serial Data Setup before SCK tSSU 2 ns IV Serial Data Hold from SCK tSHD 0.8 Data output delay from rising edge of CK. (OUT, CHREQ, RSREQ, QFLG or SO) tDLY 1 5 ns IV Output skew between SCCK and SCFS tSCSK -2 2.5 ns IV Output skew between ROCK and ROFS or ROUT tROSK -2 2.5 ns IV JTAG Clock Frequency FJCK 0 40 MHz IV tJCKL/H 10 ns IV JTAG Input (TDI or TMS) setup before TCK goes high tJSU 5 ns IV JTAG Input (TDI or TMS) hold time after TCK goes high tHD 10 ns IV JTAG output (TDO) delay from rising edge of TCK. tDLY ns IV Control Setup before both CE, WR or RD go low (See section 3.1) tCSU 2 ns IV tEWCSU 4 ns IV tCHD 1 ns IV tCSPW 20 ns IV Serial Clock Frequency JTAG Clock low or high period Control data setup during writes (edge mode). (See section 3.1) Control hold after CE, WR or RD go high. (See section 3.1) Control strobe (CE or WR) pulse width (Write operation). (See section 3.1) 106 IV 10 Control recovery time between reads or writes. (See section 3.1) tREC 20 ns IV Control output delay CE and RD low to C (Read Operation). (See section 3.1) tCDLY 12 ns IV tCZ 4 ns I ICORE 460 mA IV Control tristate delay after CE and RD go high. (See section 3.1) Supply current (FCK =100MHz, N=9, all channels active). (See section 6.4) Notes: 1. The minimum clock rate must satisfy FCK/(4N) > 10KHz, where N is the CIC interpolation ratio. 2. Timing between signals is measured from mid-voltage (VPAD/2) to mid-voltage. Output loading is a 50 Ohm transmission line. Test Levels: I. Recommended min or max, controlled by design and process and not directly tested. II. Verified on initial part evaluation. III. 100% tested at room temperature, sample tested at hot and cold. IV. 100% tested at hot, sample tested cold. V. 100% tested at hot and cold.  2002 Texas Instruments Incorporated - 45 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 7.0 APPLICATION NOTES 7.1 POWER AND GROUND CONNECTIONS The GC4116 chip is a very high performance chip which requires solid power and ground connections to avoid noise on the VCC, VPAD and GND pins. If possible the GC4116 chip should be mounted on a circuit board with dedicated power and ground planes and with at least two decoupling capacitors (0.01 µf), one for VCC and one for VPAD adjacent to each side of the GC4116 chip. IMPORTANT The GC4116 chip may not operate properly if these power and ground guidelines are violated. 7.2 STATIC SENSITIVE DEVICE The GC4116 chips are fabricated in a high performance CMOS process which is sensitive to the high voltage transients caused by static electricity. These parts can be permanently damaged by static electricity and should only be handled in static free environments. The parts are tested to exceed 2 Kv human body model. 7.3 MOISTURE SENSITIVE PACKAGE The GC4116 come in level 2 moisture sensitive packages. Dry pack storage is required prior to assembly. If parts are stored out of dry pack for more than 72 hours, then parts must be baked at 100C for 24 hours prior to assembly. 7.4 THERMAL MANAGEMENT The parameters in Section 6.0 are tested at a junction temperature of 100°C. In any case, the junction temperature must be kept below 125 °C for reliable operation. To determine the junction temperature, the user should calculate the chip’s power dissipation using the equation for supply current in Section 6.4 and then use the package’s thermal conductivity shown in Section 6.3. The junction temperature is calculated by adding the operating ambient temperature (or case temperature) to the product of the power consumption times the thermal conductivity. For example, the GC4116 chip operating in the GSM mode described in Section 7.9, consumes 0.XX Watts of power. The junction to ambient rise of the 160 BGA package is XXX degrees per Watt. This represents a rise of 25 degrees over ambient. This means that under these conditions the ambient temperature has to be less than 75°C to keep the junction temperature below 100°C. Air flow will decrease the thermal resistance by 10% to 40%, allowing ambient temperatures between 78°C and 85°C. Increasing the decimation ratio (N) or decreasing the number of active channels (A) will also allow a higher ambient temperature.  2002 Texas Instruments Incorporated - 46 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 7.5 SLWS135A - JUNE 2002 REFERENCE DESIGNS Figure 16 illustrates how to use the GC4116 without the Resampler. The Serial Controller generates the serial clock and frame strobes used to clock the data out of the user’s data source ASIC or DSP chip. This configuration guarantees that the data will be received by the GC4116 at the correct times. If a serial TDM bus is used as the data source, then the single serial data source is connected to all four serial inputs of the GC4116 chip, and the CHREQ output from the GC4116 chip is used as the frame start signal to the data source chip. The four serial frame strobes are used by the GC4116 chip to identify the appropriate time slots within the TDM stream. DATA FROM OTHER GC4116 CHIPS 22 SUMI[0:21] M10 N10 L14 L11 SERIAL CLOCK INPUT USER ASIC OR DSP CHIP DATA SOURCE SERIAL FRAME STROBE INPUTS M8 M9 N14 L12 SERIAL DATA SOURCES H14 G13 E14 F12 M5 SCKD SCKC SCKB SCKA SFSD SFSC SFSB SFSA SIND SINC SINB SINA SUMO[0:21] GC4116 QUAD DUC CHIP N6 N7 P9 K13 L13 SCSTART J11 G12 G11 E13 5 CONTROL 8 INTERFACE M1 P2 L2 RSTART P6 SCCK1 SCCK0 P11 M12 SCFSD SCFSC SCFSB SCFSA P7 N9 N12 M11 RREQ RCKD RCKC RCKB RCKA RFSD RFSC RFSB RFSA CHREQ CHANNEL I/O SERIAL CONTROLLER I/O M14 M13 J13 K12 MODULATED DATA TO DAC OR OTHER GC4116 CHIPS 22 ROCK1 ROCK0 RESAMPLER I/O RIND RINC RINB RINA ROFS1 ROFS0 ROUTD ROUTC ROUTB ROUTA M6 P10 N11 P12 M7 H13 H11 F14 E12 A[0:4] C[0:7] VPAD N3 FROM SO ON OTHER GC4116 CHIPS J3 J1 J14 CLOCK J12 RD WR CE CONTROL I/O WRMODE SIB SIA SO CK J2 TO SIA OR SIB INPUTS ON OTHER GC4116 CHIPS CK2X GND Figure 16. Reference Design Without the Resampler  2002 Texas Instruments Incorporated - 47 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 Figure 17 illustrates how the resampler section is used with the GC4116. As in the previous configuration, TDM serial data can be handled by connecting all four resampler serial inputs to the single TDM source and using the RREQ output as the start of frame signal. In this configuration the resampler outputs drive the channel inputs directly, and the Serial Controller is used to drive the resampler input timing. DATA FROM OTHER GC4116 CHIPS 22 SUMI[0:21] M10 N10 L14 L11 M8 M9 N14 L12 H14 G13 E14 F12 M5 SCKD SCKC SCKB SCKA SFSD SFSC SFSB SFSA SIND SINC SINB SINA SUMO[0:21] GC4116 QUAD DUC CHIP N6 USER ASIC OR DSP CHIP DATA SOURCE SERIAL CLOCK INPUT SERIAL FRAME STROBE INPUTS N7 P9 K13 L13 SCSTART SERIAL DATA SOURCES J11 G12 G11 E13 5 CONTROL 8 INTERFACE M1 P2 L2 RSTART P6 SCCK1 SCCK0 P11 M12 SCFSD SCFSC SCFSB SCFSA P7 N9 N12 M11 RREQ RCKD RCKC RCKB RCKA RFSD RFSC RFSB RFSA CHREQ CHANNEL I/O SERIAL CONTROLLER I/O M14 M13 J13 K12 MODULATED DATA TO DAC OR OTHER GC4116 CHIPS 22 ROCK1 ROCK0 RESAMPLER I/O RIND RINC RINB RINA ROFS1 ROFS0 ROUTD ROUTC ROUTB ROUTA M6 P10 N11 P12 M7 H13 H11 F14 E12 A[0:4] C[0:7] VPAD N3 FROM SO ON OTHER GC4116 CHIPS J3 J1 J14 CLOCK J12 RD WR CE CONTROL I/O WRMODE SIB SIA SO CK J2 TO SIA OR SIB INPUTS ON OTHER GC4116 CHIPS CK2X GND Figure 17. Reference Design Using the Resampler  2002 Texas Instruments Incorporated - 48 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 7.6 SLWS135A - JUNE 2002 EXAMPLE PFIR FILTER SETS Texas Instruments has created default 63 tap PFIR filters for input bandwidths ranging from 17% to 80% of the input sample rate. These filters are available as PFIR_%%.taps, where %% is the percent bandwidth. Electronic versions of these filter tap files can be downloaded from www.ti.com as a Designer’s Kit. Search for GC4116 and select the GC4116 Designer’s Kit. 7.7 EXAMPLE RESAMPLER CONFIGURATIONS The GC4016 resampler filters can be used in the GC4116. See Section 7.7 of the GC4016 data sheet. Electronic versions of these filter tap files can be downloaded from www.ti.com as a Designer’s Kit. Search for GC4116 and select the GC4116 Designer’s Kit. 7.8 EXAMPLE GSM APPLICATION Figure 11(b) in Section 3.4 shows the chip’s transmit filter response for a GSM application. The response assumes that the GSM data has been GMSK phase modulated to I/Q data at two samples per bit (541.667KHz). The PFIR filter is a 29 tap filter optimized to meet both the power ramp up and down requirements and the transmit mask requirements. The PFIR filter should be used in the non-symmetric mode (NOSYM=1 in address 1). The first 15 taps of the 29 tap pfir_gsm2x.taps filter are: -9 -69 -140 23 403 210 -833 -868 1375 2332 -1918 -5682 2322 20367 30224 The remaining 14 taps are mirror images of the first 14. The filter should be followed by 2 zero valued taps to fit the 32 tap PFIR memory. An electronic version of these taps can be downloaded from www.ti.com as part of the Designer’s Kit. Search for GC4116 and select the GC4116 Designer’s Kit. The taps are called pfir_gsm2x.taps. 7.9 EXAMPLE IS-136 DAMPS APPLICATION Figure 11(a) in Section 3.4 shows the chip’s transmit filter response in the IS136-DAMPS mode. The input data is QPSK samples at the DAMPS symbol rate of 24.3KHz. The resampler interpolates and root-raise-cosine (RRC, alpha=0.35) filters the symbols and inputs them to the channels at 4X (RATIO=0x01000000). The resampler is set up with NMULT = 15 to give a 480 tap resampler filter (damps_res.taps). The PFIR filter is the pfir_34.taps filter. The damps_res.taps and pfir_34.taps filters are available in the GC4116 Designer’s kit from www.ti.com. Search for GC4116 and select the GC4116 Designer’s Kit. 7.10 EXAMPLE IS-95 NB-CDMA (CDMA2000-1X) APPLICATION Figure 11(c) in Section 3.4 shows the chip’s transmit filter response in the IS95 CDMA mode. This mode uses a specially designed 31 tap interpolate by 2 PFIR filter which merges the IS95 48 tap interpolate by 4 transmit filter with the IS95 phase pre-distortion. The resultant filter has a mean squared sum error relative to the ideal filter of 0.000001 and a maximum squared phase error of 0.000023. These well exceed the requirement of 0.03 for the magnitude error and 0.01 for the phase error. The PFIR filter must be operated in the non-symmetric mode (NOSYM=1 in address1). The 31 taps for the pfir_is95.taps filter are: -479 176 894 -291 -2299 -528 3503 2097 -3030 -415 8046 5207 -8910 -9401 13148 32663 26531 7746 -760 849 481 -2393 -1632 1561 2509 658 -229 -443 -350 -189 -65 The last tap should be set to zero to pad out the filter to 32 taps. An electronic version of these taps can be downloaded from www.ti.com as part of the Designer’s Kit. Search for GC4116 and select the GC4116 Designer’s Kit. The taps are called pfir_is95.taps. The designer’s kit also includes an example IS95 configuration file with suggested register settings.  2002 Texas Instruments Incorporated - 49 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP 7.11 SLWS135A - JUNE 2002 EXAMPLE UMTS WB-CDMA APPLICATION The wideband input mode (splitIQ, See Section 3.3.4) is used to transmit two 3.84MBaud UMTS signals. In this mode channels A and B work together to modulate one UMTS carrier, and channels C and D work together to modulate the second UMTS carrier. The output sample rate will be 4N times 3.84MHz, where N (the CIC interpolation factor) varies from 4 to 6. The transmit filter response using a root-raised-cosine (RRC) response with an alpha of 0.22 for the PFIR is shown in Figure 11(d). The 63 tap RRC filter has been optimized to minimize the adjacent band rejection while preserving the zero inter-symbol-interference (ISI) characteristics of the RRC filter shape. The PFIR coefficients for this mode are pfir_umts.taps. The overall filter response for the case where N=16 is generated by convolving the PFIR filter, CFIR filter and the CIC filter together, where the PFIR filter has been zero padded by a factor of 8 and the CFIR filter has been zero padded by a factor of four. This overall response can be convolved with an ideal, interpolate by 16, RRC filter in order to calculate the Error Vector Magnitude (EVM) performance of the GC4116. The EVM measurement is the ratio of the peak convolved value with the RMS value of the values spaced by 16 samples from the peak. The resulting EVM for the GC4116 is 0.3%, well within the 17.5% requirement. The EVM performance is dominated by the PFIR and CFIR filter, so that the EVM measurement of 0.3% is valid for other values of N. An electronic version of these taps can be downloaded from www.ti.com as part of the Designer’s Kit. Search for GC4116 and select the GC4116 Designer’s Kit. The pfir taps are called “pfir_umts.taps”, the overall transmit filter response, including the CFIR and CIC filter response for N=4 is called “umts_overall.taps”. The Designer’s kit also includes an example UMTS register configuration. 7.12 DIAGNOSTICS Four diagnostic test configurations are available in the Designer’s Kit at www.ti.com. Search for GC4116 and select the GC4116 Designer’s Kit. Each diagnostic is run by loading the configuration, resetting the chip by setting address 5 to 0xff, and then releasing the chip by setting address 5 to 0x00. The expected checksum for the test can be read from address 30 of page 0 after about 4 million clocks. The diagnostic test configurations are available at www.ti.com as part of the Designer’s kit. 7.13 OUTPUT TEST CONFIGURATION The output test puts the chip in a mode that outputs the alternating pattern 0xaaa8 0x5558. The register configuration for this mode is called output.config and is available in the GC4116 Designer’s kit on the web. 7.14 INPUT TEST CONFIGURATION The input test is used to verify that the serial input timing is correct. The test is run by configuring the chip into the user’s desired mode of operation, but using the parallel input mode to initially verify the chip’s operation. The input data in the parallel mode will be the complex samples loaded into the Channel Input Page (page 3). Suggested values are I=0x3000 and Q=0xe001. The output spectrum should be four tones, one for each channel. The parallel input mode is selected by setting the Channel Input register (page 5, address 16) to 0xf0. Once the desired configuration is working when using the parallel input mode, the user can switch to the serial input mode and send the same input data to the chip using the serial input ports. The serial input mode is selected by clearing the upper four bits in the Channel Input register, and setting the lower four bits to their desired values. The output spectrum should look the same as for the parallel mode. Confirm the serial timing by using an oscilloscope or logic analyzer. The critical timing is the relationship of the frame syncs (SFx) to the serial data as shown in Figure 4, and the timing of the LSB of the Q sample relative to CHREQ. The LSB of the Q sample must arrive at the GC4116 at least 3 CK clocks before the GC4116 outputs CHREQ.  2002 Texas Instruments Incorporated - 50 - This document contains information which may be changed at any time without notice GC4116 MULTI-STANDARD QUAD DUC CHIP SLWS135A - JUNE 2002 Texas Instruments reserves the right to make changes in circuit design and/or specifications at any time without notice. The user is cautioned to verify that datasheets are current before placing orders. Information provided by Texas Instruments is believed to be accurate and reliable. No responsibility is assumed by Texas Instruments for its use, nor for any infringement of patents or other rights of third parties which may arise from its use. No license is granted by implication or otherwise under any patent rights of Texas Instruments.  2002 Texas Instruments Incorporated - 51 - This document contains information which may be changed at any time without notice GC4116 REGISTER ASSIGNMENT QUICK REFERENCE GUIDE. Address Global 0 Sync Mode 1 Int Mode DIAG_SYNC (SIA) 2 Int Gain - 3 Int Byte 0 4 Int Byte 1 5 Reset 6 Counter Byte 0 CNT[0:7] 7 Counter Byte 1 CNT[7:15] 8 Chan A Sync DITHER_SYNC (SIB) NCO_SYNC (SIB) PHASE_SYNC (SIB) FREQ_SYNC (SIB) 5F Page 0 Name 6 ONE_SHOT USE_OS 5 4 3 OUTPUT_SYNC (SIA) DIAG 2 1 COUNTER_SYNC (SIA) NOSYM TEST INT_SYNC (SIA) GAIN_SYNC BIG_SHIFT 0(LSB) SPLIT_IQ REAL 07 INT[0:7] GLOBAL 00 INT[8:13] PAD_RESET NOCK_RESET RES_RESET 00 09 SCALE - E9 then 69 RESET_C RESET_D RESET_B RESET_A FF then 00 00 00 9 Chan B Sync DITHER_SYNC (SIB) NCO_SYNC (SIB) PHASE_SYNC (SIB) FREQ_SYNC (SIB) 5F 10 Chan C Sync DITHER_SYNC (SIB) NCO_SYNC (SIB) PHASE_SYNC (SIB) FREQ_SYNC (SIB) 5F 11 Chan D Sync DITHER_SYNC (SIB) NCO_SYNC (SIB) PHASE_SYNC (SIB) FREQ_SYNC (SIB) 5F 12 Flush FLUSH_D (SIA) FLUSH_C (SIA) FLUSH_B (SIA) FLUSH_A (SIA) 55 13 Miscellaneous OS_MODE 4_OUT_MODE DIS_CK_LOSS CK2X_TEST EXT_CK2X CMPLX_OUT MSB_INVERT NO_AUTO_FL 80 14 Status CK_LOSS RES_OVFLW SUMIO_OVFL CHAN_OVFLW RES_MISSED RES_IN_RDY CHAN_MISSD CHAN_IN_RDY 00 15 Page 16,17,18,19 FREQ_A 20,21 PHASE_A Frequency 24,25,26,27 FREQ_B and Phase 28,29 PHASE_B A,B 30 Checksum 31 - PAGE 32 bit channel A tuning frequency, LSBs in 16, MSBs in 19, FREQ = 232F/FCK 16 bit channel A phase, LSBs in 20, MSBs in 21, PHASE=216P/2π 32 bit channel B tuning frequency, LSBs in 24, MSBs in 27, FREQ = 232F/FCK 16 bit channel B phase, LSBs in 28, MSBs in 29, PHASE=216P/2π CHECKSUM REVISION Revision Page 1 16,17,18,19 FREQ_C Frequency 20,21 PHASE_C and 24,25,26,27 FREQ_D Phase A,B 28,29 PHASE_D 32 bit channel C tuning frequency, LSBs in 16, MSBs in 19, FREQ = 232F/FCK 16 bit channel C phase, LSBs in 20, MSBs in 21, PHASE=216P/2π 32 bit channel D tuning frequency, LSBs in 24, MSBs in 27, FREQ = 232F/FCK 16 bit channel D phase, LSBs in 28, MSBs in 29, PHASE=216P/2π 00 00000000 0000 00000000 0000 read only read only 00000000 0000 00000000 0000 16 GAIN_A 8 bit input gain (G) for channel A. GAIN = G/128 80 17 GAIN_B 8 bit input gain (G) for channel B. GAIN = G/128 80 18 GAIN_C 8 bit input gain (G) for channel C. GAIN = G/128S 80 19 GAIN_D 8 bit input gain (G) for channel D. GAIN = G/128 80 16,17 CHAN_A_I Channel A Input Data, I-Half. LSBs in 16, MSBs in 17 00 18,19 CHAN_A_Q Channel A Input Data, Q-Half. LSBs in 18, MSBs in 19 00 20,21 CHAN_B_I Channel B Input Data, I-Half. LSBs in 20, MSBs in 21 00 22,23 CHAN_B_Q Channel B Input Data, Q-Half. LSBs in 22, MSBs in 23 00 24,25 CHAN_C_I Channel C Input Data, I-Half. LSBs in 24, MSBs in 25 00 26,27 CHAN_C_Q Channel C Input Data, Q-Half. LSBs in 26, MSBs in 27 00 28,29 CHAN_D_I Channel D Input Data, I-Half. LSBs in 28, MSBs in 29 00 30,31 CHAN_D_Q Channel D Input Data, Q-Half. LSBs in 30, MSBs in 31 00 16,17 RES_A_I Resampler A Input Data, I-Half. LSBs in 16, MSBs in 17 00 18,19 RES_A_Q Resampler A Input Data, Q-Half. LSBs in 18, MSBs in 19 00 20,21 RES_B_I Resampler B Input Data, I-Half. LSBs in 20, MSBs in 21 00 22,23 RES_B_Q Resampler B Input Data, Q-Half. LSBs in 22, MSBs in 23 00 24,25 RES_C_I Resampler C Input Data, I-Half. LSBs in 24, MSBs in 25 00 26,27 RES_C_Q Resampler C Input Data, Q-Half. LSBs in 26, MSBs in 27 00 28,29 RES_D_I Resampler D Input Data, I-Half. LSBs in 28, MSBs in 29 00 30,31 RES_D_Q Resampler D Input Data, Q-Half. LSBs in 30, MSBs in 31 00 16-19 16-31 PFIR_A Taps 32 PFIR Coefficients for channel A. Load LSBs in even addresses, MSBs in odd addresses 20-23 16-31 PFIR_B Taps 32 PFIR Coefficients for channel B. Load LSBs in even addresses, MSBs in odd addresses 24-27 16-31 PFIR_C Taps 32 PFIR Coefficients for channel C. Load LSBs in even addresses, MSBs in odd addresses 28-31 16-31 PFIR_D Taps 32 PFIR Coefficients for channel D. Load LSBs in even addresses, MSBs in odd addresses Page 2 Input Gain Page 3 Channel Inputs Page 4 Resampler Inputs P F I R 7(MSB) Suggested Default Page Texas Instruments Incorporated SYNC MODE SYNC SOURCE 0 off (never asserted) 1 SIA or SIB, See each sync for (SIA) or (SIB) 2 TC (OS if USE_OS is set) 3 on (always active) SLWS135A - JUNE 2002 GC4116 REGISTER ASSIGNMENT QUICK REFERENCE GUIDE Page I O 5 C O N T R O L R E S A M P L E R 8 9 32-63 Address Name 7(MSB) 6 5 4 3 2 1 0(LSB) Suggested Default 16 (0x10) Channel Input PARALLEL_D PARALLEL_C PARALLEL_B PARALLEL_A SFS_POL SCK_POL - PACKED 01 17 (0x11) Resampler Input RES_PAR_D RES_PAR_C RES_PAR_B RES_PAR_A RFS_POL RCK_POL SC_MODE RES_PACKED 03 18 (0x12) Resampler Out ROFS_POL ROCK_POL 19 (0x13) Sum IO Mode ROCK_SYNC (See below) SUM_CLEAR SUM_DELAY 51 ROCK_RATE SUM_SCALE 20 (0x14) Serial Controller 21 (0x15) SC Frame Count 22 (0x16) SC FS Delay A,B SC_FRAME_DELAY_B SC_FRAME_DELAY_A 23 (0x17) SC FS Delay C,D SC_FRAME_DELAY_D SC_FRAME_DELAY_C 24 (0x18) Output Enables SCCK_SYNC (See Below) RREQ_POL Res Clock Divder 16 (0x10) N-Channels - 17 (0x11) N-Multiplies - 18 (0x12) Filter Select Final Shift 20 (0x14) Serial Map CHREQ_POL Ratio Sync 22 (0x16) unused 23 (0x17) Ratio Map 51 SCCK_RATE - SO_EN 17 SC_EN REQ_EN RES_EN 11 11 SUM_EN NF=(NFILTER-1) NO_SYM_RES FILTER_SEL_2 - 0E FILTER_SEL_1 ROUND (Must be set to 1 for 16B) SERIAL_MAP_D - 23 NC =(NCHAN-1) NM=(NMULT-1) FILTER_SEL_3 FILTER_SEL_0 00 SERIAL_MAP_A E4 14 FINAL_SHIFT SERIAL_MAP_C SERIAL_MAP_B RATIO_SYNC 70 TEST (must be 0) 00 RATIO_MAP_3 RATIO_MAP_2 1F 00 Unused, must be set to 0 RES_SYNC - 21 (0x15) SCCK_POL SC_FRAME_CNT 25 (0x19) 19 (0x13) SCFS_POL B8 SUM_ROUND RATIO_MAP_1 00 RATIO_MAP_0 16-19 Res Ratio 0 RATIO_0, Resampler ratio 0. RATIO = 226(Resampler input sample rate)/(Resampler output sample rate) 04000000 20-23 Res Ratio 1 RATIO_1, Resampler ratio 1. 04000000 24-27 Res Ratio 2 RATIO_2, Resampler ratio 2. 04000000 28-31 Res Ratio 3 RATIO_3, Resampler ratio 3. 04000000 16-31 Filter Taps Resampler Coefficients, 8 LSBs in even addresses, 4 MSBs in odd addresses. (Must be loaded in the blocks 16-23 and 24-31) GAIN = Sync Circuit  G   PFIR_SUM  -   ----------------------------   ------- 128   65536  Mode 1 { N 4 2 –(SCALE + 12 × BIG_SHIFT + 3 ) } { 2SUM_SCALE – 6 } Description Default Sync Circuit RES_GAIN = Mode 1 FINAL_SHIFT RES_SUM ( --------------------------------------------) 32768 × NDELAY ) ( 2 Description Default INT_SYNC SIA Interpolation control counter. Sets timing of CHREQ. 1(SIA) GAIN_SYNC SIB A single bit sync selection. GAIN_SYNC=0 means the gain is applied immediately. GAIN_SYNC=1 means the gain is applied after SIB. 0 COUNTER_ SYNC SIA Internal sync counter. Generates TC sync. Mode 2 is always ONE_SHOT 2 (OS) DIAG_SYNC SIA Selects when to start the diagnostic ramp and to store the diagnostic checksum. 2 (TC) OUTPUT_ SYNC SIA The output sync (SO) selection. 2 (TC) FREQ_SYNC SIB Selects when new frequency settings take effect. 3 (on) ROCK_SYNC SIA Syncs the resampler’s serial output clock. Mode 2 is SIB. PHASE_SYNC SIB Selects when new phase settings take effect. 3 (on) SCCK_SYNC SIA Syncs the serial controller’s serial output clock. Mode 2 is SIB. NCO_SYNC SIB Reset the NCO phase accumulator 0 (off) RES_SYNC Note 1 Syncs the resampler during initialization DITHER_ SYNC SIB Clears the NCO dither circuit. 0 (off) RATIO_SYNC Note 1 Selects when a new resampler ratio takes effect. FLUSH _ (A,B,C,D) SIA Starts a flush of the channel 1 (SIA) Note 1: These use a 3 bit sync mode selection where modes 0,1 and 5 are “off”, mode 2 is SIA, mode 3 is SIB, mode 4 is ONE_SHOT, and modes 6 and 7 are “on”. Texas Instruments Incorporated SLWS135A - JUNE 2002 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DSP dsp.ti.com Broadband www.ti.com/broadband Interface interface.ti.com Digital Control www.ti.com/digitalcontrol Logic logic.ti.com Military www.ti.com/military Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork Microcontrollers microcontroller.ti.com Security www.ti.com/security Telephony www.ti.com/telephony Video & Imaging www.ti.com/video Wireless www.ti.com/wireless Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright  2004, Texas Instruments Incorporated
GC4116-PBZ 价格&库存

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

免费人工找货