ST STLC5046 User Manual

Programmable four channel CODEC and filter
Features
Programmable monolithic 4 channel
CODEC/Filter
Single +3.3 V supply
A/µ Law programmable
Linear coding (16 bits) option
PCM highway format automatically detected:
1.536 or 1.544 MHz; 2.048, 4.096, 8192 MHz
TX gain programming: 16 dB range;
<0.1 dB step
RX gain programming: 26 dB range;
<0.1 dB step
Programmable time slot assignment
Digital and analog loopbacks
SLIC control port
Static mode (16 I/Os)
Dynamic mode (12 I/Os + 4 CS)
LQFP64 package
PCM in HI-Z mode
Description
The STLC5046 is a monolithic programmable 4 channel codec and filter. It operates with a single +3.3 V supply.
The analog interface is based on a receive output buffer driving the SLIC RX input and on an amplifier input stage.
STLC5046
LQFP64
Due to the single supply voltage a proper mid supply reference level is generated internally by the device and all analog signals are referred to this level (AGND).
The PCM interface uses one common 8 kHz frame sync. pulse for transmit and receive direction. The bit clock can be selected between four standards: 1.536/1.544 MHz, 2.048 MHz,
4.096 MHz, 8192 MHz. Device programmability is achieved by means of 41 registers allowing to set the different parameters like TX/RX gains, encoding Law (A/µ), time slot assignment, independent channels power up/down, loopbacks, PCM bits offset.
Thanks to pin-strap option, the most significant of the above parameters can be set by hardware connection of dedicated pins. This allow to use this device also on line card without MCU on board. When pin-strap option is selected different pins of the device will change their function (see pin description).
In MCU control mode the STLC5046 can be programmed via serial interface running up to 4MHz.
One interrupt output pin is also provided.

Table 1. Device summary

