Part Number Hot Search : 
C3172 RF600106 AT25040A ICPL0452 MT9V022 NSPL500S 36041 1172B
Product Description
Full Text Search
 

To Download AM79C02AJC Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  although the name and logo have changed, the data contained herein remains the same as the most recent amd revision of this document. publication# 09875 rev: j amendment: / 0 issue date: december 1999 am79c02/03/031(a) dual subscriber line audio processing circuit (dslac ? ) devices distinctive characteristics  software programmable: ? slic impedance ? transhybrid balance ? transmit and receive gains ? equalization ? digital i/o pins ? time slot assigner ? pcm transmit clock edge options  adaptive transhybrid balance filter (a suffix only)  a-law or -law coding  dual pcm ports ? up to 8.192 mhz each (128 channels per port)  2.048 mhz or 4.096 mhz master clock  direct transformer drive  built-in test modes  low power cmos  mixed mode (analog and digital) impedance scaling  performance characteristics guaranteed over 12 db gain range general description the am79c02/03/031(a) dual subscriber line audio processing circuit (dslac device) integrates the key functions of an analog linecard into a single high-per- formance, programmable dual codec/filter device. the dslac device is based on the proven design of the reliable am7901a subscriber line audio processing circuit (slac ? device). the advanced architecture of the dslac device implements two independent chan- nels and employs digital filters to allow software control of transmission, thus providing a cost effective solution for the analog to pcm function of a linecard. the am79c02/03/031(a) dslac device ? s advanced cmos technology makes this an economical device that has both the functionality and the low power con- sumption needed in linecard designs to maximize line- card density at minimum cost. when used with two legerity slics, the dslac device provides software configurable solutions to the borscht function.
2 am79c02/03/031(a) data sheet table of contents distinctive characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 general description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 standard products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 connection diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 operating ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 commercial (c) devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 electrical characteristics over operating range unless otherwise noted . . . . . . . . . . . . . . . . . . . 10 transmission characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 attenuation distortion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 group delay distortion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 variation of gain with input level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 total distortion, including quantizing distortion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 discrimination against out-of-band input signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 discrimination against 12 khz and 16 khz metering signals . . . . . . . . . . . . . . . . . . . . . . . 15 spurious out-of-band signals at the analog output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 overload compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 switching characteristics over operating range unless otherwise noted . . . . . . . . . . . . . . . . . . 17 microprocessor interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 pcm interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 master clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 switching waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 input and output waveforms for ac tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 master clock timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 microprocessor interface (input mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 microprocessor interface (output mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 pcm highway timing for xe = 0 (transmit on negative pclk edge) . . . . . . . . . . . . . . . . 20 pcm highway timing for xe = 1 (transmit on positive pclk edge) . . . . . . . . . . . . . . . . . 21 operating the dslac device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 signal processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 command description and formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 summary of mpi commands** . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 programmable filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 detailed description of dslac device coefficients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 adaptive b filter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 adaptive filter programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 user test modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 a-law and -law companding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 controlling the slic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 calculating coefficients with winslac software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 physical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 revision summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
slac products 3 list of figures figure 1 attenuation distortion (single ended) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 2 group delay distortion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 3 gain tracking with tone input* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 4 total distortion with tone input (both paths) . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 5 discrimination against out-of-band signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 6 spurious out-of-band signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 7 a/a overload compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 8 dslac block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 list of tables table 1 a-law: positive input values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 2 -law: positive input values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4 am79c02/03/031(a) data sheet block diagram dual slac device dclk signal processing channel 1 (ch 1) signal processing channel 2 (ch 2) pcm microprocessor interface (mpi) microprocessor dxa dra dxb drb fs pclk time slot assigner (tsa) slic interface (sli) 09875h-001 slic analog vin 1 vout 1 vin 2 vout 2 tsca tscb rst c1 1 c2 1 c3 1 c4 1 c1 2 c2 2 c3 2 c4 2 c5 2 highway dout din mclk chclk (02 only) cs2 cs1 02 & 031 only) c5 1 (02 & 031 only)
slac products 5 ordering information standard products legerity standard products are available in several packages and operating ranges. the order number (valid com- bination) is formed by a combination of the elements below. am79c02/03/031 j temperature range c = commercial (0 c to 70 c; relative humidity=15% to 85%)* package type j =44-pin plastic leaded chip carrier (pl 044) ? am79c02 32-pin plastic leaded chip carrier (pl 032) ? am79c03 and 031 device number/description am79c02/03/031 dual subscriber line audio-processing circuit (dslac device) valid combinations valid combinations list configurations planned to be supported in volume for this device. consult the local legerity sales office to confirm availabil- ity of specific valid combinations, to check on new- ly released combinations, and to obtain additional data on legerity ? s standard military ? grade prod- ucts. c note: * functionality of the device from 0 c to +70 c is guaranteed by production testing. performance from ?40 c to +85 c is guaranteed by characterization and periodic sampling of production units. valid combinations am79c02 ajc, jc am79c03 am79c031 a device options blank = standard device a = adaptive transhybrid balance
6 am79c02/03/031(a) data sheet connection diagrams top view vee 1 agnd 2 drb dgnd 1 pgnd tsca tscb vccp vccd 2 dout rsvd dxa 09875h-002 18 19 20 21 22 23 24 25 26 27 28 6543214443424140 7 8 9 10 11 12 13 14 15 16 17 39 38 37 36 35 34 33 32 31 30 29 44-pin plcc c3 1 c2 1 c1 1 c4 1 chclk cs 1 cs 2 fs dra vccd 1 rst c3 2 c2 2 c1 2 c4 2 c5 2 mclk din dclk pclk dgnd 2 am79c02 rsvd agnd 1 vin 1 vout 1 vcca 2 vcca 1 vee 2 vout 2 vin 2 c5 1 dxb 6 7 8 9 10 11 12 13 29 28 27 26 25 24 23 22 14 15 16 17 18 19 20 4 3 2 1 32 31 30 32-pin plcc c3 1 c1 1 cs 1 c4 1 cs 2 fs vin 2 c2 2 c1 2 c4 2 mclk dclk pclk drb dgnd tsca dxb vccd tscb dra am79c03 agnd vee 1 vcca vout 1 vee 2 vin 1 vout 2 c3 2 c2 1 5 chclk dio 21 dxa 6 7 8 9 10 11 12 13 29 28 27 26 25 24 23 22 14 15 16 17 18 19 20 4 3 2 1 32 31 30 32-pin plcc c3 1 c1 1 chclk c4 1 cs 1 cs 2 vin 2 c2 2 c1 2 c4 2 c5 2 mclk dclk dra dgnd tsca dio rsvd dxa fs am79c031 agnd vee 1 vcca vout 1 vee 2 vin 1 vout 2 c3 2 c2 1 5 c5 1 pclk 21 vccd 09875h-005 09875h-004 notes: 1. pin 1 is marked for orientation. 2. rsvd = reserved pin; should not be connected externally to any signal or supply.
slac products 7 pin descriptions pin names type description c1 1 ? c5 1 , c1 2 ? c5 2 inputs/outputs control. the five slic control lines per channel are ttl compatible and bidirectional. they can be used to monitor or control the operation of a slic or any other device associated with the subscriber line. lines c11 ? c51 are associated with channel 1, and lines c12 ? c52 are associated with channel 2. the c51 and c52 lines are available on the am79c02(a) and am79c031(a). c51 and c52 are output only on the am79c031(a) and must be programmed as outputs. chclk output slic clock. this output provides a 256 khz or 293 khz, 50% duty cycle, ttl compatible clock for use by two slics. the chclk frequency is derived from mclk and the phase relationship to mclk is random. chclk is capable of driving two ttl inputs. cs 2 ? cs 1 input chip select. the chip select inputs (active low) enable the device to read or write control data. cs 1 is for the channel 1 microprocessor interface and cs 2 is for the channel 2 microproces- sor interface. dclk input data clock. the data clock input shifts data into and out of the microprocessor interface of the dslac device. the maximum clock rate is 4.096 mhz. din input data. control data is serially written into the am79c02(a) dslac device via the din pin with the most significant bit first. the data clock determines the data rate. din and dout may be strapped together to reduce the number of connections to the microprocessor. dio input/output data. control data is serially written into and read out of the am79c03(a) and am79c031(a) dslac device via the dio pin with the most significant bit first. the data clock determines the data rate. dio is high impedance except when data is being transmitted from these dslac devices under control of cs 1 or cs 2. dio replaces din and dout as found on the am79c02(a). dout output data. control data is serially read out of the am79c02(a) dslac device via the dout pin with the most significant bit first. the data clock determines the data rate. dout is high impedance except when data is being transmitted from the dslac device under control of cs 1 or cs 2. din and dout may be strapped together to reduce the number of connections to the microprocessor. dra, drb inputs pcm. the pcm data for channels 1 and 2 is serially received on either the dra or the drb port during user programmed time slots. eight bits are received with the most significant bit first. data for each channel is received in 8-bit bursts every 125 s at the pclk rate. dxa, dxb outputs pcm. the transmit pcm data from channels 1 and 2 is sent serially through either the dxa or dxb port during user programmed time slots. eight bits are transmitted with the most significant bit first. the output is available every 125 s and the data is shifted out in 8-bit bursts at the pclk rate. dxa and dxb are high impedance between bursts and while the device is in the inactive mode. dxb is not available on the 79c031(a). fs input frame sync. the frame sync pulse is an 8 khz signal that identifies the beginning of a system ? s pcm frame. the dslac device references individual time slots with respect to this input, which must be synchronized to pclk. mclk input master clock. the master clock must be a 2.048 mhz or 4.096 mhz clock input for use by the digital signal processor. pclk input pcm clock. the pcm clock determines the rate at which pcm data is serially shifted into or out of the pcm ports. pclk is an integer multiple of the frame sync frequency. the maximum clock frequency is 8.192 mhz and the minimum clock frequency is 128 khz. rst input reset. a logic low signal to this pin resets the dslac device to its default state. (am79c02(a) only.) tsca , tscb outputs time slot control. the time slot control outputs are open drain (requiring pull-up resistors) and are normally inactive (high impedance). tsca is active (low) when pcm data is output on the dxa pin and tscb is active (low) when pcm data is output on the dxb pin. ( tscb is available on the am79c02 and am79c03 only.) vin 1 , vin 2 inputs analog. the analog input is applied to the transmit path of the dslac device. the signal is sampled, digitally processed, and encoded for the pcm output. vin 1 is the input for channel 1 and vin 2 is the input for channel 2. vout 1 , vout 2 outputs analog. the received pcm data is digitally processed and converted to an analog signal at the vout pin. vout 1 is the output from channel 1 and vout 2 is the output for channel 2. these outputs can directly drive a transformer slic.
8 am79c02/03/031(a) data sheet power supply for the am79c02: agnd 1 analog ground (channel 1) agnd 2 analog ground (channel 2) dgnd 1 digital ground (channel 1) dgnd 2 digital ground (channel 2) pgnd pcm i/o ground vcca 1 +5 v analog power supply (channel 1) vcca 2 +5 v analog power supply (channel 2) vccd 1 +5 v digital power supply internally connected to substrate vccd 2 +5 v digital power supply internally connected to substrate vccp +5 v pcm i/o power supply internally connected to substrate vee 1 ? 5 v power supply (channel 1) vee 2 ? 5 v power supply (channel 2) power supply for the am79c03 and am79c031: agnd analog ground dgnd digital ground vcca +5 v analog power supply vccd +5 v digital power supply internally connected to substrate vee 1 ? 5 v power supply (channel 1) vee 2 ? 5 v power supply (channel 2) the many separate power supply inputs are intended to provide for good power supply decoupling techniques. note that all of the +5 v inputs should be connected to the same source, all of the ground inputs should be con- nected to the same source, and both of the ? 5 v inputs should be connected to the same source. functional description the dslac device performs the codec/filter functions associated with the four-wire section of the subscriber line circuitry in a digital switch. these functions involve converting an analog voice signal into digital pcm sam- ples and converting digital pcm samples back into an analog signal. during conversion, digital filters are used to bandlimit the voice signals. independent channels allow the dslac device to func- tion as two slac devices. all of the digital filtering is performed in digital signal processors operating from either a 2.048 mhz or 4.096 mhz external clock. the a/d, d/a, and signal processing is separate for each channel and each channel has its own chip select (cs1 and cs2 ) to allow separate programming. the user-programmable filters set the receive and transmit gain, perform the transhybrid balancing func- tion, permit adjustment of the two-wire termination im- pedance, and provide equalization of the receive and transmit paths. all programmable digital filter coeffi- cients can be calculated using the amslac2 software. the pcm codes can be either 8-bit companded a-law or -law. the pcm data is read and written to the pcm highway in user-programmable time slots at rates of 128 khz to 8.192 mhz. the output hold time and the transmit clock edge can be selected for com- patibility with other devices that can be connected to the pcm highway. four configurations of the dslac device are offered with the pcm interface described above. the am79c02(a), the original version of the dslac device, is available in the 44-pin plcc package. the am79c03(a) and am79c031(a) are reduced pin count versions obtained by consolidating a number of ground and power supply buses on chip, and eliminating the hardware reset function. the am79c03(a) is available in 32-pin plcc packages. the am79c031(a) is avail- able in a 32-pin plcc package. the ? a ? version of both devices (e.g., am79c02a) offers the adaptive transhy- brid balance feature described in the adaptive b filter overview.
slac products 9 absolute maximum ratings storage temperature . . . . . . . . . ? 60 c t a +125 c ambient operating temperature . . ? 40 c t a +85 c ambient relative humidity . . . . . . . . . . . . . 5% to 100% (noncondensing) v cca with respect to agnd . . . . . . . . ? 0.4 v to +7.0 v v ccd with respect to dgnd. . . . . . . . ? 0.4 v to +7.0 v v ccp with respect to pgnd . . . . . . . . ? 0.4 v to +7.0 v v ee with respect to agnd . . . . . . . . .+0.4 v to ? 7.0 v v in with respect to vcca. . . . . . . . .+0.4 v to ? 10.0 v (v ee = ? 5 v) v in with respect to v ee . . . . . . . . . . ? 0.4 v to +10.0 v (v cca = +5 v) other pins with respect to dgnd 1 . . . . . ? 0.4 v to v cc total combined c1 ? c5 current per channel: source from vcc . . . . . . . . . . . . . . . . . . . . . . . 32 ma sink into dgnd . . . . . . . . . . . . . . . . . . . . . . . . 24 ma latch-up immunity (any pin). . . . . . . . . . . . . . 30 ma stresses above those listed under absolute maximum ratings may cause permanent device failure. functionality at or above these limits is not implied. exposure to absolute maximum ratings for extended periods may affect device reliability. operating ranges commercial (c) devices analog supply . . . . . . . . . . . . . . . . . . . . . . +5.0 v 5% vcca 1 , vcca 2 , or vcca digital supply . . . . . . . . . . . . . . . . . . . . . . +5.0 v 5% v ccp , vccd 1 , vccd 2 , or vccd analog supply vee 1 , vee 2 . . . . . . . . . . . . ? 5.0 v 5% pgnd, dgnd 1 , dgnd 2 , or dgnd . . . . . . . . . . . .0 v agnd 1 , agnd 2 , or agnd . . . . . . . . . . . . . . . 50 mv ambient temperature . . . . . . . . . . . 0 c t a +70 c* ambient relative humidity . . . . . . . . . . . . .15% to 85% operating ranges define those limits between which the functionality of the device is guaranteed. * functionality of the device from 0 c to +70 c is guaranteed by production testing. performance from ? 40 c to +85 c is guaranteed by characterization and periodic sampling of production units.
10 am79c02/03/031(a) data sheet electrical characteristics over operating range unless otherwise noted typical values are for t a = 25 c and nominal supply voltages. minimum and maximum specifications are over the temperature and supply voltage ranges shown in operating ranges. notes: 1. when the dslac device is in the inactive mode, the analog output presents a 0 v output level through a ~3 k ? resistor. 2. the c1 ? c5 outputs are resistive for less than a 1 v drop. total current must not exceed absolute maximum ratings. 3. if there is an external dc path from v out to v in with a gain of gdc and the aisn has a gain of h aisn , then the output offset is multiplied by 1/[1 ? (h aisn  gdc)]. 4. power dissipation in the inactive mode is measured with all digital inputs at v ih = v cc and v il = v ss and with no load connected to vout 1 or vout 2 . symbol parameter descriptions min typ max unit note v il input low voltage ? 0.5 0.8 v v ih input high voltage 2.0 v cc i il input leakage current 10 a v ol output low voltage c1 ? c5 (i ol = 6 ma) c1 ? c5 (i ol = 15 ma) tsca , tscb (i ol = 14 ma) other digital outputs (i ol = 2 ma) 0.4 1.0 0.4 0.4 v 2 2 ? ? v oh output high voltage c1 ? c5 (i oh = 4 ma) c1 ? c5 (i oh = 10 ma) other digital outputs (i oh = 400 a) v cc ? 0.4 v cc ? 1.0 2.4 2 2 ? i ol output leakage current (hi-z state) 10 a v ir analog input voltage range (ax = 0 db) (ax = 6.02 db) 3.12 1.56 v v ios offset voltage allowed on v in 160 mv i il (v il ) input leakage current on v in 10 a z in analog input impedance 300 hz to 3400 hz 5 m ? z out v out output impedance 1 10 ? i out v out output current (f < 3400 hz) 6.3 ma 1 v or v out voltage range (ar = 0 db) (ar = 6.02 db) 3.12 1.56 v v oos v out offset voltage (aisn off) 40 mv v oosa v out offset voltage (aisn on) 80 3 lin aisn linearity of aisn circuity (input = 0 dbm0) ? lsb pd power dissipation both channels active (mclk, pclk = 2.048 mhz) 1 channel active both channels inactive 180 120 10 240 160 19 mw ? ? 4 pd power dissipation both channels active (mclk, pclk > 2.048 mhz) 1 channel active both channels inactive 190 130 10 270 175 19 ? ? 4 i cc total +5 v current both channels active 1 channel active both channels inactive 24.0 18.0 2.5 ma ? ? 4 i ee to ta l ? 5 v current both channels active 1 channel active both channels inactive 10.0 5.0 0.05 ? ? 4 c i input capacitance (digital) 15 pf c o output capacitance (digital) 15 psrr power supply rejection ratio (1.02 khz, 100 mvrms, either supply or path, gx = gr = 0 db) 40 db
slac products 11 transmission characteristics the gain of the receive path is defined to be 0 db when a 0 dbm0, 1014 hz pcm sine wave input results in a nominal 1.55 vrms for -law or 1.56 vrms for a-law analog output. the gain of the transmit path is 0 db when a 1.55 vrms for -law or 1.56 vrms for a-law, 1014 hz sine wave analog input results in a level of 0 dbm0 at the digital output. when relative levels (dbm0) are used in any of the following transmission specifications, the specification holds for any setting of the ax + gx gain from 0 to 12 db and the ar + gr loss from 0 to 12 db. performance specification for settings of the ax + gx gain from 12 to 18 db and the ar + gr loss from 12 to 18 db is determined as the device is characterized. notes: 1. legerity guarantees less than 0.1% of units fall into the last 0.05 db of these specification numbers. 2. see figure 1. 3. with f swept between 0 to 300 hz and 3400 to 12 khz, any generated output signals other than f are less than ? 28 dbm0. this specification is valid for either transmission path. 4. legerity guarantees < 0.2% of units are above ? 46 db. this relaxed specification applies to only the third harmonic. 5. intermodulation distortion specification for two signals of same level in the range of ? 4 dbm0 to ? 21 dbm0 does not produce 2  (f1 ? f2) component above specified level. 50 hz imd specified with 50 hz signal at ? 23 dbm0 and signal between 300 hz to 3400 hz at ? 9 dbm0. 6. no single frequency component in the range above 3800 hz may exceed a level of ? 55 dbm0. 7. the group delay specification is defined as the sum of the minimum values of the group delays for the transmit and the receive paths when the transmit and receive time slots are identical and the b, x, r, and z filters are disabled. for pclk frequencies between 1.03 mhz and 1.53 mhz, the group delay may vary from one cycle to the next. see figure 2. description test conditions min typ max unit note gain accuracy d to a or a to d 0 dbm0, 1014 hz 25 c to 85 c 0 db < |path gain| < 6 db 0 c ? 40 c ? 0.20 ? 0.25 ? 0.35 +0.20 +0.25 +0.35 db gain accuracy d to a or a to d 0 dbm0, 1014 hz 70 c to 85 c 6 db < |path gain| < 12 db 25 c 0 c ? 40 c ? 0.20 ? 0.25 ? 0.30 ? 0.35 +0.20 +0.25 +0.30 +0.35 ? 1 1 ? gain accuracy analog to analog or digital to digital 25 c to 85 c 0 c ? 40 c ? 0.20 ? 0.25 ? 0.35 +0.20 +0.25 +0.35 attenuation distortion 300 hz to 3400 hz ? 0.125 +0.125 2 single frequency distortion, a to d ? 46 3 single frequency distortion, d to a ? 6 db < (gr + ar) < 0 db ? 40 c to 85 c ? 12 db < (gr + ar) < ? 6 db 70 c to 85 c ? 12 db < (gr + ar) < ? 6 db 25 c ? 12 db < (gr + ar) < ? 6 db 0 c ? 12 db < (gr + ar) < ? 6 db ? 40 c ? 46 ? 46 ? 45 ? 43 ? 40 3 3 3, 4 3, 4 3, 4 intermodulation distortion ? 42 ? 56 dbr 5 analog out idle channel noise digital out digital looped back weighted unweighted digital input = 0 a-law -law analog v in = 0 a-law -law ? 68 ? 55 ? 78 12 ? 68 19 dbm0p dbm0p dbm0p dbrnc0 dbm0p dbrnc0 6 crosstalk tx to rx same channel rx to tx 0 dbm0 300 hz to 3400 hz ? 75 ? 75 tx to tx crosstalk tx to rx between channels rx to tx rx to rx 0 dbm0 300 hz to 3400 hz ? 76 ? 78 ? 76 ? 78 group delay pclk 1.53 mhz pclk 1.03 mhz b, x, r, and z filters disabled 630 695 s 7
12 am79c02/03/031(a) data sheet attenuation distortion group delay distortion for either transmission path, the group delay distortion is within the limits shown in figure 2. the minimum value of the group delay is taken as the reference. the signal level should be 0 dbm0. 2 1 0 frequency (hz) 0.75 db ? 0.125 0.125 transmit curve 1.35 db receive curve 1 db dslac device specification (transmit only) attenuation (db) figure 1. attenuation distortion (single ended) 200 300 3000 3400 09875h-006 0 90 150 420 dslac device specification (either path) frequency (hz) delay ( s) 500 600 1000 2600 2800 figure 2. group delay distortion 09875h-006
slac products 13 variation of gain with input level the gain deviation relative to the gain at ? 10 dbm0 is within the limits shown if figure 3 for either transmission path when the input is a sine wave signal of frequency 1014 hz. total distortion, including quantizing distortion the signal-to-total distortion exceeds the limits shown in figure 4 for either transmission path when the input is a sine wave signal of frequency 1014 hz. 0.5 0.25 0 ? 0.25 ? 0.5 ? 1.6 ? 55 ? 50 ? 40 ? 10 +3 1.6 input level (dbm0) 0 dslac device specification figure 3. gain tracking with tone input* gain (db) 09875h-007 note: *relax specification by 0.05 db at ? 40 c. input level (dbm0) 30 35.5 ? 30 ? 40 ? 45 dslac device specification 25 35.5 figure 4. total distortion with tone input (both paths) signal-to-total distortion (db) 0 09875h-008
14 am79c02/03/031(a) data sheet discrimination against out-of-band input signals when an out-of-band sine wave signal with frequency f and level a is applied to the analog input, there may be frequency components below 4 khz at the digital output, caused by the out-of-band signal. these components are at least the specified db level below the level of a signal at the same output originating from a 1014 hz sine wave signal with a level of a dbm0 also applied to the analog input. the minimum specifications are shown in figure 5. frequency of out-of-band signal amplitude of out-of-band signal level below a 16.6 hz < f < 45 hz ? 25 dbm0 < a 0 dbm0 18 db 45 hz < f < 65 hz ? 25 dbm0 < a 0 dbm0 25 db 65 hz < f < 100 hz ? 25 dbm0 < a 0 dbm0 10 db 3400 hz < f < 4600 hz ? 25 dbm0 < a 0 dbm0 see figure 5 4600 hz < f < 100 khz ? 25 dbm0 < a 0 dbm0 32 db 0 ? 10 ? 20 ? 30 ? 40 ? 50 frequency (khz) 3.4 4.0 4.6 ? 32 db, ? 25 dbm0 < input < 0 dbm0 dslac device specification level (db) figure 5. discrimination against out-of-band signals ? 28 dbm 09875h-009 note: the attenuation of the waveform below amplitude a between 3400 hz and 4600 hz is given by the formula: attenuation db () 14 14 4000 f ? () 1200 --------------------------- - sin ? =
slac products 15 discrimination against 12 khz and 16 khz metering signals if the dslac device is used in a metering application where 12 khz or 16 khz tone bursts are injected onto the telephone line toward the subscriber, a portion of those tones also may appear at the v in terminal. these out-of- band signals may cause frequency components to ap- pear below 4 khz at the digital output. for a 12 khz tone, the frequency components below 4 khz are reduced from the input by at least 48 db, and for 16 khz tones, the components are reduced by more than 70 db. to avoid degradation of in-band transmission perfor- mance, the input levels of these out-of-band tones must be limited. the maximum allowable level is 100 mvrms at 12 khz, and is 500 mvrms at 16 khz. an external notch filter at the vin pin of the dslac device, incorporated with the metering injection design, is ef- fective in reducing these tone levels. spurious out-of-band signals at the analog output with pcm code words representing a sine wave signal in the range of 300 hz to 3400 hz at a level of 0 dbm0 applied to the digital input, the level of the spurious out- of-band signals at the analog output is less than the limits shown in the following table. with code words representing any sine wave signal in the range 3.4 khz to 4.0 khz at a level of 0 dbm0 applied to the digital input, the level of the signals at the analog output are below the limits in figure 6. the amplitude of the spurious out-of-band signals between 3400 hz and 4600 hz is given by the formula: frequency level 4.6 khz to 40 khz ? 32 dbm0 40 khz to 240 khz ? 46 dbm0 240 khz to 1 mhz ? 36 dbm0 a14 ? 14 f 4000 ? () 1200 --------------------------- - dbm0 sin ? = 0 ? 10 ? 20 ? 30 ? 40 ? 50 ? 28 db ? 32 db dslac device specification frequency (khz) 3.4 4.0 4.6 level (dbm0) 09875h-010 figure 6. spurious out-of-band signals
16 am79c02/03/031(a) data sheet overload compression figure 7 shows the acceptable region of operation for input signal levels above the reference input power (0 dbm0). the conditions for this figure are: (1) 1 db < gx 12 db; (2) ? 12 db gr < ? 1 db; (3) pcm output connected to pcm input; and (4) measurement analog-to-analog. figure 7. a/a overload compression fundamental output power (dbm0) 9 8 7 6 5 4 3 2 1 2.6 123456789 fundamental input power (dbm0) acceptable region 09875h-011
slac products 17 switching characteristics over operating range unless otherwise noted microprocessor interface min and max values are valid for all digital outputs with a 150 pf load, except c1 ? c5 with a 30 pf load. pull-up resistors of 360 ? are attached to tsca and tscb . pcm interface pclk not to exceed 4.096 mhz when pcm delay is used. no. symbol parameter min typ max units 1t dcy data clock period 244 ns 2t dch data clock high pulse width (note 1) 97 3t dcl data clock low pulse width (note 1) 97 4t dcr rise time of clock 25 5t dcf fall time of clock 25 6t icss chip select setup time, input mode 70 t dcy ? 10 7t icsh chip select hold time, input mode 0 t dch ? 20 8t icsl chip select pulse width, input mode 8t dcy 9t icso chip select off time, input mode (note 7) 5 s 10 t ids input data setup time 30 ns 11 t idh input data hold time 30 12 t olh slic output latch valid 20 1000 13 t ocss chip select setup time, output mode 70 t dcy ? 10 14 t ocsh chip select hold time, output mode 0 t dch ? 20 15 t ocsl chip select pulse width, output mode 8t dcy 16 t ocso chip select off time, output mode (note 7) 5 s 17 t odd output data turn on delay (note 5) 50 ns 18 t odh output data hold time 0 19 t odof output data turn off delay 50 20 t odc output data valid 0 50 no. symbol parameter min typ max units 21 t pcy pcm clock period (note 2) 0.122 7.8125 s 22 t pch pcm clock high pulse width 48 3890 ns 23 t pcl pcm clock low pulse width 48 3890 24 t pcf fall time of clock 15 25 t pcr rise time of clock 15 26 t fss fs setup time 25 t pcy ? 50 27 t fsh fs hold time 50 28 t tsd delay to tsc valid (with programmable delay) (note 3) 5 30 80 150 29 t tso delay to tsc off (with programmable delay) (note 6) 5 30 80 150 30 t dxd pcm data output delay (with programmable delay) (note 4) 3 30 80 150 31 t dxh pcm data output hold time (with programmable delay) (note 4) 5 30 80 150 32 t dxz pcm data output delay to hi-z (with programmable delay) (note 4) 5 30 80 150 33 t drs pcm data input setup time 25 34 t drh pcm data input hold time 5
18 am79c02/03/031(a) data sheet master clock for 2.048 mhz 100 ppm or 4.096 mhz 100 ppm operation: notes: 1. dclk may be stopped in the high or low state indefinitely without loss of information. if cs makes a transition to the low state, the last byte received is interpreted by the microprocessor interface logic. 2. the pcm clock (pclk) frequency must be an integer multiple of the frame sync (fs) frequency and synchronous to the mclk frequency. the actual pclk rate is dependent on the number of channels allocated within a frame. the dslac supports 2 ? 128 channels. a pclk of 1.544 mhz can be used for standard us transmission systems. the minimum clock frequency is 128 khz. 3. tsc is delayed from fs by a typical value of n  t pcy , where n is the value stored in the time/clock-slot register. 4. there is a special conflict detection circuitry that prevents high-power dissipation from occurring when the dxa or dxb pins of two dslac devices are tied together and one dslac device starts to transmit before the other has gone into a high- impedance state. 5. the first data bit is enabled on the fa lling edge of cs or on the falling edge of dclk, whichever occurs last. 6. t tso is defined as the time at which the output achieves the open circuit condition. 7. the dslac device requires 40 cycles of the 8 mhz internal clock (5 s) between sio operations. if the mpi is being accessed while the mclk input is not active, a chip select off time of 20 s is required. switching waveforms input and output waveforms for ac tests master clock timing no. symbol parameter min typ max units 35 t mcy master clock period (2.048 mhz) 488.23 488.28 488.33 ns master clock period (4.096 mhz) 244.11 244.14 244.17 36 t mcr rise time of clock 15 37 t mcf fall time of clock 15 38 t mch mclk high pulse width (2.048 mhz) 200 mclk high pulse width (4.096 mhz) 80 39 t mcl mclk low pulse width (2.048 mhz) 200 mclk low pulse width (4.096 mhz) 80 te s t points 2.0 0.8 2.0 0.8 2.4 0.45 09875h-012 09875h-013 35 36 39 38 37 v ih v il
slac products 19 microprocessor interface (input mode) microprocessor interface (output mode) 12 10 3 data valid data valid outputs c5 ? c1 data valid data valid 1 25 v ih v il dclk 9 4 6 8 data valid 11 7 din cs v ih v il 09875h-014 13 16 14 15 dclk 19 data valid data valid 20 dout three-state v ol v oh data valid three-state 17 18 v ih v il cs 09875h-015
20 am79c02/03/031(a) data sheet pcm highway timing for xe = 0 (transmit on negative pclk edge) 09875h-016 27 23 22 24 21 26 30 28 31 29 32 33 34 25 time slot zero clock slot zero first bit pclk fs dxa/dxb dra/drb first bit second bit v ol v oh tsca / tscb v ih v il v ih v il
slac products 21 pcm highway timing for xe = 1 (transmit on positive pclk edge) 27 23 22 24 21 26 30 28 31 29 32 33 34 25 time slot zero clock slot zero first bit pclk fs dxa/dxb dra/drb first bit second bit v ol v oh tsca / tscb v ih v il v ih v il 09875h-017 note: in this mode, the pcm transmit timing is compatible with other codec ic ? s.
22 am79c02/03/031(a) data sheet operating the dslac device the following describes the operation of either channel of the dslac device. the description is valid for either channel 1 or 2. vin in this data sheet refers to either vin 1 or vin 2 , vout refers to either vout 1 or vout 2 , and cs refers to either cs1 or cs2 . power-up sequence from v cc = 0 v the recommended power-up sequence is to apply: 1. power supply grounds 2. v cc /v ee 3. signal connections 4. hardware reset (02 only) the software initialization should then include: 1. select mclk (command 6) 2. software reset (command 2) 3. program filter coefficients and other parameters 4. activate (command 5) software initialization of the dslac device should al- ways follow any power-up or hardware reset. upon initial application of power, a minimum of 1 ms is needed before cs1 or cs2 may go low and an mpi command initiated. if the power supply (vccd 1 or vccd 2 ) falls below approximately 2.0 v, the device is reset and requires complete reprogramming with the above sequence. bit 7 of the slic direction register reads back as a logical 1 to indicate that a power inter- ruption has been detected. this bit is cleared when a software reset command is sent to the dslac device. the rst pin may be tied to +5 v if it is not needed in the system (am79c02 only). active mode each channel of the dslac device can operate in either the active (operational) or inactive (standby) mode. in the active mode, the dslac device is able to transmit and receive pcm and analog information. this is the normal operating mode when a telephone call is in progress. the activate command, microprocessor in- terface (mpi) command 5, puts the device into this state. bringing the dslac device into the active mode is possible only through the mpi. inactive mode the dslac device is forced into the inactive (standby) mode after a powerup, hardware or software reset, or is programmed into this mode by the deactivate com- mand (command 1). power is switched off from all non- essential circuitry, though the mpi remains active to receive new commands. the analog output is tied to ground through an approximate 3 k ? resistor. all cir- cuits, which contain programmed information, retain their data in the inactive mode. reset state an active low, hardware reset pin (rst ) is available on the am79c02, which resets the device to the fol- lowing default state. (for the am79c02, am79c03, and am79c031, when power is first applied, an internal power-up reset puts the device into the following de- fault state.) 1. a-law is selected 2. b, x, r, and z filters disabled; aisn gain is zero. 3. digital (gx and gr) gain blocks are disabled, resulting in unity gain, and analog (ax and ar) gains are set to unity. 4. slic input/output direction is set to the input mode. 5. normal conditions are selected (see command 4). 6. the b-filter adaptive mode is turned off. 7. both channels placed in inactive (standby) mode. 8. transmit time, receive time, and clock slots are set to zero. 9. dxa/dra ports are selected for channel 1. 10. dxb/drb ports are selected for channel 2. note: must be reassigned to dxa/dra for am79c031. 11. mclk is selected to be 4.096 mhz. 12. transmit on the negative edge of pclk. (xe = 0) 13. pcm delay is inserted. reset states 1 to 7 are identical to those of the software reset (command 2). the software reset command af- fects only those channels that have their cs asserted. signal processing overview of digital filters several of the blocks in the signal processing section are user programmable. these allow the user to opti- mize the performance of the dslac device for the sys- tem. figure 8 shows the dslac device signal processing and indicates the programmable blocks. the advantages of digital filters are:  high reliability  no drift with time or temperature  unit-to-unit repeatability  superior transmission performance two-wire impedance matching two feedback paths on the dslac device modify the effective two-wire input impedance of the slic by pro- viding programmable feedback from v in to v out . the analog impedance scaling network (aisn) is a pro- grammable analog gain of ? 0.9375 to +0.935 from v in to v out . the z filter is a programmable digital filter, also connecting v in to v out .
slac products 23 distortion correction and equalization the dslac device contains programmable filters in the receive (r) and transmit (x) directions that may be pro- grammed for line equalization and to correct any atten- uation distortion caused by the z filter. transhybrid balancing the dslac device ? s programmable b filter is used to adjust transhybrid balance. the filter has a single pole iir section (biir) and an eight tap fir section (bfir), both operating at 16 khz. the dslac device has an optional adaptive mode for the b filter, which may be used to achieve optimum performance. the echo path gain (epg) and error level threshold (elt) registers contain values that determine the adaptive mode performance. gain adjustment the dslac device ? s transmit path has two program- mable gain blocks. gain block ax is an analog gain of 0 db or 6.02 db, located immediately before the a/d converter. gain block gx is a digital gain that is program- mable to any gain from 0 db to 12 db with a worst-case step size of 0.3 db for gain settings above 10 db. the filters provide a net gain in the range of 0 db to 18 db. the dslac device receive path has two programmable loss blocks. loss block gr is a digital loss that is pro- grammable from 0 db to 12 db with a worst-case step size of 0.1 db. loss block ar is an analog loss of 0 db or 6.02 db, located immediately after the d/a converter. this provides a net loss in the range of 0 db to 18 db. transmit signal processing in the transmit path, the analog input signal is a/d con- verted, filtered, companded (a-law or -law), and made available for output to the pcm highway. the signal processor contains an alu, ram, rom, and control logic to implement the filter sections. the b, x, and gx blocks are user-programmable digital filter sections with coefficients stored in the coefficient ram while ax is an analog amplifier that can be programmed for 0 db or 6.02 db gain. the filters may be made transparent when not required in a system. the decimator reduces the high input sampling rate to 16 khz for input to the b, gx, and x filters. the x filter is a six tap fir section, which is part of the frequency response correction network. the b filter operates on samples from the receive signal path in order to provide transhybrid balancing in the loop. the high-pass filter rejects low frequencies such as 50 or 60 hz and may be disabled. transmit pcm interface the transmit pcm interface receives an 8-bit com- pressed code from the digital a-law/-law compressor. transmit logic controls the transmission of data onto the pcm highway through output port selection and time/ clock slot control circuitry. the frame sync (fs) pulse identifies the beginning of a transmit frame and all channels (time slots) are refer- enced to it. the logic contains user programmable transmit time slot and transmit clock slot registers. the time slot register is 7 bits wide and allows up to 128 8-bit channels (using a pclk of 8.192 mhz) in each frame. this feature allows any clock frequency between 128 khz and 8.192 mhz (2 to 128 channels) in a system. the clock slot register is 3 bits wide and may be pro- grammed to offset the time slot assignment by 0 to 7 pclk periods to eliminate any clock skew in the system. the data is transmitted in bytes with the most significant bit first. an exception occurs when division of the pclk fre- quency by 64 khz produces a nonzero remainder, r (r = f pclk modulo 64 khz, r > 0), and when the trans- mit clock slot is greater than r. in that case, the r-bit tsa ar aisn tx cutoff digital loop- back (#13) gx ax tsa loopback (also uses tx cutoff) (#21) r gr x adc decimator & hpf dac lpf & hpf compressor expander lpf vout vin tsa b inter- polator + + + z digital tx digital rx inter- polator deci- mator pcm highway rx cutoff analog loopback (also uses rx cutoff) (#21) figure 8. dslac block diagram 09875h-018 * * * * programmable blocks * * ** **
24 am79c02/03/031(a) data sheet fractional time slot after the last full time slot in the frame contains random information and has the tsc output turned on. for example, if the pclk frequency is 1.544 mhz (r = 1) and the transmit clock slot is greater than 1, the 1-bit fractional time slot after the last full time slot in the frame contains random informa- tion, and the tsc output remains active during the frac- tional time slot. the data is transmitted in bytes, with the most significant bit first. the pcm data may be user programmed for output onto either the dxa or dxb port. correspondingly, either tsca or tscb is low during transmission. the dxa/dxb and tsca/tscb outputs can be pro- grammed to change either on the negative or positive edge of pclk. in the first case, an extra delay (pcm delay) in the timing of the dxa and dxb signals may be programmed to allow timing compatibility with other devices on the pcm highway. receive signal processing in the receive path, the digital signal is expanded, fil- tered, converted to analog, and passed to the vout pin. the signal processor contains an alu, ram, rom, and control logic to implement the filter sections. the z, r, and gr blocks are user-programmable filter sections with their coefficients stored in the coefficient ram, while ar is an analog amplifier that can be programmed for a 0 db or 6.02 db loss. the filters may be made transparent when not required in a system. the low-pass filter band limits the signal. the r filter is a six tap fir section operating at a 16 khz sampling rate and is part of the frequency response correction network. the analog impedance scaling network (aisn) is a user-programmable gain block providing feedback from v in to v out to emulate different zslic impedances from a single external zslic impedance. the z filter provides feedback from the transmit signal path to the receive path and is used to modify the effec- tive input impedance to the system. the interpolator increases the sampling rate prior to d/a conversion. receive pcm interface the receive pcm interface logic controls the reception of data bytes from the pcm highway, transfers the data to the a-law/-law expansion logic, and then passes the data to the receive path of the signal processor. the frame sync (fs) pulse identifies the beginning of a re- ceive frame, and all channels (time slots) are referenced to it. the logic contains user-programmable receive time slot and receive clock slot registers. the time slot register is 7 bits wide and allows up to 128 8-bit chan- nels (using a pclk of 8.192 mhz) in each frame. this feature allows any clock frequency between 128 khz and 8.192 mhz (2 to 128 channels) in a system. the clock slot register is 3 bits wide and may be pro- grammed to offset the time slot assignment by 0 to 7 pclk periods to eliminate any clock skews in the sys- tem. an exception occurs when division of the pclk frequency by 64 khz produces a nonzero remainder, r (r = f pclk modulo 64 khz, r > 0) and when the receive clock slot is greater than r. in that case, the last receive time slot in the frame is not usable. for example, if the pclk frequency is 1.544 mhz (r = 1), the receive clock slot can be only 0 or 1 if the last time slot is to be used. the pcm data may be user programmed for input from either the dra or drb port. analog impedance scaling network (aisn) the aisn is incorporated in the dslac device to scale the value of the external zslic impedance. scaling this external impedance with the aisn (along with the z fil- ter) allows matching of many different line conditions using a single impedance value. linecards may be de- signed for many different specifications without any hardware changes. the aisn is a programmable gain that is connected across the dslac device input from v in to v out . the gain can be varied from ? 0.9375 to +0.9375 in 31 steps of 0.0625. the aisn gain is given by the follow- ing equation: where a, b, c, d, and e = 1 or 0. the aisn gain is used to alter the input impedance of the dslac device from the slic as given by: where g 440 (defined as g 24 g 42 + g 44 ) is the echo gain into an open circuit and g 44 is the echo gain into a short circuit. there are two special cases to the formula for h aisn : 1) value of abcde = 00000 specifies a gain of 0 (or cutoff), and 2) a value of abcde = 10000 is a special case where the aisn circuitry is disabled and the v out pad is connected internally to v in with a gain of 0 db. this allows a digital-to-digital loopback mode wherein a digital pcm input signal is completely processed through the receive section all the way to the vout pin. the signal then is connected internally to v in where it is processed through the transmit section and output as digital pcm data. speech coding the a/d and d/a conversion follows either the a-law or the -law as they are defined in ccitt rec. g.711. a-law or -law operation is programmed using mpi command 19. alternate bit inversion is performed as part of the a-law coding. h aisn 0.0625 a2 4 b2 3 c2 2 d2 1 e2 0 ++++ () 16 ? [] = z in z sl 1g 44 h aisn ? () 1g 440 h aisn ? () ---------------------------------------- =
slac products 25 command description and formats microprocessor interface description a microprocessor may be used to program the dslac device and control its operation using the microproces- sor interface (mpi). data programmed previously may be read out for verification. for each channel, com- mands are provided to assign values to the following parameters. ? transmit time slot ? receive time slot ? transmit clock slot ? receive clock slot ? transmit gain ? receive loss ? b-filter coefficients ? x-filter coefficients ? r-filter coefficients ? z-filter coefficients ? adaptive b filter parameters ? aisn coefficient ? read/write slic input/output ? select a-law or -law code ? select transmit pcm port a or b ? select transmit pcm clock edge ? select transmit pcm delay ? select receive pcm port a or b ? enable/disable b filter ? enable/disable z filter ? enable/disable x filter ? enable/disable r filter ? enable/disable gx filter ? enable/disable gr filter ? enable/disable ax amplifier ? enable/disable ar amplifier ? enable/disable adaptive b filter ? select test modes ? select active or inactive (standby) mode the following description of the mpi is valid for either channel 1 or 2. whenever cs is specified, it refers to either cs1 or cs2 . if desired, both channels may be programmed simultaneously with identical information by activating cs1 and cs2 at the same time. com- mands that affect both channels simultaneously are not- ed as such. the mpi consists of serial data input (din or dio), out- put (dout or dio), data clock (dclk), and a separate chip select (cs1 and cs2 ) input for each channel. the serial input consists of 8-bit command words that may be followed with additional bytes of input data or may be followed by the dslac device sending out bytes of data. all data input and output is msb (d7) first and lsb (d0) last. all data bytes are read or written one at a time, with cs going high for at least the minimum off period before the next byte is read or written. all commands that require additional input data to the device must have the input data as the next n words written into the device (for example, framed by the next n transitions of cs ). all commands that are followed by output data causes the device to output data for the next n transitions of cs going low. the dslac device does not accept any input commands until all the data is shifted out. unused bits in the data bytes are read out as zeros. a command sequence to one channel must be finished before a command can be sent to the channel. the nop command 2 is recommended to follow any set of com- mands to the dslac device. the nop is executed in the event of any anamolous cs assertion. an mpi cycle is defined by transitions of cs and dclk. if the cs lines are held in the high state between ac- cesses, the dclk may run continuously with no change to the internal control data. using this method, the same dclk may be run to a number of dslac devices and the individual cs lines selects the appropriate device to access. between command sequences, dclk can stay in the high state indefinitely with no loss of internal control information regardless of any transitions on the cs lines. between bytes of a multibyte read or write command sequence, dclk also can stay in the high state indefinitely; however, each low-going transition of the cs line still advances the byte counter. dclk can stay in the low state indefinitely with no loss of internal control information, provided the cs lines remain at a high level.
26 am79c02/03/031(a) data sheet summary of mpi commands** notes: 1. *code changes with function. 2. **all codes not listed are reserved by legerity and should not be used. c# hex description c# hex description 1. 00 deactivate (standby mode) 24. 80 write gx filter coefficients 2. 02 reset 25. 81 read gx filter coefficients 3. 06 no operation 26. 82 write gr filter coefficients 4. 08 reset to normal conditions 27. 83 read gr filter coefficients 5. 0e activate 28. 84 write z filter coefficients 6. 1* mclk selection 29. 85 read z filter coefficients 7. 40 write tx time slot & pcm highway 30. 86 write b filter coefficients 8. 41 read tx time slot & pcm highway 31. 87 read b filter coefficients 9. 42 write rx time slot & pcm highway 32. 88 write x filter coefficients 10. 43 read rx time slot & pcm highway 33. 89 read x filter coefficients 11. 44 write rx & tx clock slot and tx edge 34. 8a write r filter coefficients 12. 45 read rx & tx clock slot and tx edge 35. 8b read r filter coefficients 13. 50 write aisn, pcm delay, analog gains 36. 8c write echo path gain 14. 51 read aisn, pcm delay, analog gains 37. 8d read echo path gain 15. 52 write slic input/output register 38. 8e write error level threshold 16. 53 read slic input/output register 39. 8f read error level threshold 17. 54 write slic input/output direction 40. 92 write gz filter coefficient 18. 55 read slic i/o direction, power interrupt bit, and channel status bit 41. 93 read gz filter coefficient 19. 60 write operating functions 42. 90 write adaptive b filter control 20. 61 read operating functions 43. 91 read adaptive b filter control 21. 70 write operating conditions 44. 64 write operating functions ii 22. 71 read operating conditions 45. 65 read operating functions ii 23. 73 read revision code number
slac products 27 command structure this section describes in detail each of the mpi commands. each of the commands is shown along with the format of any additional data bytes that follow. for details of the filter coefficients of the for c xy m xy , please refer to the description of coefficients section. 1. deactivate (standby state) (00h) during the inactive state (of one or more channels): a) all of the programmed information is retained. b) the microprocessor interface (mpi) remains active. c) the pcm outputs are in high impedance and the pcm inputs are disabled. d) the analog output is tied to 2.1 v through an internal resistor (~3 k ? ). 2. software reset (02h) the software reset state of the device is: a) the channel is placed in the inactive (standby) mode. b) gx, gr, x, r, b, and z filters are disabled with coefficients retained. c) ax and ar are set to unity and aisn gain is set to 0. d) the adaptive b feature is disabled. e) a-law is selected. f) all slic i/o lines are configured as inputs. g) normal conditions are selected (see command 4). 3. no operation (06h) 4. reset to normal conditions (08h) reset to normal conditions performs the following operations: a) does not insert 6 db loss in receive path. b) receive and transmit paths are not cutoff. c) high-pass filter is enabled. d) test modes are turned off. 5. activate (operational state) (0eh) this command places the device in the active mode. no valid pcm data is transmitted until after the second fs pulse is received following the execution of the activate command. d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 0 0 0 0 0 0 0 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 0 0 0 0 0 1 0 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 0 0 0 0 1 1 0 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 0 0 0 1 0 0 0 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 0 0 0 1 1 1 0
28 am79c02/03/031(a) data sheet 6. mclk selection (10h/12h) mclk may be selected to operate from a 2.048 mhz or 4.096 mhz external clock. mclk selection on either channel affects both channels. a = 0: 2.048 mhz a = 1: 4.096 mhz 7. write transmit time slot and pcm highway selection (40h) pcm = 0: highway a pcm = 1: highway b ts: time slot number 0 to 127 the pcm highway b is not available on the am79c031(a). the transmit section of both channels must not be set to the same time slot on the same output port simultaneously. 8. read transmit time slot and pcm highway selection (41h) 9. write receive time slot and pcm highway selection (42h) pcm = 0: highway a pcm = 1: highway b ts: time slot number 0 to 127 the pcm highway b is not available on the am79c031(a). 10. read receive time slot and pcm highway selection (43h) d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 0 0 1 0 0 a 0 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 0 0 0 0 0 output data pcm ts ts ts ts ts ts ts d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 0 0 0 0 1 output data pcm ts ts ts ts ts ts ts d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 0 0 0 1 0 output data pcm ts ts ts ts ts ts ts d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 0 0 0 1 1 output data pcm ts ts ts ts ts ts ts
slac products 29 11. write transmit clock slot, receive clock slot, and transmit clock edge (44h) tcs: transmit clock slot number 0 ? 7 rcs: receive clock slot number 0 ? 7 xe=0 transmit on negative edge of pclk xe = 1 transmit on positive edge of pclk rsvd: reserved. always write as 0, but 0 is not guaranteed when read. note: xe = 1 should not be programmed unless the pcm delay is removed (i.e., pcd = 1). the xe bit is set for both channels when written to either channel. if xe = 1, the maximum pcm clock rate becomes 4.096 mhz. 12. read transmit clock slot, receive clock slot, and transmit clock edge (45h) rsvd: reserved. always write as 0, but 0 is not guaranteed when read. 13. write aisn, pcm delay, and analog gains (50h) pcm delay: pcd = 0* delay inserted (slac device compatible) pcd = 1 delay removed (high speed) transmit analog gain: ax = 0* 0 db gain ax = 1 6.02 db gain receive analog loss: ar = 0* 0 db loss ar = 1 6.02 db loss aisn coefficient: a, b, c, d, e the analog impedance scaling network (aisn) gain can be varied from ? 0.9375 to 0.9375 in multiples of 0.0625. the gain coefficient is decoded using the follow- ing equation: where h aisn is the gain of the aisn and a, b, c, d, and e = 0 or 1. a value of abcde = 10000 implements a special digital loopback mode, and a value of abcde = 00000 indicates a gain of 0 (cutoff). * power-up default value. note: maximum pclk frequency with pcm delay inserted (pcd = 0) is: 4.096 mhz. d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 0 0 1 0 0 input data rsvd xe rcs rcs rcs tcs tcs tcs d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 0 0 1 0 1 output data rsvd xe rcs rcs rcs tcs tcs tcs d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 1 0 0 0 0 input data pcd ax ar a b c d e h aisn 0.0625 a 2 4 b2 3 c2 2 d2 1 e2 0 ? + ? + ? + ? + ? () 16 ? [] =
30 am79c02/03/031(a) data sheet 14. read aisn, pcm delay, and analog gains (51h) 15. write slic output register (52h) c1 through c5 are set to 1 or 0. the data appears latched on the c1 through c5 slic i/o pins, provided they are set in the output mode (see command 17). the data sent to any of the pins set to the input mode are latched, but do not appear at the pins. rsvd reserved. always write as 0, but 0 is not guaranteed when read. 16. read slic pins (53h) the logic state of pins c1 through c5 is read regardless of the direction programmed into the input/output register. 17. write slic input/output direction (54h) pins c1x through c5x are set to input or output modes individually. pins c51 and c52 are not available on the am79c03(a). c51 and c52 pins are output only on the am79c031(a) and must be programmed as outputs with this command. all unused slic i/o pins should be programmed as outputs to reduce power consumption. data bit a sets pins c51 or c52. data bit b sets pins c41 or c42. data bit c sets pins c31 or c32. data bit d sets pins c21 or c22. data bit e sets pins c11 or c12. data bit = 0; pin mode = input.* data bit = 1; pin mode = output. rsvd reserved. always write as 0, but 0 is not guaranteed when read. * power up default value d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 1 0 0 0 1 output data pcd ax ar a b c d e d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 1 0 0 1 0 input data rsvd rsvd rsvd c5 c4 c3 c2 c1 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 1 0 0 1 1 output data rsvd rsvd rsvd c5 c4 c3 c2 c1 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 1 0 1 0 0 input data rsvd rsvd rsvd c5 c4 c3 c2 c1
slac products 31 18. read slic input/output direction, channel status bit, and power interrupt bit (55h) power interruption pi = 0 there has not been a power interruption since the last software reset command. pi = 1 a power interruption has been previously detected requiring the dslac device to be completely reprogrammed. this bit is cleared by issuing a software reset command. channel status cstat = 0 channel is inactive (standby mode). cstat = 1 channel is active. d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 0 1 0 1 0 1 output data pi cstat rsvd a b c d e
32 am79c02/03/031(a) data sheet 19. write operating functions (60h) adaptive b filter abf = 0* b filter nonadaptive mode pcd = 1 b filter adaptive mode a-law/-law a/m = 0* a-law coding a/m = 1 -law coding gr filter egr = 0* gr filter disabled egr = 1 gr filter enabled gx filter egx = 0* gx filter disabled egx = 1 gx filter enabled x filter ex = 0* x filter disabled ex = 1 x filter enabled r filter er = 0* r filter disabled er = 1 r filter enabled z filter ez = 0* z filter disabled ez = 1 z filter enabled b filter eb = 0* b filter disabled eb = 1 b filter enabled * power up default value. note: the enable adaptive b filter command only is effective when used with the enable b filter command. 20. read operating functions (61h) d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 1 0 0 0 0 0 input data abf a/ egr egx ex er ez eb d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 1 0 0 0 0 1 input data abf a/ egr egx ex er ez eb
slac products 33 21. write operating conditions (70h) cut off transmit path ctp = 0* transmit path connected ctp = 1 transmit path cut off (see note) cut off receive path crp = 0* receive path connected crp = 1 receive path cut off high-pass filter hpf = 0* high-pass filter enabled hpf = 1 high-pass filter disabled receive path gain rg = 0* 6 db loss not inserted rg = 1 6 db loss inserted analog loopback alb = 0* analog loopback disabled alb = 1 analog loopback enabled tsa loopback tlb = 0* tsa loopback disabled tlb = 1 tsa loopback enabled rsvd = reserved. always write as 0, but 0 is not guaranteed when read. * power up default value. note: the b filter still is connected across the pcm highway during receive cut off. accompany receive cut off with a b filter disable command. 22. read operating conditions (71h) 23. read revision code number (73h) this command returns an 8-bit number describing the revision number of the dslac device. it can be read on either channel. d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 1 1 0 0 0 0 input data ctp crp hpf rg alb tlb rsvd rsvd d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 1 1 0 0 0 1 output data ctp crp hpf rg alb tlb rsvd rsvd d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 0 1 1 1 0 0 1 1 output data # # # # # # # #
34 am79c02/03/031(a) data sheet 24. write gx filter coefficients (80h) the coefficient for the gx filter is defined as: 25. read gx filter coefficients (81h) 26. write gr filter coefficients (82h) the coefficient for the gr filter is defined as: 27. read gr filter coefficients (83h) d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 1 0 0 0 0 0 0 0 input data byte 1 c40 m40 c30 m30 input data byte 2 c20 m20 c10 m10 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 1 0 0 0 0 0 0 1 output data byte 1 c40 m40 c30 m30 output data byte 2 c20 m20 c10 m10 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 1 0 0 0 0 0 1 0 input data byte 1 c40 m40 c30 m30 input data byte 2 c20 m20 c10 m10 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 1 0 0 0 0 0 1 1 output data byte 1 c40 m40 c30 m30 output data byte 2 c20 m20 c10 m10 h gx 1c102 m10 ? 1c202 m20 ? 1c302 m30 ? 1c402 m40 ? ? + () ? + [] ? + {} ? () + = h gr c10 2 m10 ? ? 1c202 m20 ? 1c302 m30 ? 1c402 m40 ? ? + () ? + [] ? + {} =
slac products 35 28. write z filter coefficients (84h) the z-transform equation for the z filter is defined as: the coefficients are defined as: for i = 0, 1, 2, 3, 4, 5, 6. 29. read z filter coefficients (85h) d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10000100 input data byte 1 c45 m45 c35 m35 input data byte 2 c25 m25 c15 m15 input data byte 3 c40 m40 c30 m30 input data byte 4 c20 m20 c10 m10 input data byte 5 c41 m41 c31 m31 input data byte 6 c21 m21 c11 m11 input data byte 7 c42 m42 c32 m32 input data byte 8 c22 m22 c12 m12 input data byte 9 c43 m43 c33 m33 input data byte 10 c23 m23 c13 m13 input data byte 11 c44 m44 c34 m34 input data byte 12 c24 m24 c14 m14 input data byte 13 c46 m46 c36 m36 input data byte 14 c26 m26 c16 m16 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10000101 output data byte 1 c45 m45 c35 m35 output data byte 2 c25 m25 c15 m15 output data byte 3 c40 m40 c30 m30 output data byte 4 c20 m20 c10 m10 output data byte 5 c41 m41 c31 m31 output data byte 6 c21 m21 c11 m11 output data byte 7 c42 m42 c32 m32 output data byte 8 c22 m22 c12 m12 output data byte 9 c43 m43 c33 m33 output data byte 10 c23 m23 c13 m13 output data byte 11 c44 m44 c34 m34 output data byte 12 c24 m24 c14 m14 output data byte 13 c46 m46 c36 m36 output data byte 14 c26 m26 c16 m16 h z z () z 0 z 1 z 1 ? z 2 z 2 ? z 3 z 3 ? z 4 z 4 ? z 5 1z 6 z 1 ? ? ---------------------- - +++++ = z i cli 2 m1i ? ? 1c2i2 m2i ? 1c3i2 m3i ? 1c4i2 m4i ? ? + () ? + [] ? + {} =
36 am79c02/03/031(a) data sheet 30. write b filter coefficients (86h) the z-transform equation for the b filter is defined as: the coefficients for the fir b section and the gain of the iir b section are defined as: the feedback coefficient of the iir b section is defined as: warning: not all b filter coefficients are ? valid ? to initiate adaptive balance. one valid coefficient is set as: 2a f2 af 2a f2 af 2a f2 af 2a f2 af 0a 80, which corresponds to all fir coefficients (b0 ? b7) equal to zero, and the iir denomination coefficient (b8) equal to 1/2. other valid coefficients that may reduce the time to convergence of the algorithm may be obtained by reading back the registers after adaptive balance has been run (see command 31). d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10000110 input data byte 1 c30 m30 c20 m20 input data byte 2 c10 m10 c31 m31 input data byte 3 c21 m21 c11 m11 input data byte 4 c32 m32 c22 m22 input data byte 5 c12 m12 c33 m33 input data byte 6 c23 m23 c13 m13 input data byte 7 c34 m34 c24 m24 input data byte 8 c14 m14 c35 m35 input data byte 9 c25 m25 c15 m15 input data byte 10 c36 m36 c26 m26 input data byte 11 c16 m16 c37 m37 input data byte 12 c27 m27 c17 m17 input data byte 13 c48 m48 c38 m38 input data byte 14 c28 m28 c18 m18 h b z () b 0 b 1 z 1 ? b 2 z 2 ? b 3 z 3 ? b 4 z 4 ? b 5 z 5 ? b 6 z 6 ? b 7 z 7 ? 1b 8 z 1 ? ? ----------------------- +++++++ = b i cli 2 m1i ? ? 1c2i2 m2i ? 1c3i2 m3i ? ? + () ? + [] = b 8 c18 2 m18 ? ? 1c282 m28 ? 1c382 m38 ? ? 1c482 m48 ? ? + () + [] ? + {} =
slac products 37 31. read b filter coefficients (87h) 32. write x filter coefficients (88h) the z-transform equation for the x filter is defined as: the coefficients for the x filter are defined as: d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10000111 output data byte 1 c30 m30 c20 m20 output data byte 2 c10 m10 c31 m31 output data byte 3 c21 m21 c11 m11 output data byte 4 c32 m32 c22 m22 output data byte 5 c12 m12 c33 m33 output data byte 6 c23 m23 c13 m13 output data byte 7 c34 m34 c24 m24 output data byte 8 c14 m14 c35 m35 output data byte 9 c25 m25 c15 m15 output data byte 10 c36 m36 c26 m26 output data byte 11 c16 m16 c37 m37 output data byte 12 c27 m27 c17 m17 output data byte 13 c48 m48 c38 m38 output data byte 14 c28 m28 c18 m18 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10001000 input data byte 1 c40 m40 c30 m30 input data byte 2 c20 m20 c10 m10 input data byte 3 c41 m41 c31 m31 input data byte 4 c21 m21 c11 m11 input data byte 5 c42 m42 c32 m32 input data byte 6 c22 m22 c12 m12 input data byte 7 c43 m43 c33 m33 input data byte 8 c23 m23 c13 m13 input data byte 9 c44 m44 c34 m34 input data byte 10 c24 m24 c14 m14 input data byte 11 c45 m45 c35 m35 input data byte 12 c25 m25 c15 m15 h x z () x 0 x 1 z 1 ? x 2 z 2 ? x 3 z 3 ? x 4 z 4 ? x 5 z 5 ? +++++ = x i cli 2 m1i ? ? 1c2i2 m2i ? 1c3i2 m3i ? ? 1c4i2 m4i ? ? + () + [] ? + {} =
38 am79c02/03/031(a) data sheet 33. read x filter coefficients (89h) 34. write r filter coefficients (8ah) the z-transform equation for the r filter is defined as: the coefficients for the r filter are defined as: d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10001001 output data byte 1 c40 m40 c30 m30 output data byte 2 c20 m20 c10 m10 output data byte 3 c41 m41 c31 m31 output data byte 4 c21 m21 c11 m11 output data byte 5 c42 m42 c32 m32 output data byte 6 c22 m22 c12 m12 output data byte 7 c43 m43 c33 m33 output data byte 8 c23 m23 c13 m13 output data byte 9 c44 m44 c34 m34 output data byte 10 c24 m24 c14 m14 output data byte 11 c45 m45 c35 m35 output data byte 12 c25 m25 c15 m15 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10001010 input data byte 1 c40 m40 c30 m30 input data byte 2 c20 m20 c10 m10 input data byte 3 c41 m41 c31 m31 input data byte 4 c21 m21 c11 m11 input data byte 5 c42 m42 c32 m32 input data byte 6 c22 m22 c12 m12 input data byte 7 c43 m43 c33 m33 input data byte 8 c23 m23 c13 m13 input data byte 9 c44 m44 c34 m34 input data byte 10 c24 m24 c14 m14 input data byte 11 c45 m45 c35 m35 input data byte 12 c25 m25 c15 m15 h r z () r 0 r 1 z 1 ? r 2 z 2 ? r 3 z 3 ? r 4 z 4 ? r 5 z 5 ? +++++ = r i cli 2 m1i ? ? 1c2i2 m2i ? 1c3i2 m3i ? ? 1c4i2 m4i ? ? + () + [] ? + {} =
slac products 39 35. read r filter coefficients (8bh) 36. write echo path gain (8ch) the equation for the echo path gain is defined as: 37. read echo path gain (8dh) 38. write error level threshold (8eh) the equation for the error level threshold is defined as: d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10001011 output data byte 1 c40 m40 c30 m30 output data byte 2 c20 m20 c10 m10 output data byte 3 c41 m41 c31 m31 output data byte 4 c21 m21 c11 m11 output data byte 5 c42 m42 c32 m32 output data byte 6 c22 m22 c12 m12 output data byte 7 c43 m43 c33 m33 output data byte 8 c23 m23 c13 m13 output data byte 9 c44 m44 c34 m34 output data byte 10 c24 m24 c14 m14 output data byte 11 c45 m45 c35 m35 output data byte 12 c25 m25 c15 m15 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10001100 input data byte 1 c80 m80 c70 m70 input data byte 2 c60 m60 c50 m50 input data byte 3 00000000 input data byte 4 00000011 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10001101 output data byte 1 c80 m80 c70 m70 output data byte 2 c60 m60 c50 m50 output data byte 3 00000000 output data byte 4 00000011 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10001110 input data byte 1 c20 m20 c10 m10 epg 1 c50 +2 m50 ? ? 1c602 m60 ? 1c702 m70 ? ? 1c802 m80 ? ? + () + [] ? + {} = elt c10 2 m10 ? ? 1c202 m20 ? ? + () =
40 am79c02/03/031(a) data sheet 39. read error level threshold (8fh) 40. write gz filter coefficient (92h) rsvd reserved. always write as 0, but 0 is not guaranteed when read. the coefficient, gz, is defined as: the default value after any reset is gz = 0 hex for a gain of 1. 41. read gz filter coefficient (93h) 42. write adaptive b filter control coefficients (90h) the equations for the decorrelation threshold coefficients are: the equation for the low level signal threshold coefficient is: the equation for the digital prebalance threshold coefficient is: d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10001111 output data byte 1 c20 m20 c10 m10 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10010010 input data c10 m10 rsvd rsvd rsvd rsvd d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10010011 output data c10 m10 rsvd rsvd rsvd rsvd new to revision e d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10010000 input data c20 m20 c10 m10 input data c21 m21 c11 m11 input data c32 m32 c22 m22 input data c12 m12 c33 m33 input data c23 m23 c13 m13 gz c10 2 m10 ? ? = dcr1 c10 2 m10 ? ? 1c202 m20 ? ? + () = dcr2 c11 2 m11 ? ? 1c212 m21 ? ? + () = lst c12 2 m12 ? ? 1c222 m22 ? 1c322 m32 ? ? + [] ? + () = dpb c13 2 m13 ? ? 1c232 m23 ? 1c332 m33 ? ? + [] ? + () =
slac products 41 43. read adaptive b filter coefficients (91h) 44. write operating functions 2 (64h) chopper clock control chp = 0 chopper clock is 256 khz chp = 1 chopper clock is 292.571 khz adaptation control eac = 0 lst, dcr1, and dcr2 are disabled eac = 1 lst, dcr1, and dcr2 are enabled epb = 0 dpb is disabled epb = 1 dpb is enabled 45. read operating functions 2 (65h) rsvd reserved. always write as 0, but 0 is not guaranteed when read. programmable filters general description of csd coefficients the filter functions are performed by a series of multi- plications and accumulations. a multiplication is accom- plished by repeatedly shifting the multiplicand and summing the result with the previous value at that sum- mation node. the method used in the dslac device is known as canonic signed digit (csd) multiplication and splits each coefficient into a series of csd coefficients. each programmable fir filter section has the following general transfer function: eq. (1) where the number of taps in the filter = n + 1. the transfer function for iir part of z and b filters is: eq. (2) the values of the user-defined coefficients (hi) are as- signed via the mpi. each of the coefficients (hi) is de- fined in the following general equation: eq. (3) where: m i = the number of shifts m i + 1 b i = sign = 1 n = number of csd coefficients new to revision e d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 10010001 output data c20 m20 c10 m10 output data c21 m21 c11 m11 output data c32 m32 c22 m22 output data c12 m12 c33 m33 output data c23 m23 c13 m13 new to revision e d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 01100100 input data rsvd rsvd rsvd rsvd rsvd chp eac epb new to revision e d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command 01100101 output data rsvd rsvd rsvd rsvd rsvd chp eac epb hf z () h 0 h 1 z 1 ? h 2 z 2 ? h n z n ? ++++ = hi z () 1 1h n1 + () z 1 ? ? --------------------------------- = hi b 1 2 m1 ? b 2 2 m2 ? b n 2 mn ? +++ =
42 am79c02/03/031(a) data sheet the value of h i in equation 3 represents a decimal number that is broken down into a sum of successive values of: 1.0 multiplied by 2 ? 0 , or 2 ? 1 , or 2 ? 2 ...2 ? 7 ... or 1.0 multiplied by 1, or 1/2, or 1/4...1/128... the limit on the negative powers of 2 is determined by the length of the registers in the alu. the coefficient h i in equation 3 can be considered to be a value made up of n binary 1s in a binary register where the leftmost part represents whole numbers, the right- most part represents decimal fractions, and a decimal point separates them. the first binary 1 is shifted m1 bits to the right of the decimal point, the second binary 1 is shifted m2 bits to the right of the decimal point, the third binary 1 is shifted m3 bits to the right of the decimal point, and so on. note that when m1 is 0, the resulting value is a binary 1 in front of the decimal point, that is, no shift. if m2 also is 0, the result is another binary 1 in front of the decimal point, giving a total value of binary 10 in front of the dec- imal point (i.e., a decimal value of 2.0). the value of n, therefore, determines the range of values the coefficient h i can take (e.g., if n = 3, the maximum and minimum values are 3, and if n = 4, the values are between 4). detailed description of dslac device coefficients the csd coding scheme in the dslac device uses a value called mi, where m1 represents the distance shift- ed right of the decimal point for the first binary 1. m2 represents the distance shifted to the right of the previ- ous binary 1, and m3 represents the number of shifts to the right of the second binary 1. note that the range of values determined by n is unchanged. equation 3 now is modified (in the case of n = 4) to: eq. (4) eq. (5) eq. (6) where: and in the dslac device, a coefficient, h i , consists of n csd coefficients, each being made up of 4 bits and formatted as cxymxy, where cxy is one bit (msb) and mxy is 3 bits. each csd coefficient is broken down as follows: c xy is the sign bit (0 = positive, 1 = negative). mxy is the 3-bit shift code. it is encoded as a binary number as follows: 000: 0 shifts 001: 1 shifts 010: 2 shifts 011: 3 shifts 100: 4 shifts 101: 5 shifts 110: 6 shifts 111: 7 shifts y is the coefficient number (the i in h i ). x is the position of this csd coefficient position of the binary 1 represented by this csd coef- ficient within the h i coefficient. the most sig- nificant binary 1 is represented by x = 1. the next most significant binary 1 is represented by x = 2, and so on. thus, c13m13 represents the sign and the relative shift position for the first (most significant) binary 1 in the 4th (h3) coefficient. the number of csd coefficients, n, is limited to 4 in the gr, gx, r, x, z, and the iir part of the b filter, and 3 for the fir part of the b filter. note also that the gx filter coefficient equation is slightly different from that of the other filters. eq. (7) please refer to the section detailing the commands for complete details on the programming of the coefficients. adaptive b filter overview the dslac device b filter is designed to work with pre- programmed coefficients or with coefficients deter- mined by an adaptive algorithm (note: the adaptive transhybrid balance feature is guaranteed only on the am79c02a/03a/031a versions). the adaptive algo- rithm can be operated in a mode where it continuously adapts or where it adapts for a short period, and then holds its value. operation with preprogrammed coefficients requires only the use of mpi command 30 to feed in the coeffi- cients. the adaptive mode uses some preprogrammed coefficients and generates new ones using an algo- rithm, which by a series of iterations, minimizes the re- ceive signal that is echoed in the transmit signal (due to mismatches in the slic, hybrid, and line). adaptation applies to the fir part of the filter only. preprogrammed coefficients used to initiate the adaptive algorithm must be ? valid ? (shown under command 30). other valid co- efficients may be obtained by using this coefficient, run- ning adaptive balance, and then reading back the registers (refer to #30 in command structure). h i b 1 2 m1 ? b 2 2 m2 ? b 3 2 m3 ? b 4 2 m4 ? +++ = h i c 1 2 m1 ? c 1 c 2 2 m1 m2 + () ? c 1 c 2 c 3 2 m1 m2 m3 ++ () ? c 1 c 2 c 3 c 4 2 m1 m2 m3 m4 +++ () ? ++ + = h i c 1 2 m1 ? 1c 2 2 m2 ? 1c 3 2 m3 ? 1c 4 2 m4 ? + () ? + [ ] ? + { } ? = m 1 m 1 m 2 m 1 m 2 m 3 m 1 m 2 m 3 m 4 m 1 m 2 m 3 m 4 +++ = ++ = + = = b 1 c 1 b 2 c 1 c 2 ? b 3 c 1 c 2 ? c 3 b 4 ? c 1 c 2 ? c 3 ? c 4 ? = = = = h igx 1h i + =
slac products 43 in the continuous adaptation mode, the algorithm is switched on (via mpi command 19) after a call is con- nected and remains on until the call ends. in this way, the b filter is continually being optimized to the re- ceived signal. in the adapt and freeze modes, the algorithm is used only when a line is brought into service and the dslac device is activated. the algorithm is switched on and is allowed to converge with the received signal, which is a bandlimited white noise signal generated in the ex- change for this purpose. the noise signal need only be injected for less than a second to yield converged coef- ficients. the adaptive mode then is switched off (via command 19). the converged coefficients may be read out of the dslac device (using mpi command 31) and stored for future reference. the dslac device is now optimized for general input signals. adaptive filter programming the purpose of the b filter is to cancel the received signal that leaks across the hybrid into the transmit path. the b filter transfer function must match (as closely as possible) the transfer function of the echo path. there are two programmable registers associated with the adaptive b filtering. the echo path gain (epg) is a programmable value that predicts the amount of the receive signal leaking across the hybrid to the transmit path. the epg is used as part of an algorithm, which stops the adaptive filter from iterating in the presence of signals from the subscriber line (nearend talker). the error level threshold (elt) is a programmable val- ue that determines the transhybrid loss the adaptive filter attempts to meet. the adaptive algorithm contin- ues to iterate until it meets the loss requirement speci- fied by the elt. both the epg and elt values are generated by the winslac ? software program (for- merly amslac2 ? software). please refer to the soft- ware technical documentation. user test modes the dslac device supports testing by providing both digital and analog loopback paths as shown in figure 8. in the tsa loopback mode, the dr input is connected to the dx output in the time slot assigner circuitry. the tsa loopback mode is programmed via command 21. a different type of digital loopback is provided when the aisn register is programmed with a value of 10000. in this case, the aisn circuitry is disabled and the vout pad is connected internally to vin. this allows the d/a and a/d converters to be included in the digital loopback test. this mode is programmed via command 13. note that the signal, which is connected internally from vout to vin, also is present on the vout pin. the vin input can be connected to the vout output through the z filter for analog loopback. the response of the line to low frequencies can be tested by disabling the high-pass filter. additionally, the receive and trans- mit paths may be cut off.
44 am79c02/03/031(a) data sheet a-law and -law companding table 1 and table 2 show the companding definitions used for a-law and -law pcm encoding. table 1. a-law: positive input values notes: 1. 4096 normalized value units correspond to tmax = 3.14 dbm0. 2. the character signals are obtained by inverting the even bits of the signals of column 6. before this inversion, the characte r signal corresponding to positive input values between two successive decision values numbered n and n+1 (see column 4) is 128+n, expressed as a binary number. 3. the value at the decoder output is , for n = 1,...127, 128. 4. x 128 is a virtual decision value. 5. bit 1 is a 0 for negative input values. 12345 678 segment # intervals x interval size value at segment end points decision value number n decision value x n ( see note 1 ) character signal pre inversion of even bits quantized value (at decoder output) y n decoder output value no. bit no. number 1 2 3 4 5 6 7 8 4096 (128) (4096) 7 6 5 4 1 1 1 1 1 1 1 1 4032 128 3968 127 2048 1024 113 112 97 96 see note 2 1 1 1 1 0 0 0 0 2176 2048 2112 113 see note 2 1 1 1 0 0 0 0 0 1088 1024 1056 97 512 81 80 see note 2 1 1 0 1 0 0 0 0 544 512 528 81 256 65 64 see note 2 1 1 0 0 0 0 0 0 272 256 264 65 3 128 49 48 see note 2 1 0 1 1 0 0 0 0 136 128 132 49 2 64 33 32 see note 2 1 0 1 0 0 0 0 0 68 64 66 33 1 1 0 see note 2 1 0 0 0 0 0 0 0 2 0 11 16 x 128 16 x 64 16 x 32 16 x 16 16 x 8 16 x 4 32 x 2 y n x n1 ? x n + 2 ----------------------- - =
slac products 45 table 2. -law: positive input values notes: 1. 8159 normalized value units correspond to tmax = 3.17 dbm0. 2. the character signal corresponding to positive input values between two successive decision values numbered n and n+1 (see column 4) is 255-n, expressed as a binary number. 3. the value at the decoder is y 0 = x 0 = 0 for n = 0, and , for n = 1, 2,...127. 4. x 128 is a virtual decision value. 5. bit 1 is a 0 for negative input values. 12 3 4 5 6 7 8 segment # intervals x interval size value at segment end points decision value number n decision value x n ( see note 1 ) character signal pre inversion of even bits quantized value (at decoder output) y n decoder output value no. bit no. number 1 2 3 4 5 6 7 8 8159 (128) (8159) 8 7 6 5 1 0 0 0 0 0 0 0 8031 127 7903 127 4063 2015 113 112 97 96 see note 2 1 0 0 0 1 1 1 1 4319 4063 4191 112 see note 2 1 0 0 1 1 1 1 1 2143 2015 2079 96 991 81 80 see note 2 1 0 1 0 1 1 1 1 1055 991 1023 80 479 65 64 see note 2 1 0 1 1 1 1 1 1 511 479 495 64 4 223 49 48 see note 2 1 1 0 0 1 1 1 1 239 223 231 48 3 95 33 32 see note 2 1 1 0 1 1 1 1 1 103 95 99 32 2 17 16 see note 2 1 1 1 0 1 1 1 1 35 31 00 16 x 256 16 x 128 16 x 64 16 x 32 16 x 16 16 x 8 16 x 4 33 16 31 1 x 1 1 2 1 see note 2 1 1 1 1 1 1 1 0 3 1 15 x 2 21 1 1 1 1 1 1 1 1 00 y n x n1 + x n + 2 ------------------------ =
46 am79c02/03/031(a) data sheet applications the dslac device performs a programmable codec/ filter function for two telephone lines. it interfaces to the telephone lines through either a transformer or an electronic slic, such as the legerity slic devices. the dslac device provides latched digital i/o to con- trol and monitor two slics and has a selectable clock output to operate the switched mode regulator in an am795xx family slic. when several line conditions must be matched, a single slic design can be used. the line characteristics (such as apparent impedance, attenuation, and hybrid balance) can be modified by programming each dslac channel ? s coefficients to meet desired performance. the dslac device can drive a transformer slic device without a buffer. connection to a pcm highway backplane is implement- ed by means of a simple buffer chip. several dslac devices can be bused together into one bus interface buffer. an intelligent bus interface chip is not required because each dslac device provides its own buffer control. the dslac device can be controlled through the microprocessor interface, either by a microproces- sor on the linecard or by a central processor. controlling the slic slic chopper clock the chclk output pin on the dslac device drives the chclk inputs for legerity switcher type slics. the chclk output is a 256 khz or 293 khz, ttl compatible signal that can drive two slics. it is active only when one or both channels are activated; otherwise, it is held high internally. slic input/output the am79c02(a) and am79c031(a) dslac device have five ttl compatible i/o pins (c1 to c5) for each channel. the am79c03(a) dslac device has only c1 through c4 available. the outputs are programmed us- ing command 15 and the status is read back using command 16. the direction of the pins (input or output) is specified by programming the slic i/o direction reg- ister (command 17). the c5 pins of the am79c031(a) are output only and must be programmed as outputs to be used. calculating coefficients with winslac software the winslac software is a program that models the dslac device, the line conditions, the slic, and the linecard components to obtain the coefficients of the programmable filters of the dslac device and some of the transmission performance plots. the following parameters relating to the desired line con- ditions and the components/circuits used in the linecard are to be provided as input to the program: 1. line impedance or the balance impedance of the line is specified by the local ptt. 2. desired two-wire impedance that is to appear at the linecard terminals of the exchange. 3. tabular data for templates describing the frequency response and attenuation distortion of the design. 4. relative analog signal levels for both the transmit and receive two-wire signals. 5. component values and slic device selection for the analog portion of the line circuits. 6. two-wire return loss template is usually specified by the local ptt. 7. four-wire return loss template is usually specified by the local ptt. the output from the winslac program includes the coefficients of the gr, gx, z, r, x, b, and epg filters as well as transmission performance plots of two-wire return loss, receive and transmit path frequency re- sponse, and four-wire return loss. the software supports the use of the legerity slics or allows entry of a spice netlist describing the behavior of any type of slic circuit.
slac products 47 physical dimensions pl032 pl044 revision summary revision h to revision i  the physical dimensions (pl032 and pl044) were added to the physical dimensions section.  deleted the plastic dip pin and references to it.  updated the pin description table to correct inconsistencies. also, deleted the last sentence in the mclk and pclk rows.  minor changes were made to the data style and format to conform to legerity standards.  in note #2 on page 18, the first sentence was modified and the second sentence was deleted. .050 ref. .026 .032 top view pin 1 i.d. .485 .495 .447 .453 .585 .595 .547 .553 16-038fpo-5 pl 032 da79 6-28-94 ae side view seating plane .125 .140 .009 .015 .080 .095 .042 .056 .013 .021 .400 ref. .490 .530 top view seating plane .685 .695 .650 .656 pin 1 i.d. .685 .695 .650 .656 .026 .032 .050 ref .042 .056 .062 .083 .013 .021 .590 .630 .500 ref .009 .015 .165 .180 .090 .120 16-038-sq pl 044 da78 6-28-94 ae side view
48 am79c02/03/031(a) data sheet revision i to revision j  page 45, table 2, changed values in column 7. the contents of this document are provided in connection with legerity, inc. ("legerity") products. legerity makes no represent ations or warran- ties with respect to the accuracy or completeness of the contents of this publication and reserves the right to make changes to specifications and product descriptions at any time without notice. no license, whether express, implied, arising by estoppel or otherwise, to any intellectual property rights is granted by this publication. except as set forth in legerity ? s standard terms and conditions of sale, legerity assumes no liability what- soever, and disclaims any express or implied warranty, relating to its products including, but not limited to, the implied warr anty of merchantability, fitness for a particular purpose, or infringement of any intellectual property right. legerity ? s products are not designed, intended, authorized or warranted for use as components in systems intended for surgical implant i nto the body, or in other applications intended to support or sustain life, or in any other application in which the failure of legerit y ? s product could create a situation where personal injury, death, or severe property or environmental damage may occur. legerity reserves the right to discontinue or make changes to its products at any time without notice. ? 1999 legerity, inc. all rights reserved. trademarks legerity, the legerity logo, and combinations thereof, and amslac2, dslac, slac, and winslac are trademarks of legerity, inc. other product names used in this publication are for identification purposes only and may be trademarks of their respective com panies.


▲Up To Search▲   

 
Price & Availability of AM79C02AJC

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X