![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
rev. 0 information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. a ad6622 one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781/329-4700 world wide web site: http://www.analog.com fax: 781/326-8703 ? analog devices, inc., 2000 four-channel, 75 msps digital transmit signal processor (tsp) functional block diagram ch a ch b ch c ch d rcf nco 18 18 port cic filter sport sport sport sport rcf rcf rcf cic filter cic filter cic filter nco nco nco jtag summation features wideband digital if parallel output wideband digital if parallel input allows cascade of chips for additional channels programmable if and modulation for each channel programmable interpolating ram coef?cient filter high-speed cic interpolating filter nco frequency translation worst spur better than 100 dbc tuning resolution better than 0.02 hz real or complex outputs digital summation of channels clipped or wrapped overrange twos complement or offset binary output separate 3-wire serial data input for each channel microprocessor control jtag boundary scan applications cellular/pcs base stations micro/pico cell base stations wbcdma wireless local loop base stations phase array beam forming antennas product description the ad6622 comprises four identical digital transmit signal processors (tsps) complete with synchronization circuitry and cascadable wideband channel summation. an external digital- to-analog converter (dac) is all that is required to complete a wide band digital up-converter. on-chip tuners allow the rela tive phase and frequency for each rf carrier to be independently controlled. each tsp has three cascaded signal processing elements: a ram-programmable coef?ient interpolating filter (rcf), a programmable cascaded integrator comb (cic) interpolating lter, and a numerically controlled oscillator/tuner (nco). the outputs of the four tsps are summed and scaled on-chip. in multichannel wideband transmitters, multiple ad6622s may be combined using the chip? cascadable output summation stage. each channel provides independent serial data inputs that may be directly connected to the serial port of dsp chips. user pro- grammable fir ?ters can be used to ?ter linear inputs. all control registers and coef?ient values are programmed through a generic microprocessor interface. two microprocessor bus modes are supported. all inputs and outputs are lvcmos compatible. all outp uts are lvcmos and 5 v ttl compatible.
C2C rev. 0 ad6622?pecifications recommended operating conditions test ad6622as parameter level min typ max unit vdd iv 2.4 3.0 3.3 v t ambient iv ?0 +25 +70 c electrical characteristics test ad6622as parameter (conditions) temp level min typ max unit logic inputs (5 v tolerant) 3.0 v cmos logic compatibility full logic ??voltage full iv 2.0 vdd + 0.3 v logic ??voltage full iv ?.3 +0.8 v logic ??current full iv 1 10 a logic ??current full iv 1 10 a input capacitance 25 cv 4 pf logic outputs logic compatibility full logic ??voltage (i oh = 0.25 ma) full iv vdd ?0.05 vdd ?0.035 v logic ??voltage (i ol = 0.25 ma) full iv 0.02 0.05 v idd supply current clk = 60 mhz, 3.3 v 1 full iv 506 566 1 ma clk = gsm example v 297 2 ma clk = is-136 example v 240 2 ma clk = wbcdma example v 209 2 ma sleep mode full iv 0.1 0.5 ma power dissipation clk = 60 mhz, 3.3 v 1 full iv 1.77 1.87 w clk = gsm example v 0.89 2 w clk = is-136 example v 0.72 2 w clk = wbcdma example v 0.627 2 w sleep mode full iv 0.33 1.65 mw notes 1 this speci?ation denotes an absolute maximum supply current for the device. the conditions include all channels active, minimu m interpolation in both cic stages, maximum switching of input data, and maximum vdd of 3.3 v. in an actual application the power will be less; see the ther mal management section of the data sheet for further details. 2 gsm interpolation = 120 at 65 mhz, 4 channels active, is-136 interpolation = 2560 at 62.208 mhz, 4 channels active. wbcdma inte rpolation = 64, 4 channels interleaved at 61.44 mhz. speci?ations subject to change without notice. ad6622 C3C rev. 0 timing characteristics 1 test ad6622as name parameter (conditions) temp level min typ max unit clk timing requirements : t clk clk period full iv 13.3 ns t clkl clk width low full iv 5.5 0.5 t clk ns t clkh clk width high full iv 5.5 0.5 t clk ns reset timing requirements : t resl reset width low full iv 30.0 ns input wideband data timing requirements : t si input to clk setup time full iv 0.5 ns t hi input to clk hold time full iv 3.5 ns parallel output switching characteristics : t so clk to output setup time full iv 12 ns t ho clk to output hold time full iv 4.1 ns t zo output three-state time full v 5 ns sync timing requirements : t ss sync to clk setup time full iv 2.6 ns t hs sync to clk hold time full iv 1.5 ns serial port timing requirements : t dsclk clk to sclk delay full v 8.5 ns t dsdfs sclk to sdfs delay full iv ?.2 +2.4 ns t ssi sdi to sclk setup time full iv 8.5 ns t hsi sdi to sclk hold time full iv 5.5 ns t scs serial clock skew full iv 7 ns microprocessor port, mode inm (mode = 0) mode inm write timing : t hwr wr (r/ w ) to rdy( dtack ) hold time full iv 0 ns t sam address/data to wr (r/ w ) setup time full iv 0 ns t ham address/data to rdy( dtack ) hold time full iv 0 ns t drdy wr (r/ w ) to rdy( dtack ) delay full iv 10.2 ns t acc fast wr (r/ w ) to rdy( dtack ) high delay full iv 2 t clk 3 t clk ns t acc medium wr (r/ w ) to rdy( dtack ) high delay full iv 3 t clk 4 t clk ns t acc slow wr (r/ w ) to rdy( dtack ) high delay full iv 4 t clk 5 t clk ns mode inm read timing : t sam address to rd ( ds ) setup time full iv 0 ns t ha address to data hold time full iv 0 ns t zd data three-state delay full iv 3.4 7 10.5 ns t dd rdy( dtack ) to data delay full iv t clk ?10 ns t drdy rd ( ds ) to rdy( dtack ) delay full iv 10.2 ns t acc fast rd ( ds ) to rdy( dtack ) high delay full iv 2 t clk 3 t clk ns t acc medium rd ( ds ) to rdy( dtack ) high delay full iv 3 t clk 4 t clk ns t acc slow rd ( ds ) to rdy( dtack ) high delay full iv 4 t clk 5 t clk ns (c load = 40 pf, all outputs unless speci?d) ad6622 C4C rev. 0 test ad6622as name parameter (conditions) temp level min typ max unit microprocessor port, mode mnm (mode = 1) mode mnm write timing : t hds ds ( rd ) to dtack (rdy) hold time full iv 0 ns t hrw r/ w ( wr ) to dtack (rdy) hold time full iv 0 ns t sam address/data to r/ w ( wr ) setup time full iv 0 ns t ham address/data to r/ w ( wr ) hold time full iv 0 ns t ddtack ds ( rd ) to dtack (rdy) delay full iv 1 t clk ns t acc fast r/ w ( wr ) to dtack (rdy) low delay full iv 2 t clk 3 t clk ns t acc medium r/ w ( wr ) to dtack (rdy) low delay full iv 3 t clk 4 t clk ns t acc slow r/ w ( wr ) to dtack (rdy) low delay full iv 4 t clk 5 t clk ns mode mnm read timing : t sam address to ds ( rd ) setup time full iv 0 ns t ha address to data hold time full iv 0 ns t zd data three-state delay full iv 0 ns t dd dtack (rdy) to data delay full iv t clk ?10 ns t ddtack ds ( rd ) to dtack (rdy) delay full iv 1 t clk ns t acc fast ds ( rd ) to dtack (rdy) low delay full iv 2 t clk 3 t clk ns t acc medium ds ( rd ) to dtack (rdy) low delay full iv 3 t clk 4 t clk ns t acc slow ds ( rd ) to dtack (rdy) low delay full iv 4 t clk 5 t clk ns notes 1 all timing speci?ations valid over vdd range of 2.4 v to 3.3 v. speci?ations subject to change without notice. clk out[17:0], qout t clk t clkl t clkh t zo t ho t zo oen t so figure 1. parallel output switching characteristics clk sclk sdfs sdi clkn datan t dsclk t dsdfs t dsdfs t ssi t hsi figure 2. serial port switching characteristics clk in[17:0], qin t si t hi figure 3. wideband input timing sync clk t ss t hs figure 4. sync timing inputs ad6622 C5C rev. 0 wr (r/ w ) rd ( ds ) cs a[2:0] d[7:0] rdy ( dtack ) t hwr t sam t ham t sam t ham t drdy t acc valid address valid data 1. t acc access time depends on the address accessed. access time is measured from the fe of wr to the re of rdy. 2. t acc fast requires a maximum of three clk periods and applies to a[2:0] = 7, 6, 5, 3, 2, 1 3. t acc medium requires a maximum of four clk periods and applies to a[2:0] = 4 and 0 if the access is to a control register versus a ram register. 4. t acc slow requires a maximum of five clk periods and applies to a[2:0] = 0 when accessing ram registers. figure 5. inm microport write timing requirements wr (r/ w ) rd ( ds ) cs a[2:0] d[7:0] rdy ( dtack ) t sam t acc valid address t zd t drdy valid data t dd t ha t zd 1. t acc access time depends on the address accessed. access time is measured from the fe of wr to the re of rdy. 2. t acc fast requires a maximum of three clk periods and applies to a[2:0] = 7, 6, 5, 3, 2, 1 3. t acc medium requires a maximum of four clk periods and applies to a[2:0] = 4 and 0 if the access is to a control register versus a ram register. 4. t a cc slow requires a maximum of five clk periods and applies to a[2:0] = 0 when accessing ram registers. figure 6. inm microport read timing requirements ad6622 C6C rev. 0 1. t acc access time depends on the address accessed. access time is measured from the fe of ds to the fe of dtack . 2. t acc fast requires a maximum of four clk periods and applies to a[2:0] = 7, 6, 3, 2, 1 3. t acc medium requires a maximum of five clk periods and applies to a[2:0] = 4, 5, and 0 if the access is to a control register versus a ram register. 4. t acc slow requires a maximum of six clk periods and applies to a[2:0] = 0 when accessing ram registers. r/ w ( wr ) ds ( rd ) cs a[2:0] d[7:0] dtack (rdy) t hrw t sam t ham t sam t ham t acc valid address valid data t ddtack t hds figure 7. mnm microport write timing requirements 1. t acc access time depends on the address accessed. access time is measured from the fe of ds to the fe of dtack . 2. t acc fast requires a maximum of four clk periods and applies to a[2:0] = 7, 6, 3, 2, 1 3. t acc medium requires a maximum of five clk periods and applies to a[2:0] = 4, 5, and 0 if the access is to a control register versus a ram register. 4. t acc slow requires a maximum of six clk periods and applies to a[2:0] = 0 when accessing ram registers. r/ w ( wr ) ds ( rd ) cs a[2:0] d[7:0] dtack (rdy) t sam t acc valid address t zd valid data t dd t ha t zd t hds t ddtack figure 8. mnm microport read timing requirements ad6622 C7C rev. 0 absolute maximum ratings * supply voltage . . . . . . . . . . . . . . . . . . . . . . . . ?.3 v to +3.6 v input voltage . . . . ?.3 v to vdd +0.3 v (not 5 v tolerant) in[17:0], qin, oen input voltage . . . . . . . . . . . . . ?.3 v to +3.6 v (5 v tolerant) clk, reset , ds , r/ w , mode, a[2:0], d[7:0], sync, trst , tck, tms, tdi, sdina, sdinb, sdinc, sdind output voltage swing . . . . . . . . . . . . ?.3 v to vdd + 0.3 v load capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 pf junction temperature under bias . . . . . . . . . . . . . . . . . 125 c storage temperature range . . . . . . . . . . . . ?5 c to +150 c lead temperature (5 sec) . . . . . . . . . . . . . . . . . . . . . . . 280 c * stresses greater than those listed above may cause permanent damage to the device. these are stress ratings only; functional operation of the devices at these or any other conditions greater than those indicated in the operational sections of this speci?ation is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. thermal characteristics 128-lead mqfp: ja = 33 c/w, no airflow ja = 27 c/w, 200 lfpm airflow ja = 24 c/w, 400 lfpm airflow jc = 5.5 c/w thermal measurements made in the horizontal po sition on a 2-layer board. explanation of test levels i. 100% production tested. ii. 100% production tested at 25 c, and sample tested at speci?d temperatures. iii. sample tested only. iv. parameter guaranteed by design and analysis. v. parameter is typical value only. vi. 100% production tested at 25 c, and sample tested at temperature extremes. ordering guide model temperature range package description package option ad6622as ?0 c to +70 c (ambient) 128-lead mqfp (metric quad flatpack) s-128a ad6622s/pcb evaluation board with ad6622 and software caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the ad6622 features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high-energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. warning! esd sensitive device ad6622 C8C rev. 0 pin configuration gnd tms tdo tdi sclka sdfsa sdina sclkb sdfsb gnd gnd gnd sdinb sclkc sdfsc sdinc vdd gnd vdd vdd sclkd sdfsd sdind gnd vdd gnd gnd tck trst gnd gnd in0 gnd gnd in1 in2 in3 in4 vdd in5 in6 in7 in8 gnd gnd in16 gnd gnd in17 qin gnd gnd clk vdd gnd gnd in9 in10 in11 in12 vdd in13 in14 in15 d7 gnd gnd gnd d6 gnd gnd sync reset cs vdd a0 a1 a2 mode gnd gnd vdd gnd r/ w ( wr ) dtack (rdy) ds ( rd ) d0 d1 d2 d3 d4 gnd vdd d5 gnd gnd gnd oen gnd gnd gnd out0 out1 out2 gnd out3 out4 out5 out6 vdd out7 out8 out9 out10 gnd gnd gnd out11 out12 out13 out14 vdd out15 out16 out17 qout gnd gnd 92 93 95 90 91 88 89 87 96 86 94 81 82 83 84 79 80 78 76 77 85 75 73 74 71 72 69 70 67 68 65 98 99 101 97 102 100 11 10 16 15 14 13 18 17 20 19 22 21 12 24 23 26 25 28 27 30 29 32 31 5 4 3 2 7 6 9 8 1 34 33 36 35 38 37 pin 1 identifier top view (not to scale) ad6622 120 121 122 123 124 125 126 127 128 119 111 118 117 116 115 114 113 112 110 109 108 107 106 105 104 103 41 42 43 44 46 47 48 49 39 45 40 62 61 60 64 63 59 55 50 51 52 53 54 56 57 58 66 denotes i/o power pin denotes core power pin ad6622 C9C rev. 0 pin function descriptions pin number name type description 1, 3?, 9, 19?1, 31, 32, gnd p ground connection 34?6, 38, 39, 42, 52?4, 63?5, 68, 69, 72, 73, 83?5, 95, 96, 98, 99, 102, 103, 105, 115?17, 126, 128 2 oen i active high output enable pin (actively pulled down if not conn ected) (not 5 v tolerant) 27?9, 22?5, 15?8, 10?3, out[17:0] o/t wideband output data 6? 14, 26, 41, 47, 122 vdd p +3.0 v supply (i/o supply) 59, 66, 78, 90, 104, 110, 127 vdd p +3.0 v supply (core supply) 30 qout o/t indicates q output data (complex output mode) 33, 37, 40, 43?6, 48 d[7:0] i/o/t microprocessor interface data 49 ds ( rd) i inm mode: read signal, mnm mode: data strobe signal 50 dtack (rdy) o acknowledgment of a completed transaction (signals when p port is ready for an access) open drain, must be pulled up externally 51 r/ w ( wr ) i read/write line (write signal) 55 mode i sets microport mode: mode = 1, mnm mode; mode = 0, inm mode 56?8 a[2:0] i microprocessor interface address 60 cs i chip select, enable the chip for p access 61 reset i active low reset pin (actively pulled up if not connected) 62 sync i sync signal for synchronizing multiple ad6622s (actively pulled down if not connected) 67 clk i input clock (actively pulled down if not connected) 70 qin i indicates q input data (complex input mode) (actively pulled down if not connected) (not 5 v tolerant) 71, 74?7, 79?2, 86?9, in[17:0] i wideband input data (allows cascade of multiple ad6622 chips in 91?4, 97 a system) (actively pulled down if not connect ed) (not 5 v tolerant) 100 trst i test reset pin (actively pulled up if not connected) 101 tck i test clock input (actively pulled down if not connected) 106 tms i test mode select (actively pulled up if not connected) 107 tdo o test data output 108 tdi i test data input (actively pulled down if not connected) 109 sclka o serial clock output channel a 111 sdfsa o serial data frame sync output channel a 112 sdina i serial data input channel a (actively pulled down if not connected) 113 sclkb o serial clock output channel b 114 sdfsb o serial data frame sync output channel b 118 sdinb i serial data input channel b (actively pulled down if not connected) 119 sclkc o serial clock output channel c 120 sdfsc o serial data frame sync output channel c 121 sdinc i s erial data input channel c (actively pulled down if not conn ected) 123 sclkd o serial clock output channel d 124 sdfsd o serial data frame sync output channel d 125 sdind i serial data input channel d ( actively pulled down if not c onnected) ad6622 C10C rev. 0 theory of operation as digital-to-analog converters (dacs) achieve higher sampling rates, analog bandwidth, and dynamic range, it becomes increas- ingly attractive to accomplish the ?st if stage of a transmitter in the digital domain. digital if signal processing provides repeatable manufacturing, higher accuracy, and more flexibility than comparable high-dynamic-range analog designs. the ad6622 four-channel t ransmit signal processor (tsp) is designed to bridge the gap between dsps and high-speed dacs. the wide range of interpolation factors in each ?ter stage makes the ad6622 useful for creating both narrowband and wideband carriers in a high-speed sample stream. the high-resolution nco allows flexibility in frequency plann ing and supports both digital and analog air interface standards. the ram-based architec- ture allows easy recon?uration for multimode applications. the interpolating ?ters remove unwanted images of signals sampled at a fraction of the wideband rate. when the channel of interest occupies far less bandwidth than the wideband output signal, rejecting out-of-band noise is called ?rocessing gain. for large interpolation factors, this processing gain allows a 14-bit dac to express the sum of multiple 16-bit signals sam pled at a lower rate without signi?antly increasing the noise floor about each carrier. in addition, the programmable ram coef? cient stage allows anti-imaging, and static equalization functions to be combined in a single, cost-effective ?ter. the high-speed nco can be used to tune a quadrature sampled signal to an if channel, or the nco can be directly frequency- modulated at an if channel. multicarrier phase synchronization pins and phase offset registers allow intelligent management of the relative phase of the independent rf channels. this capability supports the requirements for phased array antenna architec- tures and management of the wideband peak/power ratio to minimize clipping at the dac. the wideband input and output ports allow multiple ad6622s to be cascaded into a single dac. the master clock for the entire system is based on the dac clock rate (up to 75 msps). the external 18-bit resolution reduces summation of truncation noise. the wideband ports can be con?ured for real or quadra- ture outputs. quadrature sampled outputs (i and q) are limited to half the master clock rate on the shared output bus. functional overview the following descriptions explain the functionality of each of the core sections of the ad6622. detailed timing, application, and speci?ations are described in detail in their respective por- tions of the data sheet. serial data port the ad6622 has four independent serial ports (a, b, c, and d) of which accepts data to its own channel (1, 2, 3, or 4) of the device. each serial port has three pins: sclk, sdfs, and sdin. the sclk and sdfs pins are outputs that provide serial clock and framing. the sdin pins are inputs that accept channel data. the serial ports do not accept con?uration or control inputs. the serial ports do not accept external clock or framing signals, although it is possible to synchronize the ad6622 serial ports to meet an external timing requirement. the serial clock output, sclk, is created by a programmable internal counter that divides down the master clock. when the channel is reset, sclk is held low. sclk starts on the ?st rising edge of clk after channel reset is removed (d0 through d3 of external address 4). once active, the sclk fre quency is determined by the master clk frequency and the sclk divider, according to the equation below. the sclk d ivider is a 5-bit unsigned value located in channel register 0x0d. the user must select the sclk divider to en sure that sclk is fast enough to accept full input sample words at the input sample rate. see the design example at the end of this section. the maximum sclk frequency is 1/2 of the master clock frequency. the minimum sclk frequency is 1/64 of the master clock frequency. f f sclk sclk clk divider = + 21 () (1) sport sdina sdfsa sclka data rcf i q cic filter i q nco data jtag tdo tms trst tdi microport ds dtack r/ w d[7:0] mode a[2:0] cs sport sdinb sdfsb sclkb data rcf i q cic filter i q nco datb sport sdinc sdfsc sclkc data rcf i q cic filter i q nco datc sport sdind sdfsd sclkd data rcf i q cic filter i q nco datd summation clk reset qin in [17:0] sync oen qout out [17:0] tck ad6622 figure 9. functional block diagram ad6622 C11C rev. 0 the serial data frame sync output, sdfs, is pulsed high for one sclk cycle at the input sample rate. the input sample rate is determined by the master clock divided by channel interpolation factor. if the sclk rate is not an integer multiple of the input sample rate, the sdfs will continually adjust the period by one sclk cycle in order to keep the average sdfs rate equal to the input sample rate. when the channel is in sleep mode, sdfs is held low. the rst sdfs is delayed by the channel reset latency after the channel reset is removed. the channel reset latency varies dependent on channel con guration. the serial data input, sdin, accepts 32-bit words as channel input data. the 32-bit word is interpreted as two 16 bit two s complement quadrature words, i followed by q, msb rst. the rst bit is shifted into the serial port starting on the second rising edge of sclk after sdfs goes high, as shown by the timing diagram below. clk sclk sdfs sdi clkn datan t dsclk t dsdfs t dsdfs t ssi t hsi figure 10. serial port switching characteristics as an example of the serial port operation, consider a clk fre- quency of 62.208 msps and a channel interpolation of 2560. in that case, the input sample rate is 24.3 ksps (62.208 msps/ 2560), w hich is also the sdfs rate. substituting, f sclk 32 f sdfs into the equation below and solving for sclk divider , we nd the maximum value for sclk divider according to equation 2. sclk f divider sdfs f clk 64 1 (2) evaluating this equation for our example, sclk divider must be less than or equal to 39. since the sclk divider channel regis- ter is a 5-bit unsigned number it can only range from 0 to 31. any value in that range will be valid for this example, but if it is important that the sdfs period is constant, then there is another restriction. for regular frames, the ratio f sclk /f sdfs must be equal to an integer of 32 or larger. for this example, constant sdfs periods can only be achieved with an sclk divider of 19. in conclusion, the sdfs rate is determined by the ad6622 m aster clock rate and the interpolation rate of the channel. the sdfs rate is equal to the channel input rate. the cha nnel interpola- tion is equal to rcf interpolation times cic5 interpolation, times cic2 interpolation ll l l rcf cic cic = 52 (3) the sclk rate is determined by the ad6622 master clock rate and sclk divider . the sclk is a divided version of the ad6622 master clk. the s clk divide ratio is determined by sclk divider as shown in equation 2. the sclk must be fast enough to input 32 bits of data prior to the next sdfs. extra sclks are ignored by the serial port. programmable interpolating ram coefficient filter (rcf) each channel has a fully independent ram coef cient filter (rcf). the rcf accepts data from the serial port, lters it, and passes the result to the cic lter. the rcf implements a fir lter with optional interpolation. the fir lter can produce impulse responses up to 128 output samples long. the fir response may be inter polated up to a factor of 128, although the best lter performance is usually achieved if the rcf inter- polation factor is con ned to 8 or below. fir filter implementation the rcf accepts quadrature samples from the serial port with a xed point resolution of 16 bits each, for i and q. serial port data mem rcf rcf coarse scale coefficient mem iq to cic filter sdfs sclk sdin 16,16 accumulator 16,16 16,16 figure 11. rcf block diagram the ad6622 rcf realizes a sum-of-products lter using a poly- phase implementation. this mode is equivalent to an interpola- tor followed by a fir lter running at the interpolated rate. in figure 12, the interpolating block increases the rate by the rcf interpolation factor (l rcf ) by inserting l rcf -1 zero valued samples between every input sample. the next block is a lter with a nite impulse response length (n rcf ) and an im pulse response of h[n], where n is an integer from 0 to n rcf -1. l rcf f in a b c f in l rcf n rcf tap fir filter h[n] f in l rcf figure 12. rcf interpolation the difference equation for figure 12 is written below, where h[n] is the rcf impulse response, b[n] is the interpolated input sample sequence at point b in figure 12, and c[n] is the out- put sample sequence at point c in the figure 12. cn hk n bn k n rcf [] [ ] [] =? = ? 0 1 (4) this difference equation can be described by the transfer func- tion from point b to c as shown equation 5. hz hn z bc n n n rcf () [] = = ? ? 0 1 (5) the actual implementation of this lter uses a polyp hase decomposition to skip the multiply-accumulates when b[n] is zero. compared to the diagram above, this implementation has the bene ts of reducing by a factor of l rcf both the time needed to calculate an output and the required data memory (dmem). the price of these bene ts is that the user must place the coef cients into the coef cient memory (cmem) indexed by the interpo- lation phase. the process of selecting the coef cients and placing them into the cmem is broken into three steps shown below. ad6622 C12C rev. 0 1. select the impulse response length (n rcf ) and the inter- polation factor (l rcf ). the impulse response length (n rcf ) is limited in three ways: by the available calculation time, by the data memory size (dmem), and by the coef - cient memory size (cmem). the equation below shows that n rcf is limited to the minimum of these three conditions. time cmem restriction restriction n l l rcf rcf ? ? ? ? ? ? ? min , , 2 16 128 (6) dmem restriction where: l = l rcf l cic5 l cic2 2. the interpolation rate (l rcf ) may be any integer of n rcf ranging from 1 to 128, while meeting the above equation. most lter designs can be optimized by choosing the small- est l rcf that does not compromise the image rejection of the subsequent cic lter. the quality of an interpolating lter is a strong function of the n rcf /l rcf ratio and a w eaker function of n rcf . the best lters are usually achieved by maximizing n rcf /l rcf (no larger than 16) and then increasing both n rcf and l rcf by the same ratio until the lter becomes time or cmem limited. 3. once n rcf and l rcf are selected, channel register 0x0a is programmed to n rcf 1, and channel register 0x0c is programmed to n rcf /l rcf 1. 4. determine the impulse response. the impulse response relative to the rcf output rate can be calculated using ordi- nary fir design techniques. in most cases, it is desirable to precompensate the inband frequency roll-off of the cic l- ter that follows. there are no symmetry requirements, so the rcf can also be used for static phase equalization. the impulse response must be quantized to 16-bit two s comple- ment numbers for the cmem. the channel center gain and worst-case peak can be calculated for each of the l rcf phases (p) according to the equations below. a rcf coarse scale factor (g) that ranges between 0 and 3 is provided to limit the gain without excessive loss of resolution in the cmem. the coarse scale factor is located in channel register 0x0d. channelcentergain h k l p p g rcf k n l rcf rcf = + ? = 2 0 1 [] (7) 5. the channel center gain is the response to a constant full- scale in put at every output phase. the summ ation is split into phases because the interpolation of the data insures that only n rcf /l rcf coef cients can be active for any single output. for l rcf = 1, there is only one phase and the channel center gain is the simple sum of all the coef cients, scaled by 2 g . if the channel center gain is not the same for every value of p, some or all of the images of the channel center will be imperfectly rejected by the rcf. worstcasepeak h k l p p g rcf k n l rcf rcf = + ? = 2 0 1 |[ ]| (8) 6. the worst-case peak is calculated similarly to the channel center gain, except that the input sequence swings from full- scale positive to full-scale negative to match the polarity of the coef cient by which it will be multiplied, so that each prod- uct is positive. this results in a maximal that must be less than one to guarantee no possibility of wrapping. note that when l rcf is greater than one, each phase may produce its worst-case peak in response to a different input sequence. 7. programming dmem and cmem. the dmem must be initialized to all zeros to avoid any unpredictable start-up transients since a reset does not c lear the memory. the impulse response h[n] must be reordered by phase for the cmem as shown in the code below. several lters with impulse lengths that total less than 128 can be programmed into the cmem simultaneously and selected later using the rcf offset pointer (o rcf ) which is set by channel register 0x0b. / * reorder fir coef?ients for ad6622 cmem * / for (p=0; p |