4
INDUSTRIAL TEMPERATURE RANGEIDT821034 QUAD PCM CODEC WITH PROGRAMMABLE GAIN
FUNCTIONAL DESCRIPTION
The IDT821034 contains four channel PCM CODEC with on chip digital
filters. It provides the four-wire solution for the subscriber line circuitry in
digital switches. The device converts analog voice signal into digital PCM
samples, and converts digital PCM samples back to analog signal. Digital
filters are used to bandlimit the voice signals during conversion.
The frequency of the master clock (MCLK) can be 2.048 MHz, 4.096
MHz or 8.192 MHz. Internal circuitry determines the master clock frequency
automatically.
Four channels of serial PCM data are time multiplexed via two pins, DX
and DR. The time slots of the four channels can be programmed
dynamically. The control words can be written by a microcontroller via the
Serial Control Interface. Dynamic time-slot assignment can accommodate
8 to 128 time slots corresponding to the bit clock (BCLK) frequency from
512 kHz to 8.192 MHz.
The IDT821034 offers two timing modes, delay mode and non-delay
mode. Mode selection is done by programming the Configuration Register.
The two modes are distinguished by time slot zero definition. In delay
mode, the time slot zero is defined as starting on the first rising edge of
BCLK after FS = ‘1’ is detected by the falling edge of BCLK (Figure 7).
While in non-delay mode, the time slot zero starts when both BCLK and
FS are high (Figure 8).
The device provides a programmable interface to SLIC (Subscriber Line
Interface Circuit). Each channel of the IDT821034 has three output pins
and two I/O pins for SLIC signaling. These interface pins are mapped to
internal registers and are accessed by the microcontroller via the Serial
Control Interface. In this way, the IDT821034 provides high level of
integration in line card design.
The Serial Control Interface of IDT821034 consists of four pins (CI,
CO, CS and CCLK), as shown in Figure 1, for the communication to a
microcontroller. Via this interface, the microcontroller can control the
CODEC and SLIC working modes as well as monitor the SLIC status.
OPERATION CONTROL
The following operation description applies to all four channels of the
IDT821034.
Initial State
The IDT821034 has a built-in power on reset circuit. After initial power
up, the device defaults to the following mode:
1. A-law is selected;
2. Delay mode is selected;
3. I/O pins of SLIC interface are set to input mode;
4. SLIC Control and Status Register bits are set to ‘0’;
5. All four channels are placed in standby mode;
6. All transmit and receive time slots are disabled with Time Slot Reg-
isters set to zero;
7. DX is set to high impedance state.
Operating Modes
There are two operating modes for each transmit or receive channel:
standby mode and normal mode. When the IDT821034 is first powered
on, standby mode is the default mode. Microcontroller can also set the
device into this mode via the Serial Control Interface. In standby mode, the
Serial Control Interface remains active to receive commands from the
microcontroller. All other circuits are powered down with the analog outputs
placed in high impedance state. All circuits which contain programmed
information retain the data in this mode.
Each of the four channels in the IDT821034 can be in either normal
mode or standby mode. The mode selection of each channel is done by
the microcontroller via the Serial Control Interface. When in normal mode,
each channel of the IDT821034 is able to transmit and receive both PCM
and analog information. This is the operating mode when a telephone call
is in progress.
Gain Programming
Transmit gain and receive gain of each channel in IDT821034 can be
varied by programming DSP digital filter coefficients. Transmit gain can be
varied within the range of -3 dB to +13 dB; while receive gain can be
varied within the range of -13 dB to +3 dB. This function allows the
IDT821034 to be used with SLICs of different gain requirement.
Gain programming coefficient can be written into IDT821034 via Serial
Control Interface. The detailed operation will be covered in Serial Control
Interface description. The gain programming coefficients should be
calculated as:
Transmit : Coeff_X = round [ gain_X0dB × gain_X ]
Receive: Coeff_R = round [ gain_R0dB × gain_R ]
where:
gain_X0dB = 1820;
gain_X is the target gain;
Coeff_X should be in the range of 0 to 8192.
gain_R0dB = 2506;
gain_R is the target gain;
Coeff_R should be in the range of 0 to 8192.
A gain programming coefficient is 14-bit wide and in binary format. The
7 Most Significant Bits of the coefficient is called GA_MSB_Transmit for
transmit path, or is called GA_MSB_Receive for receive path; The 7 Least
Significant Bits of the coefficient is called GA_LSB_ Transmit for transmit
path, or is called GA_LSB_Receive for receive path.
An example is given below to clarify the calculation of the coefficient. To
program a +3 dB gain in transmit path and a -3.5 dB gain in receive path:
Linear Code of +3 dB = 10
3/20
= 1.412537545
Coeff_X = round (1820 × 1.412537545)
= 2571
= 0010100, 0001011
(in binary format )
GA_MSB_Transmit = 0010100
GA_LSB_Transmit = 0001011
Linear Code of -3.5 dB = 10
(-3.5/20)
= 0.668343917
Coeff_R = round (2506 × 0.668343917)
= 1675
= 0001101, 0001011
(in binary format)
GA_MSB_Receive = 0001101
GA_LSB_Receive = 0001011
5
INDUSTRIAL TEMPERATURE RANGEIDT821034 QUAD PCM CODEC WITH PROGRAMMABLE GAIN
SIGNAL PROCESSING
High performance oversampling Analog-to-Digital Converters (ADC) and
Digital-to-Analog Converters (DAC) are used in the IDT821034 to provide
the required conversion accuracy. The associated decimation and inter-
polation filters are realized with both dedicated hardware and Digital Sig-
nal Processor (DSP). The DSP also handles all other necessary functions
such as PCM bandpass filtering and sample rate conversion.
Transmit Signal Processing
In the transmit path, the analog input signal is received with a gain
setting amplifier. The signal gain is set by the resistive feedback network
as shown in the application circuit (Figure 5). The output of the gain
setting amplifier is connected internally to the input of the anti-alias filter
for the oversampling ADC. The digital output of the oversampling ADC
is decimated and sent to the DSP. The transmit filter is implemented in
the DSP as a digital bandpass filter. The filtered signal is further decimated
and compressed to PCM format.
Transmit PCM Interface
The transmit PCM interface clocks the PCM data out of DX pin on rising
edges of BCLK according to the time slot assignment. The frame sync
(FS) pulse identifies the beginning of a transmit frame, or time slot zero.
The time slots for all channels are referenced to FS. The IDT821034
contains user programmable Transmit Time Slot Register for each transmit
channel. The register is 7 bits wide and can accommodate up to 128 time
slots (corresponding to the maximum BCLK frequency of 8.192 MHz) in
each frame. The PCM Data is transmitted serially on DX pin with the Most
Significant Bit (MSB), or Bit 7, first.
When the device is first powered up, all transmit time slots are disabled
with Transmit Time Slot Registers set to zero. DX pin remains in high-
impedance state. To power up or power down each transmit channel,
Configuration Register and the corresponding Time Slot Register must be
programmed.
Receive Signal Processing
In the receive path, the PCM code is received at the rate of 8,000
samples per second. The PCM code is expanded and sent to the DSP
for interpolation and receive channel filtering function. The receive filter
is implemented in the DSP as a digital lowpass filter. The filtered signal
is then sent to an oversampling DAC. The DAC output is post-filtered
and then delivered at VFRO pin by a power amplifier. The amplifier can
drive resistive load higher than 2 k.
Receive PCM Interface
The receive PCM interface clocks the PCM data into DR pin on falling
edges of BCLK according to the time slot assignment. The receive time
slot definition and programming is similar to that of the transmit time slot.
The IDT821034 contains a user programmable Receive Time Slot Register
for each receive channel. The register is 7 bits wide and can accommodate
up to 128 time slots (corresponding to the maximum BCLK frequency of
8.192 MHz) in each frame. The PCM Data is received serially on DR pin
with the MSB (Bit 7) first.
When the device is first powered up, all receive time slots are disabled
with Receive Time Slot Registers set to zero. Data on DR pin is ignored. To
power up or power down each receive channel, Configuration Register
and the corresponding Time Slot Register must be programmed.
Serial Control Interface
A Serial Control Interface is provided for a microprocessor to access
the control and status registers of IDT821034. The control registers include
Configuration Register, Time Slot Registers, SLIC Control Registers and
Gain Adjustment Registers. They are used to program the working modes
of CODEC and SLIC. The status registers include SLIC Status Registers.
They are used to monitor SLIC functions. All registers are 8 bits wide.
The Serial Control Interface consists of CO, CI, CS and CCLK pins
(see Figure 1). A microprocessor initiates a write or read cycle after low
level is asserted on CS pin. In the microprocessor write cycle, 8 bits of
serial data on CI pin are shifted into the device at falling edges of CCLK.
In the microprocessor read cycle, 8 bits of serial data are shifted out of
the device on CO pin at rising edges of CCLK. At the end of each 8-bit
transaction, the microprocessor sets CS high to terminate the cycle.
Multiple accesses to the device are separated by an idle state (high
level) of CS. The width of CS high level is at least three CCLK cycles.
The IDT821034 has a Configuration Register. Its register bits are
designated CR.7 - CR.0. The definition of the bits in Configuration Register
is shown in Table 1. If the leading data bit on CI pin is ‘1’ in a
microprocessor write cycle, the 8-bit data on CI pin is latched into
Configuration Register with MSB first.
There are eight Time Slot Registers for four transmit channels and
four receive channels. The definition of the bits in Time Slot Register is
shown in Table 2. Since PCM sample rate is 8k samples/sec and each
sample is 8 bits wide, each time slot occupies 64 kbits/sec of data rate.
The number of time slots in a frame is equal to the ratio of the bit
clock frequency (BCLK) to 64 kHz. For the maximum BCLK frequency
of 8.192 MHz, the number of time slots in a frame is 8.192MHz/64kHz,
or 128. The minimum number of time slots (corresponding to the
minimum BCLK frequency of 512 kHz) in a frame is 8. The relationship
between frequently used BCLK frequencies and the number of time slots
in a frame is shown in Table 3. Bit 6-0 in each Time Slot Register identify
the time slot number (0 to 127) of the corresponding transmit or receive
channel. Time Slot Registers can be accessed by specifying the transmit/
receive select (CR.1 and CR.0) and channel address (CR.3 and CR.2)
in Configuration Register. If CR.6 = ‘0’ and the leading data bit on CI pin
is ‘0’ in a microprocessor write cycle, the 8-bit data on CI pin is latched
into the selected Time Slot Register with MSB first.
There are four SLIC Control Registers for four channel SLIC signaling
control. The definition of the bits in a SLIC Control Register is shown in
Table 4. SLIC Control Registers can be accessed by specifying the
channel address (CR.3 and CR.2) in Configuration Register. If CR[6:4] =
‘101’ and the leading data bit on CI pin is ‘0’ in a microprocessor write or
read cycle, the 8-bit data on CI pin is latched into the selected SLIC
Control Register with MSB first.
There are four SLIC Status Registers for four channel SLIC monitoring.
The bits in each SLIC Status Register are mapped to the SLIC signaling
output and I/O pins of the corresponding channel as shown in Table 5. It
should be noted that the last 3 bits of the SLIC Status Register are always
mapped to I/O1_0, I/O2_0 and I/O3_0. This feature allows a rapid read
process of the SLIC status when Channel 0 is selected. The SLIC Status
Registers can be accessed by specifying the channel address (CR.3
and CR.2) in the Configuration Register. If CR[6:4] = ‘101’, as a result of
the previous write to the Configuration Register, the subsequent
microprocessor cycle is a read cycle. The content of the selected SLIC
Status Register is shifted out of the device on CO pin with MSB first.
There are 16 Gain Adjustment Registers for both transmit and
receive paths of four channels. For each path, there are two
6
INDUSTRIAL TEMPERATURE RANGEIDT821034 QUAD PCM CODEC WITH PROGRAMMABLE GAIN
corresponding 8-bit Gain Adjustment Registers: MSB GA Register,
which stores the 7 Most Significant bits of gain adjustment coefficient;
and LSB GA Register, which stores the 7 Least Significant bits of
gain adjustment coefficient. All Gain Adjustment Registers start with
‘0’. Gain Adjustment Registers can be accessed by specifying the
channel address (CR.3 and CR.2) in Configuration Register. If
CR[6:4] = ‘100’, CR.0 = ‘1’ and the leading data bit on CI pin is ‘0’ in
a microprocessor write cycle, the 8-bit data on CI pin is latched into
the selected MSB GA Register with MSB first; If CR[6:4] = ‘100’,
CR.0 = ‘0’ and the leading data bit on CI pin is ‘0’ in a microprocessor
write cycle, the 8-bit data on CI pin is latched into the selected LSB
GA Register with MSB first.
All microprocessor cycles are either write cycles or read cycles. In
typical applications, the microprocessor will write control registers as ordered
pairs for CODEC Mode programming (Figure 2), SLIC Mode
programming (Figure 3), or Gain Mode programming (Figure 4). The
first write in the pair is to Configuration Register. This is identified by a
leading ‘1’ on CI pin. If CR.6 = ‘0’ after writing Configuration Register, the
programming is for CODEC mode and the succeeding operation is a
write cycle with a leading ‘0’ on CI pin. The write is intended for the
selected Time Slot Register. The timing diagram for CODEC Mode
programming is shown in Figure 11. If CR.6 = ‘1’ and CR.5 = ‘0’ and
CR.4 = ‘1’ after writing Configuration Register, the programming is for
SLIC control function and the succeeding operation is a read/write cycle.
The write, also with a leading ‘0’ on CI pin, is intended for the selected
SLIC Control Register, while the simultaneous read is from the SLIC
Status Register of the same channel. The timing diagram for SLIC Mode
programming is shown in Figure 10. If CR.6 = ‘1’, CR.5 = ‘0’ and CR.4
= ‘0’ after writing Configuration Register, the programming is for Gain
adjustment function and the succeeding operation is a write cycle with a
leading ‘0’ on CI pin. The write is intended for the selected Gain
Adjustment Register. The timing diagram for Gain Mode programming
is shown in Figure 13.
Configuration Register, Time Slot Registers, SLIC Control Registers and
Gain Adjustment Registers are write only registers while SLIC Status
Registers are read only registers. Refer to Figure 12 for the detail timing
of the Serial Control Interface.
An alternative method of receiving data from SLIC Status Register is
designed for IDT821034. This procedure is initiated when a ‘1111-1110’
command appears on CI. To read from the SLIC Status Registers when
using this method, Configuration Register should be set to indicate the
following operation is a SLIC programming, and then assert a ‘1111-1111’
command on CI. The data from SLIC Status Registers will clock out of CO
pin on CCLK rising edges when CS is low. The timing diagram of this method
is shown in Figure 14. When using this method, CO and CI pins can be
connected together. Either CO or CI will be in high Z state, depending on
the Serial Control Interface is in write cycle or read cycle. When a command
of ‘1111-1101’ appears on CI, the device will terminate this procedure.
Serial
Control
Interface
CO
CI
CS
CCLK
Figure 1. Serial Control Interface Signals
'1' '0' b5 b4 b3 b2 b1 b0
'0' b6 b5 b4 b3 b2 b1 b0
Configuration
Register
Time Slot
Register
Register Time Slot
Indicator
Register
Indicator
CODEC
Mode
A/µ-Law
Select
Timing
Mode
Channel
Address
Transmit/Receive
Select
Figure 2. Registers for CODEC Mode Programming
'1' '1' '0' '1' b3 b2 b1 b0
'0' b6 b5 b4 b3 b2 b1 b0
b7 b6 b5 b4 b3 '0' '0' '0'
Configuration
Register
SLIC
Mode
Channel
Address
I/O Configuration
Register
Indicator
SLIC Control
Register
SLIC Status
Register
Register
Indicator
Reserved Output Data
Image Data
Figure 3. Registers for SLIC Mode Programming
'1' '1' '0' '0' b3 b2 b1 b0
'0' b6 b5 b4 b3 b2 b1 b0
Configuration
Register
Gain
Adjustment
Register
Register 7 bits of Gain Adjustment
Indicator Coefficient
Figure 4. Registers for Gain Mode Programming
Register
Indicator
Gain
Mode
Channel
Address
Transmit/
Receive
MSB/LSB

IDT821034DN

Mfr. #:
Manufacturer:
Description:
IC PCM CODEC QUAD MPI 52QFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet