Previous Version: Preliminary Data Sheet 09.97
Page
(in previous
Version)
Page
(in new
Version)
Subjects (major changes since last revision)
Index added
For questions on technology, delivery and prices please contact the Semiconductor
Group Offices in Germany or the Siemens Companies and Representatives worldwide:
see our webpage at http://www.siemens.de/Semiconductor/address/address.htm.
As far as patents or other rights of third parties are concerned, liability is only assumed for components, not for
applications, processes and c irc uit s imp lemented within componen ts or as s em blies.
The information describe s the t yp e of co m ponent and shall not be considered as assured characteristics.
Terms of delivery and rights to ch ange design reserved.
Due to technical requireme nt s com ponents may contain dange rous substances. For informatio n on t he t y pes in
question please contact yo ur nearest Siemens Office, Semic onductor Group.
Siemens AG is an approved CECC manufacturer.
Packing
Please use the recycling ope rat ors k now n t o y ou. W e ca n als o help you – get in touch with your neares t sa les
office. By agreement we will take packing material back, if it is sorted. You must bear the costs of transport.
For packing material that is returned to us unsorted or which we are not obliged to accept, we shall have to invoice
you for any costs incurred.
Components used in life-support devices or systems must be expressly authorized for such purpose!
Critical components
systems
1 A critical component is a component used in a life-support device or system whose failure can reasonably be
2 Life support devices or system s are int ended (a) to be implanted in the huma n body, or (b) to support and/or
2
with the express written approv al of the Semiconductor Group of Siem ens AG.
expected to cause the failure of that life-support device or system, or to affect its safety or effectiveness of that
device or system.
maintain and sustain human life. If th ey fail, it is rea so nable to assume that the health of th e us er m ay be endangered.
1
of the Semiconductor Group of Siemens AG, may only be used in life -s upport devices or
The PSB 2168 provides a solution for an embedded answering in an IOM®-2 based
system.
™
The chip features recording by DigiTape
™
Messages recorded with DigiTape
can be played back with variable speed without
pitch alteration. Messages recorded with a higher bitrate can be converted into
messages with a lower b itrate arbitrarily. Current m embers of DigiTape (TM) span the
range from 3.3 kbit/s to 10.3 kbit/s.
Furthermore the PSB 2168, V2.1 has a a caller ID decoder, DTMF recognition and
generation and call progress tone detection. The frequency response of cheap
microphones or loudspeakers can be corrected by a programmable equalizer.
Messages and user da ta can be stored in AR AM/ DRA M or flas h memory which can be
directly connected to the PSB 2168. The PSB 2168 also supports a voice prompt
EPROM for fixed announcements.
®
The PSB 2168 provides an IOM
-2 compatible inte rface with t wo channels f or speech
data.
®
Alternatively to the IOM
-2 compatible interface the PSB 2 168 su pport s a si mple se rial
data interface (SSDI) with separate strobe sign als for each direction (linear PCM data,
one channel).
, a family of high performance algorithms.
The chip is programmed by a simple four wire serial control interface and can inform the
microcontroller of new events by an interrupt sign al. For data retention the PSB 2168
supports a power down mode where only the real time clock and the memory refresh (in
case of ARAM/DRAM) are operational.
The PSB 2168 supports interface pins to +5 V levels.
Multiplexed address outputs for ARAM, DRAM
access.
Non-multiplexed address outputs for voice
prompt EPROM.
Auxiliary Parallel Port:
General purpose I/O.
L
L
L
L
L
L
L
L
L
Semiconductor Group1411.97
Table 1Pin Definitions and Functions
PSB 2168
Overview
42
43
44
45
46
47
50
51
35
MD
MD
MD
MD
MD
MD
MD
MD
CAS
ALE
36
CAS
FCS
34RAS
FOE
0
1
2
3
4
5
6
7
0
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
/
O
-
-
-
-
-
-
-
-
H
Memory Data 0-7:
Memory (ARAM, DRAM, Flash Memory,
EPROM) data bus.
2)
ARAM, DRAM:
Column address strobe for memory bank 0 or 1.
/
1
O
Flash Memory:
Address Latch Enable for address lines A
16-A23
.
Chip select signal for Flash Memory
/
OH2)ARAM, DRAM:
Row address strobe for both memory banks.
Flash Memory:
Output enable signal for Flash Memory.
/
33VPRD
FCLE
OH2)ARAM, DRAM:
Read signal for voice prompt EPROM.
Flash Memory:
Command latch enable for Flash Memory.
32W
/FWEOH2)ARAM, DRAM:
Write signal for all memory banks.
Flash Memory:
Write signal for Flash Memory.
31FRDYI-Flash Memory Ready
Input for Ready/Busy signal of Flash Memory
5
6
OSC
OSC
1
2
I
O
-
Z
Auxiliary Oscillator:
Oscillator loop for 32.768 kHz crystal.
8CLKI-Alternative AFECLK Source
13,824 MHz
2
3
XTAL
XTAL
I
1
O
2
-
Z
Oscillator:
XTAL
XTAL
: External clock or input of oscillator loop.
1
: output of oscillator loop for crystal.
2
Semiconductor Group1511.97
Table 1Pin Definitions and Functions
PSB 2168
Overview
37
38
SPS
SPS
0
1
O
O
L
L
Multipurpose Outputs:
General purpose, address lines or status
19, 56ROO-Reserved Output
Must be left open.
1)
These lines are driven low with 125 µA until the mode (address lines or aux iliary port) is defined.
2)
These lines are driven high with 70 µA during reset.
1.4Logic Symbol
1
1
OSC
XTAL1XTAL
2
2
DXST
DRST
DU/DX
DD/DR
DCL
FSC
SCI
INT
SDX
SDR
SCLK
CS
V
DD
V
DDA
V
SS
RST
OSC
PSB 2168
IOM®-2
SDI
MA0-MA15MD0-MD
7
CAS0/
ALE
CAS1/
FCS
RAS/VPRD/
FOE
W/
FWE
FCLE
FRDY
Memory
Figure 2Logic Symbol of PSB 2168
Semiconductor Group1611.97
1.5Functional Block Diagram
RST
Reset and Timing Unit
OSC
OSC
1
XTAL1XTAL
2
PSB 2168
Overview
2
DXST
DRST
DU/DX
DD/DR
DCL
FSC
Data
Interface
Memory Interface
MA0-MA15MD0-MD7CAS0/
ALE
Figure 3Block Diagram of PSB 2168
DSP
CAS1/
FCS
Control
Interface
RAS/VPRD/
FOE
W/
FWE
FCLE
INT
SDX
SDR
SCLK
CS
FRDY
1.6System Integration
The integration into an ISDN terminal is s hown in figure 4. All voice data is tran sferred
by the IOM®-2 compatible interface. The PSB 2168 is programmed by the SCI interface.
The PSB 2163 is programmed by the IOM®-2 interface. The microcontroller can access
the memory attached to the PSB 2168. This is use ful for storing syst em parameters or
phonebook entries.
Semiconductor Group1711.97
IOM®-2
PSB 2168
Overview
PSB 2163PSB 2186
FlashPSB 2168
077-3445
Microcontroller
Power Controller
PEB 2023
Figure 4Featurephone with Answering Machine for ISDN Terminal
S
-BUS
0
Semiconductor Group1811.97
PSB 2168
Overview
1.6.1Stand-Alone Answering Machine
The PSB 2168 can also be used in con junction with a simple codec for a s tand-alone
answering machine (figure 5). In this application the PSB 2168 generates the necessary
clocks for the simple codec at the pins AFECLK and AFEFS. Therefore the simple codec
can be connected without further glue logic.
AFECLK
CLK
DCL
ARAM
DR
PSB 2168
DX
FSC
AFEFS
Microcontroller
line
tip/
ring
analog
simple
codec mux/amp
TX
TR
FS
077-3445
Figure 5Stand-Alone Answering Machine with ARAM/EPROM
Voice Prompt
EPROM
Semiconductor Group1911.97
PSB 2168
Overview
Furthermore the PSB 2168 can b e used to scan the keyboard and drive the display if
instead of ARAM/DRAM and EPROM flash memory devices (SAMSUNG mode) are
used for storage (figure 6).
®
-2
IOM
analog
tip/
ring
line
simple
codec mux/amp
PSB 2168
AFE
077-3445
Microcontroller
Figure 6Stand-Alone Answering Machine with Flash Memory
In either case all features of the PSB 2168 can be used (e.g. caller id).
Flash
Semiconductor Group2011.97
PSB 2168
Functional Description
2Functional Description
Functional Units
Functional Units
The PSB 2168 contains several functional units that can be combined wit h almost no
restrictions to perform a given task. Figure 7 gives an overview of the important
functional units.
SSDI/IOM®-2IOM®-2
Channel 2Channel 1
DTMF
Generator
S
I1I2I
5
I
1
Universal
Attenuator
S
6
3
I1I
Line Echo
Canceller
S
8
S
I1I2I
7
3
S
13
Speech
Decoder
Memory
Speech
Coder
I1I
2
2
I1I
2
AGC
I
1
Equalizer
S
S
10
9
I
1
CNG
Detector
S
14
I
1
Alert Tone
Detector
S
15
I
1
CPT
Detector
S
S
17
16
I
1
CID
Decoder
S
18
I
1
DTMF
Detector
SCI
signal summation:s igna l sou rc es:
I
1
I
2
I
3
S
,...,S
5
18
Figure 7Functional Units - Overview
Semiconductor Group2111.97
PSB 2168
Functional Description
Each unit has one or more signa l inputs (denoted by I). Most units have at least one
signal output (denoted by S). Any input I can be co nnected to any signal output S. In
addition to the sign als shown in figure 7 there is also the signal S
useful at signal summation points. Table 2 lists the available signals within the PSB 2168
according to their reference points.
Table 2Signal Summary
SignalDescription
(silence), which is
0
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Silence
Reserved
Reserved
Reserved
Reserved
Serial interface input, channel 1
Serial interface output, channel 1
Serial interface input, channel 2
Serial interface output, channel 2
DTMF generator output
DTMF generator auxiliary output
Reserved
Reserved
Speech decoder output
Universal attenuator output
S
15
S
16
S
17
S
18
Semiconductor Group2211.97
Line echo canceller output
Automatic gain control output (after gain stage)
Automatic gain control output (before gain stage)
Equalizer output
PSB 2168
Functional Description
The following figures show the connections for a typical state during operation. Units that
are not needed are not shown. Inputs that are not nee ded are connected to S
provides silence (denoted by 0). In figure 8 a phone conversation is currently in progress.
The speech coder is used to record the signals of both parties. The alert tone detector is
used to detect an alerting tone of an off-hook cal ler id request while the CID decoder
decodes the actual data transmitted in this case.
SSDI/IOM®-2IOM®-2
Channel 2Channel 1
which
0
S
5
000000
S
7
Memory
Speech
coder
AGC
CPT
detector
CID
decoder
DTMF
detector
SCI
Figure 8Functional Units - Recording a Phone Conversation
Semiconductor Group2311.97
PSB 2168
Functional Description
2.1Functional Units
In this section the functional units of the PSB 2168 are described in detail. The functional
units can be individually enabled or disabled.
2.1.1Line Echo Canceller
The PSB 2168 contains an adaptive line echo cancella tion unit for the cancellation of
near end echoes. The unit h as two modes: normal an d extended. In normal mod e, the
maximum echo length is 4 ms. This mode is alway s available. In extended mode , the
maximum echo length is 24 ms. Extended mode cannot be used while the speech
encoder or slow playback is active.
The line echo cancellation unit is especially useful in front of the various detectors
(DTMF, CPT, etc.). A block diagram is shown in figure 9.
I
2
+
Σ
S
15
-
Adaptive
Filter
I
1
Figure 9Line Echo Cancellation Unit - Block Diagram
The line echo cancelle r provides only one ou tgoing signal (S
signal would be identical with the input signal I
Input I
is usually connected to the l ine inpu t w hile inp ut I1 is connected to the outgoing
2
.
1
) as the other outgoing
15
signal.
In normal mode the adaption process can be controlled by three parameters: MIN, ATT
and MGN. Adaption takes only place if both of the following conditions hold:
I1MIN>
1.
I1I2–ATTMGN+–0>
2.
With the first con diti on ada ption to sma ll signal s can be avoid ed. The s econd condit ion
avoids adaption during double talk. The parameter ATT represents the echo loss
provided by external circuitry. The adaption stops if the power of the received signal (I2)
exceeds the power of the expected signal (I1-ATT) by more than the margin MGN.
Semiconductor Group2411.97
PSB 2168
Functional Description
Table 3 shows the registers associated with the line echo canceller.
Table 3Line Echo Cancellation Unit Registers
Register# of Bits Name CommentRelevant
Mode
LECCTL1ENLine echo canceller enableboth
LECCTL1MDLine echo canceller mode
LECCTL5I2Input signal selection for I
LECCTL5I1Input signal selection for I
LECLEV15MINMinimal power for signal I
2
1
1
LECATT15ATTExternally provided attenuation (I
to I2) normal
1
both
both
normal
LECMGN15MGNMargin for double talk detectionnormal
Semiconductor Group2511.97
PSB 2168
Functional Description
2.1.2DTMF Detector
Figure 10 shows a block dia gram of the D TMF det ector. The results of t he dete cto r are
available in the status register and a dedicated resul t register that can be re ad via the
serial control interface (SCI) by the external controller. All sixteen standard DTMF tones
are recognized.
I
1
DTMF
Recognition
SCI
Figure 10 DTMF Detector - Block Diagram
Table 4 to 6 show the associated registers.
Table 4DTMF Detector Control Register
Register# of BitsNameComment
DDCTL1ENDTMF detector enable
DDCTL5I1Input signal selection
As soon as a v ali d DTMF tone is reco gnized, the st atus word and the DTM F tone code
are updated (table 5).
Table 5DTMF Detector Results
Register# of BitsNameComment
STATUS1DTVDTMF code valid
DDCTL5DTCDTMF tone code
DTV is set when a DTMF tone is recognized and reset when no DTMF tone is recognized
or the detector is disabled. The code for the DTMF tone is placed into the register
DDCTL. The registers DDTW and DDLEV hold parameters for detection (table 6).
Table 6DTMF Detector Parameters
Register# of BitsNameComment
DDTW15TWISTTwist for DTMF recognition
DDLEV6MINMinimum signal level to detect DTMF tones
Semiconductor Group2611.97
PSB 2168
Functional Description
2.1.3CNG Detector
The calling tone (C NG) detector c an detect the standard calling tone s of fax m achines
or modems. This helps to distinguish voice messages from data transfers. The result of
the detector is available in the status register that can be read via the serial control
interface (SCI) by the exte rnal con troller. The CNG d etector cons ists of tw o band-pas s
filters with fixed center frequency of 1100 Hz and 1300 Hz.
CNG Detector
I
1
1100 Hz 1300 Hz
SCI
Figure 11 CNG Detector - Block Diagram
Table 7 shows the available parameters.
Table 7CNG Detector Registers
Register# of BitsNameComment
CNGCTL1ENCNG detector enable
CNGCTL5I1Input signal selection
CNGLEV16MINMinimum signal level
CNGBT16TIMEMinimum time of signal burst
CNGRES16RESInput signal resolution
Both the programmed mini mum time and the mi nimum signal level m ust be exceeded
for a valid CNG tone. Furthermore the input signal resolution can be reduced by the RES
parameter. This can be useful in a noisy env ironment at low signal levels although the
accuracy of the detect ion decreases. As soo n as a valid tone is recognized, t he status
word of the PSB 2168 is updated. The status bits are defined as follows:
Table 8CNG Detector Result
Register# of BitsNameComment
STATUS1CNGFax/Modem calling tone detected
Semiconductor Group2711.97
PSB 2168
Functional Description
2.1.4Alert Tone Detector
The alert tone detector can detect the st andard alert tones (2130 Hz and 27 50 Hz) for
caller id protocols. The results of the detector are available in the status register and the
dedicated regist er ATDCTL 0 that c an be re ad via the ser ial cont rol int erface (SCI) by the
external controller.
I
1
Detector
SCI
Figure 12 Alert Tone Detector - Block Diagram
Table 9Alert Tone Detector Registers
Register# of BitsNameComment
ATDCTL01ENAlert Tone Detector Enable
ATDCTL05I1Input signal selection
ATDCTL11MDDetection of dual tones or single tones
ATDCTL11DEVMaximum deviation (0.5% or 1.1%)
ATDCTL18MINMinimum signal level to detect alert tones
Alert Tone
As soon as a valid alert tone is recognized, the status word of the PSB 2168 and the code
for the detected combination of alert tones are updated (table 10).
Table 10Alert Tone Detector Results
Register# of BitsNameComment
STATUS1ATVAlert tone detected
ATDCTL02ATCAlert tone code
Semiconductor Group2811.97
PSB 2168
Functional Description
2.1.5CPT Detector
The selected signal is monitored continuously for a call progress tone. The CPT detector
consists of a band-pass and an optional timing checker (figure 13).
Band-pass
1
300-640 Hz
SCI (Status)I
Timing
Checker
Figure 13 CPT Detector - Block Diagram
The CPT detector can be used in two modes: raw and cooked. In raw mode, the
occurrence of a signal within the frequency range, time and energy limits is directly
reported. The timing checker is bypassed and therefore the PSB 2168 does not interpret
the length or interval of the signal.
In cooked mode, the number and duration of signal bursts are interpre ted by the timing
checker. A signal burst f ollowed by a gap is called a cycle. Cooked mode req uires a
minimum of two cycles. The CPT flag is set with the first burst after the programmed
number of cycles has been detected. The CPT flag remains set until the unit is disabled,
even if the conditions are not met anymore. In this mode the CPT is modelled as a
sequence of identical bursts separated by gaps with identical length. The PSB 2168 can
be programmed to accept a range for bo th the burst and the gap. It is also poss ible to
specify a maximum aberration of two consecutive bursts and gaps. Figure 14 shows the
parameters for a single cycle (burst and gap).
t
Bmin
Bmax
t
Gmin
t
Gmax
t
Figure 14 CPT Detector - Cooked Mode
The status bit is defined as follows:
Semiconductor Group2911.97
PSB 2168
Functional Description
Table 11CPT Detector Result
Register# of BitsNameComment
STATUS1CPTCP tone currently detected [340 Hz; 640 Hz]
CPT is not affected by reading the status word. It is automatically reset when the unit is
disabled. Table 12 shows the control register for the CPT detector.
Table 12CPT Detector Registers
Register# of Bits NameComment
CPTCTL1ENUnit enable
CPTCTL1MDMode (cooked, raw)
CPTCTL5I1Input signal selection
CPTMN8MINBMinimum time of a signal burst (t
CPTMN8MINGMinimum time of a signal gap (t
Gmin
CPTMX8MAXBMaximum time of a signal burst (t
CPTMX8MAXGMaximum time of a signal gap (t
Bmin
Bmax
Gmax
)
)
)
)
CPTDT8DIFBMaximum difference between con secutive bursts
CPTDT8DIFGMaximum difference between consec uti ve gaps
CPTTR3NUMNumber of cycles (cooked mode), 0 (raw mode)
CPTTR8MINMinimum signal level to detect tones
CPTTR4SNMinimal signal-to-noise ratio
If any condition is violated during a sequen ce of c ycles t he timing checke r is reset and
restarts with the next valid burst.
Note: In cooked mode CPT is set with the first burst after the pro grammed number of
cycles has been detected.
Note: The number of cycles must be set to zero in raw mode.
Semiconductor Group3011.97
Loading...
+ 155 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.