STMICROELECTRONICS M34116C1

M34116
PCM CONFERENCE CALL
AND TONE GENERATION CIRCUIT
PRELIMINARY DATA
HW AND SW COMPATIBLE WITH M116
1 TO 64 SERIAL CHANNELS PER FRAME
(CONTROLLED BY SYNC SIGNAL PERIOD)
29 MAXIMUM CONFERENCES
1 TO 64 SERIAL CHANNELS PER CONFERENCES
3 SIMULTANEOUS OPERATION MODES
AVAILABLE:
CONFERENCE, TRANSPARENT AND TONE
GENERATION
TYPICAL BIT RATES:
1536/1544/2048/4096Kbits/s
COMPATIBLE WITH ALL KINDS OF PCM
FORMAT
µ AND A LAW (PIN PROGRAMMABLE)
EQUAL PRIORITY TO EVERY CHANNEL
ONE FRAME AND ONE CHANNEL DELAY
FROM SENDING TO RECEIVING
OVERFLOW INFORMATION FOR EACH CONFERENCE BY PIN OS (OVERFLOW SIGNALLING) AND ON DATA BUS ON MPU REQUEST
INSTRUCTION SET COMPATIBLE WITH M3488
PROGRAMMABLE INPUT AND OUTPUT ATTENUATION OR GAIN FROM 0 TO 15dB
WITH STEP OF 1dB FOR EACH CHANNEL
TONE GENERATION FROM 3.9Hz TO
3938Hz WITH MIN. STEP OF 3.9Hz
TOTAL OF 7 DIFFERENT TONE OUTPUTS
IN PARALLEL PROGRAMMABLE VIA MPU
(MAXIMUM 4 DIFFERENT FREQUENCIES
AND DURATIONS)
1 MELODY OF MAXIMUM 32 PROGRAMMABLE FREQUENCIES AND DURATIONS
5V POWER SUPPLY
TTL
COMPATIBLE
INPUT
LEVELS,
CMOS/TTL COMPATIBLE OUTPUT LEVELS
MAIN INSTRUCTIONS CONTROLLED BY MICROPROCESSOR INTERFACE:
– Channel connection to a conference
– Channel attenuation or gain
– Channel disconnection from both conference
and transparent modes
– Tone and melody generation
– Overflow status
– Operating mode
– Channel status
January 1995
DIP24
ORDERING NUMBER: M34116B1
PLCC28
ORDERING NUMBER: M34116C1
DESCRIPTION
The M34116 is a product specifically designed for
applications in PCM digital exchanges. It is able
to handle up to 64 channels in any conferences
combination from 1 to 29 conferences in parallel
and to generate seven different tones and one
melody.
The parties in a conference must previously be allocated through the Digital Switching Matrix
(M3488) in a single serial wire at M34116 PCM
input (IN PCM pin).
The M34116 is full pin and function compatible
with the M116. In addition, it has the capability to
generate tone directly coded in PCM.
For the conference function, each channel is converted inside the chip from PCM law to linear law
(14 bits). Then it is added to its conference, and
the sample of the previous frame is subtracted
from the conference.
In this way a new conference sum signal is generated.
The channel output signal will contain the information of all the other channels in its conference
except its own.
After the PCM encoding, the data is serialized by
the M34116 in the same sequence as the PCM
input frame, with one frame (plus one channel)
delay and will be reallocated by the DSM (M3488)
at the final channel and bus position.
A programmable attenuation or gain can be set
on each channel and for every function: conference, tone generation and transparent mode.
1/23
This is advanced information on a new product now in development or undergoing evaluation. Details are subject to change without notice.
M34116
PIN CONNECTIONS (Top view)
PLCC28
DIP24
ABSOLUTE MAXIMUM RATINGS
Symbol
VDD (*)
Vi
Parameter
Supply Voltage
Input Voltage
Value
Unit
– 0.3 to 7
V
– 0.3 to VDD
VO (off)
Off State Output Voltage
– 0.3 to 7
V
Ptot
Total Power Dissipation
500
mW
Tstg
Storage Temperature
– 65 to 150
°C
Top
Operating Temperature
0 to 70
°C
Stresses above those listed under ”Absolute Maximum Ratings” may causes 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 device reliability.
Figure 1: PCM Conference Call Insertion Scheme
2/23
M34116
PIN DESCRIPTION
DIP
No
1
2
3
4
5
6 to 13
14
15
16
17
18
19
20
21
22
23
24
PLCC
No
2
Pin
Function
TD
M116 operating mode only. Tone Duration input pin. When TD = 1, a PCM coded tone
(instead of PCM data) is sent out to all channels enabled by the IT bit. TD is latched by
the SYNC signal so that all channels have the same tone during the same number of
frames. TD = 0 for normal operation.
3
TF
M116 operating mode only. Tone Frequency input pin. When TF = 1, the tone amplitude
is high. When TF = 0, the tone amplitude is low. TF is latched by SYNC. The PCM coded
tone level corresponds to 1/10 of the full scale. For M34116 operating mode: Melody
waveform select input pin. When TF = 1, the PCM output of the melody represents a
square wave. When TF = 0, it represents a sine wave. In both cases, the rms level is the
same and is equal to – 6 dBm0 if no attenuation or gain is programmed.
4
RESET Master reset input pin. This pin is active low and must be used at the very beginning after
power up to initialize the device or when switching from A law to Mu law. The Internal
initialization routine takes 2 time frames starting from the rising edge of RESET. During
this initialization time, all data bus and PCM output are pulled to a high impedance state.
5
OS
Overflow Signalling output pin. When OS = 0 one conference is in overflow. This signal is
anticipated over half time slot with respect to the output channel involved in the conference in
overflow. Example: if output channel 4 is one of the parties of one conference in
overflow, OS = 0 during the second half of the time slot corresponding to output channel 3
and during the first half of the time slot corresponding to output channel 4.
6
OUT
PCM output pin. The bit rate is 4096Kbits/s max. The sign bit is the first bit of the serial
PCM sequence. The first bit of the first channel is found at the rising edge of the CLOCK signal
preceding the rising edge of the SYNC signal. The output buffer is open drain to allow for
multiple connections.
D0 to Bidirectional Data bus pins. Data and instructions are transferred to or from the
7,
D7
microprocessor. D0 is the Least Significant Bit. The bus is tristate when RESET is low
9 to 11,
and/or CS is high.
13 to 16
17
VDD
+5V Supply input. 100nF decoupling capacitor recommended.
18
C/D
Control Data input pin. In a write operation C/D = 0 qualifies any bus content as data
while C/D = 1 qualifies it as an opcode. For M116 operating mode only: in a read
operation, the overflow information of the first eight conferences is selected by C/D = 0,
the overflow of the last two conferences and the status by C/D = 1.
19
CS
Chip Select input pin. When CS = 0, data and instructions can be transferred to or from
the external microprocessor and when CS = 1 the data bus is in tristate.
20
RD
Read control input pin. When RD = 0, read operation is performed. When match
conditions for the opcode exists, data is transferred to the external microprocessor on the
falling edge of RD.
21
WR
Write control input pin. Instructions and opcode from the external microprocessor are
latched on the rising edge of WR.
23
SYNC Synchronization input pin. The rising edge of CLOCK preceding the rising edge of SYNC
corresponds to the first bit of the first channel except for PCM frame of 1544Kbits/s. In
this case, it corresponds to the Extra bit (193th).
24
CLOCK Master Clock input pin. Typ. operating Frequencies are:
3.072MHz for 24 PCM channels frame (192 bit/frame)
3.088MHz for 24 PCM channels frame with extra bit (193 bit/frame)
4.096MHz for 32 PCM channels frame (256 bit/frame)
8.192MHz for 64 PCM channels frame (512 bit/frame)
Both M34116 an M116 operating modes are possible up to 4.096MHz.
At 8.192MHz only M34116 operating mode is possible.
25
EC
External Clock output pin. This pin provides the master clock for the Digital Switching
Matrix (M3488). Normally it is the same signal as applied to the CLOCK input (pin 20).
When the Extra bit is selected with the instruction 5, the first two periods of the master
clock are canceled in order to allow the operation of the M34116 and the DSM with PCM
frame with Extra bit (e.g. 193 bit/frame with PCM I/O of 1544Kbits/s).
27
IN PCM PCM input pin. The max bit rate is 4096Kbits/s. The first bit of the first cahnnel is found at
the second rising edge of the CLOCK signal following the rising edge of the SYNC signal.
If Extra bit is selected, then the first bit is shifted by two CLOCK periods.
28
A/MU
A Law or MU Law select pin. When A/MU = 1, A Law is selected. When A/MU = 0, MU Law is
selected. The law selection must be done before initializing the device using the RESET pin.
1
Vss
Ground.
3/23
M34116
RECOMMENDED OPERATING CONDITIONS
Symbol
VCC
Parameter
Supply Voltage
Value
Unit
4.75 to 5.25
V
Vi
Input Voltage
0 to 5.25
V
VO
Off State Output Voltage
0 to 5.25
V
3.072/3.088
4.096 / 8.192 (*)
MHz
MHz
8
KHz
0 to 70
°C
CLOCK Freq.
SYNC Freq.
Top
Input Clock Frequency
Input Synchronization Frequency
Operating Temperature
CAPACITANCES (measurements frequency = 1MHz; 0 to 70°C; unused pins tied to VSS)
Symbol
Parameter
Pin (**)
Min.
Typ.
Max.
Unit
Input Capacitance
1 to 3; 15 to 20; 22 to 23
5
pF
CI/O
I/O Capacitance
6 to 13
15
pF
CO
Output Capacitance
4, 5, 21
10
pF
CI
ELECTRICAL CHARACTERISTICS (Tamb = 0 to 70°C, VCC = 5V ± 5%)
All DC characteristic are valid 250µs after VCC and clock have been applied.
Symbol
Max.
Unit
VIL
Input Low Level
Parameter
1 to 3
15 to 20
22 to 23
– 0.3
+0.8
V
VIH
Input High Level
1 to 3
15 to 20
22 to 23
2.0
VCC
V
VT–
Negative Threshold
Voltage
6 to 13 (***)
VCC = 5V
0.6
0.9
1.1
V
VT+
Positive Threshold
Voltage
6 to 13 (***)
VCC = 5V
1.5
1.7
2
V
VHY
Hysteresis
6 to 13 (***)
VCC = 5V
0.4
0.8
VOL
Output Low Level
4,6 to 13,21
IOL = 2mA
VOH
Output High Level
4 to 13, 21
IOH = 1mA
VOL
Output Low Level
5
Test Condition
Min.
Typ.
V
0.4
VCC-0.4
V
V
IOL = 4.1mA
0.4
V
IIL
Input Leakage Current
1 to 3
6 to 13
15 to 20
22 to 23
VIN = 0 to VCC
10
µA
IOL
Data Bus Leakage
Current
6 to 13
VIN = 0 to VCC
CS = VCC
±10
µA
ICC
Supply Current
Clock Freq. = 4.096MHz
50
mA
(*) Only in M34116 Operating Mode.
(**) Pin numbers referred to the DIP24.
(***) Schimitt-trigger inputs.
4/23
Pins (**)
14
M34116
ELECTRICAL CHARACTERISTICS (Tamb = 0 to 70°C, VCC = 5V ± 5%)
All DC characteristic are valid 250µs after VCC and clock have been applied. CL is the max. capacitive
load and RL the test pull up resistor.
Signal
Symbol
CK
Up to
4.096MHz
tCK
tWL
tWH
tR
tF
Clock Period
Clock Low Level Width
Clock High Level Width
Rise Time
Fall Time
230
100
100
tCK
tWL
tWH
tR
tF
Clock Period
Clock Low Level Width
Clock High Level Width
Rise Time
Fall Time
120
50
50
SYNC
tSL
tHL
tSH
tWH
Low Level Set-up Time
Low Level Hold Time
High Level Set-up Time
High Level Width
PCM
Input
tS
tH
PCM
Output
(Open
drain)
tPD min.
Propagation Time Low
Level referred to CK
tPD max.
Propagation Time High
level Referred to CK
RESET
tSL
tHL
tSH
tWH
Low Level Set-up Time
Low Level Hold Time
High Level Set-up Time
High Level Width
WR
tWL
tWH
tREP
Low Level Width
High Level Width
Repetition interval
between active pulses.
High Level st-up time to
active read strobe.
High Level hold time to
active read strobe.
Rise Time
Fall Time
CK
8.192MHz
tSH
tHH
tR
tF
RD
tWL
tWH
tREP
tSH
tHH
tR
tF
Parameter
Test Condition
See note 1
Set-up Time
Hold Time
Low Level Width
High Level Width
Repetition interval
between active pulses.
High Level st-up time to
active read strobe.
High Level hold time to
active read strobe.
Rise Time
Fall Time
C L = 50pF RL = 1KΩ
Min.
Typ.
Max.
Unit
25
25
ns
ns
ns
ns
ns
10
10
ns
ns
ns
ns
ns
30
30
30
tCK
ns
ns
ns
ns
35
35
ns
ns
40
ns
180
note 6
note 3 and 4
50
30
30
tCK
ns
ns
ns
ns
150
200
500
ns
ns
ns
0
ns
20
ns
60
60
note 5
ns
ns
ns
180
200
4 tCK
ns
ns
ns
0
ns
20
ns
60
60
ns
ns
Notes:
1. With Extra Bit operating mode insert this time becomes 3 tCK.
2. With Extra Bit operating mode insert these times are 80ns longer.
3. With OPCODE (C/D = I), this time becomes 4tck (6tck if E = 1). E: extra bit indication in ”operating mode” instruction.
4. For tone generation instruction, this time becomes 4tck (6tck if E = 1) E: extra bit indication in ”operating mode” instruction.
5. With extra bit operating mode insert, this time becomes 6tck.
6. The initialization routine takes 2 frames time starting from the rising edge of RESET - Any access to the device should take place after the
initialization routine is completed. (2 frames time).
5/23
M34116
ELECTRICAL CHARACTERISTICS (continued)
Signal
Symbol
Parameter
CS
tSL (CS-WR)
Low level set-up time
to WR falling edge.
Low Level hold time from
WR rising edge.
High level set-up time to
WR falling edge.
High level hold time from
WR rising edge.
Low level set-up time
to RD falling edge.
Low Level hold time from
RD rising edge.
High level set-up time to
RD falling edge.
High level hold time from
RD rising edge.
tHL (CS-WR)
tSH (CS-WR)
tHH (CS-WR)
tSL (CS-RD)
tHL (CS-RD)
tSH (CS-RD)
tHH (CS-RD)
CD
tS(C/D-WR)
tH(C/D-WR)
tS(C/D-RD)
tH(C/D-RD)
Test Condition
Min.
Typ.
Max.
Unit
Active Case
0
ns
Active Case
20
ns
Inactive Case
0
ns
Inactive Case
20
ns
Active Case
0
ns
Active Case
0
ns
Inactive Case
0
ns
Inactive Case
0
ns
130
ns
25
ns
20
ns
25
ns
Set-up time to write strobe
end.
Hold time from write
strobe end.
Set-up time to read strobe
start.
Hold time from read
strobe end.
OS
tPD(OS)
Propagation time from
rising edge of CK.
C L = 50pF
100
ns
EC
tPD(EC)
Propagation time referred
to CK edges.
C L = 50pF
30
ns
TD/TF
tS
tH
D0 to D7
(interface
bus)
Set-up
Hold Time
80
40
ns
ns
tS(BUS-WR)
Input set-up time to write
strobe end.
130
ns
tH(BUS-WR)
Input hold time from write
strobe end.
25
ns
tPD(BUS)
Propagation time from
(active) falling edge of
read strobe.
tHZ(BUS)
Propagation time from
(active) rising edge of
read strobe to high
impedance state.
CL = 200pF
A.C. TESTING, OUTPUT WAVEFORM
A.C. testing inputs are driven at 2.4V for a logic ”1” and 0.45V for a logic ”0”, timing
measurement are made at 2.0V for a logic ”1” and 0.8V for a logic ”0”.
6/23
120
ns
80
ns
M34116
Figure 2: Insertion Schema of M34116 in a 480 x 480 Non-Blocking Digital Switching Matrix
Figure 3: Block Diagram
EC
RESET
OS
A/MU
CS
WR
C/D
RD
CLOCK
DB(7:0)
SYNC
IN PCM
TIMING
MPU INTERFACE
8
PCM
to
LOG LIN
SR
TONE
CONTROL
14
19
FRAME
RAM
ADDER
CONF
RAM
LIN
to
PCM
SR
19
POWER
10
TONE
ROM
14
TF
TD
OUT PCM
D94TL130
7/23
M34116
CIRCUIT DESCRIPTION
ALGORITHMS
♦ Conference. For each channel, the PCM signal
coming in is added to its conference and the
PCM signal of the previous frame is subtracted
to its conference before being sent out. The
output signal contains only the data of all the
other channels in its conference except its
own.
♦ Tone. A fourth of a sine wave equivalent to
3.9Hz (8KHz/2048) is stored in a ROM which is
read at multiple of the step (modulus 512)
equivalent to the specified frequency. This step
is used until the duration is reached then a
new step will be used according to the specified sequence.
♦ Attenuation gain. The PCM signal is converted
to logarithmic of the equivalent linear and then
added or subtracted to the specified level. It is
then raised to the power of 10 to be converted
back to linear.
ARCHITECTURE
The basic time slot (16 periods of the master
clock) is divided in four different parts that perform four different operations (also refer to Fig. 2
block diagram):
# input processing: attenuation or gain of input
PCM according to the algorithm mentioned
earlier. The serial PCM signal coming in is
loaded as 8 bits parallel and converted to logarithmic of the linear (through the PCM to LOG
LIN block). It is then added to the attenuation
or gain levels (also in logarithmic) stored in the
MPU interface, the result is raised to the power
of 10 (through the POWER 10 block) to be
converted back to linear and written in the
FRAME RAM.
# conference addition: the above PCM signal,
amplified or attenuatedand converted in linear,
is added to the conference and the result is
stored in the conference RAM (block CONF
RAM).
# conference subtraction: the signal stored in the
FRAME RAM during the previous frame is subtracted to the conference and the result is
stored in the conference RAM.
# output processing: attenuation or gain of the
PCM to be sent out. The result of the above
substraction is converted to PCM (through the
block LIN to PCM) and to logarithmic (through
the block PCM to LOG LIN), added to the attenuation or gain level stored in the MPU interface, converted to linear (through the block
POWER 10) and then to PCM (through the
block LIN to PCM). The resulting 8 bits are
then shifted out serially.
8/23
If a channel is in conference, then all the four
above operations are applied. If it is in transparent mode, then only the first and last operations
are applied. For tone generation, the two first operations are not used. During the third part, the
tone ROM is read. Since the ROM data is in linear it can therefore be applied to the fourth operation for output processing.
By default, after reset, the M34116 has the functionality and the instruction set of the M116. With
a new operating mode instruction, the user can
select the functionality of the M34116 with its new
instruction set. The instruction set includes:
◊ operating mode: the user can choose either the
M116 mode or the M34116 mode, the PCM
byte format (no bit inverted, even bit inverted,
odd bit inverted or all bit inverted) and the
presence or not of the extra bit.
◊ conference connection: the user specifies which
channel to be connected to which conference
with the attenuationor gain levels to be applied
to the PCM signal coming in and/or sent out.
◊ transparent connection: the user specifies which
channel to be connected in transparent mode
(bypass mode) with the attenuation or gain levels to be applied to the PCM signal coming in
and/or sent out.
◊ tone generation: the user specifies to which
channel the tone must be sent out with the attenuation or gain levels and the tone sequence. The sequence is composed of maximum 4 pairs of frequency-duration for tone and
maximum 32 pairs of frequency-duration for
melody. The frequency range is 3.9Hz to
3938Hz and the duration range is from 32ms
to 8610ms. The user can specify either all of
the pairs or finish the sequence with the byte
hex FF. The M34116 will loop the specified sequence endlessly or until the channel is disconnected. The melody could be either a sine
or square wave (pin programmable).
◊ channel disconnection: the user specifies which
channel to be disconnected. A disconnected
channel can be reconnected only after a minimum of one frame time.
◊ overflow status. The user specifies which of the
4 banks of 8 conferences to be monitored and
the M34116 will send the status byte at the
read operation.
◊ channel status. The user specifies the channel
number and the M34116 will send out the
status bytes at the read operation. These bytes
include: conference number or transparent
mode or tone or no connection, input attenuation or gain levels, output attenuation or gain
levels. If the channel is in the tone mode, the
tone sequence of frequency and duration will
also be sent out.
M34116
INSTRUCTION SET
OPERATING MODES
Two different operating mode istructions are available:
M116 Operating Mode:
Sending this operating mode instruction, the device functionality is the same as M116 and M116 instruction set is selected (refer to the following M116 instruction set for further details).
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
1
0
X
E
F1
F0
0
1
0
1
❖ E = 1 extra bit
Default values after reset:
❖ F1– F0 = 00 no bit inverted
01 even bit inverted
10 odd bit inverted
11 all bit inverted
E=0
F1– F0 = 11 if MU Law
F1– F0 = 01 if A Law
M34116 Operating Mode:
Sending this operating mode instruction, the M34116 instruction set and functionality are selected
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
1
0
X
E
F1
F0
1
0
0
1
❖E = 1 extra bit
❖F1– F0 =
Note:
Upon reset M116 instruction set is automatically
selected. To switch from the M116 instruction set
the above M34116 operating mode instruction is
necessary. The operating mode instruction, when
necessary, must be sent just after reset.
00 no bit inverted
01 even bit inverted
10 odd bit inverted
11 all bit inverted
M34116 INSTRUCTION SET.
INSTRUCTION 1: M34116 CHANNEL CONNECTION IN CONFERENCE MODE
Five bytes are needed:
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
0
1
0
0
X
X
S
P4
P3
P2
P1
P0
0
1
0
0
X
X
X
Al4
Al3
Al2
Al1
Al0
0
1
0
0
X
X
X
AO4
AO3
AO2
AO1
AO0
0
1
0
0
X
PT
C5
C4
C3
C2
C1
C0
0
1
1
0
X
X
X
X
0
1
1
1
❖ S: Start bit
❖ Al4–Al0:
Al4 = 1
Al4 = 0
Al3–Al0
❖ Ol4–AO0:
AO4 = 1
AO4 = 0
AO3–AO0
Input attenuationor gain (±15dB)
gain
attenuation
value in dB (0–15)
output attenuationor gain (±15dB)
gain
attenuation
value in dB (0–15)
D0
❖ PT: Phase toggle conference
❖ P4–P0: Conference number (1–29)
❖ C5–C0: Channel number (0–63)
When S = 1 the conference register is cleared.
S = 1 can be used only when connecting the first
channel to a new conference.
When PT = 1 the sign of the PCM samples is
changed before they are put in conference. This
corresponds to a phase shift of 180° and may be
used to reduce the electrical echo.
Note: Unspecified Data Bus can be either 0’s or 1’s
9/23
M34116
M34116 INSTRUCTION SET (continued)
INSTRUCTION 2: M34116 CHANNEL CONNECTION IN TRANSPARENT MODE
Four bytes are needed:
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
0
0
X
X
X
Al4
Al3
Al2
Al1
Al0
0
1
0
0
X
X
X
AO4
AO3
AO2
AO1
AO0
0
1
0
0
X
X
C5
C4
C3
C2
C1
C0
0
1
1
0
X
X
X
X
0
0
1
1
❖ Al4–Al0:
Al4 = 1
Al4 = 0
Al3–Al0
Input attenuationor gain (±15dB)
gain
attenuation
value in dB (0–15)
❖ AO4–AO0: output attenuation or gain (±15dB)
gain
AO4 = 1
attenuation
AO4 = 0
AO3–AO0 value in dB (0–15)
❖ C5–C0: Channel number (0–63)
INSTRUCTION 3: M34116 CHANNEL DISCONNECTION
This instruction is necessary to disconnect a party from a conference, to end a transparent mode connection or to end a tone generation.
Two bytes are needed (same format as M116):
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
0
0
X
X
C5
C4
C3
C2
C1
C0
0
1
1
0
X
X
X
X
1
1
1
1
# C5–C0: Channel number (0–63)
One time frame must exist between disconnection and connection of the same channel.
INSTRUCTION 4: M34116 OVERFLOW INFORMATION
Single byte instruction:
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
1
0
X
X
B1
B0
1
0
1
0
❖ B1–B0: Bank Selection (0–3)
Conference overflow information is sent out, after this instruction, in the data bus (D7–D0) when RD
goes low according to the Bank selection value:
Bank
Selection
Control Signal
CS
Conference Number
RD
C/D
WR
B1
B0
0
0
0
1
0
0
7
6
5
4
0
0
0
1
0
1
15
14
13
12
0
0
0
1
1
0
23
22
21
20
0
0
0
1
1
1
X
X
29
28
10/23
D7
D6
D5
D4
D3
D2
D1
D0
3
2
1
X
11
10
9
8
19
18
17
16
27
26
25
24
M34116
M34116 INSTRUCTION SET (continued)
INSTRUCTION 5: M34116 TONE GENERATION
Up to 7 Tone and 1 Melody channels may be active simultaneously. The instruction format for Tone and
Melody is the same. For each Tone channel from 1 up to 4 couples of Step/Time may be specified while
for the Melody channel from 1 up to 32 couples of Step/Time may be specified.
Note:
The Melody channel can be channel 0 or 8 or 16 or 24 etc. according to the following formula:
Melody channel number = 0 + 8 x n (n = 0, 1, 2, 3, 4, 5, 6, 7)
The Tone channel assignment follows the same rule:
Tone 1 channel number = 1 + 8 x n (n = 0, 1, 2, 3, 4, 5, 6, 7)
Tone 2 channel number = 2 + 8 x n (n = 0, 1, 2, 3, 4, 5, 6, 7)
. .. .. ... ... . .. .. .. . .. . .. .. . .. ... ... ... ... .. ..
Tone 7 channel number = 7 + 8 x n (n = 0, 1, 2, 3, 4, 5, 6, 7)
This means that, selecting the tone 1 on the channel 9 (or and other one of its series), the channels 1,
17, 25.... can not be used for tones (or melody). The same is occuring for the tones 2...7 or the melody.
CS
0
0
0
0
0
0
0
:
Control Signal
RD
C/D
1
0
1
0
1
1
1
0
1
0
1
0
1
0
:
:
WR
0
0
0
0
0
0
0
:
D7
D6
D5
S17
T17
S27
T27
:
S16
T16
S26
T26
:
S15
T15
S25
T25
:
1
1
1
Data Bus
D4
D3
AO4
AO3
C4
C3
1
S14
S13
T14
T13
S24
S23
T24
T23
:
:
D2
AO2
C2
1
S12
T12
S22
T22
:
D1
AO1
C1
0
S11
T11
S21
T21
:
D0
AO0
C0
0
S10
T10
S20
T20
:
1
1
1
1
1
1
0
0
optional end code:
0
1
0
0
1
1
0
1
opcode:
0
❖ AO4–AO0: Output attenuation or gain (±15dB) AO4 = 1 gain, AO4 = 0 attenuation,
AO3–AO0 value in dB (0–15)
0dB attenuation or gain correspond to -6dBm0 level.
❖ C5–C0: Channel number (0–63)
❖ Sn7–Sn0: Frequency Step for the n–th note in the tone sequence (n = 1–4 for tone n = 1–32 for
melody). Step is a compressed coding of the frequency value. Given a frequency value f the value of
S7–S0 can be calculated as follow:
32
1) calculate the linear step SL = round ( f x
)
125
2) apply the following table to get S7–S0 value from SL value (see also Appendix 1A and 1B).
S7
0
0
0
1
1
S6
0
0
1
0
1
0
0
0
0
1
0
0
0
1
S5
0
0
1
S5
S4
Linear Step SL
0
S5
1
S5
S5
S4
S4
S3
S3
S2
value (10 bit)
S4
S3
S4
S3
S3
S2
S2
S1
S1
S0
S2
S2
S1
S0
0
S1
S1
S0
0
0
S0
S0
0
0
0
(SL decimal)
(1→64) (*)
(65–>127) (**)
(128–>254)
(256–>508)
(512–>1008)
STEP (Hz)
3.9
3.9
7.8
15.6
31.2
(*) For tone 7 only; (**) For melody and tone 1-6
Note: to obtain a Pause (Silence) –> S7–S0 must be all 0’s
❖ End code: if Less than 4 couples of Step/Time for tone or less than 32 for melody are to be specified
then after the last couple of Step/Time a Step of all 1’s (optional end code) must be sent before the
opcode. Otherwise it must be skipped.
❖ Tn7–Tn0: Specify the duration of the n’th note or pause. The time increment is 32ms. To get T7–T0
value, divide the wanted duration in ms by 32 and round to integer.
Note: The minimum time between rising edges of successive WR for tone generation instruction is 4ck
periods (6ck periods if EC = 1).
11/23
M34116
M34116 INSTRUCTION SET (continued)
INSTRUCTION 6: M34116 STATUS
The Status instruction can be used to read the contents of the instruction register and of the tone and
melody registers.
Two byte are needed:
Control Signal
Data Bus
CS
RD
C/D
WR
0
1
0
0
0
1
1
0
D7
D6
D5
D4
D3
D2
D1
D0
C5
C4
C3
C2
C1
C0
0
1
1
0
❖ C5–C0: Channel number (0–63)
After sending this instruction a variable number of Read can be sent depending on the type of operation
that performs the channel (conference, transparent, tone, or melody). The first 3 Read, common to all
type of operation, will send on the Data Bus the following data relative to the channel (C5–C0):
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
0
0
0
1
IT
PT
D3
D2
D1
D0
P4
P3
P2
P1
P0
0
0
0
1
AI4
AI3
AI2
AI1
AI0
0
0
0
1
AO4
AO3
AO2
AO1
AO0
Note:
P4–P0 = 0 means that the channel is disconnected so any following data read is meaningless.
P4–P0 = 1 to 29 is the conference number.
P4–P0 = 30 means that the channel operation is Tone or Melody.
P4–P0 = 31 means that the channel operation is transparent connection.
If the channel operation is Tone or Melody (P4 – P0 = 30) then the subsequent Read will send on the
Data Bus the couples of Step/Time:
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
1
S17
S16
S15
S14
S13
S12
S11
S10
0
0
0
1
T17
T16
T15
T14
T13
T12
T11
T10
0
0
0
1
S27
S26
S25
S24
S23
S22
S21
S20
0
0
0
1
T27
T26
T25
T24
T23
T22
T21
T20
:
:
:
:
:
:
:
:
:
:
:
:
Notes:
–Tone and Melody status reading ends if an all 1’s Step value is found, otherwise the reading is cyclic.
–The minimum time from the rising edge of the WR (with opcode) to the falling edge of first RD is 4clock
periods (6clock periods if E = 1) unless the selected channel has been disconnected. In this case, one
time frame must exist between the disconnect command and the read status command. The RD period
is minimum 4clock periods (6clock periods if E = 1).
– for both modes (M34116 and M116) the minimum time between two successive rising edges of the
WR with opcode (C/D = 1) is 4clock periods (6clock periods if E = 1).
E: Extra bit indication in ”Operating mode” instruction.
12/23
M34116
M116 INSTRUCTION SET
INSTRUCTION 1: CHANNEL CONNECTION IN CONFERENCE MODE
Three byte are needed:
1)The first byte contains the conference number (bits D0–D3) and the Start bit S (bit D4). When S = 1, all
registers of the conference will be cleared. S = 1 is only required in the instruction 1 set of the first
channel connected to a new conference.
2)The second byte contains in the bits (D0–D4) the number of the channel to be connected and the Insert Tone Enable bit IT (D5). When bit IT = 1 all the channels belonging to that conference are enabled using insert tone function if it’s active (TD = 1).
3) The third byte contains information about the attenuationlevel to be applied to that channel and the
opcode (0111).
Instruction 1 Format
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
0
0
X
X
X
S
P3
P2
P1
P0
0
1
0
0
X
X
IT
C4
C3
C2
C1
C0
0
1
1
0
A1
A0
X
X
0
1
1
1
S: Conference Start bit
P3–P0: Conference number (1–10)
IT: Insertion Tone function enable (IT = 1)
C4–C0: Channel number (0–31)
A1–A0: Channel attenuation
00 = – 0dB
01 = – 3dB
10 = – 6dB
INSTRUCTION 2: CHANNEL CONNECTION IN TRANSPARENT MODE
Two bytes are needed:
1) The first byte contains the number of the channel.
2) The second byte contains information about the attenuation level to be applied to that channel and the
opcode (0011).
PCM data of this channel is not added to any conference and it is transferred to the PCM output. It is not
affected by the tone control pins.
Instruction 2 Format
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
0
0
X
X
X
C4
C3
C2
C1
C0
0
1
1
0
A1
A0
X
X
0
0
1
1
INSTRUCTION 3: CHANNEL DISCONNECTION
Two bytes are needed:
1) The first word contains the number of the channel to be disconnected.
2) The second word contains the opcode (1111).
One time frame must exist between disconnection and connection of the same channel.
Instruction 3 Format
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
0
0
X
X
X
C4
C3
C2
C1
C0
0
1
1
0
X
X
X
X
1
1
1
1
13/23
M34116
M116 INSTRUCTION SET (continued)
INSTRUCTION 4: OVERFLOW INFORMATION
Two bytes are needed to know the status of all 10 conferences: C/D = 0 reads the first byte (first 8 conferences) and C/D = 1 reads the second byte (the last 2 conferences). A conference is in overflow when
the corresponding bit is high.
Instruction 4 Format
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
1
CF8
CF7
CF6
CF5
CF4
CF3
CF2
CF1
0
0
1
1
X
X
X
X
X
X
CF10
CF9
CF10 – CF1: Conference in overflow when high.
nb: as long as RD remains low, the overflow status of the conference selected by C/D can be monitored
in real time.
INSTRUCTION 5: OPERATING MODE
The single byte needed contains the Extra bit (D6), the format bits F1–F0 (D5–D4) and the opcode
(0101).
The E bit must be E = 1 when the PCM frame contains a number of bit multiple of eight plus on bit (ex.
PCM frame at 1544Kbit/s). Normally E = 0. The bits F1–F0 select the kinds of PCM format byte according table 1. After Reset the default values corresponds to F1 = 0, F0 = 1 if A–law is selected and F1 = 1,
F0 = 1 if Mu–law is selected. All channels must be disconnected when the Operating Mode Instruction is
sent. They must remain disconnected for at least two time frames after the instruction was sent.
We recommende to use this instruction right after the RESET (see pin RESET decription).
Instruction 5 Format
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
1
0
X
E
F1
F0
0
1
0
1
E: Extra bit insertion (active when E = 1)
F1 – F0: PCM byte Format selection (see also table 1)
00 = no bit inverted
01 = even bit (B0–B2–B4–B6) inverted
10 = odd bit (B1–B3–B5) inverted
11 = all bit (B0–B1–B2–B3–B4–B5–B6)inverted
INSTRUCTION 6: STATUS
Three bytes are needed:
1) The first byte contains the number of the channel;
2) The second byte contains the opcode (0110);
3) By a reding cycle you extract from the third byte the information about the operating mode of the
channel (no connection or transparent mode or number of the conference, bits D4–D7); the attenuation
(D2–D3) and noise suppression values (D0–D1) eventually inserted.
This reading cycle must be executed at least one frame after the end of the opcode writing cycle.
Instruction 6 Format
Control Signal
Data Bus
CS
RD
C/D
WR
D7
D6
D5
D4
D3
D2
D1
D0
0
1
0
0
X
X
X
C4
C3
C2
C1
C0
0
1
1
0
X
X
X
X
0
1
1
0
0
0
1
1
P3
P2
P1
P0
A1
A0
T1
T0
P3–P0: channel mode operation information
0000 = no connection
1111 = transparent mode
1010 – 0001 = conference mode
14/23
P3–P0 give the number of the conferenc
nb: the instruction 6 enables the dat bus to read
the status until reset by C/D = 0 and WR = 1.
M34116
Table 1 : PCM Byte Format. B7 (sign–bit) is the MSB and B0 is the LSB. F1–F0 corresponds to D5–D4
in the byte of the Operating Mode Instruction (instruction 5).
F1
F0
0
0
+FULL SCALE
MIN LEVELS
–FULL SCALE
0
0
+FULL SCALE
MIN LEVELS
–FULL SCALE
1
0
+FULL SCALE
MIN LEVELS
–FULL SCALE
B7
B6
B5
B4
B3
B2
B1
B0
1
1
0
0
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
0
0
1
1
0
1
0
0
1
0
1
1
0
1
0
0
1
0
1
1
0
1
0
0
1
0
1
1
0
1
1
0
0
1
0
0
1
0
1
1
0
1
0
0
1
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
Figure 11: Overflow Control with µP Interactive Procedure
15/23
M34116
Figure 12: SYNC, PCM I/O, RESET, TD/TF Timings
(1) tbit corresponds to bit 0, channel 0 or Extra Bit.
Figure 13: WRITE Operating Timing.
16/23
M34116
Figure 14: READ Operating Timing.
Figure 15: RC (External Clock) and OS (Overflow Signalling) Timings.
Figure 16: EC Timing with Extra Bit Operating Mode Insert.
Figure 17: OS Timing with Output PCM Channel n+1 belonging to a Conference in Overflow.
17/23
M34116
APPENDIX 1A - Correspondancebetween S7-S0 values (HEX) and synthetized frequency for melody and
tone 1-6:
18/23
M34116
APPENDIX 1B - Correspondence between S7-S0 values (HEX) and synthetized frequency for tone 7:
19/23
M34116
APPENDIX 2
TONE GENERATION PROGRAMMING
Example 1:
f = 425Hz
Duration 200ms ON, 200ms OFF, 600ms ON, 1000ms OFF
Attenuation10dB
Channel #0.
Programming sequence:
Control Signal
Data
CS
RD
C/D
WR
D7 . . . . D0
0
1
0
0
0AH
0
1
0
0
00H
0
1
1
0
0CH
0
1
0
0
2DH
0
1
0
0
06H
0
1
0
0
00H
0
1
0
0
06H
0
1
0
0
2DH
0
1
0
0
12H
0
1
0
0
00H
0
1
0
0
1FH
0
1
1
0
0CH
Example 2:
f = 400Hz
Duration: 375ms ON, 375ms OFF
Attenuation5dB
Channel #3
Programming sequence:
Control Signal
20/23
Data
CS
RD
C/D
WR
D7 . . . . D0
0
1
0
0
05H
0
1
0
0
03H
0
1
1
0
0CH
0
1
0
0
26H
0
1
0
0
0CH
0
1
0
0
00H
0
1
0
0
0CH
0
1
0
0
FFH
0
1
1
0
0CH
M34116
PLCC28 PACKAGE MECHANICAL DATA
mm
DIM.
MIN.
TYP.
inch
MAX.
MIN.
TYP.
MAX.
A
12.32
12.57
0.485
0.495
B
11.43
11.58
0.450
0.456
D
4.2
4.57
0.165
0.180
D1
2.29
3.04
0.090
0.120
D2
0.51
E
9.91
0.020
10.92
0.390
0.430
e
1.27
0.050
e3
7.62
0.300
F
0.46
0.018
F1
0.71
0.028
G
0.101
0.004
M
1.24
0.049
M1
1.143
0.045
21/23
M34116
DIP24 PACKAGE MECHANICAL DATA
mm
DIM.
MIN.
TYP.
MAX.
MIN.
TYP.
a1
0.63
0.025
b
0.45
0.018
b1
0.23
b2
0.31
E
0.009
1.27
D
15.2
MAX.
0.012
0.050
32.2
16.68
1.268
0.598
0.657
e
2.54
0.100
e3
27.94
1.100
F
22/23
inch
14.1
0.555
I
4.445
0.175
L
3.3
0.130
M34116
Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsibility for the
consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No
license is granted by implication or otherwise under any patent or patent rights of SGS-THOMSON Microelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied.
SGS-THOMSON Microelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of SGS-THOMSON Microelectronics.
 1995 SGS-THOMSON Microelectronics - All Rights Reserved
SGS-THOMSON Microelectronics GROUP OF COMPANIES
Australia - Brazil - France - Germany - Hong Kong - Italy - Japan - Korea - Malaysia - Malta - Morocco - The Netherlands - Singapore Spain - Sweden - Switzerland - Taiwan - Thaliand - United Kingdom - U.S.A.
23/23