![](http://datasheet.mmic.net.cn/Silicon-Laboratories-Inc/SI2401-FS_datasheet_102084/SI2401-FS_29.png)
Si2401
Rev. 1.0
29
5.5.1. Automatic Call Progress Detection
The Si2401 has the ability to detect dial, busy, and
ringback
tones automatically. The following is a
description
of
the
algorithms
that
have
been
implemented for these three tones.
Dial Tone
. The dial tone detector looks for a dial
tone after going off-hook and before dialing is
initiated. This can be bypassed by enabling blind
dialing (set S07[6] (BD) = 1b). After going off-hook,
the Si2401 waits the number of seconds in S01
(DW) before searching for the dial tone.
In order for a dial tone to be detected, it must be
present for the length of time programmed in S1C
(DTT). Once the dial tone is detected, dialing
commences. If a dial tone is not detected within the
time programmed in S02 (CW), the Si2401 hangs up
and echoes an “n” to the user.
Busy/Ringback Tone
. After dialing has completed,
the Si2401 monitors for Busy/Ringback and modem
answer tones. The busy and ringback tone detectors
both use the call progress energy detector. The
registers that set the cadence for busy and ringback
are listed in
Table 15. Si2401 register settings for
global cadences for busy and ringback tones are
5.5.2. Manual Call Progress Detection
Because other call progress tones beyond those
described above may exist, the Si2401 supports manual
call progress. This requires the host to read and write
the low-level DSP registers and may require real time
control by the host. Manual call progress may be
required for detection of application-specific ringback,
dial tone, and busy signals. The section on DSP low-
level control should be read before attempting manual
call progress detection.
The call progress biquad filters can be programmed to
have a custom frequency response and detection level
Four dedicated user-defined frequency detectors can
be programmed to search for individual tones. The four
detectors have center frequencies that can be set by
registers UDFD1–4 (see
Table 18). SE5[6] [TDET]
[SE8 = 0x02] Read Only Definition can be monitored,
along with TONE, to detect energy at these user-
defined frequencies. The default trip-threshold for
UDFD1–4 is –43 dBm but can be modified with the DSP
register, UDFSL.
By issuing the “ATDT;” command, the modem goes off-
hook and returns to command mode. The user can then
put the DSP into call progress monitoring by first setting
SE8 = 0x02. Next, set SE5 (DSP2) = 0x00 so that no
tones are transmitted, and set SE6 (DSP3) to the
appropriate code, depending on which types of tones
are to be detected.
At this point, users may program their own algorithm to
monitor the detected tones. If the host wishes to dial, it
should do so by blind dialing, setting the dial timeout
S01 (DW)
to
0
seconds,
and
issuing
an
“ATDT<Phone Number>;<CR>”
command.
This
immediately causes the ISOmodem chipset to dial and
return to command mode.
Once the host has detected an answer tone using
manual call progress, the host should immediately
execute the “ATDT” command in order to make a
connection. This causes the Si2401 to search for the
modem answer tone and begin the correct connect
sequence.
In manual call progress, the DSP can be programmed
to detect specific tones. The result of the detection is
reported in SE5 (SE8 = 0x2) as explained above. The
output is priority-encoded such that if multiple tones are
detected, the one with the highest priority whose
detection is also enabled is reported (see SE5 [SE8=02]
Read Only.)
In manual call progress, the DSP can be programmed
to generate specific tones (see SE5[2:0] (TONC)
(SE8 = 02)
Write
Only).
For
example,
setting
SE5[2:0] (TONC) = 110b generates the user-defined
tone (as indicated by UFRQ in
Table 18) with an
amplitude of TGNL.
Table 17 shows the mappings of Si2401 DTMF values,
keyboard equivalents, and the related dual tones.
Table 15. Busy and Ringback Cadence
Registers
Register Name
Function
Units
S16
BTON
Busy tone on time
10 ms
S17
BTOF
Busy tone off time
10 ms
S18
BTOD
Busy tone delta time
10 ms
S19
RTON
Ringback tone on time
53.333
ms
S1A
RTOF
Ringback tone off time
53.333
ms
S1B
RTOD Ringback tone delta time
53.333
ms