Part Number Hot Search : 
ADR444 PK90FG40 XP1005 XP1005 218125P G4PF50W MP7636 MBR1010
Product Description
Full Text Search
 

To Download IDT82V1068PF Datasheet File

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


  Datasheet File OCR Text:
 OCTAL PROGRAMMABLE PCM CODEC
IDT82V1068
FEATURES
* * * * 8 channel CODEC with on-chip digital filters Programmable A/-law compressed or linear code conversion Meets ITU-T G.711 - G.714 requirements Programmable digital filters adapting to system requirements: - AC impedance matching - Transhybrid balance - Frequency response correction - Gain setting Supports two programmable PCM buses and one GCI bus Flexible PCM interface with up to 128 programmable time slots, data rate from 512 kbit/s to 8.192 Mbit/s Broadcast mode for coefficient setting 7 SLIC signaling pins (including 2 debounced pins) per channel Fast hardware ring trip mechanism Two programmable tone generators per channel for testing, ringing and DTMF generation
* * * * *
* * * * * *
* * * * * *
4 FSK generators shared by all 8 channels Two programmable chopper clocks Notch filters for 12 kHz and 16 kHz frequencies Master clock frequency selectable: 1.536 MHz, 1.544 MHz, 2.048 MHz, 3.072 MHz, 3.088 MHz, 4.096 MHz, 6.144 MHz, 6.176 MHz or 8.192 MHz Advanced test capabilities - 5 analog loopback tests - 6 digital loopback tests - Level metering function High analog driving capability (300 AC) CODEC identification 3 V digital I/O with 5 V tolerance 3.3 V single power supply Operating temperature range: - 40C to + 85C Package available: 128 pin TQFP
FUNCTIONAL BLOCK DIAGRAM
MPI INT RESET
CH1
VIN1 VOUT1 2 Inputs 2 I/Os 3 Outputs Filter and A/D D/A and Filter
General Control Logic
CH5
Filter and A/D D/A and Filter VIN5 VOUT5 2 Inputs 2 I/Os 3 Outputs
SLIC Signaling
SLIC Signaling
CH2 CH3
DSP Core
CH6 CH7
CH4
MCLK CHCLK1 CHCLK2
CH8
DR1/DD DR2 DX1/DU DX2
PLL and Clock Generation
Serial Interface
PCM/GCI Interface
CCLK /TS
CS
CI/ CO DOUBLE
FS BCLK TSX1 TSX2 /FSC /DCL
The IDT logo is a registered trademark of Integrated Device Technology, Inc
INDUSTRIAL TEMPERATURE RANGE
1
2004 Integrated Device Technology, Inc.
JULY 19, 2004
DSC-6222/3
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
DESCRIPTION
The IDT82V1068 is a feature rich, single-chip, programmable 8 channel PCM CODEC with on-chip filters. Besides the A-Law/-Law companding and linear coding/decoding (16-bit 2's complement), the IDT82V1068 provides 2 programmable tone generators per channel (which can also generate ring signals), 4 FSK generators shared by 8 channels and 2 programmable chopper clocks for the SLIC. The digital filters in the IDT82V1068 provide the necessary transmit and receive filtering for voice telephone circuits to interface with timedivision multiplexed systems. An integrated programmable DSP realizes AC impedance matching, transhybrid balance, frequency response correction and gain adjusting functions. The IDT82V1068 supports 2 PCM buses with programmable sampling edge, that allows an extra delay of up to 7 clocks. Once the delay is determined, it is effective to all eight channels of the IDT82V1068. The device also provides 7 signaling pins to the SLIC on per channel basis. The IDT82V1068 provides 2 programming interfaces: the Microprocessor Interface (MPI) and the General Control Interface (GCI). The latter is also known as ISDN Oriented Module (IOM(R)-2). For both MPI and GCI programming, the device supports compressed and linear data formats. The device also provides strong test capability with several analog/ digital loopbacks and level metering function. This brings convenience to system maintenance and diagnosis. A unique feature of "Hardware Ring Trip" is implemented in the IDT82V1068. When an off-hook signal is detected, the IDT82V1068 can reverse an output pin to stop ringing immediately. The IDT82V1068 can be used in digital telecommunication applications such as Central Office Switch, PBX, DLC and Integrated Access Devices (IADs), i.e. VoIP and VoDSL.
PIN CONFIGURATION
SB1_5 SI2_5 SI1_5 VDD56 SO3_6 SO2_6 SO1_6 SB2_6 SB1_6 SI2_6 SI1_6 VDDAS CNF2 VOUT5 GNDA5 VIN5 VDDA56 VIN6 GNDA6 VOUT6 VOUT7 GNDA7 VIN7 VDDA78 VIN8 GNDA8 VOUT8 SI1_7 SI2_7 SB1_7 SB2_7 SO1_7 SO2_7 SO3_7 VDD78 SI1_8 SI2_8 SB1_8
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
SB2_5 SO1_5 SO2_5 SO3_5 GND56 MPI CS CCLK/TS CI/DOUBLE CO INT NC NC NC NC NC NC NC NC RESET NC GND12 SO3_1 SO2_1 SO1_1 SB2_1
IDT82V1068 128 PIN TQFP
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39
SB2_8 SO1_8 SO2_8 SO3_8 GND78 GNDDP NC CHCLK1 CHCLK2 VDDDP MCLK BCLK/DCL FS/FSC NC TSX2 DX2 DR2 TSX1 DX1/DU DR1/DD NC GND34 SO3_4 SO2_4 SO1_4 SB2_4
IOM(R)-2 is a registered trademark of Siemens AG.
SB1_1 SI2_1 SI1_1 VDD12 SO3_2 SO2_2 SO1_2 SB2_2 SB1_2 SI2_2 SI1_2 GNDAS CNF1 VOUT1 GNDA1 VIN1 VDDA12 VIN2 GNDA2 VOUT2 VOUT3 GNDA3 VIN3 VDDA34 VIN4 GNDA4 VOUT4 SI1_3 SI2_3 SB1_3 SB2_3 SO1_3 SO2_3 SO3_3 VDD34 SI1_4 SI2_4 SB1_4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
2
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
TABLE OF CONTENTS
1 2 Pin Description...................................................................................................................................................................................................7 Function Description .......................................................................................................................................................................................11 2.1 MPI Mode and GCI Mode........................................................................................................................................................................11 2.1.1 MPI Control Interface .................................................................................................................................................................11 2.1.2 PCM Bus ....................................................................................................................................................................................11 2.1.3 GCI Mode ...................................................................................................................................................................................13 2.1.3.1 Compressed GCI Structure ........................................................................................................................................13 2.1.3.2 Linear GCI Structure...................................................................................................................................................14 2.1.4 C/I Channel ................................................................................................................................................................................15 2.1.4.1 Upstream C/I Channel ................................................................................................................................................15 2.1.4.2 Downstream C/I Channel ...........................................................................................................................................15 2.1.5 Monitor Channel .........................................................................................................................................................................15 2.1.5.1 Monitor Handshake ....................................................................................................................................................15 2.2 DSP Programming...................................................................................................................................................................................18 2.2.1 Signal Processing.......................................................................................................................................................................18 2.2.2 Gain Adjustment.........................................................................................................................................................................18 2.2.3 Impedance Matching ..................................................................................................................................................................18 2.2.4 Transhybrid Balance ..................................................................................................................................................................18 2.2.5 Frequency Response Correction................................................................................................................................................18 2.3 SLIC Control ............................................................................................................................................................................................20 2.3.1 SI1 and SI2.................................................................................................................................................................................20 2.3.2 SB1 and SB2..............................................................................................................................................................................20 2.3.3 SO1, SO2 and SO3...................................................................................................................................................................20 2.4 Hardware Ring Trip .................................................................................................................................................................................20 2.5 Interrupt and Interrupt Enable..................................................................................................................................................................20 2.6 Chopper Clock.........................................................................................................................................................................................21 2.7 Debounce Filters .....................................................................................................................................................................................21 2.8 Dual Tone and Ring Generation..............................................................................................................................................................21 2.9 FSK Signal Generation............................................................................................................................................................................22 2.9.1 Configure the FSK Generators...................................................................................................................................................22 2.9.2 FSK-RAM ...................................................................................................................................................................................22 2.9.3 Broadcasting Mode For FSK Configuration................................................................................................................................22 2.10 Level Metering .........................................................................................................................................................................................24 2.11 Channel Power Down/Standby Mode......................................................................................................................................................24 2.12 Power Down PLL/Suspend Mode............................................................................................................................................................24 Operating Description .....................................................................................................................................................................................25 3.1 Programming Description ........................................................................................................................................................................25 3.1.1 Broadcasting Mode for MPI Programming .................................................................................................................................25 3.1.2 Identification Code for MPI Mode ...............................................................................................................................................25 3.1.3 Program Start byte for GCI Mode...............................................................................................................................................25 3.1.4 Identification Command for GCI Mode .......................................................................................................................................25 3.1.5 Command Type and Format ......................................................................................................................................................25 3.1.6 Addressing Local Register .........................................................................................................................................................26 3.1.7 Addressing the Global Registers................................................................................................................................................26 3.1.8 Addressing the Coe-RAM...........................................................................................................................................................26 3.1.9 Addressing the FSK-RAM ..........................................................................................................................................................26 3.1.10 Examples of MPI Commands.....................................................................................................................................................27 3.1.11 Examples of GCI Commands.....................................................................................................................................................28 3.2 Power-on Sequence ................................................................................................................................................................................29 3.3 Default State After Reset.........................................................................................................................................................................29 3.4 Command List .........................................................................................................................................................................................30 3.4.1 Global Commands List ...............................................................................................................................................................30 3.4.2 Local Commands List.................................................................................................................................................................39 Absolute Maximum Ratings ............................................................................................................................................................................44
3
3
4
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
5 6
Recommended DC Operating Conditions .....................................................................................................................................................44 DC Electrical Characteristics ..........................................................................................................................................................................44 6.1 Digital Interface........................................................................................................................................................................................44 6.2 Power Dissipation....................................................................................................................................................................................44 6.3 Analog Interface ......................................................................................................................................................................................45 AC Electrical Characteristics ..........................................................................................................................................................................46 7.1 Absolute Gain ..........................................................................................................................................................................................46 7.2 Gain Tracking ..........................................................................................................................................................................................46 7.3 Frequency Response ..............................................................................................................................................................................46 7.4 Group Delay ............................................................................................................................................................................................47 7.5 Distortion .................................................................................................................................................................................................47 7.6 Noise .......................................................................................................................................................................................................48 7.7 Interchannel Crosstalk.............................................................................................................................................................................48 Timing Characteristics ....................................................................................................................................................................................49 8.1 Clock........................................................................................................................................................................................................49 8.2 Microprocessor Interface .........................................................................................................................................................................50 8.3 PCM Interface..........................................................................................................................................................................................51 8.4 GCI Interface ...........................................................................................................................................................................................52 Appendix: IDT82V1068 Coe-RAM Mapping ...................................................................................................................................................53
7
8
9
10 Ordering Information .......................................................................................................................................................................................55
4
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
LIST OF FIGURES
Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 An Example of Serial Interface Write Mode ...................................................................................................................................... 11 An Example of Serial Interface Read Mode (ID = 81H)..................................................................................................................... 12 Sampling Edge Select Waveform...................................................................................................................................................... 12 Compressed GCI Frame Structure.................................................................................................................................................... 13 Linear GCI Frame Structure (TS = 0)................................................................................................................................................ 14 Monitor Channel Operation ............................................................................................................................................................... 16 State Diagram of the Monitor Transmitter ......................................................................................................................................... 16 State Diagram of the Monitor Receiver ............................................................................................................................................. 17 Signal Flow for Each Channel ........................................................................................................................................................... 19 Debounce Filters ............................................................................................................................................................................... 21 General Procedure of Sending Caller-ID Signal................................................................................................................................ 22 A Recommended Programming Flow Chart for FSK Generator ....................................................................................................... 23 Clock Timing...................................................................................................................................................................................... 49 MPI Input Timing ............................................................................................................................................................................... 50 MPI Output Timing ............................................................................................................................................................................ 50 PCM Interface Timing........................................................................................................................................................................ 51 GCI Interface Timing ......................................................................................................................................................................... 52 Coe-RAM Address Mapping.............................................................................................................................................................. 53
5
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
LIST OF TABLES
Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Table 9 Table 10 Table 11 Time Slot Selection for Compressed GCI Mode ................................................................................................................................13 Time Slot Selection for Linear GCI Mode...........................................................................................................................................14 BT/Bellcore Standard of FSK Signal ..................................................................................................................................................22 Consecutive Adjacent Addressing......................................................................................................................................................26 Local Command Transmission Sequence in MPI Mode ....................................................................................................................27 Global Command Transmission Sequence in MPI Mode...................................................................................................................27 Coe-RAM Command Transmission Sequence in MPI Mode .............................................................................................................27 FSK-RAM Command Transmission Sequence in MPI Mode.............................................................................................................28 Local/Global Command Transmission Sequence in GCI Mode .........................................................................................................28 Coe-RAM/FSK-RAM Command Transmission Sequence in GCI Mode ............................................................................................28 Coe-RAM Address Allocation.............................................................................................................................................................54
6
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
1
Name GNDA1 GNDA2 GNDA3 GNDA4 GNDA5 GNDA6 GNDA7 GNDA8 GNDAS GND12 GND34 GND56 GND78 GNDDP VDDA12 VDDA34 VDDA56 VDDA78 VDDAS VDD12 VDD34 VDD56 VDD78 VDDDP VIN1 VIN2 VIN3 VIN4 VIN5 VIN6 VIN7 VIN8 VOUT1 VOUT2 VOUT3 VOUT4 VOUT5 VOUT6 VOUT7 VOUT8 SI1_1 SI1_2 SI1_3 SI1_4 SI1_5 SI1_6 SI1_7 SI1_8
PIN DESCRIPTION
Type Pin Number 15 19 22 26 88 84 81 77 12 124 43 107 60 59 17 24 86 79 91 4 35 99 68 55 16 18 23 25 87 85 80 78 14 20 21 27 89 83 82 76 3 11 28 36 100 92 75 67 Description
Power
Analog Ground. All ground pins should be connected together.
Power
Analog Ground for Bias. All ground pins should be connected together. Digital Ground. All ground pins should be connected together. Digital Ground for PLL. All ground pins should be connected together. +3.3 V Analog Power Supply. These pins should be connected to the ground via a 0.1F capacitor. All power supply pins should be connected together. +3.3 V Analog Power Supply for Bias. This pin should be connected to the ground via a 0.1F capacitor. All power supply pins should be connected together. +3.3 V Digital Power Supply. These pins should be connected to the ground via a 0.1F capacitor. All power supply pins should be connected together. +3.3 V Digital Power Supply for PLL. This pin should be connected to the ground via a 0.1F capacitor. All power supply pins should be connected together.
Power
Power
Power
Power
Power
Power
I
Analog Voice Input for Channel 1 to 8. Each of these pins is connected to the corresponding SLIC via a capacitor (0.22 F).
O
Voice Frequency Receiver Output of Channel 1 to 8. These pins can drive 300 AC load. They allows the direct driving of a transformer.
I
Debounce SLIC Signaling Input 1 for Channel 1 to 8. The input signals on these pins will be filtered by their respective debounce filters.
7
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC Name SI2_1 SI2_2 SI2_3 SI2_4 SI2_5 SI2_6 SI2_7 SI2_8 SB1_1 SB1_2 SB1_3 SB1_4 SB1_5 SB1_6 SB1_7 SB1_8 SB2_1 SB2_2 SB2_3 SB2_4 SB2_5 SB2_6 SB2_7 SB2_8 SO1_1 SO1_2 SO1_3 SO1_4 SO1_5 SO1_6 SO1_7 SO1_8 SO2_1 SO2_2 SO2_3 SO2_4 SO2_5 SO2_6 SO2_7 SO2_8 SO3_1 SO3_2 SO3_3 SO3_4 SO3_5 SO3_6 SO3_7 SO3_8 Type Pin Number 2 10 29 37 101 93 74 66 1 9 30 38 102 94 73 65 128 8 31 39 103 95 72 64 127 7 32 40 104 96 71 63 126 6 33 41 105 97 70 62 125 5 34 42 106 98 69 61 Description
INDUSTRIAL TEMPERATURE RANGE
I
Debounce SLIC Signaling Input 2 for Channel 1 to 8. The input signals on these pins will be filtered by their respective debounce filters.
I/O
SLIC Signaling I/O 1 for Channel 1 to 8. The directions of the these pins are software programmable.
I/O
SLIC Signaling I/O 2 for Channel 1 to 8. The directions of the these pins are software programmable.
O
SLIC Signaling Output 1 of Channel 1 to 8.
O
SLIC Signaling Output 2 of Channel 1 to 8.
O
SLIC Signaling Output 3 of Channel 1 to 8.
DX1: Transmit PCM Data Output 1 (for MPI Mode) In MPI mode, the DX1 pin remains in high-impedance state until a pulse appears on the FS pin. The PCM data is output through the DX1 or DX2 pin as selected by Local Command 7, following the bit clock signal on the BCLK pin. DX1/DU O 46 DU: GCI Data Upstream (for GCI Mode) In GCI mode, the data upstream of all eight channels is sent out through the DU pin. The time slot assignment for the eight channels is determined by the CCLK/TS pin.
8
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC Name DX2 Type O Pin Number 49 Description
INDUSTRIAL TEMPERATURE RANGE
Transmit PCM Data Output 2 (for MPI Mode) This pin remains in high-impedance state until a pulse appears on the FS pin. The PCM data is output through the DX1 or DX2 pin as selected by Local Command 7, following the bit clock signal on the BCLK pin. This pin is not used in GCI mode. DR1: Receive PCM Data Input 1 (for MPI Mode) In MPI mode, the PCM data is received from the DR1 or DR2 pin as selected by Local Command 8, following the bit clock signal on the BCLK. DD: GCI Data Downstream (for GCI Mode) In GCI mode, the data downstream of all eight channels is received serially on the DD pin. The time slot assignment for the eight channels is determined by the CCLK/TS pin. Receive PCM Data Input 2 (for MPI Mode). In MPI mode, the PCM data is received from the DR1 or DR2 pin as selected by Local Command 8, following the bit clock signal on the BCLK pin. This pin is not used in GCI mode. FS: Frame Synchronization signal (for MPI Mode) In MPI mode, the FS signal is an 8 kHz synchronization signal that identifies the beginning of the PCM frame. FSC: Frame Sync signal (for GCI Mode) In GCI mode, the FSC signal is an 8 kHz synchronization signal that identifies the beginning of the GCI frame. BCLK: Bit Clock (for MPI Mode) In MPI mode, the PCM data is transmitted through the DX1 or DX2 pin and received from the DR1 or DR2 pin following the signal on the BCLK pin. The frequency of the BCLK may vary from 512 kHz to 8.192 MHz. The BCLK signal is required to be synchronous to the FS signal.
DR1/DD
I
45
DR2
I
48
FS/FSC
I
52
BCLK/DCL
I
53 DCL: Data Clock (for GCI Mode) In GCI mode, the DCL signal is either 2.048 MHz or 4.096 MHz, selected by the CI/DOUBLE pin. If the CI/DOUBLE pin is logic low, the DCL signal is 2.048 MHz; If the CI/DOUBLE pin is logic high, the DCL signal is 4.096 MHz. It is recommended to connect the MCLK and DCL pins together. Transmit Output Indicator 1 (for MPI Mode) This is an open drain output. It becomes low when the PCM data is transmitted through the DX1 pin. This pin is not used in GCI mode. Timeslot Indicator Output 2 (for MPI Mode) This is an open drain output. It becomes low when the PCM data is transmitted through the DX2 pin. This pin is not used in GCI mode. Chip Selection (for MPI Mode). In MPI mode, a logic low on this pin enables the Serial Control Interface. CI: Serial Control Interface Data Input (for MPI Mode) In MPI mode, the control data from the master processor is input to the CODEC through the CI pin. The data rate is determined by the CCLK signal. DOUBLE: Double/Single DCL Selection (for GCI Mode) In GCI mode, the DOUBLE pin is used to determine the frequency of the DCL signal. When low, the DCL frequency is 2.048 MHz; when high, the DCL frequency is 4.096 MHz. Serial Control Interface Data Output (tri-state) (for MPI Mode) In MPI mode, the serial control interface data is output from the CODEC to the master processor through the CO pin. The data rate is determined by the CCLK signal. This pin is in high impedance state when the CS pin is logic high. The CO pin is not used in GCI mode. CCLK: Serial Control Interface Clock (for MPI Mode) In MPI mode, this is the clock for the Serial Control Interface. It can be up to 8.192 MHz. TS: Timeslot Selection (for GCI Mode) In Compressed GCI mode, the TS pin indicates which half of the 8 continuous GCI timeslots is used. When the TS pin is low, timeslots 0-3 are selected; when this pin is high, timeslots 4-7 are selected. In Linear GCI mode, the TS pin indicates which half of the 8 continuous GCI timeslots is used for voice signals. When this pin is low, timeslots 0-3 are used for linear voice data, timeslots 4-7 are used for Monitor channel and C/I octet. When this pin is high, timeslots 4-7 are used for linear voice data, timeslots 0-3 are used for Monitor channel and C/I octet.
TSX1
O
47
TSX2 CS
O I
50 109
CI/DOUBLE
I
111
CO
O
112
CCLK/TS
I
110
9
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC Name MPI RESET INT Type I I O Pin Number 108 122 113 Description
INDUSTRIAL TEMPERATURE RANGE
MCLK
I
54
CHCLK1 CHCLK2 CNF1 CNF2
O O -
57 56 13 90 44, 51 58, 114 115, 116 117, 118 119, 120 121, 123
MPI/GCI Mode Selection This pin is used to select one of the two interfaces, the Microprocessor Interface (MPI) and the General Control Interface (GCI). A logic low selects MPI and a logic high selects GCI. Reset Input. A logic low on this pin resets the IDT82V1068 and forces it to the default mode. Interrupt Output Pin. Active low interrupt signal for Channel 1 to 8, open-drain. It reflects the changes on the SLIC pins. Master Clock Input The master clock provides the clock for the DSP of the CODEC. In MPI mode, the frequency of the MCLK signal can be 1.536 MHz, 1.544 MHz, 2.048 MHz, 3.072 MHz, 3.088 MHZ, 4.096 MHz, 6.144 MHz, 6.176 MHz or 8.192 MHz. The MCLK signal can be asynchronous to the BCLK signal. In GCI mode, it is recommended to connect the MCLK pin to the DCL pin. The frequency of the MCLK signal can be 2.048 MHz or 4.096 MHz. Refer to the description on the DCL pin for details. Chopper Clock Output 1 This pin provides a programmable (2 -28 ms) output signal synchronous to the MCLK. Chopper Clock Output 2 This pin provides a programmable 256 kHz, 512 kHz or 16.384 MHz output signal synchronous to the MCLK. Capacitor for noise filtering.
NC
-
No Connection.
10
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
2
FUNCTION DESCRIPTION
2.1.2
PCM BUS
The IDT82V1068 performs the CODEC/filter functions required by the subscriber line interface circuitry in telecommunications system. The IDT82V1068 converts analog voice signals to digital PCM samples and digital PCM samples back to analog voice signals. High performance oversampling Analog-to-Digital Converters (ADC) and Digital-to-Analog Converters (DAC) in the IDT82V1068 provide the required conversion accuracy. The associated decimation and interpolation filters are realized with both dedicated hardware and the Digital Signal Processor (DSP). The DSP also handles all other necessary functions such as PCM bandpass filtering, sample rate conversion and PCM companding.
2.1
MPI MODE AND GCI MODE
The Microprocessor Interface (MPI) and the General Control Interface (GCI) help the user to program and control the CODEC. The MPI pin selects the interface: `0' selects MPI mode and `1' selects GCI mode. 2.1.1 MPI CONTROL INTERFACE
In MPI mode, the internal configuration registers (local/global), the SLIC signaling interface and the Coefficient-RAM, FSK-RAM of the IDT82V1068 are programmed by microprocessor via the serial control interface, which consists of four lines (pins): CCLK, CS, CI and CO. All the commands and data transmitted or received are aligned in byte (8 bits). The CCLK is the Serial Control Interface Clock, it can be up to 8.192 MHz. The CS is the Chip Select pin, a low level on it enables the serial control interface. The CI and CO pins are the serial control interface data input and output, carrying the control commands and data bytes to/from the IDT82V1068. The data transfer is synchronized to the CCLK input. The contents of CI is latched on the rising edges of CCLK, while CO changes on the falling edges of CCLK. When finishing a read or write command, the CLCK must last at least one cycle after the CS is set high. During the execution of commands that are followed by output data (read commands), the device will not accept any new commands from CI. The data transfer sequence can be interrupted by setting CS high. See Figure 1 and Figure 2 for details. The clock of the serial control interface (CCLK) is the only reference of the CI and CO pins. Its duty and frequency may not necessarily be standard.
In MPI mode, the IDT82V1068 provides two flexible PCM buses for all 8 channels. The digital PCM data can be compressed (A/-law) or linear format, depending on the DMS bit in Global Command 7. The data rate can be configured as same as the Bit Clock (BCLK) or half of it. The data can be transmitted or received either on the rising edges of BCLK or on falling edges of it. The data transfer time slots can be offset from Frame Synchronization (FS) by 0 BCLK period to 7 BCLK periods. See Figure 3. Global Command 7 makes these selections for all 8 channels. The PCM data of each channel can be assigned to any time slot of the PCM bus. The number of available time slots is determined by the BCLK frequency. For example, when BCLK is 512 kHz, eight time slots (time slot 0-7) are available; when BCLK is 8.192 MHz, 128 time slots (time slot 0-127) are available. The IDT82V1068 accepts any BCLK frequency between 512 kHz and 8.192 MHz at increment of 64 kHz. When compressed format (8-bit) is selected, the voice data of one channel occupies one time slot. The TT[6:0] bits in Local Command 7 selects the transmit time slot for each channel, while the RT[6:0] bits in Local Command 8 selects the receive time slot for each channel. When linear format is selected, the voice data is a 16-bit 2's complement number (b13 to b0 are effective bits, b15 and b14 are the same as the sign bit b13). The voice data of one channel occupies one time slot group consisting of 2 successive time slots. The TT[6:0] bits in Local Command 7 select the transmit time slot group for each channel. For example, if TT[6:0] = 0000000, it means TS0 and TS1 are selected; if TT[6:0] = 0000001, it means TS2 and TS3 are selected. The RT[6:0] bits in Local Command 8 select the receive time slot group for each channel in the same way. The PCM data for each individual channel is transmitted through the DX1 or DX2 pin on the programmed edges of BCLK, according to time slot assignment. The transmit highway (DX1/2) is selected by the THS bit in Local Command 7. The frame sync (FS) pulse identifies the beginning of a transmit frame (time slot 0). The PCM data is transmitted serially through DX1 or DX2 with MSB first. The PCM data for each channel is received from the DR1 or DR2 pin on the programmed edges of BCLK, according to time slot assignment. The receive highway (DR1/2) is selected by the RHS bit in Local Command 8. The frame sync (FS) pulse identifies the beginning of a receive frame (time slot 0). The PCM data is received serially from DR1 or DR2 with MSB first.
CCLK
CS CI 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Command Byte
Data Byte 1
Data Byte 2
CO
High 'Z'
Figure 1 An Example of Serial Interface Write Mode
11
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
CCLK
CS
Don't Care
CI
7
6
5
4
3
2
1
0
Identification Code '1' '0' '0' '0' '0' '0' '0' '1' 7 6 5 Data Byte 1 4 3 2 1 0
Command Byte
CO
High 'Z'
Figure 2 An Example of Serial Interface Read Mode (ID = 81H)
FS
Transmit Receive PCM Clock Slope Bits in Global Command 7:
BCLK Single Clock
CS = 000
CS = 001
CS = 010
CS = 011 Bit 7 Time Slot 0 BCLK Double Clock CS = 100
CS = 101
CS = 110
CS = 111
Figure 3 Sampling Edge Select Waveform
12
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
2.1.3
GCI MODE
In GCI mode, the GCI interface provides communication of both control and voice data between the GCI bus and the CODEC over a pair of pins (DD and DU). The IDT82V1068 follows the GCI standard where voice and control data for eight channels are combined into one serial bit stream: Data Upstream is sent out via the DU pin and Data Downstream is received via the DD pin. The data transmission is controlled by the Data Clock (DCL) and Frame Synchronization (FSC) signal. The FSC signal identifies the beginning of the transmit/receive frame and all GCI time slots refer to it. The DCL signal can be 2.048MHz or 4.096 MHz, corresponding to logic low and logic high on the DOUBLE pin respectively. The IDT82V1068 adjusts internal timing to accommodate single (2.048 MHz) or double (4.096 MHz) clock rate and keep the data rate in 2.048 MHz. A complete GCI frame is sent upstream via the DU pin and received downstream via the DD pin every 125 s. In GCI mode, the IDT82V1068 also supports both compressed and linear voice data formats. A `0' in the DMS bit in Global Command 7 selects the compressed GCI mode while a `1' in this bit selects the linear GCI mode. 2.1.3.1 Compressed GCI Structure
- One monitor channel byte, which is used for receiving/transmitting control data from/to the master device for Channel A and B; - One C/I channel byte, which contains a 6-bit wide sub-byte together with an MX bit and an MR bit. All real time signaling information is carried on the C/I channel sub-byte. The MX (Monitor Transmit) bit and MR (Monitor Receive) bits are used for handshaking functions for Channel A and B. Both MX and MR are active low. Figure 4 shows the overall compressed GCI frame structure. In compressed GCI mode, four time slots are required to access all eight channels of the IDT82V1068. The GCI time slot assignment is determined by the Time Selection pin TS as illustrated in Table 1. Table 1 Time Slot Selection for Compressed GCI Mode
IDT82V1068 Channel Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel 8 TS = 0 Time Slot Time Slot 0 Time Slot 0 Time Slot 1 Time Slot 1 Time Slot 2 Time Slot 2 Time Slot 3 Time Slot 3 Voice Channel A B A B A B A B TS = 1 Time Slot Time Slot 4 Time Slot 4 Time Slot 5 Time Slot 5 Time Slot 6 Time Slot 6 Time Slot 7 Time Slot 7 Voice Channel A B A B A B A B
In GCI compressed mode, the data interface logic (upstream/ downstream) controls the transmission/reception of data onto/from the GCI bus. One GCI frame consists of 8 GCI time slots, each GCI time slot consists of four bytes as follows: - Two A-law or -law compressed voice data bytes from/to two different channels (named as Channel A and Channel B).
125 s FSC DCL DD DU Detail DD DU
Voice Channel A Voice Channel B Monitor Channel C/I Channel
MM RX MM RX
TS0 TS0
TS1 TS1
TS2 TS2
TS3 Detail TS3
TS4 TS4
TS5 TS5
TS6 TS6
TS7 TS7
Voice Channel A
Voice Channel B
Monitor Channel C/I Channel
Figure 4 Compressed GCI Frame Structure
13
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
2.1.3.2
Linear GCI Structure
In GCI linear mode, one GCI frame consists of 8 GCI time slots, each GCI time slot consists of four bytes. In one GCI frame, four of the 8 time slots are used as Monitor Channel and C/I channel. These four time slots have a common data structure as follows: - Two Don't Care bytes. - One monitor channel byte used for reading/writing control data/ coefficients from/to the device for Channel A and B. - One C/I byte containing a 6-bit wide sub-byte together with an MX bit and an MR bit. All real time signaling information is carried on the C/I channel sub-byte. The MX (Monitor Transmit) bit and MR (Monitor Table 2 Time Slot Selection for Linear GCI Mode
TS = 0 IDT82V1068 Channel Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel 8 Time Slot Time Slot 0 Time Slot 0 Time Slot 1 Time Slot 1 Time Slot 2 Time Slot 2 Time Slot 3 Time Slot 3 Monitor Channel and C/I Channel A B A B A B A B Time Slot Time Slot 4 Time Slot 4 Time Slot 5 Time Slot 5 Time Slot 6 Time Slot 6 Time Slot 7 Time Slot 7 Voice Channel A B A B A B A B
Receive) bits are used for handshaking functions for Channel A and B. Both MX and MR bits are active low. Other four GCI time slots are used to transfer the linear voice data (16-bit 2's complement). Each of these time slots consists four bytes: two bytes of linear voice data of Channel A, two bytes of linear voice data of Channel B. The GCI time slot assignment is determined by the Time Selection pin TS, as shown in Table 2. In linear GCI mode, total eight GCI time slots are required to access all eight channels of the IDT82V1068. When the TS pin is low, the linear GCI frame structure is as shown in Figure 5.
TS = 1 IDT82V1068 Channel Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel 8 Time Slot Time Slot 4 Time Slot 4 Time Slot 5 Time Slot 5 Time Slot 6 Time Slot 6 Time Slot 7 Time Slot 7 Monitor Channel and C/I Channel A B A B A B A B Time Slot Time Slot 0 Time Slot 0 Time Slot 1 Time Slot 1 Time Slot 2 Time Slot 2 Time Slot 3 Time Slot 3 Voice Channel A B A B A B A B
125 s FSC DCL DD DU Detail A DD DU
TS0 Detail A TS0 TS1 TS2 TS3 TS1 TS2 TS3 TS4 Detail B TS4 TS5 TS6 TS7 TS5 TS6 TS7
TS0-3 for Monitor and C/I
Don't Care Don't Care
TS4-7 for Linear Voice Data
Monitor Channel C/I Channel
MM RX MM RX
Don't Care
Don't Care
Monitor Channel C/I Channel
Detail B DD DU
16-bit Linear Voice Data for Channel A 16-bit Linear Voice Data for Channel B
16-bit Linear Voice Data for Channel A
16-bit Linear Voice Data for Channel B
Figure 5 Linear GCI Frame Structure (TS = 0)
14
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
2.1.4
C/I CHANNEL
In both compressed GCI and linear GCI modes, the upstream and downstream C/I channel bytes are continuously carrying I/O information every frame to and from the IDT82V1068. In this way, the upstream processor can have an immediate access to the SLIC output data present on IDT82V1068's programmable I/O port on the SLIC side through downstream C/I channel, as well as to the SLIC input data through upstream C/I channel. The IDT82V1068 transmits or receives the C/I channel data with the Most Significant Bit first. The MR and MX bits are used for handshaking during data exchanges on the monitor channel. 2.1.4.1 Upstream C/I Channel
- Data transfer (bits) on the bus is synchronized to the FSC signal; - Data flow (bytes) are asynchronously controlled by the handshake procedure. For example, the data is placed onto the DD Monitor Channel by the Monitor Transmitter of the master device (DD MX bit is activated and set to `0'). This data transfer will be repeated within each frame (125 s rate) until it is acknowledged by the IDT82V1068 Monitor Receiver (if the DU MR bit is set to `0', it means that the receipt has been acknowledged). Thus, the data rate is not 8 kbytes/s. 2.1.5.1 Monitor Handshake
The C/I Channel byte which includes six C/I bits, is transmitted upstream by the IDT82V1068 every frame. The upstream C/I channel byte is defined as: Upstream C/I Octet
MSB b7 SI1(A) b6 SI2(A) b5 b4 b3 SI2(B) b2 SB1(B) b1 MR LSB b0 MX
SB1(A) SI1(B)
The logic state data of the input ports SI1 and SI2 for Channel A and Channel B, as well as the bidirectional port SB1 for Channel A and B if SB1 is configured as an input, are transmitted via the upstream C/I channel. If SB2 is configured as input, it can be read by Global Command 12 only. 2.1.4.2 Downstream C/I Channel
The downstream C/I octet is defined as: Downstream C/I Octet
MSB b7 A/B b6 SO3 b5 SO2 b4 SO1 b3 SB1 b2 SB2 b1 MR LSB b0 MX
Herein, the A/B bit indicates the control data carried by the b[6:2] bits of the downstream C/I byte is for Channel A or Channel B: A/B = 0: for Channel A; A/B = 1: for Channel B. The data for controlling the SLIC output ports SO1 to SO3, as well as the SB1 and SB2 when SB1 and SB2 are configured as outputs, are received via the downstream C/I channel. 2.1.5 MONITOR CHANNEL
The monitor channel is used to transfer the configuration or maintenance information between the upstream and downstream devices. The commands of addressing the internal global/local registers and the Coe-/FSK-RAMs are transferred by the monitor channel. Using two monitor control bits (MR and MX) per direction, the data is transferred in a complete handshake procedure. The MR and MX bits in the C/I Channel of the GCI frame are used for the handshake procedure of the monitor channel. See Figure 6 for details. The transmission of the monitor channel is operated on a pseudoasynchronous basis:
The monitor channel works in 3 states: I. Idle state: A pair of inactive (set to `1') MR and MX bits during two or more consecutive frames shows an idle state on the monitor channel and the End of Message (EOM); II. Sending state: the MX bit is set to active state (`0') by the Monitor Transmitter, together with data-bytes (can be changed) on the monitor channel; III. Acknowledging: the MR bit is set to active state (i.e. `0') by the Monitor Receiver, together with a data byte remaining in the monitor channel. A start of transmission is initiated by the monitor transmitter by sending out an active MX bit together with the first byte of data to be transmitted in the monitor channel. This state remains until the addressed monitor receiver acknowledges the receipt by sending out an active low MR bit. The data transmission is repeated each 125 s frame (minimum is one repetition). During this time the Monitor Transmitter keeps evaluating the MR bit. Flow control, means in the form of transmission delay, can only take place when the transmitters MX and the receivers MR bit are in active state. Since the receiver is able to receive the monitor data at least twice (in two consecutive frames), it is able to check for data errors. If two different bytes are received the receiver will wait for the receipt of two identical successive bytes (last look function). A collision resolution mechanism (check if another device is trying to send data during the same time) is implemented in the transmitter. This is done by looking for the inactive (`1') phase of the MX bit and making a per bit collision check on the transmitted monitor data (check if transmitted `1's are on the DU/DD line; the DU/DD line are open drain lines). Any abort leads to a reset of the IDT82V1068 command stack, the device is ready to receive new commands. To obtain a maximum speed data transfer, the transmitter anticipates the falling edge of the receivers acknowledgment. Due to the inherent programming structure, duplex operation is not possible. It is not allowed to send any data to the IDT82V1068, while the transmission is active. Refer to Figure 7 and Figure 8 for more information about the monitor handshake procedure. The IDT82V1068 can be controlled very flexibly by commands operating on registers or RAMs via the GCI monitor channel, refer to "3.1 Programming Description" on page 25 for further details.
15
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
Master Device
IDT82V1068
MX Monitor Transmitter MR
MX MR Monitor Receiver
DD DU
MR Monitor Receiver MX MR MX Monitor Transmitter
Figure 6 Monitor Channel Operation
MR or MXR
MXR Idle MX = 1 MR and MXR Wait MX = 1 MR and MXR Abort MX = 1 Initial State
MR and RQT
MR MR
1st Byte MX = 0
MR and RQT
EOM MX = 1
MR and RQT
nth Byte ACK MX = 1
MR
MR
MR and RQT MR and RQT CLS/ABT
Wait for ACK MX = 0
Any State MR: MR bit received on DD MX: MX bit calculated and expected on DU MXR: MX bit sampled on DU CLS: Collision within the monitor data byte on DU RQT: Request for transmission from internal source ABT: Abort request/indication
Figure 7 State Diagram of the Monitor Transmitter
16
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
Idle MR = 1 MX
MX and LL
Initial State
MX
1st Byte REC MR = 0
MX
Abort MR = 1 ABT
MX
MX MX Byte Valid MR = 0 MX and LL
Any State Wait for LL MR = 0 MX and LL
MX
MX and LL
MX New Byte MR = 1
MX
MX and LL
nth Byte REC MR = 1
MX and LL
Wait for LL MR = 0
MR: MR bit calculated and transmitted on DU MX: MX bit received data downstream (DD) LL: Last look of monitor byte received on DD ABT: Abort indication to internal source
Figure 8 State Diagram of the Monitor Receiver
17
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
2.2
2.2.1
DSP PROGRAMMING
SIGNAL PROCESSING
value. If the CS[7] bit is `1' in Local Command 1, the digital gain of the receive path is determined by the coefficient in the GRX of the CoeRAM. 2.2.3 IMPEDANCE MATCHING
Several blocks are programmable for signal processing. This allows to optimize the performance of the IDT82V1068 for the system. Figure 9 shows the signal flow for each channel and indicates the programmable blocks. The programmable digital filters are used to adjust the transmit/ receive gain, realize impedance matching and transhybrid balancing and correct the frequency response. The coefficients of all digital filters can be calculated by a software (Cal48) provided by IDT. If the users provide accurate SLIC model, impedance and gain requirements, the software (Cal48) will then calculate all the coefficients for the relevant filters. When these coefficients are written to the coefficient RAM of the IDT82V1068, the final AC characteristics of the line card (consists of SLIC and CODEC) will meet the ITU-T specifications. 2.2.2 GAIN ADJUSTMENT
Each channel of the IDT82V1068 has a programmable feedback from VIN to VOUT. It synthesizes the two-wire impedance of the SLIC. The Impedance Matching Filter (IMF) and the Gain of Impedance Scaling (GIS) are adjustable and work together to realize impedance matching. If the CS[0] bit in Local Command 1 is `0', the IMF coefficient is set to be default value; if the CS[0] bit is `1', the IMF coefficient is set by the IMF of the Coe-RAM. If the CS[2] bit in Local Command 1 is `0', the GIS coefficient is set to default value; if the CS[2] bit is `1', the GIS coefficient is set by the GIS of the Coe-RAM. 2.2.4 TRANSHYBRID BALANCE
The analog gain and digital gain of each channel can be adjusted separately in the IDT82V1068. For each individual channel, the analog A/D gain of the transmit path can be selected as 0 dB or 6 dB. The selection is done by the A/D Gain bit GAD in Local Command 10. The default analog gain in the transmit path is 0 dB. For each individual channel, the analog D/A gain of the receive path can be selected as 0 dB or -6 dB. The selection is done by the D/A Gain bit GDA in Local Command 10. The default analog gain in the receive path is 0 dB. The digital gain of the transmit path (GTX) is programmed from -3 dB to +12 dB with minimum 0.1 dB step. If the CS[5] bit is `0' in Local Command 1, the digital gain of the transmit path is set to the default value. If the CS[5] bit is `1' in Local Command 1, the digital gain of the transmit path is determined by the coefficient in the GTX of the CoeRAM. The digital gain of the receive path (GRX) is programmed from -12 dB to +3 dB with minimum 0.1 dB step. If the CS[7] bit is `0' in Local Command 1, the digital gain of the receive path is set to the default
Transhybrid balancing filter is used to adjust transhybrid balance to ensure the echo cancellation meet the ITU-T specifications. The coefficient for Echo Cancellation (ECF) can be programmed. If the CS[1] bit in Local Command 1 is `0', the ECF coefficient is set to default value; if the CS[1] bit is `1', the ECF coefficient is set by the ECF of the CoeRAM. 2.2.5 FREQUENCY RESPONSE CORRECTION
The IDT82V1068 provides two filters that can be programmed to correct any frequency distortion caused by the impedance matching filter. They are the Frequency Response Correction for Transmit path filter (FRX) and the Frequency Response Correction for Receive path filter (FRR). The coefficients of the FRX filter and the FRR filter are programmable. If the CS[4] bit in Local Command 1 is `0', the FRX coefficient is set to default value; If the CS[4] bit is `1', the FRX coefficient is set by the FRX of the Coe-RAM. If the CS[6] bit in Local Command 1 is `0', the FRR coefficient is set to default value; If the CS[6] bit is `1', the FRR coefficient is set by the FRR of the Coe-RAM. Refer to Table 11 on page 54 for the Coe-RAM address allocation.
18
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
Transmit Path
Local Command1:CS[3] 1 = enable(normal) 0 = disable(Bypass) @16KHz @8KHz TS PCM Highway TSA ALB-PCM DX1/DX2
Analog
@2MHz
@64KHz
Level meter CMP
VIN
LPF/AA
-
D1
GTX
D2
LPF
FRX
HPF
DLB-IBIT
DLB-PCM
DLB-8K
ALB-8K
ALB-IBIT
ALB-64K
DLB-ANA VOUT LPF/SC Global Command 26 Local Command 2 Local Command 3 MSB ALB_64k MSB IE[3] MSB
DLB-64K
ALB-DI
DLB-DI
GIS
IMF
ECF
-
U1
UF
GRX
U2
LPF
FRR FSK
EXP CUT-OFF-PCM Dual tone
TSA
DR1/DR2
Local Command1:CS[2] 1 = enable(normal) 0 = disable(cut)
Local Command1:CS[0] 1 = enable(normal) 0 = disable(cut)
Local Command1:CS[1] 1 = enable(normal) 0 = disable(cut) Bold Black Framed: Programmable Filters
Receive Path
Fine Black Framed: Fixed Filters
These loopbacks and receive PCM cutoff are controlled by Global Command 26, Local Command 1 and Local Command 2 as shown in the following. Once its corresponding bit in the command is set to 1, the loopback will be enabled. LSB PLLPD IE[2] DLB_64k IE[1] DLB_ANA IE[0] Reserved ALB_8k CUTOFF DLB_8k DLB_PCM DLB_DI ALB_1BIT ALB_DI LSB DLB_1BIT LSB ALB_PCM
Figure 9 Signal Flow for Each Channel Abbreviation List LPF/AA: Anti-Alias Low-pass Filter LPF/SC: Smoothing Low-pass Filter LPF: Low-pass Filter HPF: High-pass Filter GIS: Gain for Impedance Scaling D1: 1st Down Sample Stage D2: 2nd Down Sample Stage U1: 1st Up Sample Stage U2: 2nd Up Sample Stage UF: Up Sampling Filter (64k-128k) IMF: Impedance Matching Filter ECF: Echo Cancellation Filter GTX: Gain for Transmit Path GRX: Gain for Receive Path FRX: Frequency Response Correction for Transmit FRR: Frequency Response Correction for Receive CMP: Compression EXP: Expansion TSA: Time slot Assignment
19
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
2.3
SLIC CONTROL
2.4
HARDWARE RING TRIP
The IDT82V1068 provides 7 SLIC signaling pins per channel: 2 inputs SI1 and SI2, 2 I/O ports SB1 and SB2 together with 3 outputs SO1, SO2 and SO3. 2.3.1 SI1 AND SI2
In both MPI and GCI modes, the SLIC inputs SI1 and SI2 of all eight channels can be read by Global Command 9 and Global Command 10 respectively. The eight SIA bits in Global Command 9 represent the eight debounced SI1 signals on the corresponding channels, and the eight SIB bits in Global Command 10 represent the eight debounced SI2 signals on the corresponding channels. In this way, the information on SI1 or SI2 of eight channels can be obtained from the IDT82V1068 by applying a read operation. Both SI1 and SI2 can be assigned to off-hook signal, ring trip signal, ground key signal or other signals. These two Global Commands provide for the microprocessor a more efficient way to obtain time-critical data such as on/off-hook and ring trip information. In MPI mode, the SI1 and SI2 status of each channel can also be read by Local Command 9. In GCI mode, the SI1 and SI2 status of each channel can be read via the upstream C/I byte. Refer to "2.1.4.1 Upstream C/I Channel" on page 15 for further details. 2.3.2 SB1 AND SB2
In both MPI and GCI modes, the SLIC I/O pin SB1 of each channel can be configured as an input or an output separately by Global Command 13 (the default direction is input). Each bit in this command corresponds to one channel's SB1 direction. When a bit in this command is set to 0, the SB1 pin of its corresponding channel is configured as an input; when the bit is set to 1, the SB1 pin of its corresponding channel is configured as an output. The Global Command 14 determines the I/O direction of the SB2 pin of each channel in the same way. In MPI mode, if SB1 and SB2 are selected as inputs, they can be read globally by Global Command 11 and Global Command 12 respectively, or locally by Local Command 9. The Global Command reads the SB1 or SB2 status for all eight channels, while the Local Command reads the SB1 and SB2 status for each individual channel. In MPI mode, if SB1 and SB2 are selected as outputs, data can only be written to them by Global Command 11 and Global Command 12 respectively. In GCI mode, if SB1 and SB2 are selected as inputs, they can be read by Global Command 11 and Global Command 12 respectively. In addition, the SB1 can also be read via the upstream C/I channel octet. In GCI mode, if SB1 and SB2 are selected as outputs, data can only be written to them via the downstream C/I channel octet. 2.3.3 SO1, SO2 AND SO3
In order to prevent the damage caused by high voltage ring signal, the IDT82V1068 offers a hardware ring trip function to respond to the off-hook signal as fast as possible. This function is enabled by setting the RTE bit in Global Command 15. The off-hook signal can be input via either the SI1 pin or the SI2 pin, while the ring control signal can be output via any of the SO1, SO2, SO3, SB1 and SB2 pins (provided that SB1 and SB2 are configured as outputs). In Global Command 15, the IS bit determines which input is used and the OS[2:0] bits determine which output is used. When a valid off-hook signal arrives on SI1 or SI2, the IDT82V1068 will turn off the ring signal by inverting the selected output, regardless of the value in the corresponding SLIC output control register (this value should be changed by users later). This function provides a much faster response to off-hook signals than the software ring trip which turns off the ring signal by changing the value of selected output in the corresponding register. The IPI bit in Global Command 15 is used to indicate the valid polarity of the input. If the off-hook signal is active low, the IPI bit should be set to 0; if the off-hook signal is active high, the IPI bit should be set to 1. The OPI bit in Global Command 15 is used to indicate the valid polarity of the output. If the ring control signal is required to be low in normal status and high to activate a ring, the OPI bit should be set to 1; if it is required to be high in normal status and low to activate a ring, the OPI bit should be set to 0. For example, in a system where the off-hook signal is active low and ring control signal is active high, the IPI bit in Global Command 15 should be set to 0 and the OPI bit should be set to 1. In normal status, the selected input (off-hook signal) is high and the selected output (ring control signal) is low. When the ring is activated by setting the output (ring control signal) high, a low pulse appearing on the input (off-hook signal) will inform the device to invert the output to low and cut off the ring signal.
2.5
INTERRUPT AND INTERRUPT ENABLE
The SLIC outputs SO1, SO2 and SO3 can only be written individually for each channel. In MPI mode, these three outputs of each channel is written by Local Command 9. When the Local Command 9 executes a read operation, the bits corresponding to SO1 to SO3 will be read out with the data written by the last write operation. In GCI mode, data can only be written to SO1, SO2 and SO3 through downstream C/I channel octet.
20
An interrupt mechanism is offered in the IDT82V1068 for reading the SLIC input status. Each of SLIC inputs can generate an interrupt when its state is changed. Any of SI1, SI2, SB1 and SB2 (provided that SB1 and SB2 are configured as inputs) can be interrupt source. As SI1 and SI2 are debounced signals while SB1 and SB2 are not, users should pay more attention when SB1 and SB2 are selected as interrupt sources. The IDT82V1068 provides an Interrupt Enable Command (Local Command 2) for each interrupt source to enable its interrupt ability. This command contains 4 bits (IE[3:0]) for each channel. Each bit of the IE[3:0] corresponds to one interrupt source of the specific channel. The device will ignore the interrupt signal if its corresponding bit in Interrupt Enable Command is set to 0 (disable). Multiple interrupt sources can be enabled at the same time. The interrupt sources can only be cleared by executing a read operation of Local Command 9. When Local Command 9 executes a read operation, all 7 interrupt sources of the corresponding channel will be cleared. In addition, when Global Command 2 (interrupt clear command) executes a write operation, the interrupt sources of all eight channels will be cleared.
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
2.6
CHOPPER CLOCK
The IDT82V1068 offers two programmable chopper clock outputs (CHCLK1 and CHCLK2) that can be used to drive the power supply switching regulators on the SLICs. Both the CHCLK1 and CHCLK2 are synchronous to the MCLK. The CHCLK1 outputs signal with clock cycle programmable from 2ms to 28 ms. The frequency of CHCLK2 can be any of 256 kHz, 512 kHz and 16.384 MHz. The frequency of the chopper clock is selected by Global Command 8.
2.7
DEBOUNCE FILTERS
The IDT82V1068 provides two debounce filter circuits per channel: Debounced Switch Hook (DSH) Filter for SI1 and Ground Key (GK) Filter for SI2 (see Figure 10). They are used to buffer the input signals on SI1 and SI2 pins before changing the state of the SLIC Debounced Input SI1/SI2 Registers (Global Command 9 and 10), or, before changing the state of the GCI upstream C/I octet. The Frame Sync (FS) signal is necessary for both the DSH and the GK filters. The debounce time of the SI1 input of each channel is programmed by the DSH debounce bits DSH[3:0] in Local Command 4. The DSH filter is initially clocked at half of the frame sync rate (250 s), and any data changing at this sample rate resets a programmable counter that clocks at the rate of 2 ms. The value of the counter can be from 0 to 30, programmed by DSH[3:0] bits in Local Command 4. The corresponding
SI1 D Q D Q
SIA bit in the SLIC Debounced Input SI1 Register (accessed by Global Command 9) and the corresponding channel's SI1 bit in GCI upstream C/I octet would not be updated with the SI1 input state until the value of the counter is reached. The SI1 bit usually contains the SLIC switch hook status. The debounce interval of SI2 input of each channel is programmed by the GK Debounce bits GK[3:0] in Local Command 4. The debounced signal will be output to the SIB bit of SLIC Debounced Input SI2 Register (accessed by Global Command 10) and the corresponding channel's SI2 bit in GCI upstream C/I octet. The GK debounce filter consists of an up/down counter that ranges between 0 and 6. This six-state counter is clocked by the GK timer at the sampling period of 0 to 180 ms, as programmed by Local Command 4. When the sampled value is low, the counter is decremented by each clock pulse. When the sampled value is high, the counter is incremented by each clock pulse. Once the counter increments to 6, it will set a latch whose output is routed to the corresponding SIB bit and the GCI upstream C/I octet SI2 bit. If the counter decrements to 0, this latch will be cleared and the output bit will be set to 0. In other cases, the latch, the SIB status and the SI2 bit in GCI upstream C/I octet remain in their previous state without being changed. In this way, at least six consecutive GK clocks with the debounce input remaining at the same state to reflect the output changes.
D
Q
D E
Q
SIA
FS/2 4kHz
DSH3-DSH0 Debounce Period (0-30 ms)
D
Q RST 7 bit Debounce Counter
SI2 GK3-GK0 Debounce Interval (0-180 ms) up/ Q down D Q 6 states Up/down Counter
=0 0
SIB
GK
7 bit Interval Counter
Figure 10 Debounce Filters
2.8
DUAL TONE AND RING GENERATION
Each channel of the IDT82V1068 has two tone generators: Tone 0 and Tone1. The dual tone generators can generate a gain-adjustable dual tone signal and output it to the VOUT pin. The generated dual tone signals can be used as test signals, DTMF, dial tone, busy tone, congestion tone and Caller-ID Alerting Tone etc. The generators Tone 0 and Tone 1 of each channel can be enabled or disabled independently by the T0E and T1E bits in Local Command 6. The frequency of the tones is programmable from 1 Hz to 4.095 kHz with 4095 steps. Local Command 5 provides 12 bits for each tone generator to set the frequency.
21
The gain of the generated dual tone signals of each channel is programmed by the TG[5:0] bits in Local Command 6, in the range of -3 dB to -39 dB. The gain of each tone is calculated by the following formula: G = 20 x lg (Tg x 2/256) + 3.14 where, Tg is the decimal value of TG[5:0]. The Dual Tone Output Invert bit (TOI) in Global Command 19 is used to invert the output tone signal. When it is 0', it means no inversion; when it is 1', the output tone signal will be inverted. The ring signal is a special signal generated by the dual tone generators. When only one tone generator is enabled or both tone
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
generators generate the same tone, and the frequency of the tone is set as the ring signal required (10 Hz to 100 Hz), a ring signal will be output to the VOUT pin.
2.9
FSK SIGNAL GENERATION
The IDT82V1068 has four FSK generators for sending Caller-ID FSK signals. Any FSK generator can be assigned to any one of the eight channels. Before programming the FSK generator, the Global Command 25 must be used first to specify one or more FSK generators to be configured. 2.9.1 CONFIGURE THE FSK GENERATORS
The Flag Signal is a series of '1'. The length of the Flag Signal is determined by the Global Command 23. The FMS (FSK Mode Selection) bit in the Global Command 24 determines the specifications of FSK Caller-ID signals. The IDT82V1068 supports both Bellcore 202 and BT standards. Table 3 is the comparison of these two standards. Table 3 BT/Bellcore Standard of FSK Signal
Item Mark (1) frequency Space (0) frequency Transmission rate Word format BT 1300 Hz 1.5% 2100 Hz 1.1% 1200 baud 1% 1 start bit which is `0', 8 word bits (with least significant bit LSB first), 1 stop bit which is `1'. Bellcore 1200 Hz 1% 2200 Hz 1% 1200 Hz 1% 1 start bit which is `0', 8 word bits (with least significant bit LSB first), 1 stop bit which is `1'.
The general procedure of sending a Caller-ID signal is shown in Figure 11.
Start
Send Seizure Signal
Send Mark Signal
Send One Word of Caller-ID Message
Send Flag Signal
No Complete Caller-ID Message Sending
The MAS (Mark After Send) bit in the Global Command 24 determines whether to keep on sending a series of '1's after the completion of sending the content in the FSK-RAM. For each FSK generator, the size of the corresponding FSK-RAM is 64 bytes. If the total Caller-ID message is larger than 64 bytes, the MAS bit should be set to '1' to hold the link after the first 64 bytes of Caller-ID message have been sent. So, users can update the FSK-RAM with new data and send the new data without re-sending the Seizure Signal and Mark Signal. This is important to keep the integrity of Caller-ID information. The FCS[2:0] (FSK Channel Selection) bits in the Global Command 24 are used to select which one of the eight channels will be used to send the FSK signal. The FO bit in the Global Command 24 is used to enable/disable the FSK generator. When all the configurations and FSKRAM updating have been completed, the FS (FSK Start) bit in the Global Command 24 is used to trigger the sending of FSK signal. A recommended procedure of programming the FSK generators is shown in the Figure 12. 2.9.2 FSK-RAM
Yes Stop
Figure 11 General Procedure of Sending Caller-ID Signal The Seizure Signal is a series of '01' patterns. The Global Command 22 determines how many '01' patterns will be used as the Seizure Signal. Note that if the Global Command 22 sets 5 (d), the bit length of the Seizure Signal will be 10 (d) bits. The Mark Signal is a series of '1'. The length of the Mark Signal is determined by the Global Command 23. One 'Word' of the Caller-ID message consists of 10 bits: one Start Bit at the beginning, one Stop Bit at the end and eight bits of Caller-ID message in the middle. For the IDT82V1068, the eight bits of Caller-ID message are from the FSK-RAM, and the Start Bit/Stop Bit will be added automatically when sending the Caller-ID message.
The contents of Caller-ID message are stored in the FSK-RAM. There are four blocks of FSK-RAM, corresponding to the four FSK generators. The size of each block of FSK-RAM is 64 bytes. The address and the programming method of these four FSK-RAM are exactly the same (refer to "Addressing the FSK-RAM" on page 26 for details). So, before programming the FSK-RAM, the Global Command 25 must be used first to determine which one of the four FSK-RAM blocks will be accessed. 2.9.3 BROADCASTING MODE FOR FSK CONFIGURATION
If more than one FSK generators are selected in the Global Command 25, the subsequential FSK commands (FSK generator configuration commands and FSK-RAM programming commands) will be effective for all the selected FSK generators. This is the Broadcasting mode for FSK generator configuration.
22
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
Start Read "FO" and "FS" bit in Global Command 24 FO=1 ? Y N FS=0 ? Y Set "Seizure length" in global Command 22 Set "Mark length" in global Command 23 Set "Flag length" in global Command 20 N Set "Data length" at this time in Global Command 21 Write message data to be sent at this time to FSK-RAM In Global Command 24: Set FCS[2:0] bits to select FSK channel Set FMS bit to select specification (Bellcore or BT) Set MAS = 1 Set FS = 1 Finish sending all the message data ? Y Set MAS and FO bit to 0 in Global Command 24 End N Set "Mark length" to 0 in Global Command 23 Set "Seizure length" to 0 in Global Command 22 N Set FO=1
Total message data =< 64 bytes ? Y Set "Data length" in global Command 21 Write message data into FSK-RAM In Global Command 24: Set FCS[2:0] bits to select FSK channel Set FMS bit to select specification (Bellcore or BT) Set MAS = 0 Set FS = 1 N
Finish sending message data ? Y Set FO = 0 in Global Command 24 End
Figure 12 A Recommended Programming Flow Chart for FSK Generator
23
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
2.10
LEVEL METERING
The IDT82V1068 has a level meter shared by all 8 signal channels. The level meter is designed to emulate the off-chip PCM test equipment to facilitate the line-card, subscriber line and user telephone set monitoring. The level meter tests the returned signal and reports the measurement result via the MPI/GCI interface. When combined with the dual tone generators and the loopbacks, this allows the microprocessor to test channel integrity. The CS[2:0] bits in Global Command 19 select the channel on which the signal will be metered. The level metering function is enabled by setting the LMO bit to 1 in Global Command 19. A Level Meter Counter register is provided for this function. It can be accessed by Global Command 18. This register is used to configure the number of time cycles for the sampling PCM data (8 kHz sampling rate). The output of the level metering will be sent to the Level Meter Result Low and Level Meter Result High registers (Global Command 16 and 17). The LMRL register contains the lower 7 bits of the output and a data-ready bit (DRLV), the LMRH register contains the higher 8 bits of the output. An internal accumulator sums the rectified samples until the number configured by Level Meter Counter register is reached. By then, the DRLV bit is set to 1 and accumulation result is latched into the LMRL and LMRH registers simultaneously. Once the LMRH register is read, the DRLV bit will be reset. The DRLV bit will be set to high again when a new data is available. The contents in LMRL and LMRH will be overwritten by later metering result if they are not read out yet. To read the Level Metering result register, it is highly recommended to read LMRL first. The L/C bit in Global Command 19 determines the mode of level meter operation. When the L/C bit is 1, the level meter will measure the linear PCM data. If the DRLV bit is 1, the measure result will be output to
LMRL and LMRH. When the L/C bit is 0, the compressed PCM will be output transparently to LMRH. The calculation and method of level metering will be described in Application Note.
2.11
CHANNEL POWER DOWN/STANDBY MODE
Each individual channel of the IDT82V1068 can be powered down independently by Local Command 10. When the channel is powered down (enters standby mode), the PCM data transmission and reception together with the D-to-A and A-to-D conversions are disabled. In this way, the power consumption of the device can be reduced. When the IDT82V1068 is powered up or reset, all eight channels will be powered down. All circuits that contain programmed information retain their data when powered down. In MPI mode, the microprocessor interface is always active so that new command could be received and executed. In GCI mode, the monitor channel of any time slot is always on so that new command could be accepted at any time.
2.12
POWER DOWN PLL/SUSPEND MODE
A suspend mode is offered to the whole chip to save power. In this mode, the PLL block is turned off and the DSP operation is disabled. This mode saves much more power consumption than the standby mode. In this mode, only Global Commands and Local Commands can be executed. The RAM operation is disabled as the internal clock has been turned off. The PLL block is powered down by Global Command 26. The suspend mode can be entered by powering down the PLL blocks and all channels.
24
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
3
3.1
OPERATING DESCRIPTION
PROGRAMMING DESCRIPTION
requested by the upstream controller. Each byte on monitor channel must be transferred at least twice and in two consecutive frames. 3.1.4 IDENTIFICATION COMMAND FOR GCI MODE
The IDT82V1068 can be programmed very flexibly via the serial control interface (MPI mode) or via the GCI monitor channel (GCI mode). In both MPI and GCI modes, the programming is realized by writing commands to registers or RAMs on the chip. In MPI mode, the command data is transmitted/received via the CI/CO pin. In GCI mode, the command data is sent/received via the DD/DU pin. 3.1.1 BROADCASTING MODE FOR MPI PROGRAMMING
In order to distinguish different devices unambiguously by software, a two byte identification command (8000H) is defined for analog lines GCI devices:
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
A broadcasting mode is provided in MPI write-operation (not allowed in read operation). Each channel has its own enable bit (CE[0] to CE[7] in Global Register 6) to allow individual channel programming. If more than one Channel Enable bit is high (enable) or all Channel Enable bits are high, all the corresponding channels will be enabled and can receive the programming information. Therefore, a broadcasting mode can be implemented by simply enabling all the channels in the device to receive the programming information. The Broadcasting mode is very useful when initializing the IDT82V1068 (setting coefficients, for example) in a large system. 3.1.2 IDENTIFICATION CODE FOR MPI MODE
Each device will then respond with its specific identification code. For the IDT82V1068, this two byte identification code is 8082H:
1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0
3.1.5
COMMAND TYPE AND FORMAT
In MPI mode, the IDT82V1068 provides an Identification Code to distinguish itself from other device of the system. When being read, the IDT82V1068 first outputs an Identification Code of 81H to indicate that the following data is from the IDT82V1068, then outputs the data bytes. Refer to Table 5 and Table 6 on page 27 for details. 3.1.3 PROGRAM START BYTE FOR GCI MODE
The IDT82V1068 provides three types of register/RAM commands for both MPI and GCI modes, they are: Local Command (LC): used to access the Local Registers. There are 12 Local Registers per channel. Global Command (GC): used to access the Global Registers. There are total 26 Global Registers shared by all eight channels. RAM Command (RC): used to access the Coe-RAM and the FSKRAM. There are 40 words (divided into 5 blocks) Coe-RAM for each channel, each word has 14 valid bits. The IDT82V1068 provides four FSK generators shared by all eight channels. There are 32 words (divided into 4 blocks) FSK-RAM for each FSK generator, each word has 16 bits. The format of the commands is as the following:
b7 R/W b6 CT b5 b4 b3 b2 Address b1 b0
The IDT82V1068 uses the monitor channel to exchange the status or mode information with the high level processors. The messages transmitted in the monitor channel have different data structures. For a complete command operation, the first byte of monitor channel data indicates the address of the device either sending or receiving the data. All monitor channel messages to/from the IDT82V1068 begin with the following Program Start (PS) byte:
b7 1 b6 0 b5 0 b4 b3 0 b2 0 b1 0 b0 1
A/B
Because one monitor channel is shared by two voice data channels, the A/B bit is necessary to be used in the PS byte to identify the two channels (named as Channel A and Channel B). A/B = 0: means that Channel A is the source (upstream) or destination (downstream) -81H; A/B = 1: means that Channel B is the source (upstream) or destination (downstream) -91H. The Program Start byte is followed by a command (global/local command or RAM command) byte. For Global Commands, the A/B bit in the PS byte will be ignored. If the command byte specifies a write, there may be 1 to 16 additional data bytes follows (1-4 bytes for registers, 116 bytes for RAM). If the command byte specifies a read, additional data bytes may follow. The IDT82V1068 responds to the read command by sending up to 16 data bytes upstream containing the information
Read/Write Command bit b7 = 0: Read Command b7 = 1: Write Command CT: Command Type b6 b5 = 00: Local Command b6 b5 = 01: Global Command b6 b5 = 10: Not Allowed b6 b5 = 11: RAM Command Address: The b[4:0] bits specify a register(s) or a RAM location(s) to be addressed. R/W: For both Local Commands and Global Commands, the b[4:0] bits are used to address the Local Registers or Global Registers. For RAM Commands, the b4 bit is used to specify if the Coe-RAM or the FSK RAM is to be addressed: b4 = 0: addressing the Coe-RAM b4 = 1: addressing the FSK-RAM When addressing the Coe-RAM, the b[3:0] bits are used to specify a block in the Coe-RAM. When addressing the FSK-RAM, the b3 bit is always `0' and the b[2:0] bits are used to specify a block in the FSKRAM.
25
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
3.1.6
ADDRESSING LOCAL REGISTER
In MPI mode, when using Local Commands, the Channel Enable Command (Global Command 6) must be used first to specify which channel will be addressed, then the Local Commands follows. If Global Command 6 enables more than one channel, all the channels enabled will be addressed by one Local Command at one time. In GCI mode, both the location of the time slot (determined by the TS pin) and the b4 bit in Program Start Byte would indicate which channel to be addressed. The b[4:0] bits in a Local Command determine which one of the Local Registers of the selected channel(s) will be addressed. The IDT82V1068 provides a consecutive adjacent addressing method for reading/writing the Local Registers. According to the value of the b[1:0] bits specified in a Local Command, there will be 1 to 4 adjacent local registers that will be read/written automatically with the highest order first. For example, if the b[1:0] bits specified in the Local Command is `11', 4 adjacent registers will be addressed by this Command. If b[1:0] = `10', 3 adjacent registers will be addressed. Refer to Table 4 for details. Table 4 Consecutive Adjacent Addressing
Address Specified in Local Commands b4 X b3 b2 b1 b0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 1 Byte 2 Byte 3 Byte 1 Byte 2 Byte 1 XXX11 XXX10 XXX01 XXX00 XXX10 XXX01 XXX00 XXX01 XXX00 XXX00 In/Out Data Registers to Be Addressed
It should be noted that the address of Global Register 27 is 11100 and not 11010, because the address space from 11010 to 11011 are reserved. For the adjacent 26 Global Registers, the IDT82V1068 also provides a consecutive adjacent addressing for read/write operation, as it does for the Local Registers. In MPI mode, the procedure of the consecutive adjacent addressing for Global Registers can also be stopped by the CS signal at any time. But in GCI mode, the procedure can not be stopped once a command is initiated. For the 27th Global Register (address is 11100), once a read/write procedure is completed, the CS pin must be pulled to high. It should be noted that, in GCI mode, the Global Command for all 8 channels can be transferred via any GCI time slot. 3.1.8 ADDRESSING THE COE-RAM
X X 1 1 (b1b0 = 11, 4 bytes of data) X X 1 0 (b1b0 = 10, 3 bytes of data) X X 0 1 (b1b0 = 01, 2 bytes of data) X X 0 0 (b1b0 = 00, 1 byte of data)
X X X
In MPI mode, when the CS pin becomes low, the IDT82V1068 treats the first byte on the CI pin as a command byte, and the rest byte(s) as data byte(s). To write another command, the CS pin must be changed from low to high to finish the previous command and then changed from high to low to indicate the start of the next command. When a read/write operation is completed, the CS pin must be pulled to high in 8-bit time. In MPI mode, the procedure of the consecutive adjacent addressing can be stopped by the CS signal at any time. When the CS pin is changed from low to high, the operation on the current register and the next adjacent registers will be aborted. But the results of the previous operation are still remained. In GCI mode, the procedure of the consecutive adjacent addressing can not be stopped once a command is initiated. For write command, the number of bytes following the command must be as same as the number of registers being written. 3.1.7 ADDRESSING THE GLOBAL REGISTERS
The IDT82V1068 provides 40 words of Coe-RAM for each channel. They are divided into 5 blocks, each block contains 8 words. The 5 blocks are: - IMF RAM (Word 0 - Word 7), containing the Impedance Matching Filter coefficient; - ECF RAM (Word 8 - Word 15), containing the Echo Cancellation Filter coefficient; - GIS RAM (Word 16 - Word 23), containing the Gain of Impedance Scaling; - FRX RAM (Word 24 - Word 30) and GTX RAM (Word 31), containing the coefficients for the Frequency Response Correction in Transmit Path and Gain in Transmit Path; - FRR RAM (Word 32 - Word 38) and GRX RAM (Word 39), containing the coefficients for the Frequency Response Correction in Receive Path and Gain in Receive Path. Refer to Table 11 on page 54 for the Coe-RAM address allocation. Each word in the Coe-RAM is 14-bit (b[13:0]) wide. To write a CoeRAM word, 16 bits (b[15:0]) (or, two 8-bit bytes) are needed to fulfill with MSB first, but the lowest two bits (b[1:0]) will be ignored. When being read, each Coe-RAM word will output 16 bits with MSB first, but the last two bits (b[1:0]) are meaningless. In MPI mode, when addressing the Coe-RAM, Global Command 6 (Channel Enable) must be used first to specify the channel(s), then the address (b[4:0]) in the following RAM Command will indicate which block of the Coe-RAM of the specified the channel(s) will be addressed. In GCI mode, both the location of time slot (determined by the TS pin) and the b4 bit in the Program Start Byte will indicate which channel will be addressed. The address in a Coe-RAM Command locates a block of the CoeRAM. That is, when executing a Coe-RAM Command, all 8 words in the specified block will be addressed automatically, with the highest order word first. In MPI mode, when reading/writing a Coe-RAM block, the addressing procedure can be stopped by the CS signal at any time. When the CS signal is changed from low to high, the operation on the current word and the next adjacent words will be aborted. But the results of the previous operation are still remained. 3.1.9 ADDRESSING THE FSK-RAM
The address of the 27 Global Registers is as the following: 00000 - 11001 (Global Register 1- 26) 11100 (Global Register 27)
26
The IDT82V1068 provides four FSK generators shared by all eight channels. Four FSK-RAMs are provided for the four FSK generators respectively. Before accessing the FSK-RAM, the Global Command 25 must be used first to specify one or more FSK generator(s), then the
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
corresponding FSK-RAM(s) will be addressed. Each FSK-RAM consists of 4 blocks. Each block has eight 16-bit words. So, one FSK-RAM consists of 64 bytes. To write a FSK-RAM word, 16 bits (or, two 8-bit bytes) are needed to fulfill with MSB first. When being read, each word will output 16 bits with MSB first. Only the b[2:0] bits in a FSK-RAM Command are needed to specify one of the 4 blocks in FSK-RAM, the b3 bit should always be 0, the b4 bit should always be 1 to indicate the command is for the FSK-RAM. The way of addressing the FSK-RAM is similar to that of addressing the Coe-RAM. When the address of a FSK-RAM block is specified in a FSK-RAM Command, all 8 words in this block will be read/written automatically, with the highest order word first. In MPI mode, when reading/writing a FSK-RAM block, the addressing procedure can be stopped by the CS signal at any time. When the CS pin is changed from low to high, the operation on the current word and the next adjacent words will be aborted. But this will not change the results of the previous operation. 3.1.10 EXAMPLES OF MPI COMMANDS
Table 6 Global Command Transmission Sequence in MPI Mode
Data Transmitted On the CI Pin Global Command byte, write Data byte 1 . . . Data byte m* Global Command byte, read Identification Code (81H) Data byte 1 . . . Data byte m* Data Received on the CO Pin
Table 7 Coe-RAM Command Transmission Sequence in MPI Mode
Data Transmitted On the CI Pin Global Command 6 (Channel Program Enable Byte) Coe-RAM Command byte, write Data word 1 (high byte, low byte**) Data word 2 (high byte, low byte) . . . Data word 8 (high byte, low byte) Global Command 6 (Channel Program Enable byte) Coe-RAM Command byte, read Identification Code (81H) Data word 1 (high byte, low byte**) Data word 2 (high byte, low byte) . . . Data word 8 (high byte, low byte) Data Received on the CO Pin
Examples of the Local Command, Global Command, Coe-RAM Command and FSK-RAM Command in MPI mode are shown in Table 5, Table 6, Table 7 and Table 8 respectively. Table 5 Local Command Transmission Sequence in MPI Mode
Data Transmitted On the CI Pin Global Command 6 (Channel Program Enable Byte) Local Command byte, write Data byte 1 . . . Data byte m* Global Command 6 (Channel Program Enable byte) Local Command byte, read Identification Code (81H) Data byte 1 . . . Data byte m* Data Received on the CO Pin
27
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
Table 8 FSK-RAM Command Transmission Sequence in MPI Mode
Data Transmitted On the CI Pin FSK-RAM Command byte, write Data word 1 (high byte, low byte**) Data word 2 (high byte, low byte) . . . Data word 8 (high byte, low byte) FSK-RAM Command byte, read Identification Code (81H) Data word 1 (high byte, low byte**) Data word 2 (high byte, low byte) . . . Data word 8 (high byte, low byte) Data Received on the CO Pin
Table 10 Coe-RAM/FSK-RAM Command Transmission Sequence in GCI Mode
GCI Monitor Channel Downstream Program Start byte (81H/91H) Coe-RAM/FSK-RAM Command byte, write Data word 1 (high byte, low byte**) Data word 2 (high byte, low byte) . . . Data word 8 (high byte, low byte) Program Start byte (81H/91H) Coe-RAM/FSK-RAM Command byte, read Program Start byte (81H/91H) Data word 1 (high byte, low byte**) Data word 2 (high byte, low byte) . . . Data word 8 (high byte, low byte)
Notes: * The number of the data bytes can be 1, 2, 3 or 4, depending on the two bits `b1b0' in the Local/Global Command. ** When addressing the Coe-RAM, the data word is 14-bit wide, the lowest two bits in the low byte of each word are ignored. When addressing the FSK-RAM, the data word is 16-bit wide.
Upstream
3.1.11
EXAMPLES OF GCI COMMANDS
Examples of the Local/Global Command and Coe-RAM/FSK-RAM Command in GCI mode are shown in Table 9 and Table 10, respectively. Table 9 Local/Global Command Transmission Sequence in GCI Mode
GCI Monitor Channel Downstream Program Start byte (81H/91H) Local/Global Command byte, write Data byte 1 . . . Data byte m* Program Start byte (81H/91H) Local/Global Command byte, read Program Start byte (81H/91H) Data byte 1 . . . Data byte m* Upstream
28
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
3.2
POWER-ON SEQUENCE
To power on the IDT82V1068, users should follow the sequence below: 1. Apply ground first; 2. Apply VCC, finish signal connections and set the RESET pin to low, thus the device goes into the default state; 3. Set the RESET pin to high; 4. Select master clock frequency; 5. Program filter coefficients and other parameters as required.
6. 7.
3.3
DEFAULT STATE AFTER RESET
When the IDT82V1068 is powered on, or reset either by setting the RESET pin to logic low for at least 50 s or by the GCI/MPI Command, the device will enter the default state as described below: 1. All eight channels are powered down and enter standby mode; 2. All loopbacks and cutoff are disabled; 3. The DX1/DU pin is selected for all channels to transmit data, the DR1/DD pin is selected for all channels to receive data; 4. The master clock frequency is assumed to be 2.048 MHz; 5. For MPI mode, the transmit and receive time slots are set to 0-7 for channel 1-8 respectively. The PCM data rate is as same as
8. 9. 10. 11. 12.
the BCLK frequency. Data is transmitted on the rising edges and received on the falling edges of the BCLK signal; For GCI mode, the time slots for transmitting and receiving are determined by the TS pin. the data rate is determined by the DOUBLE pin. The DD/DU clocks data on the rising edges of the DCL signal. A-Law is selected; The coefficients of FRX, FRR, GTX and GTR filters are set to default values. The analog gains are set to 0 dB. The IMF, GIS and ECF filters are disabled. The HPF filter is enabled (Refer to Figure 9 for more information about the filters); The SB1 and SB2 pins are configured as inputs; The SI1 and SI2 pins are configured as no debounce pins; All interrupts are disabled, all pending interrupts are cleared; All feature function blocks including FSK generators, dual tone generators, ring trip and level metering are turned off; The CHCLK1 and CHCLK2 outputs are set to high.
The data stored in the RAMs will not be changed by any kind of reset operations. In this way, the RAM data will not be lost unless the device is powered down physically.
29
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
3.4
COMMAND LIST
In the following global and local commands lists, it should be noted that: 1. R/W = 0, Read command; R/W = 1, Write command. 2. The reserved bit(s) in the command must be filled in `0' in write operation and will be ignored in read operation. 3. The global or local commands described below are available for both MPI and GCI modes except for those with special statement. 3.4.1 GC1: GLOBAL COMMANDS LIST Revision Number, Read (20H); No Operation, Write (A0H)
b7 Command R/W b6 0 b5 1 b4 0 b3 0 b2 0 b1 0 b0 0
When applying a read operation, the revision number of the IDT82V1068 will be read out by executing this command. The default revision number is 1(d). When applying a write operation, nothing will be done by this command. But a data byte of FFH must follow the write command to ensure proper operation. GC2: Interrupt Clear, Write Only (A1H)
b7 Command I/O Data 1 1 b6 0 1 b5 1 1 b4 0 1 b3 0 1 b2 0 1 b1 0 1 b0 1 1
All interrupts will be cleared by this command. When applying this command, a data byte of FFH must follow to ensure proper operation. GC3: Software Reset, Write Only (A2H)
b7 Command I/O Data 1 1 b6 0 1 b5 1 1 b4 0 1 b3 0 1 b2 0 1 b1 1 1 b0 0 1
This command resets all Local Registers, but does not reset the Global Registers and the RAMs. When executing this command, a data byte of FFH must follow to ensure proper operation. GC4: Hardware Reset, Write Only (A3H)
b7 Command I/O Data 1 1 b6 0 1 b5 1 1 b4 0 1 b3 0 1 b2 0 1 b1 1 1 b0 1 1
The action of this command is equivalent to pulling the RESET pin to low (Refer to "3.3 Default State After Reset" on page 29 for more information about the reset operation). Note that when executing this command, a data byte of FFH must follow to ensure proper operation. GC5: MCLK Frequency Selection, Read/Write (24H/A4H) (This command is available for MPI mode only)
b7 Command I/O Data R/W b6 0 Reserved b5 1 b4 0 b3 0 Sel[3] b2 1 Sel[2] b1 0 Sel[1] b0 0 Sel[0]
In MPI mode, this command is used to select the master clock (MCLK) frequency. The default frequency is 2.048 MHz. Sel[3:0] = 0000: 8.192 MHz Sel[3:0] = 0001: 4.096 MHz Sel[3:0] = 0010: 2.048 MHz (default)
30
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
Sel[3:0] = 0110: 1.536 MHz Sel[3:0] = 1110: 1.544 MHz Sel[3:0] = 0101: 3.072 MHz Sel[3:0] = 1101: 3.088 MHz Sel[3:0] = 0100: 6.144 MHz Sel[3:0] = 1100: 6.176 MHz (In GCI mode, the MCLK frequency as same as the DCL frequency, which is 2.048 MHz or 4.096 MHz, depending on the logic level of the CI/DOUBLE pin. Refer to "1 Pin Description" on page 7 for further details.) GC6: Channel Program Enable, Read/Write (25H/A5H). (This command is available for MPI mode only.)
b7 Command I/O Data R/W CE[7] b6 0 CE[6] b5 1 CE[5] b4 0 CE[4] b3 0 CE[3] b2 1 CE[2] b1 0 CE[1] b0 1 CE[0]
The Channel Program Enable command is used to specify the channel(s) before Local Commands or a Coe-RAM Commands are used. This command byte provides one bit per channel to indicate if the corresponding channel will receive Local Commands and Coe-RAM Commands. CE[0] = 0: Disabled, Channel 1 will not receive Local Commands and Coe-RAM Commands (default); CE[0] = 1: Enabled, Channel 1 will receive Local Commands and Coe-RAM Commands. CE[1] = 0: Disabled, Channel 2 will not receive Local Commands and Coe-RAM Commands (default); CE[1] = 1: Enabled, Channel 2 will receive Local Commands and Coe-RAM Commands. CE[2] = 0: Disabled, Channel 3 will not receive Local Commands and Coe-RAM Commands (default); CE[2] = 1: Enabled, Channel 3 will receive Local Commands and Coe-RAM Commands. CE[3] = 0: Disabled, Channel 4 will not receive Local Commands and Coe-RAM Commands (default); CE[3] = 1: Enabled, Channel 4 will receive Local Commands and Coe-RAM Commands. CE[4] = 0: Disabled, Channel 5 will not receive Local Commands and Coe-RAM Commands (default); CE[4] = 1: Enabled, Channel 5 will receive Local Commands and Coe-RAM Commands. CE[5] = 0: Disabled, Channel 6 will not receive Local Commands and Coe-RAM Commands (default); CE[5] = 1: Enabled, Channel 6 will receive Local Commands and Coe-RAM Commands. CE[6] = 0: Disabled, Channel 7 will not receive Local Commands and Coe-RAM Commands (default); CE[6] = 1: Enabled, Channel 7 will receive Local Commands and Coe-RAM Commands. CE[7] = 0: Disabled, Channel 8 will not receive Local Commands and Coe-RAM Commands (default); CE[7] = 1: Enabled, Channel 8 will receive Local Commands and Coe-RAM Commands. GC7: PCM Data Offset, PCM Clock Slope, Data Mode Select, and A/-Law Select, Read/Write (26H/A6H)
b7 Command I/O Data R/W LS b6 0 DMS b5 1 CS[2] b4 0 CS[1] b3 0 CS[0] b2 1 DO[2] b1 1 DO[1] b0 0 DO[0]
The PCM Data Offset bits (DO[2:0]) determine the PCM data transmit/receive time slots will be offset from the Frame Synchronous (FS) signal by how many BCLK periods. (For MPI mode only) DO[2:0] = 000: offset from the FS signal by 0 BCLK period (default); DO[2:0] = 001: offset from the FS signal by 1 BCLK period; DO[2:0] = 010: offset from the FS signal by 2 BCLK periods; DO[2:0] = 011: offset from the FS signal by 3 BCLK periods; DO[2:0] = 100: offset from the FS signal by 4 BCLK periods; DO[2:0] = 101: offset from the FS signal by 5 BCLK periods; DO[2:0] = 110: offset from the FS signal by 6 BCLK periods; DO[2:0] = 111: offset from the FS signal by 7 BCLK periods. The CS[2] bit is used to select the clock mode (single or double). If single clock is selected, the data rate will be as same as the BCLK frequency. If double clock is selected, the data rate will be half of the BCLK frequency. (For MPI mode only) CS[2] = 0: single clock is selected (default); CS[2] = 1: double clock is selected;
31
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
The PCM Clock Slope (CS[1:0]) bits determine the PCM data will be transmitted and received on which edges of the BCLK signal. (For MPI mode only) CS[1:0] = 00: The PCM data is transmitted on the rising edges of BCLK and received on the falling edges of BCLK (default); CS[1:0] = 01: The PCM data is transmitted on the rising edges of BCLK and received on the rising edges of BCLK; CS[1:0] = 10: The PCM data is transmitted on the falling edges of BCLK and received on the falling edges of BCLK; CS[1:0] = 11: The PCM data is transmitted on the falling edges of BCLK and received on the rising edges of BCLK. The Data Mode Select bit (DMS) determines the coding format of the voice data. (For both MPI and GCI modes) DMS = 0: compressed code (default); DMS = 1: linear code. A/-law Select bit (LS) selects A-law or -law. (For both MPI and GCI modes) LS = 0: A-law (default); LS = 1: -law. GC8: Chopper Clock Selection, Read/Write (27H/A7H)
b7 Command I/O Data R/W Reserved b6 0 b5 1 CHCLK2 _SEL[1] b4 0 CHCLK2 _SEL[0] b3 0 CHCLK1 _SEL[3] b2 1 CHCLK1 _SEL[2] b1 1 CHCLK1 _SEL[1] b0 1 CHCLK1 _SEL[0]
The CHCLK1_SEL[3:0] bits configure the programmable output pin CHCLK1. CHCLK1_SEL[3:0] = 0000: CHCLK1 outputs 1 permanently (default); CHCLK1_SEL[3:0] = 0001: CHCLK1 outputs a digital signal at the frequency of 1000/2 Hz; CHCLK1_SEL[3:0] = 0010: CHCLK1 outputs a digital signal at the frequency of 1000/4 Hz; CHCLK1_SEL[3:0] = 0011: CHCLK1 outputs a digital signal at the frequency of 1000/6 Hz; CHCLK1_SEL[3:0] = 0100: CHCLK1 outputs a digital signal at the frequency of 1000/8 Hz; CHCLK1_SEL[3:0] = 0101: CHCLK1 outputs a digital signal at the frequency of 1000/10 Hz; CHCLK1_SEL[3:0] = 0110: CHCLK1 outputs a digital signal at the frequency of 1000/12 Hz; CHCLK1_SEL[3:0] = 0111: CHCLK1 outputs a digital signal at the frequency of 1000/14 Hz; CHCLK1_SEL[3:0] = 1000: CHCLK1 outputs a digital signal at the frequency of 1000/16 Hz; CHCLK1_SEL[3:0] = 1001: CHCLK1 outputs a digital signal at the frequency of 1000/18 Hz; CHCLK1_SEL[3:0] = 1010: CHCLK1 outputs a digital signal at the frequency of 1000/20 Hz; CHCLK1_SEL[3:0] = 1011: CHCLK1 outputs a digital signal at the frequency of 1000/22 Hz; CHCLK1_SEL[3:0] = 1100: CHCLK1 outputs a digital signal at the frequency of 1000/24 Hz; CHCLK1_SEL[3:0] = 1101: CHCLK1 outputs a digital signal at the frequency of 1000/26 Hz; CHCLK1_SEL[3:0] = 1110: CHCLK1 outputs a digital signal at the frequency of 1000/28 Hz; CHCLK1_SEL[3:0] = 1111: CHCLK1 outputs 0 permanently. The CHCLK2_SEL[1:0] bits configure the programmable output pin CHCLK2. CHCLK2_SEL[1:0] = 00: CHCLK2 outputs 1 permanently (default); CHCLK2_SEL[1:0] = 01: CHCLK2 outputs a digital signal at the frequency of 256 kHz; CHCLK2_SEL[1:0] = 10: CHCLK2 outputs a digital signal at the frequency of 512 kHz; CHCLK2_SEL[1:0] = 11: CHCLK2 outputs a digital signal at the frequency of 16.384 MHz. GC9: SLIC Debounce Input SI1, Read Only (28H)
b7 Command I/O Data 0 SIA[7] b6 0 SIA[6] b5 1 SIA[5] b4 0 SIA[4] b3 1 SIA[3] b2 0 SIA[2] b1 0 SIA[1] b0 0 SIA[0]
The SIA[7:0] bits are the debounced versions of the pins SI1_8 to SI1_1. The SIA[7:0] bits contain the SLIC status information received by the SLIC interface pins SI1_8 to SI1_1 respectively. See Figure 10 on page 21 for details. SIA[0]: debounced data of SI1 on Channel 1 (default value is 0); SIA[1]: debounced data of SI1 on Channel 2 (default value is 0); SIA[2]: debounced data of SI1 on Channel 3 (default value is 0); SIA[3]: debounced data of SI1 on Channel 4 (default value is 0);
32
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
SIA[4]: SIA[5]: SIA[6]: SIA[7]: GC10:
debounced data of SI1 on Channel 5 (default value is 0); debounced data of SI1 on Channel 6 (default value is 0); debounced data of SI1 on Channel 7 (default value is 0); debounced data of SI1 on Channel 8 (default value is 0).
SLIC Debounce Input SI2, Read Only (29H)
b7 Command I/O Data 0 SIB[7] b6 0 SIB[6] b5 1 SIB[5] b4 0 SIB[4] b3 1 SIB[3] b2 0 SIB[2] b1 0 SIB[1] b0 1 SIB[0]
The SIB[7:0] bits are the debounced versions of the pins SI2_8 to SI2_1. The SIB[7:0] bits contain the SLIC ground key status information received by the SLIC interface pins SI2_8 to SI2_1 respectively. SIB[0]: debounced data of SI2 on Channel 1 (default value is 0); SIB[1]: debounced data of SI2 on Channel 2 (default value is 0); SIB[2]: debounced data of SI2 on Channel 3 (default value is 0); SIB[3]: debounced data of SI2 on Channel 4 (default value is 0); SIB[4]: debounced data of SI2 on Channel 5 (default value is 0); SIB[5]: debounced data of SI2 on Channel 6 (default value is 0); SIB[6]: debounced data of SI2 on Channel 7 (default value is 0); SIB[7]: debounced data of SI2 on Channel 8 (default value is 0). GC11: SLIC Real-time SB1 Data, Read/Write (2AH/AAH)
b7 Command I/O Data R/W SB1[7] b6 0 SB1[6] b5 1 SB1[5] b4 0 SB1[4] b3 1 SB1[3] b2 0 SB1[2] b1 1 SB1[1] b0 0 SB1[0]
The SB1[7:0] bits contain the information of the SLIC bidirectional pins SB1_8 to SB1_1 respectively. SB1[0]: SB1 data on Channel 1 (default value is 0); SB1[1]: SB1 data on Channel 2 (default value is 0); SB1[2]: SB1 data on Channel 3 (default value is 0); SB1[3]: SB1 data on Channel 4 (default value is 0); SB1[4]: SB1 data on Channel 5 (default value is 0); SB1[5]: SB1 data on Channel 6 (default value is 0); SB1[6]: SB1 data on Channel 7 (default value is 0); SB1[7]: SB1 data on Channel 8 (default value is 0). GC12: SLIC Real-time SB2 Data, Read/Write (2BH/ABH)
b7 Command I/O Data R/W SB2[7] b6 0 SB2[6] b5 1 SB2[5] b4 0 SB2[4] b3 1 SB2[3] b2 0 SB2[2] b1 1 SB2[1] b0 1 SB2[0]
The SB2[7:0] bits contain the information of the SLIC bidirectional pins SB2_8 to SB2_1 respectively. SB2[0]: SB2 data on Channel 1 (default value is 0); SB2[1]: SB2 data on Channel 2 (default value is 0); SB2[2]: SB2 data on Channel 3 (default value is 0); SB2[3]: SB2 data on Channel 4 (default value is 0); SB2[4]: SB2 data on Channel 5 (default value is 0); SB2[5]: SB2 data on Channel 6 (default value is 0); SB2[6]: SB2 data on Channel 7 (default value is 0); SB2[7]: SB2 data on Channel 8 (default value is 0).
33
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
GC13:
SB1 Direction Selection, Read/Write (2CH/ACH)
b7 Command I/O Data R/W SB1C[7] b6 0 SB1C[6] b5 1 SB1C[5] b4 0 SB1C[4] b3 1 SB1C[3] b2 1 SB1C[2] b1 0 SB1C[1] b0 0 SB1C[0]
The SB1C[7:0] bits configure the directions of the SLIC interface pins SB1_8 to SB1_1 respectively. SB1C[0] = 0: SB1 pin on Channel 1 is configured as input (default); SB1C[0] = 1: SB1 pin on Channel 1 is configured as output; SB1C[1] = 0: SB1 pin on Channel 2 is configured as input (default); SB1C[1] = 1: SB1 pin on Channel 2 is configured as output; SB1C[2] = 0: SB1 pin on Channel 3 is configured as input (default); SB1C[2] = 1: SB1 pin on Channel 3 is configured as output; SB1C[3] = 0: SB1 pin on Channel 4 is configured as input (default); SB1C[3] = 1: SB1 pin on Channel 4 is configured as output; SB1C[4] = 0: SB1 pin on Channel 5 is configured as input (default); SB1C[4] = 1: SB1 pin on Channel 5 is configured as output; SB1C[5] = 0: SB1 pin on Channel 6 is configured as input (default); SB1C[5] = 1: SB1 pin on Channel 6 is configured as output; SB1C[6] = 0: SB1 pin on Channel 7 is configured as input (default); SB1C[6] = 1: SB1 pin on Channel 7 is configured as output; SB1C[7] = 0: SB1 pin on Channel 8 is configured as input (default); SB1C[7] = 1: SB1 pin on Channel 8 is configured as output. GC14: SB2 Direction Selection, Read/Write (2DH/ADH)
b7 Command I/O Data R/W SB2C[7] b6 0 SB2C[6] b5 1 SB2C[5] b4 0 SB2C[4] b3 1 SB2C[3] b2 1 SB2C[2] b1 0 SB2C[1] b0 1 SB2C[0]
The SB2C[7:0] bits configure the directions of the SLIC interface pins SB2_8 to SB2_1 respectively. SB2C[0] = 0: SB2 pin on Channel 1 is configured as input (default); SB2C[0] = 1: SB2 pin on Channel 1 is configured as output; SB2C[1] = 0: SB2 pin on Channel 2 is configured as input (default); SB2C[1] = 1: SB2 pin on Channel 2 is configured as output; SB2C[2] = 0: SB2 pin on Channel 3 is configured as input (default); SB2C[2] = 1: SB2 pin on Channel 3 is configured as output; SB2C[3] = 0: SB2 pin on Channel 4 is configured as input (default); SB2C[3] = 1: SB2 pin on Channel 4 is configured as output; SB2C[4] = 0: SB2 pin on Channel 5 is configured as input (default); SB2C[4] = 1: SB2 pin on Channel 5 is configured as output; SB2C[5] = 0: SB2 pin on Channel 6 is configured as input (default); SB2C[5] = 1: SB2 pin on Channel 6 is configured as output; SB2C[6] = 0: SB2 pin on Channel 7 is configured as input (default); SB2C[6] = 1: SB2 pin on Channel 7 is configured as output; SB2C[7] = 0: SB2 pin on Channel 8 is configured as input (default); SB2C[7] = 1: SB2 pin on Channel 8 is configured as output; GC15: SLIC Ring Trip Setting, Read/Write (2EH/AEH)
b7 Command I/O Data R/W OPI b6 0 Reserved b5 1 IPI b4 0 IS b3 1 RTE b2 1 OS[2] b1 1 OS[1] b0 0 OS[0]
The Output Selection bits OS[2:0] determine which output pin will be selected as the ring control signal source. OS[2:0] = 000 - 010: not defined; OS[2:0] = 011: SB1 is selected (when SB1 is configured as an output);
34
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
OS[2:0] = 100: OS[2:0] = 101: OS[2:0] = 110: OS[2:0] = 111:
SB2 is selected (when SB2 is configured as an output); SO1 is selected; SO2 is selected; SO3 is selected.
The Ring Trip Enable bit RTE enables or disables the ring trip function block. RTE = 0: the ring trip function block is disabled (default); RTE = 1: the ring trip function block is enabled. The Input Selection bit IS determines which input will be selected as the off-hook indication signal source. IS = 0: SI1 is selected (default); IS = 1: SI2 is selected. The Input Polarity Indicator bit IPI indicates the valid polarity of input. IPI = 0: active low (default); IPI = 1: active high. The Output Polarity Indicator bit OPI indicates the valid polarity of output. OPI = 0: the selected output pin changing from high to low will activate the ring (default); OPI = 1: the selected output pin changing from low to high will activate the ring. GC16: Level Meter Result Low Register, Read Only (30H)
b7 Command I/O Data 0 LMRL[7] b6 0 LMRL[6] b5 1 LMRL[5] b4 1 LMRL[4] b3 0 LMRL[3] b2 0 LMRL[2] b1 0 LMRL[1] b0 0 DRLV
This register contains the lower 8 bits of the level meter result with the default value of `0000-0000'. The DRLV bit is the active high data_ready bit. To read the level meter result, users should read the low register first, then read the high register (LMRH[7:0]). Once the high register is read, the DRLV bit will be cleared immediately. GC17: Level Meter Result High Register, Read Only (31H)
b7 Command I/O Data 0 LMRH[7] b6 0 LMRH6] b5 1 LMRH[5] b4 1 LMRH[4] b3 0 LMRH[3] b2 0 LMRH[2] b1 0 LMRH[1] b0 1 LMRH[0]
This register contains the higher 8 bits of the level meter result. The default value of this register is 0(d). GC18: Level Meter Counter, Read/Write (32H/B2H)
b7 Command I/O Data R/W CN[7] b6 0 CN[6] b5 1 CN[5] b4 1 CN[4] b3 0 CN[3] b2 0 CN[2] b1 1 CN[1] b0 0 CN[0]
The level meter counter register is used to configure the number of time cycles for sampling the PCM data. CN[7:0] = 0 (d): the linear or compressed PCM data is output to registers LMRH and LMRL directly (default); CN[7:0] = N: The PCM data is sampled for N * 125 S (N from 1 to 255). GC19: Level Meter Channel Select, Level Meter Mode Select, Level Meter On/off and Dual Tone Output Invert, Read/Write (33H/B3H)
b7 Command I/O Data R/W Reserved b6 0 TOI b5 1 Reserved b4 1 LMO b3 0 L/C b2 0 CS[2] b1 1 CS[1] b0 1 CS[0]
The level meter Channel Select bits (CS[2:0]) are used to select a channel, data on which will be level metered. CS[2:0] = 000: Channel 1 is selected (default);
35
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
CS[2:0] = 001: CS[2:0] = 010: CS[2:0] = 011: CS[2:0] = 100: CS[2:0] = 101: CS[2:0] = 110: CS[2:0] = 111:
Channel 2 is selected; Channel 3 is selected; Channel 4 is selected; Channel 5 is selected; Channel 6 is selected; Channel 7 is selected; Channel 8 is selected.
The level meter Mode Select bit (L/C) determines the mode of level meter operation. L/C = 0: Message mode is selected. The compressed PCM data will be output to the level meter result register LMRH transparently (default); L/C = 1: Meter mode is selected. The linear PCM data will be metered and output to the level meter result registers LMRH and LMRL when the data_ready bit DRLV is `1'. The level meter On/off bit (LMO) enables the level meter. LMO = 0: Level meter is disabled (default); LMO = 1: Level meter is enabled. The Dual Tone Output Invert bit (TOI) determines whether the output tone signal will be inverted or not. TOI = 0: The output tone signal will not be inverted (default); TOI = 1: The output tone signal will be inverted. GC20: FSK Flag Length, Read/Write (34H/B4H)
b7 Command I/O Data R/W FL[7] b6 0 FL[6] b5 1 FL[5] b4 1 FL[4] b3 0 FL[3] b2 1 FL[2] b1 0 FL[1] b0 0 FL[0]
The Flag Length bits (FL[7:0]) determine the number of the flag bits `1' that will be transmitted between the transmission of the message bytes. The value of FL[7:0] is valid from 0 to 255(d). The default value is 0(d). If 0(d) is selected, no flag signal will be sent. GC21: FSK Data Length, Read/Write (35H/B5H)
b7 Command I/O Data R/W WL[7] b6 0 WL[6] b5 1 WL[5] b4 1 WL[4] b3 0 WL[3] b2 1 WL[2] b1 0 WL[1] b0 1 WL[0]
Data Length bits (WL[7:0]) determine the number of all the data bytes that will be transmitted except the flag signal. The value is valid from 0 to 64(d). Any value larger than 64(d) will be taken as 64(d). The default value of this register is 0(d). When 0(d) is selected, none of the word data will be sent out. When the Mark After Send bit MAS in Global Command 24 is set to 1, the mark signal will be sent after the data bytes in the FSK-RAM have been sent out. When the MAS bit is set to 0, the mark signal will not be sent after the data bytes in the FSK-RAM have been sent out. GC22: FSK Seizure Length, Read/Write (36H/B6H)
b7 Command I/O Data R/W SL[7] b6 0 SL[6] b5 1 SL[5] b4 1 SL[4] b3 0 SL[3] b2 1 SL[2] b1 1 SL[1] b0 0 SL[0]
The Seizure Length bits (SL[7:0]) determine the number of `01' pairs that represent the seizure phase. The Seizure Length is two times of the value set in the SL[7:0] bits. The value of the SL[7:0] bits is valid from 0 to 255(d), corresponding to the Seizure Length of 0 to 510(d). The default value is 0(d). When 0(d) is selected, no seizure signal will be sent.
36
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
GC23:
FSK Mark Length, Read/Write (37H/B7H)
b7 Command I/O Data R/W ML[7] b6 0 ML[6] b5 1 ML[5] b4 1 ML[4] b3 0 ML[3] b2 1 ML[2] b1 1 ML[1] b0 1 ML[0]
The Mark Length bits (ML[7:0]) determine the number of the mark bits `1' that will be transmitted in the initial flag phase. The value of the ML[7:0] bits is valid from 0 to 255(d). The default value is 0(d). When 0(d) is selected, no mark signal will be sent. GC24: FSK Start, Mark After Send, FSK Mode Select, FSK Channel Select and FSK On/Off, Read/Write (38H/B8H)
b7 Command I/O Data R/W FO b6 0 FSC[2] b5 1 FCS[1] b4 1 FCS[0] b3 1 Reserved b2 0 FMS b1 0 MAS b0 0 FS
The FSK Start bit (FS) is used to initiate the FSK signal transmission. It will be cleared to the default value of `0' after the data bytes in the FSK-RAM have been sent out. If the Seizure Length, Mark Length together with the Data Length are set to 0(d), the FSK Start bit will be reset to 0 immediately after it is set to 1. The Mark After Send bit (MAS) determine the FSK block operation after the data bytes in the FSK-RAM have been sent out. MAS = 0: The output will be muted after sending out all data bytes in the FSK-RAM (default); MAS = 1: After sending out all data bytes in the FSK-RAM, the IDT82V1068 keeps sending a series of '1' until the MAS bit is set to 0 and the FS bit is set to 1. The FSK Mode Select bit (FMS) is used to select the FSK modulation specification. FMS = 0: Bellcore specification is selected (default); FMS = 1: BT specification is selected. The FSK Channel Select bits (FCS[2:0]) selects a channel on which the FSK operation will be implemented. Channel 1 to Channel 4 are the default selections for the FSK generator 1 to generator 4 respectively. FCS[2:0] = 000: Channel 1 is selected (default); FCS[2:0] = 001: Channel 2 is selected; FCS[2:0] = 010: Channel 3 is selected; FCS[2:0] = 011: Channel 4 is selected; FCS[2:0] = 100: Channel 5 is selected; FCS[2:0] = 101: Channel 6 is selected; FCS[2:0] = 110: Channel 7 is selected; FCS[2:0] = 111: Channel 8 is selected. The FSK On/Off (FO) enables or disables the whole FSK function block. FO = 0: The FSK function block is disabled (default); FO = 1: The FSK function block is enabled. GC25: FSK Generator Selection, Read/Write (39H/B9H)
b7 Command I/O Data R/W b6 0 Reserved b5 1 b4 1 b3 1 FSK_G4 b2 0 FSK_G3 b1 0 FSK_G2 b0 1 FSK_G1
The FSK Generator Selection bits (FSK_G1 to FSK_G4) determine which FSK generator(s) will be programmed. FSK_G1 = 0: FSK generator 1 is not selected; FSK_G1 = 1: FSK generator 1 is selected (default). FSK_G2 = 0: FSK generator 2 is not selected (default); FSK_G2 = 1: FSK generator 2 is selected. FSK_G3 = 0: FSK generator 3 is not selected (default); FSK_G3 = 1: FSK generator 3 is selected. FSK_G4 = 0: FSK generator 4 is not selected (default);
37
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
FSK_G4 = 1:
FSK generator 4 is selected.
The IDT82V1068 provides four FSK generators shared by all eight channels. Before configuring the FSK generator(s) (e.g., setting the Flag Length/Data Length/Seizure Length/Mark Length, selecting the FSK channel and programming the FSK-RAM), this command must be used first to specify one or more FSK generators to be configured, the FSK configuration registers and FSK-RAM will then be accessed accordingly. The FSK Generator 1 (FSK_G1) is selected by default. GC26: Loopback Control and PLL Power Down, Read/Write (3CH/BCH)
b7 Command I/O Data R/W ALB_64k b6 0 PLLPD b5 1 DLB_64k b4 1 DLB_ANA b3 1 ALB_8k b2 1 DLB_8k b1 0 DLB_DI b0 0 ALB_DI
The loopback control bits (ALB_DI, DLB_DI, DLB_8k, ALB_8k, DLB_ANA, DLB_64k and ALB_64k) determine the loopback status. Figure 9 on page 19 shows all the loopbacks and cutoff in the IDT82V1068. ALB_DI = 0: The analog loopback via DX to DR is disabled (default); ALB_DI = 1: The analog loopback via DX to DR is enabled; DLB_DI = 0: DLB_DI = 1: DLB_8k = 0: DLB_8k = 1: ALB_8k = 0: ALB_8k = 1: The digital loopback via DR to DX is disabled (default); The digital loopback via DR to DX is enabled; The digital loopback via 8 kHz interface is disabled (default); The digital loopback via 8 kHz interface is enabled; The analog loopback via 8 kHz interface is disabled (default); The analog loopback via 8 kHz interface is enabled;
DLB_ANA = 0: The digital loopback via analog interface is disabled (default); DLB_ANA = 1: The digital loopback via analog interface is enabled. DLB_64k = 0: DLB_64k = 1: ALB_64k = 0: ALB_64k = 1: The digital loopback via 64 kHz interface is disabled (default); The digital loopback via 64 kHz interface is enabled; The analog loopback via 64 kHz interface is disabled (default); The analog loopback via 64 kHz interface is enabled;
The PLL Power Down Bit (PLLPD) controls the status of the Phase Lock Loop. PLLPD = 0: The device is in normal operation (default); PLLPD = 1: The Phase Lock Loop is powered down. The device works in Power-Saving mode. All clocks stop running.
38
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
3.4.2 LC1:
LOCAL COMMANDS LIST Coefficient Selection, Read/Write (00H/80H)
b7 Command I/O Data R/W CS[7] b6 0 CS[6] b5 0 CS[5] b4 0 CS[4] b3 0 CS[3] b2 0 CS[2] b1 0 CS[1] b0 0 CS[0]
The Coefficient Selection bits (CS[7:0]) are used to control the digital filters and function blocks on the corresponding channel such as the Impedance Matching Filter, Echo Cancellation Filter, High-Pass Filter, Gain for Impedance Scaling, Gain in Transmit/Receive Path and Frequency Response Correction in Transmit/Receive Path. See Figure 9 on page 19 for details. It should be noted that the Impedance Matching Filter and the Gain for Impedance Scaling are working together to adjust the impedance. That is to say, The CS[0] and CS[2] bits should be set to the same value to ensure the correct operation. CS[0] = 0: The Impedance Matching Filter is disabled (default); CS[0] = 1: The Impedance Matching Filter coefficient is set by IMF RAM; CS[1] = 0: CS[1] = 1: CS[2] = 0: CS[2] = 1: CS[3] = 0: CS[3] = 1: CS[4] = 0: CS[4] = 1: CS[5] = 0: CS[5] = 1: CS[6] = 0: CS[6] = 1: CS[7] = 0: CS[7] = 1: The Echo Cancellation Filter is disabled (default); The Echo Cancellation Filter coefficient is set by ECF RAM; The Gain for Impedance Scaling is disabled (default); The Gain for Impedance Scaling coefficient is set by GIS RAM; The High-Pass Filter is bypassed/disabled; The High-Pass Filter is enabled (default); The Frequency Response Correction in Transmit Path is bypassed (default); The Frequency Response Correction in Transmit Path coefficient is set by FRX RAM; The Gain in Transmit Path is 0 dB (default); The Gain in Transmit Path coefficient is set by GTX RAM; The Frequency Response Correction in Receive Path is bypassed (default); The Frequency Response Correction in Receive Path coefficient is set by FRR RAM; The Gain in Receive Path is 0 dB (default); The Gain in Receive Path coefficient is set by GRX RAM.
Refer to Figure 18 on page 53 for the Coe-RAM address mapping. LC2: Loopback Control, PCM Receive Path Cutoff and SLIC Input Interrupt Enable, Read/Write (01H/81H)
b7 Command I/O Data R/W IE[3] b6 0 IE[2] b5 0 IE[1] b4 0 IE[0] b3 0 CUTOFF b2 0 DLB_PCM b1 0 ALB_1BIT b0 1 DLB_1BIT
The loopback control bits (DLB_1BIT, ALB_1BIT and DLB_PCM) determine the loopback status on the corresponding channel. See Figure 9 on page 19 for details. DLB_1BIT = 0: The digital loopback via Onebit on the corresponding channel is disabled (default); DLB_1BIT = 1: The digital loopback via Onebit on the corresponding channel is enabled; ALB_1BIT = 0: The analog loopback via Onebit on the corresponding channel is disabled (default); ALB_1BIT = 1: The analog loopback via Onebit on the corresponding channel is enabled; DLB_PCM = 0: The digital loopback via the PCM interface on the corresponding channel is disabled (default); DLB_PCM = 1: The digital loopback via the PCM interface on the corresponding channel is enabled. In this loopback mode, the digital data received from the DR1/2 pin will be switched by the time slot setting and then transmitted out from the DX1/2 pin.
39
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
The PCM receive path cutoff bit (CUTOFF) is used to cut off the PCM receive path. CUTOFF = 0: The PCM receive path in normal operation; CUTOFF = 1: The PCM receive path is cut off. The SLIC Input Interrupt Enable bits (IE[3:0]) enable or disable the interrupt signal on the corresponding channel. IE[0] = 0: Interrupt disable. The interrupt signal generated by the SB2 pin of the corresponding channel (when the SB1 pin is configured as an input) will be ignored (default); IE[0] = 1: Interrupt enable. The interrupt signal generated by the SB2 pin of the corresponding channel (when the SB1 pin is configured as an input) will be recognized; IE[1] = 0: IE[1] = 1: IE[2] = 0: IE[2] = 1: IE[3] = 0: IE[3] = 1: LC3: Interrupt disable. The interrupt signal generated by the SB1 pin of the corresponding channel (when the SB1 is configured as an input) will be ignored (default); Interrupt enable. The interrupt signal generated by the SB1 pin of the corresponding channel (when the SB1 pin is configured as an input) will be recognized; Interrupt disable. The interrupt signal generated by the SI2 pin of the corresponding channel will be ignored (default); Interrupt enable. The interrupt signal generated by the SI2 pin of the corresponding channel will be recognized; Interrupt disable. The interrupt signal generated by the SI1 pin of the corresponding channel will be ignored (default); Interrupt enable. The interrupt signal generated by the SI1 pin of the corresponding channel will be recognized;
Loopback Control, Read/Write (02H/82H)
b7 Command I/O Data R/W b6 0 b5 0 b4 0 Reserved b3 0 b2 0 b1 1 b0 0 ALB_PCM
The loopback control bit ALB_PCM determines the status of the loopback ALB_PCM on the corresponding channel. ALB_PCM = 0: The analog loopback via the PCM interface on the corresponding channel is disabled (default); ALB_PCM = 1: The analog loopback via the PCM interface on the corresponding channel is enabled. LC4: DSH Debounce and GK Debounce Configurations, Read/Write (03H/83H)
b7 Command I/O Data R/W GK[3] b6 0 GK[2] b5 0 GK[1] b4 0 GK[0] b3 0 DSH[3] b2 0 DSH[2] b1 1 DSH[1] b0 1 DSH[0]
The DSH Debounce bits (DSH[3:0]) is used to set the debounce time for the SI1 input of the corresponding channel. The debounce time for SI1 is programmable from 0 to 30 ms in step of 2 ms. DSH[3:0] = 0000: 0 ms (default); DSH[3:0] = 0001: 2 ms; DSH[3:0] = 0010: 4 ms; DSH[3:0] = 0011: 6 ms; DSH[3:0] = 0100: 8 ms; DSH[3:0] = 0101: 10 ms; DSH[3:0] = 0110: 12 ms; DSH[3:0] = 0111: 14 ms; DSH[3:0] = 1000: 16 ms; DSH[3:0] = 1001: 18 ms; DSH[3:0] = 1010: 20 ms; DSH[3:0] = 1011: 22 ms; DSH[3:0] = 1100: 24 ms; DSH[3:0] = 1101: 26 ms; DSH[3:0] = 1110: 28 ms; DSH[3:0] = 1111: 30 ms. The GK Debounce bits (GK[3:0]) is used to set the debounce interval for the SI2 input of the corresponding channel. The debounce time
40
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
for SI2 is programmable from 0 to 180 ms in step of 12 ms. GK[3:0] = 0000: 0 ms (default); GK[3:0] = 0001: 12 ms; GK[3:0] = 0010: 24 ms; GK[3:0] = 0011: 36 ms; GK[3:0] = 0100: 48 ms; GK[3:0] = 0101: 60 ms; GK[3:0] = 0110: 72 ms; GK[3:0] = 0111: 84 ms; GK[3:0] = 1000: 96 ms; GK[3:0] = 1001: 108 ms; GK[3:0] = 1010: 120 ms; GK[3:0] = 1011: 132 ms; GK[3:0] = 1100: 144 ms; GK[3:0] = 1101: 156 ms; GK[3:0] = 1110: 168 ms; GK[3:0] = 1111: 180 ms. LC5: Dual Tone Frequency Setting, Read/Write (04H, 05H, 06H/84H, 85H, 86H)
b7 Command I/O Data R/W T0[7] b6 0 T0[6] b5 0 T0[5] b4 0 T0[4] b3 0 T0[3] b2 1 T0[2] b1 0 T0[1] b0 0 T0[0]
b7 Command I/O Data R/W T1[3]
b6 0 T1[2]
b5 0 T1[1]
b4 0 T1[0]
b3 0 T0[11]
b2 1 T0[10]
b1 0 T0[9]
b0 1 T0[8]
b7 Command I/O Data R/W T1[11]
b6 0 T1[10]
b5 0 T1[9]
b4 0 T1[8]
b3 0 T1[7]
b2 1 T1[6]
b1 1 T1[5]
b0 0 T1[4]
The decimal value of Dual Tone Frequency Setting bits (T0[11:0]) is the frequency of the Tone 0 on the corresponding channel. The decimal value of T1[11:0] bits is the Tone 1 frequency on the corresponding channel. LC6: Tone Generator Enable and Tone Gain Setting, Read/Write (07H/87H)
b7 Command I/O Data R/W T1E b6 0 T0E b5 0 TG[5] b4 0 TG[4] b3 0 TG[3] b2 1 TG[2] b1 1 TG[1] b0 1 TG[0]
The Tone Gain bits (TG[5:0]) are used to set the gain of the dual tone signal on the corresponding channel. G = 20 x lg (Tg x 2/256) + 3.14 where: G is the desired tone gain, Tg is the decimal value of the TG[5:0] bits. The tone generator enable bits T1E and T0E are used to activate the corresponding channel's tone generators Tone 1 and Tone 0, respectively. T1E = 0: Tone 1 is disabled at the peak value in phase 90 degree (default); T1E = 1: Tone 1 is enabled at zero-crossing; T0E = 0: Tone 0 is disabled at the peak value in phase 90 degree (default); T0E = 1: Tone 0 is enabled at zero-crossing.
41
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
LC7:
Transmit Timeslot and Transmit Highway Selection, Read/Write (08H/88H) (For MPI mode only)
b7 Command I/O Data R/W THS b6 0 TT[6] b5 0 TT[5] b4 0 TT[4] b3 1 TT[3] b2 0 TT[2] b1 0 TT[1] b0 0 TT[0]
The Transmit Timeslot selection bits (TT[6:0]) determine which time slot will be used to transmit the data of the corresponding channel. The valid value of TT[6:0] is 0d - 127d, corresponding to TS0 to TS127. The default value is N for Channel N+1 (N = 0 to 7). The Transmit Highway Selection bit (THS) selects a PCM highway for the corresponding channel to transmit the voice data. THS = 0: DX1 is selected (default); THS = 1: DX2 is selected. LC8: Receive Timeslot and Highway Selection, Read/Write (09H/89H) (For MPI mode only)
b7 Command I/O Data R/W RHS b6 0 RT[6] b5 0 RT[5] b4 0 RT[4] b3 1 RT[3] b2 0 RT[2] b1 0 RT[1] b0 1 RT[0]
The Receive Timeslot selection bits RT[6:0] determine which time slot will be used for the corresponding channel to receive the data. The valid value of RT[6:0] is 0d - 127d, corresponding to TS0 to TS127. The default value is N for Channel N+1 (N = 0 to 7). The Receive Highway Selection bit RHS selects a PCM highway for the corresponding channel to receive the voice data. RHS = 0: DR1 is selected (default); RHS = 1: DR2 is selected. LC9: SLIC I/O Data, Read/Write (0AH/8AH) (For MPI mode only)
b7 Command I/O Data R/W Reserved b6 0 SO3 b5 0 SO2 b4 0 SO1 b3 1 SI1 b2 0 SI2 b1 1 SB1 b0 0 SB2
The SLIC I/O Data register contains the information of the SLIC I/O pins SI1, SI2, SB1, SB2, SO1, SO2 and SO3 on the corresponding channel. The default value of this register is 0d. It should be noted that the SI1, SI2, SB1 and SB2 bits in this register are read only. LC10: D/A Gain and A/D Gain Setting, Channel Power Down, Read/Write (0CH/8CH)
b7 Command I/O Data R/W PD b6 0 GAD b5 0 GDA b4 0 b3 1 b2 1 Reserved b1 0 b0 0
The GDA bit is used to set the analog gain of D/A for the corresponding channel. GDA = 0: 0 dB (default); GDA = 1: -6 dB. The GAD bit is used to set the analog gain of A/D for the corresponding channel. GAD = 0: 0 dB (default); GAD = 1: +6 dB. The Channel Power Down bit (PD) disables or enables the corresponding channel. PD = 0: The corresponding channel is in normal operation; PD = 1: The corresponding channel is powered down (default).
42
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
LC11:
PCM Data Low Byte, Read Only (0EH) (For MPI mode only)
b7 Command I/O Data 0 PCM[7] b6 0 PCM[6] b5 0 PCM[5] b4 0 PCM[4] b3 1 PCM[3] b2 1 PCM[2] b1 1 PCM[1] b0 0 PCM[0]
This command is used for the MCU to monitor the transmit (A to D) PCM data. For linear Code, the low 8 bits of the PCM data will be output at the CO pin, at the same time, the transmit data will be output to the PCM bus without any interference. For compressed code (A/-Law), the total 8 bit PCM data will be output at the CO pin. LC12: PCM Data High Byte, Read Only (0FH) (For MPI mode only)
b7 Command I/O Data 0 PCM[15] b6 0 PCM[14 b5 0 PCM[13] b4 0 PCM[12] b3 1 PCM[11] b2 1 PCM[10] b1 1 PCM[9] b0 1 PCM[8]
This command is used for the MCU to monitor the transmit (A to D) PCM data. For linear Code, the high 8 bits of the PCM data will be output at the CO pin, at the same time, the transmit data will be output to the PCM bus without any interference. For compressed code (A/-Law), this command is not used.
43
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
4
ABSOLUTE MAXIMUM RATINGS
Power Supply Voltage Com'I & Ind'I -0.5 to 4.5 -0.5 to 5.25 -0.5 to 4.5 -0.5 to 5.25 -0.5 to 4.5 1 -65 to 150 Unit V V V V V W C
Power supply voltage Voltage on digital input pins with respect to the ground (including SB1-2 if SB1-2 are configured as inputs) Voltage on analog input pins with respect to the ground Voltage on output pins CO, DX1, DX2 and SB1-2 (if SB1-2 are configured as outputs) with respect to the ground Voltage on output pins except CO, DX1, DX2, and SB1-2 with respect to the ground Package power dissipation Storage temperature
Note: Stresses greater than those listed under ABSOLUTE MAXIMUM RATINGS may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect reliability.
5
RECOMMENDED DC OPERATING CONDITIONS
Parameter Min. -40 3.135 Typ. Max. +85 3.465 Unit C V
Operating Temperature Power supply voltage
6
6.1
Parameter VIL VIH VOL VOH II IOZ CI
DC ELECTRICAL CHARACTERISTICS
DIGITAL INTERFACE
Description Input low voltage Input high voltage Output low voltage Output high voltage Input current Output current in high-impedance state Input capacitance VDD - 0.3 -10 -10 10 10 5 1.8 0.3 Min. Typ. Max. 1.2 Units V V V V A A pF Test Conditions All digital inputs All digital inputs DX, IL = 6 mA; All other digital outputs, IL = 3.6 mA. DX, IL = -6 mA; All other digital outputs, IL = -3.6 mA. All digital inputs, GND6.2
Parameter IDD1 IDD0
POWER DISSIPATION
Description Operating current Standby current Min. Typ. 110 5 Max. Units mA mA Test Conditions All channels are active. All channels and PLL are powered down.
44
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
6.3
Parameter VOUT1 VOUT2 RI RO RL II IZ CL
ANALOG INTERFACE
Description Output voltage, VOUT Output voltage swing, VOUT Input resistance, VIN Output resistance, VOUT Load resistance, VOUT Input leakage current, VIN Output leakage current, VOUT Load capacitance, VOUT 300 -1.0 -10 1.0 10 100 2.1 40 50 60 20 Min. Typ. 1.5 Max. Units V Vp-p k A A pF Test Conditions Alternating zero -law PCM code applied to DR RL = 300 0.25 V < VIN < 4.75 V 0 dBm0, 1020 Hz PCM code applied to DR External loading 0.25 V < VIN < VDD - 0.25 V Power down External loading
45
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
7
AC ELECTRICAL CHARACTERISTICS
0 dBm0 is defined as 0.5026 Vrms for A-law and 0.4987 Vrms for -law, both for 600 load. Unless otherwise noted, the analog input is a 0 dBm0, 1020 Hz sine wave; the input amplifier is set for unity gain. The digital input is a PCM bit stream equivalent to that obtained by passing a 0 dBm0, 1020 Hz sine wave through an ideal encoder. The output level is sin(x)/x-corrected. Typical values are for VDD = 3.3 V and TA = 25 C.
7.1
ABSOLUTE GAIN
Description Transmit gain, absolute 0 C to 85 C -40 C Receive gain, absolute 0 C to 85 C -40 C Min. -0.05 -0.1 -0.45 -0.5 Typ. Max. 0.45 0.5 0.05 0.1 Units dB Test Conditions Signal input of 0 dBm0, -law or A-law
Parameter GXA
GRA
dB
Measured relative to 0 dBm0, -law or A-law, PCM input of 0 dBm0, 1020Hz. RL = 10 k
7.2
GAIN TRACKING
Description Transmit gain tracking +3 dBm0 to -37 dBm0 (exclude -37 dBm0) -37 dBm0 to -50 dBm0 (exclude -50 dBm0) -50 dBm0 to -55 dBm0 Receive gain tracking +3 dBm0 to -40 dBm0 (exclude -40 dBm0) -40 dBm0 to -50 dBm0 (exclude -50 dBm0) -50 dBm0 to -55 dBm0 Min. -0.25 -0.50 -1.40 -0.10 -0.25 -0.50 Typ. Max. 0.25 0.50 1.40 0.10 0.50 0.50 Units dB Test Conditions Tested by sinusoidal method, A-law or -law
Parameter GTX
GTR
dB
Tested by sinusoidal method, A-law or -law
7.3
FREQUENCY RESPONSE
Description Transmit gain, relative to GXA f = 50 Hz f = 60 Hz f = 300 Hz to 3000 Hz f = 3000 Hz to 3400 Hz f = 3600 Hz f 4600 Hz Receive gain, relative to GRA f < 300 Hz f = 300 Hz to 3000 Hz f = 3000 Hz to 3400 Hz f = 3600 Hz f 4600 Hz Min. Typ. Max. -30 -30 0.15 0.15 -0.1 -35 0 0.15 0.15 -0.2 -35 Units Test Conditions
Parameter
GXR
-0.15 -0.4
dB
High-pass filter is enabled.
GRR
-0.15 -0.4
dB
46
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
7.4
GROUP DELAY
Description Transmit delay, relative to 1800 Hz f = 500 Hz to 600 Hz f = 600 Hz to 1000 Hz f = 1000 Hz to 2600 Hz f = 2600 Hz to 2800 Hz Receive delay, relative to 1800 Hz f = 500 Hz to 600 Hz f = 600 Hz to 1000 Hz f = 1000 Hz to 2600 Hz f = 2600 Hz to 2800 Hz Min. Typ. Max. 280 150 80 280 50 80 120 150 Units Test Conditions
Parameter
DXR
s
DRR
s
7.5
Parameter
DISTORTION
Description Transmit signal to total distortion ratio A-law: input level = 0 dBm0 input level = -30 dBm0 input level = -40 dBm0 input level = -45 dBm0 -law: input level = 0 dBm0 input level = -30 dBm0 input level = -40 dBm0 input level = -45 dBm0 Receive signal to total distortion ratio A-law: input level = 0 dBm0 input level = -30 dBm0 input level = -40 dBm0 input level = -45 dBm0 -law: input level = 0 dBm0 input level = -30 dBm0 input level = -40 dBm0 input level = -45 dBm0 Single frequency distortion, transmit Single frequency distortion, receive Intermodulation distortion Min. Typ. Max. Units Test Conditions
STDX
36 36 30 24 36 36 31 27
dB
ITU-T O.132 Sine wave method, psophometric weighted for Alaw; Sine wave method, C message weighted for -law.
STDR
36 36 30 24 36 36 31 27 -42 -42 -42
dB
ITU-T O.132 Sine wave method, psophometric weighted for Alaw; Sine wave method, C message weighted for -law.
SFDX SFDR IMD
dBm0 dBm0 dBm0
200 Hz to 3400 Hz, 0 dBm0 input, output any other single frequency 3400 Hz 200 Hz to 3400 Hz, 0 dBm0 input, output any other single frequency 3400 Hz Transmit or receive, two frequencies in the range (300 Hz - 3400 Hz) at -6 dBm0.
47
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
7.6
Parameter NXC NXP NRC NRP NRS PSRX
NOISE
Description Transmit noise, C message weighted for -law Transmit noise, psophometrically weighted for Alaw Receive noise, C message weighted for -law Receive noise, psophometrically weighted for Alaw Noise, single frequency f = 0 kHz to 100 kHz Power supply rejection, transmit f = 300 Hz to 3.4 kHz f = 3.4 kHz to 20 kHz Power supply rejection, receive f = 300 Hz to 3.4 kHz f = 3.4 kHz to 20 kHz Spurious out-of-band signals at VOUT, relative to input PCM code applied: f = 4.6 kHz to 20 kHz f = 20 kHz to 50 kHz Min. Typ. Max. 18 -68 12 -78 -53 40 25 40 25 Units dBrnC0 dBm0p dBrnC0 dBm0p dBm0 dB VIN = 0 Vrms, tested at VOUT. VDD = 3.3 VDC+100 mVrms The PCM code is positive one LSB, VDD = 3.3 VDC+100 mVrms, Test Conditions
PSRR
dB
SOS
-40 -30
dB
0dBm0, 300 Hz to 3400 Hz input
7.7
Parameter XTX-R
INTERCHANNEL CROSSTALK
Description Transmit to receive crosstalk Min. Typ. -85 Max. -78 Units dB Test Conditions 300 Hz to 3400 Hz, 0 dBm0 signal into the VIN pin of the interfering channel. Idle PCM code into the channel under test. 300 Hz to 3400 Hz, 0 dBm0 PCM code into the interfering channel. VIN = 0 Vrms for the channel under test. 300 Hz to 3400 Hz, 0 dBm0 signal into the VIN pin of the interfering channel. VIN = 0 Vrms for the channel under test 300 Hz to 3400 Hz, 0 dBm0 PCM code into the interfering channel. Idle PCM code into the channel under test
XTR-X
Receive to transmit crosstalk
-85
-80
dB
XTX-X
Transmit to transmit crosstalk
-85
-78
dB
XTR-R
Receive to receive crosstalk
-85
-80
dB
48
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
8
8.1
Symbol t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11
TIMING CHARACTERISTICS
CLOCK
Description CCLK period CCLK pulse width CCLK rise and fall time BCLK period BCLK pulse width BCLK rise and fall time MCLK pulse width MCLK rise and fall time DCL period f = 2.048 kHz f = 4.096 kHz DCL rise and fall time DCL pulse width 90 488 244 60 48 15 122 48 15 Min. 122 48 25 Typ. Max. 100 k Units ns ns ns ns ns ns ns ns ns ns ns Test Conditions
t2 CCLK t3 t5 BCLK t6 t7 MCLK t8 t11 DCL t10
t1
t3 t4
t2
t6
t5
t8 t9
t7
t10
Figure 13 Clock Timing
49
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
8.2
Symbol t12 t13 t14 t15 t16 t17 t18 t19 t20 t21
MICROPROCESSOR INTERFACE
Description CS setup time CS pulse width CS off time Input data setup time Input data hold time SLIC output latch valid Output data turn on delay Output data hold time Output data turn off delay output data valid 0 0 50 50 250 30 30 1000 50 Min. 15 8 n t1 (n 2) Typ. Max. Units ns ns ns ns ns ns ns ns ns ns Test Conditions
CCLK t12 CS t15 CI t17 RSLIC Output t16 t13 t14
Figure 14 MPI Input Timing
CCLK
t13 t14
CS
t12
t18
t19
t21 t20
CO
Figure 15 MPI Output Timing
50
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
8.3
Symbol t22 t23 t24 t25 t26 t27 t28 t29 t30
PCM INTERFACE
Description Data enable delay time Data delay time from BCLK Data float delay time Frame sync setup time Frame sync hold time TSX1/TSX2 enable delay time TSX1/TSX2 disable delay time Receive data setup time Receive data hold time Min. 5 5 5 25 50 5 5 25 5 80 80 Typ. Max. 70 70 70 t4 - 50 Units ns ns ns ns ns ns ns ns ns Test Conditions
Time Slot BCLK 1 t25 t26 2 3 4 5 6 7 8 1
FS t22 DX1/ DX2 BIT 1 BIT 2 t29 DR1/ DR2
BIT 1 BIT 2 BIT 3 BIT 4 BIT 5
t23 BIT 3 BIT 4 BIT 5 t30
BIT 6 BIT 7
t24 BIT 6 BIT 7 BIT 8
BIT 8
t27 TSX1 / TSX2
t28
Figure 16 PCM Interface Timing
51
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
8.4
Symbol t31 t32 t33 t34 t35 t36 t37
GCI INTERFACE
Description FSC rise and fall time FSC setup time FSC hold time FSC high pulse width DU data delay time DD data delay time DD data hold time 110 50 70 50 130 100 Min. Typ. Max. 60 t9 - 50 Units ns ns ns ns ns ns ns Test Conditions
DCL
FSC DD/DU
B7 B6 B0
Detail A Detail A
DCL 2.048MHz
t32 t32 t34 t34 t35 t33 t35
FSC
DU
B7
t36 t37
B6
DD
B7
B6
DCL 4.096 MHZ
t32
t32
FSC
t35 t35
t34 t34 t33
DU
B7
t36 t37
DD
B7
Figure 17 GCI Interface Timing
52
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
9
APPENDIX: IDT82V1068 COE-RAM MAPPING
channel8 Km RAM channel7 channel6 Km RAM
Km RAM channel5 channel4 Km RAM ACT RAM channel3 Km RAM ACT RAM channel2 Km RAM ACT RAM channel1 Km RAM ACT RAM ACR RAM
Word# 39
b[2:0] Of a Coe-RAM Command 100
GRX RAM FRR RAM GTX RAM FRX RAM
ACT RAM
ACR RAM
32 31 011 24 23 010 16 15 001 8 7 000 0
ACT RAM
ACR RAM
ACT RAM
ACR RAM GTX RAM GTX RAM ACR RAM GTX RAM GRX RAM GRX RAM GTX RAM
ACR RAM
ACR RAM
GIS RAM
GTX RAM FRR RAM
GTX RAM GRX RAM GRX RAM
ECF RAM
GRX RAM
GRX RAM GRX RAM
IMF RAM
Figure 18 Coe-RAM Address Mapping Generally, 6 bits of address are needed to locate each word of the 40 Coe-RAM words. The 40 words of Coe-RAM are divided into 5 blocks with 8 words per block in the IDT82V1068. So, only 3 bits of address are needed to locate each of the block. When the address of a Coe-RAM block (b[2:0]) is specified in a Coe-RAM Command, all 8 words of this block will be addressed automatically, with the highest order word first (The IDT82V1068 will count down from '111' to '000' so that it accesses the 8 words successively). Refer to "3.1.8 Addressing the Coe-RAM" on page 26 for more information. The address assignment for the 40 words Coe-RAM is shown in Table 11. The number in the "Address" column is the actual hexadecimal address of the Coe-RAM word. As the IDT82V1068 handles the lower 3 bits automatically, only the higher 3 bits (in bold style) are needed for a Coe-RAM Command. It should be noted that, when addressing the GRX RAM, the FRR RAM will be addressed at the same time.
53
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
Table 11 Coe-RAM Address Allocation
Block # Word # 39 38 37 5 36 35 34 33 32 31 30 29 4 28 27 26 25 24 23 22 21 3 20 19 18 17 16 15 14 13 2 12 11 10 9 8 7 6 5 1 4 3 2 1 0 Address 100,111 100,110 100,101 100,100 100,011 100,010 100,001 100,000 011,111 011,110 011,101 011,100 011,011 011,010 011,001 011,000 010,111 010,110 010,101 010,100 010,011 010,010 010,001 010,000 001,111 001,110 001,101 001,100 001,011 001,010 001,001 001,000 000,111 000,110 000,101 000,100 000,011 000,010 000,001 000,000 IMF RAM ECF RAM GIS RAM FRX RAM GTX RAM FRR RAM Function GRX RAM
54
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
10
IDT
ORDERING INFORMATION
XXXXXXX Dev ice Ty pe X X Package X Process/ Temperature Range
Blank
Industrial (-40 C to +85 C)
PF
Thin Quad Flat Pack (TQFP, PK128)
82V1068
Octal Programmable PCM CODEC
55
IDT82V1068 OCTAL PROGRAMMABLE PCM CODEC
INDUSTRIAL TEMPERATURE RANGE
DATA SHEET DOCUMENT HISTORY
12/05/2002 01/10/2003 03/04/2003 04/09/2004 07/19/2004 pgs. 32, 37, 46 pgs. 44, 55 pgs. 1, 46 pgs. 35-37, 42 pgs. 22, 25, 44
CORPORATE HEADQUARTERS 2975 Stender Way Santa Clara, CA 95054
for SALES: 800-345-7015 or 408-727-6116 fax: 408-492-8674 www.idt.com
56
for Tech Support: email: telecomhelp@idt.com phone: 408-330-1552


▲Up To Search▲   

 
Price & Availability of IDT82V1068PF

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