Order code Temperature range Package Packing
E-STLC5046
1. ECOPACK® (see Section 7)
August 2009 Doc ID 7052 Rev 5 1/51
(1)
-40°C to +85°CLQFP64 Tube
www.st.com
1
Contents STLC5046
Contents
1 Block diagram and pin connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.1 Power on initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2 Power down state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.3 Transmit path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.4 Receive path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5 PCM interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.5.1 MCU mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.5.2 Pin-strap mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.6 Control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.7 SLIC control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3 Registers addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.1 Registers description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.1.1 Configuration register (CONF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.1.2 I/O Direction register (DIR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.1.3 I/O Data register channel #0 (DATA0) . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.1.4 I/O Data register channel #1 (DATA1) . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.1.5 I/O Data register channel #2 (DATA2) . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.1.6 I/O Data register channel #3 (DATA3) . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1.7 Transmit Gain channel #0 (GTX0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.1.8 Transmit Gain channel #1 (GTX1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.1.9 Transmit Gain channel #2 (GTX2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.1.10 Transmit Gain channel #3 (GTX3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.1.11 Receive Gain channel #0 (GRX0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.1.12 Receive Gain channel #1 (GRX1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.1.13 Receive Gain channel #2 (GRX2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.1.14 Receive Gain channel #3 (GRX3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.1.15 Transmit Time Slot channel #0 (DXA0) . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.1.16 Transmit Time Slot channel#1 (DXA1) . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.1.17 Transmit Time Slot channel #2 (DXA2) . . . . . . . . . . . . . . . . . . . . . . . . . 29
2/51 Doc ID 7052 Rev 5
STLC5046 Contents
3.1.18 Transmit Time Slot channel #3 (DXA3) . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.1.19 Receive Time Slot channel #0 (DRA0) . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.1.20 Receive Time Slot channel #1 (DRA1) . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.1.21 Receive Time Slot channel #2 (DRA2) . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.1.22 Receive Time Slot channel #3 (DRA3) . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.1.23 PCM Shift register (PCMSH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.1.24 Interrupt Mask register for I/O port (DMASK) . . . . . . . . . . . . . . . . . . . . 33
3.1.25 Interrupt Mask register for CD port (CMASK) . . . . . . . . . . . . . . . . . . . . 34
3.1.26 Persistency Check register (PCHK-A/B) . . . . . . . . . . . . . . . . . . . . . . . . 35
3.1.27 Interrupt register (INT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.1.28 Alarm register (ALARM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.1.29 Interrupt Mask register for Alarm (AMASK) . . . . . . . . . . . . . . . . . . . . . . 37
3.1.30 Loopback register (LOOPB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.1.31 Transmit Preamplifier Gain register (TXG) . . . . . . . . . . . . . . . . . . . . . . . 37
3.1.32 Receive Amplifier Gain registers (RXG-10/32) . . . . . . . . . . . . . . . . . . . 39
3.1.33 Silicon Revision Identification Code (SR=D) . . . . . . . . . . . . . . . . . . . . . 39
4 Application circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6 Transmission characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
7 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Doc ID 7052 Rev 5 3/51
List of tables STLC5046
List of tables
Table 1. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Table 2. I/O definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 3. Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 4. Control byte structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 5. Registers addresses (only MCU mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 6. Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Table 7. Transmission characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Table 8. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4/51 Doc ID 7052 Rev 5
STLC5046 List of figures
List of figures
Figure 1. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 2. Pin connection (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 3. Transmit path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 4. Receive path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 5. MCU mode: time slot assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 6. Pin-strap mode: time slot assignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 7. Typical application circuit with STLC3080 without metering pulse injection and I/O pins
in dynamic mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Figure 8. Pin-strap mode short frame sync. timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Figure 9. Pin-strap mode long frame sync. timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 10. MCU mode frame sync. timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 11. Serial control port timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 12. SLIC control port timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Figure 13. LQFP64 (10 x 10 x 1.4 mm) mechanical data and package dimensions . . . . . . . . . . . . . . 49
Doc ID 7052 Rev 5 5/51
Block diagram and pin connection STLC5046

1 Block diagram and pin connection

Figure 1. Block diagram

VFRO0
VFRO1
VFRO2
VFRO3
VFXI0
VFXI1
VFXI2
VFXI3
GX0
GX1
GX2
GX3
GR0
GR0
GR1
GR0
GR2
GR0
GR3
GR0
Post
Filter
Post
Filter
Post
Filter
Post
Filter
Anti-Alias
A/D
Anti-Alias
A/D
Anti-Alias
A/D
Anti-Alias
A/D
VEEVCC
PLL
VDD VSS SUB
D/A
sigma-delta
INTERPOLATORS
RX FILTERS
TX FILTERS
DECIMATORS

Figure 2. Pin connection (top view)

DIGITAL PROCESSORANALOG FRONTEND
data
17-bit Bus
contlol
CAP
A/u Law
ENCODER
A/u Law
DECODER
PROGRAMMABLE
GAIN RX
PROGRAMMABLE
GAIN TX
ARBITER
M0M1
8bit
PCM
INTERFACE
& SLOT ASSGN
8bit
8-bit Bus
to analog FE
Programmable functions
SERIAL
CONTROL
INTERFACE
SLIC
CONTROL
PORT
CONFIG.
REGISTERS
FS/FS0 MCLK TSX DX
DR
IO11 IO10 IO9 IO8 IO7 IO6 / FS3 IO5 / FS2 IO4 / FS1 IO3 / PD3 IO2 / GR3 IO1 / PD2 IO0 / GR2 CS3 / GX3 CS2 / GX2 CS1 / GX1 CS0 / GX0
INT / AMU
CCLK / GR1 CI / PD0 CO / GR0 CS / PD1
IO9
IO10
IO11
59 58 57 565455 53 52 51 50 49
RES
RES
INT/AMU
CS/PD1
CO/GR0
CI/PD0
CCLK/GR1
VSS
VDD
DR
IO8
IO7
IO6/FS3
RES
N.C.
60
61
62
63
64
1
2
3
4
5
6
7
8
9
10
DX
12
TSX
13
MCLK
N.C.
N.C.
14
15
16
17 18 19 20 21
N.C.
N.C.
IO1/PD2
IO0/GR2
22 23 24 25 26
IO4/FS1
IO5/FS2
IO3/PD3
IO2/GR3
FS/FS0
6/51 Doc ID 7052 Rev 5
VCC4M1VEE4
CS2/GX2
271128 29 30 31 32
M0
VEE5
VCC5
CS0/GX0
CS3/GX3
VEE2
VEE1
CS1/GX1
VEE3
VEE0
N.C.
N.C.
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
VFRO3
N.C.
VFXI3
VCC3
VCC2
VFXI2
VFRO2
SUB
CAP
VFRO1
VFXI1
VCC1
VCC0
VFXI0
N.C.
VFRO0
D98TL405
STLC5046 Block diagram and pin connection

1.1 Pin description

Table 2. I/O definition

Type Definition
AI Analog input
AO Analog output
ODO Open drain output
DI Digital input
DO Digital output
DIO Digital input/output
DTO Digital tristate output
DPS Digital power supply
APS Analog power supply

Table 3. Pin description

N. Name Type Function
Analog
33 VFRO0 AO
39 VFRO1 AO
Receive analog amplifier output channel 0. PCM data received on the programmed time slot on DR input is decoded and appears at this output.
Receive analog amplifier output channel 1. PCM data received on the programmed time slot on DR input is decoded and appears at this output.
42 VFRO2 AO
48 VFRO3 AO
Receive analog amplifier output channel 2. PCM data received on the programmed time slot on DR input is decoded and appears at this output.
Receive analog amplifier output channel 3. PCM data received on the programmed time slot on DR input is decoded and appears at this output.
35 VFXI0 AI TX Input amplifier channel 0. Typ 1M.input impedance
38 VFXI1 AI TX Input amplifier channel 1. Typ 1M.input impedance
43 VFXI2 AI TX Input amplifier channel 2. Typ 1M.input impedance
46 VFXI3 AI TX Input amplifier channel 3. Typ 1M.input impedance
40 CAP AI
AGND voltage filter pin. A 100nF capacitor must be connected between ground and this pin.
Power supply
25, 36, 37, 44, 45, 56,
26,30,
31, 50,
51,55
VCC/0/1/2
/3/ 4/5
VEE/0/1/2
/3/ 4/5
APS
Total 6 pins: 3.3 V analog power supplies, should be shorted together, require 100nF decoupling capacitor to VEE.
APS Total 6 pins: analog ground, should be shorted together.
9 VDD DPS Digital power supply 3.3 V, require 100 nF decoupling capacitor to VSS.
8 VSS DPS Digital ground
Doc ID 7052 Rev 5 7/51
Block diagram and pin connection STLC5046
Table 3. Pin description (continued)
N. Name Type Function
41 SUB DPS
Substrate connection. Must be shorted together with VEE and VSS pins as close as possible the chip.
Not connected
15, 16, 17, 18, 32, 34,
N.C. Not connected.
47, 49,
64
1,2,63 RES Reserved: must be left not connected.
Digital
27 M0 DI Mode select, see M1
M1 M0 Mode select
54 M1 DI
0 1 0 1
Pin-strap mode: basic functions selected by proper pin strapping
1
MCU mode: device controlled via serial interface
0
Reset status
0
Not allowed
1
Master clock input. Four possible frequencies can be used: 1.536/1.544 MHz;
13 MCLK DI
2.048 MHz; 4.096 MHz; 8.192 MHz. The device automatically detect the frequency applied. This signal is also used as bit clock and it is used to shift data into and out of the DR and DX pins.
Transmit time slot (open drain output, 3.2mA). Normally it is floating in high
12 TSX
ODO
impedance state except when a time slot is active on the DX output. In this case
output pulls low to enable the backplane line driver.
TSX
Transmit PCM interface. It remains in high impedance state except during the
11 DX DTO
assigned time slots during which the PCM data byte is shifted out on the rising edge of MCLK.
10 DR DI
Receive PCM interface. It remains inactive except during the assigned receive time slots during which the PCM data byte is shifted in on the falling edge of MCLK.
SLIC control I/O pin #7. Can be programmed as input or output via DIR register.
61 IO7 DIO
Depending on content of CONF register can be a static input/output or a dynamic input/output synchronized with the CSn
60 IO8 DIO SLIC control I/O pin #8. (see IO7 description).
59 IO9 DIO SLIC control I/O pin #9. (see IO7 description).
58 IO10 DIO SLIC control I/O pin #10. (see IO7 description).
57 IO11 DIO SLIC control I/O pin #11. (see IO7 description).
Digital (dual mode)
8/51 Doc ID 7052 Rev 5
output signals controlling the SLICs.
STLC5046 Block diagram and pin connection
Table 3. Pin description (continued)
N. Name Type Function
MCU control mode: FS. Frame Sync. Pulse. A pulse or a square wave waveform with an 8kHz repetition
rate is applied to this pin to define the start of the receive and transmit frame.
14 FS/FS0 DI
19 IO0/GR2 DIO/DI
20 IO1/PD2 DIO/DI
Effective start of the frame can be then shifted of up to 7 clock pulses independently in receive and transmit directions by proper programming of the PCMSH register.
Pin-strap control mode: FS0. Frame Sync. pulse of channel #0. One MCLK cycle long, starts PCM data transfer
in the Time Slot following its falling edge (Short Frame Delayed Timing).
MCU control mode: IO0. Slic control I/O pin #0. Can be programmed as input or output via DIR register.
Depending on content of CONF register can be a static input/output or a dynamic input/output synchronized with the CSn
Pin-strap control mode: GR2. Receive gain programming channel 2: 1: Receive gain = -0.8 dB 0: Rec. gain = -4.3 dB
MCU control mode: IO1. Slic control I/O pin #1. (see IO0 description). Pin-strap control mode: PD2. Power Down command channel 2: 1: Channel 2 Codec is in power down. (equivalent to CONF reg bit2 = 1) 0: Channel 2 Codec is in power up. (equivalent to CONF reg. bit2 = 0)
output signals controlling the SLICs.
21 IO2/GR3 DIO/DI
22 IO3/PD3 DIO/DI
23 IO4/FS1 DIO/DI
24 IO5/FS2 DIO/DI
MCU control mode: IO2. Slic control I/O pin #2. (see IO0 description) Pin-strap control mode: GR3. Receive gain programming channel 3. (see GR2 description)
MCU control mode: IO3. Slic control I/O pin #3. (see IO0 description). Pin-strap control mode: PD3. Power down command channel 3. (see PD2 description)
MCU control mode: IO4 Slic control I/O pin #4. (see IO0 description). Pin-strap control mode: FS1. Frame sync. pulse of channel #1. One MCLK cycle long, starts PCM data transfer in
the time slot following its falling edge (short frame delayed timing).
MCU control mode: IO4. Slic control I/O pin #5. (see IO0 description). Pin-strap control mode: FS2. Frame sync. pulse of channel #1. One MCLK cycle long, starts PCM data transfer in
the time slot following its falling edge (short frame delayed timing).
Doc ID 7052 Rev 5 9/51
Block diagram and pin connection STLC5046
Table 3. Pin description (continued)
N. Name Type Function
MCU control mode: IO4. Slic control I/O pin #6. (see IO0 description).
62 IO6/FS3 DIO/DI
28 CS0
29 CS1
53 CS2/GX2 DO/DI
/GX0 DO/DI
/GX1 DO/DI
Pin-strap control mode: FS3. Frame sync. pulse of channel #1. One MCLK cycle long, starts PCM data transfer in
the time slot following its falling edge (short frame delayed timing).
MCU control mode: CS0. Slic CS control #0. Depending on CONF reg. content can be a CS output for SLIC #0 or a static I/O. When configured as CS output it is automatically generated by the Codec with a
repetition time of 31.25 µs. In this mode also the IO11.0 are synchronized and carry proper data in and out synchronous with CS.
Pin-strap control mode: GX0. Transmit gain programming channel 0: 1: Transmit gain = 0 dB 0: Transmit gain = - 3.5 dB
MCU control mode: CS1 Slic CS control #1, (see CS0 Pin-strap control mode: GX1. Transmit gain programming channel 1 (see GX0 description)
MCU control mode: CS2 Slic CS control #2, (see CS0 Pin-strap control mode: GX2. Transmit gain programming channel 2 (see GX0 description)
:
description).
.
description).
MCU control mode: CS3
52 CS3
4CS
7
6CI/PD0DI/DI
/GX3 DO/DI
/PD1 DI/DI
CCLK/GR1
DI/DI
Slic CS control #3, (see CS0 description). Pin-strap control mode: GX3. Transmit gain programming channel 3 (see GX0 description)
MCU control mode: CS Chip Select of Serial Control Bus. When this pin is low control information can be
written to or read from the device via the CI and CO pins. Pin-strap control mode: PD1. Power Down command channel 1. (see PD2 description).
MCU control mode: CCLK. Clock of Serial Control Bus. This clock shifts serial control information into or out of
CI or CO when CS input is low depending on the current instruction. CCLK may be asynchronous with the other system clocks.
Pin-strap control mode: GR1. Receive gain programming ch. 1, (see GR2 description).
MCU control mode: CI. Control Data Input of Serial Control Bus. Control data is shifted in the device when
CS Pin-strap control mode: PD0. Power Down command channel 0. (see PD2 description).
.
.
is low and clocked by CCLK.
10/51 Doc ID 7052 Rev 5
STLC5046 Block diagram and pin connection
Table 3. Pin description (continued)
N. Name Type Function
MCU control mode: CO. Control Data Output of Serial Control Bus. Control data is shifted out the device
5 CO/GR0 DTO/DI
3INT
/AMU ODO/DI
when CS H. I., valid data are shifted out during the following 8 CCLK pulses.
Pin-strap control mode: GR0. Receive gain programming ch. 0, (see GR2 description).
MCU control mode: INT Interrupt output (open drain), goes low when a data change has been detected in
the I/O pins. One mask registers allow to mask any I/O pin. Interrupt is reset when the I/O register is read.
Pin-strap control mode: AMU. A/µ Law selection: AMU=0: µ Law AMU=1: A Law, even bit inverted
is low and clocked by CCLK. During the first 8 CCLK pulses the CO pin is
.
Doc ID 7052 Rev 5 11/51
Functional description STLC5046

2 Functional description

2.1 Power on initialization

When power is first applied it is recommended to reset the device by forcing the condition
M1.0=00, in order to clear all the internal registers.
In MCU mode M0 is set steadily Low and the device is reset by applying a negative pulse to
M1 (its operative level in MCU mode is High); same result can be obtained by writing an
High level into the control bit RES of the CONF register.
In pin-strap mode M1 is set steadily Low and the device is reset by applying a negative
pulse to M0 (its operative level in pin-strap mode is High); at the end of the Reset phase
(M0=High) the device is programmed according to the logical configuration of the control
pins.
During the reset condition all the I/On and CS_n pins are set as inputs, DX is set in high
impedance and all VFROn outputs are forced to AGND.

2.2 Power down state

Each of the four channel may be put into power down mode by setting the appropriate bit in
the CONF register or strapping to VDD the proper pin. In this mode the eventual
programmed DX channel is set in high impedance while the VFRO outputs are forced to
AGND. In pin-strap mode the value forced on the input pin is internally updated every FS
signal.

2.3 Transmit path

The analog VFXI signal through an amplifier stage is applied to a PCM converter and the
corresponding digital signal is sent to DX output.
In MCU mode, the amplifier gain can be programmed with two different values by means of
TXG Reg.: 0 dB or +3.52 dB.
A programmable gain block after the A/D conversion allows to set transmit gain in 12dB
range, with steps <0.1dB by writing proper code into GTXn register.
Setting GTXn=00h, the transmitted signal is muted, i.e. an idle PCM signal is generated on
DX.
A/µ coding Law is selected by bit5 (AMU) of CONF reg.
Setting LIN=1 (bit6 of CONF reg.) the linear coding Law is selected (16bits); in this case the
signal sent on DX will take two adjacent PCM time slots.
In Pin-strap mode, the amplifier gain is set to 0dB; only two values of Transmit gain can be
selected according to the level of GXn control input (in Pin-strap):
GXn=1 selects the gain corresponding to GTXn=FFh (0 dB)
GXn=0 selects the gain corresponding to GTXn=8Fh (-3.5 dB)
Different gain value is obtained through proper voltage divider.
A/µ coding Law is selected according to AMU pin level:
12/51 Doc ID 7052 Rev 5
STLC5046 Functional description
AMU=0 µ Law selected.
AMU=1 A Law selected.
VFXI input must be AC coupled to the signal source; the voltage swing allowed is 1.0Vpp
when the preamplifier gain is set 0dB or 0.66Vpp if the gain is set to 3.52dB (MCU mode
only); higher levels must be reduced through proper dividers.
Typical impedance of VFXI input is 1Mohm.

Figure 3. Transmit path

TXG: 0dB
+3.52dB
VFXI
1M
AGND
Ω
for TXG=0dB; GX=0dB (FF)
-15dBm|
Ω
600
ΣΔ
conv.
0dBm0
GX
8 bit linear 1/4 to 1
A/

Figure 4. Receive path

RXG: 0dB
-1. 94dB
-4. 44dB
-7. 96dB
=> -3dBm |
-13.98d B
VFRO
600Ω
DR
A/
μ
GR
8 bit linear 1/4 to 1
ΣΔ
conv.
for RXG=0 dB; GR=0dB (FF) 0dBm0

Figure 5. MCU mode: time slot assignment

FS FS
TS0 TS23/31/61 /127
Receive Time Slot Transmit Time Slot
D7..................D0 D7...................D0
DX
μ
DXAn Reg.
DRAn Reg.

2.4 Receive path

The received PCM signal DR through the decoder section, the gain select block and the D/A
converter is converted in an analog signal which is transferred to VFRO output through an
amplifier stage.
Doc ID 7052 Rev 5 13/51
Functional description STLC5046
In MCU mode a programmable gain block before the A/D conversion allows to set receive
gain in 12dB range, with steps <0.1 dB by writing proper code into GRXn register.
The amplifier gain can be programmed with five different values by means of RXG register:
0dB -1.94dB -4.44dB -7.96dB -13.98dB.
Setting GRXn=00h, the receive signal is muted and VFRO output is set to AGND.
A/µ coding Law is selected by bit5 (AMU) of CONF reg.
Setting LIN = 1 (bit6 of CONF reg.) the linear coding Law is selected (16bits); in this case
the signal received on DR will take two adjacent PCM time slots.
In pin-strap mode only two values of Receive Gain can be selected according to the level of
GRn control input (in pin-strap) GRn = 1 selects the gain corresponding to GRXn= E2h,
RXG = 0dB (-0.8 dB) GRn = 0 selects the gain corresponding to GRXn = AFh,
RXG = -1.94 dB (-4.3 dB).
Different gain value is obtained through proper voltage divider.
A/µ coding Law is selected according to AMU pin level:
AMU=0 µ Law selected.
AMU=1 A Law selected.
VFRO output, referred to AGND must be AC coupled to the load, referred to VSS, to prevent
a DC current flow.
VFRO has a drive capability of 1.0mA (peak value), with a max AC swing of 2 Vpp.
In order to get the best noise performances it is recommended to keep the GRX value as
close as possible to the maximum (FFh) setting properly the additional attenuation by
means of RXG.

2.5 PCM interface

The STLC5046 dedicate five pins (six in pin-strap mode) to the interface with the PCM
highways.
MCLK represents the bit clock and is also used by the device as a source for the clock of the
internal Sigma Delta converter timings. Four possible frequencies can be used:
1.536/1.544 MHz (24 channels PCM frame); 2048 MHz (32 channels PCM frame);
4.096 MHz (64 channels PCM frame); 8.192 MHz (128 channels PCM frame).
The operating frequency is automatically detected by the device when both MCLK and FS
are applied. MCLK is synchronizing both the transmit data (DX) and the receive data (DR).

2.5.1 MCU mode

The Frame Sync. signal FS is the common time base for all the four channels; Short (one
MCLK period) or Long (more than one MCLK period) FS are allowed.
Transmit and Receive programmable Time-Slots are framed to an internal sync. signal that
can be coincident with FS or delayed of 1 to 7 MCLK cycles depending on the programming
of PCMSH register.
14/51 Doc ID 7052 Rev 5
STLC5046 Functional description
DX represent the transmit PCM interface. It remains in high impedance state except during
the assigned time slots during which the PCM data byte is shifted out on the rising edge of
MCLK.
The four channels can be shifted out in any possible timeslot as defined by the DXA0 to
DXA3 registers. If one codec is set in Power Down by software programming the
corresponding timeslot is set in High Impedance. When linear coding mode is selected by
CONF register programming the output channel will need two consecutive timeslots (see
register description).
DR represent the receive PCM interface. It remains inactive except during the assigned time
slots during which the PCM data byte is shifted in on the falling edge of MCLK. The four
channels are shifted in any possible timeslot as defined by the DRA0 to DRA3 registers.
Figure 6. Pin-strap mode: time slot assignment
Receive /Transmit
Time Slot
CH0 CHn CHm
D7...................D0
FS0

2.5.2 Pin-strap mode

When pin-strap mode is selected, dedicated Frame Sync. FS3..0 are provided on dual
function pins:
MCU Pin-strap Pin
FS FS0 14
IO4 FS1 23
IO5 FS2 24
IO6 FS3 62
The PCMSH register cannot be accessed, therefore the beginning of the transmit and
receive frame is identified by the rising edge of the FSn signal.
D7..................D0 D7...................D0
FSn
FSm
TS23/31 /61/ 127
Each channel has its dedicated Frame Sync. signal FSn. Short or Long frame timing is
automatically selected; depending on the FS signal applied to FS0 input. The assigned
Time Slot (Transmit and Receive) takes place in the 8 MCLK cycles following the falling
edge of FSn in case of Short Frame or the rising edge in case of Long Frame. If one codec
is set in Power Down by proper pin-strap configuration the corresponding timeslot is not
loaded and the VFRO output is kept at steady AGND level.
Doc ID 7052 Rev 5 15/51
Functional description STLC5046
Finally by means of the LOOPB register is possible to implement a digital or analog
loop_back on any of the selected channels.
TSX
represent the Transmit Time Slot (open drain output, 3.2mA). Normally it is floating in high impedance state except when a time slot is active on the DX output. In this case TSX output pulls low to enable the backplane line driver. Should be strapped to VSS when not used.
Table 4. Control byte structure
First byte (address)
7 6 5 4 3 2 1 0
R/W D/S A5 A4 A3 A2 A1 A0
D7 D6 D5 D4 D3 D2 D1 D0
R/W = 0: Write register
= 1: Read register
R/W
= 0: Single byte
D/S
= 1: Two bytes
D/S
A5..A0: Register Address

2.6 Control interface

STLC5046 has two control modes, a microprocessor control mode and a pin-strap control mode. The two modes are selected by M0 and M1 pins. When M0 = low, M1 = high (MCU control mode) the MCU port is activated; and the 41 registers of the device can be programmed. When M0 = high, M1 = low (Pin-strap mode) the microprocessor control port is disabled and some of the digital pins change their function allowing to perform a very basic programming of the device.
In pin-strap mode the status of the control pins is entered at power-on reset and refreshed at any Frame Sync. cycle.
In MCU mode the control information is written to or read from STLC5046 via the serial four wires control bus:
CCLK: Control Clock
CS
: Chip Select input
CI: Serial Data input
CO: Serial Data output
All control instructions require 2 bytes, with the exception of the single byte for command synchronization. The first byte specify the register address, and the type of access (Read or Write). The second byte contain the data to be loaded into the register (on CI wire) or carried out the register content (on CO wire) depending on the R/W bit of the first byte. CO wire is normally in High Impedance and goes to low impedance only during the second byte in case of Read operation. This allows to use a common wire for both CI/CO.
Serial data CI is shifted to the serial input register on the rising edge of CCLK and CO is shifted out on the falling.
16/51 Doc ID 7052 Rev 5
Loading...
+ 35 hidden pages