![](http://datasheet.mmic.net.cn/300000/KS16114_datasheet_16200449/KS16114_47.png)
KS16112/4
9600/14400 bps FAX MODEM
-
47
-
TONE GENERATION AND DETECTION
1 DTMF Dialing
The modem includes two programmable tone generators that can be used to perform dual tone multifre -
quency ( DTMF ) dialing. The amplitude and frequency of each tone generator are programmable by the host.
1.1 DTMF Requirements
The DTMF tones consist of two sinusoidal signals, one from the high group of frequencies and the other from
the low group of frequencies. The two groups of frequencies and the corresponding push button telephone
characters are shown in Table 3. Signal power is defined for the combined as well as for the individual
tones. The high frequency tone should be transmitted at approximately 2 dB higher power than the low fre -
quency tone. The maximum combined power should not exceed +1 dBm and the minimum steady state
power should not be less than -8 dBm. The required minimum DTMF pulse duration is 50ms, but approxi -
mately 95ms is recommended for better reliability. The required interval between DTMF pulses is 45 ms but
70 ms is preferred.
Table 3. DTMF Frequencies
Low Frequency Group
697 Hz
770 Hz
852 Hz
941 Hz
High Frequency Group
1209 Hz
1
4
7
*
1336 Hz
2
5
8
0
1477 Hz
3
6
9
#
1622 Hz
A
B
C
D
1.2 Setting DTMF Parameters
The amplitude and frequency of the two tones are set by the host in the DSP RAM. To generate a DTMF
tone the modem needs to be in the TONE configuration ( CONFIG = 80h ). The host must then program the
frequencies and levels of each tone. This procedure consists of writing a 16 - bit binary number into RAM
using RAM access code 21h with BRT
X
= 0 and CRAM
X
= 1 for tone 1 and RAM access code 22h with
BRT
X
= 0 and CRAM
X
= 1 for tone 2. The power levels are programmed by writing a 16 - bit binary number
into RAM using RAM access code 22h with BRT
X
= 0 and CRAM
X
= 0 for tone 1 and RAM access code 23h
with BRT
X
= 0 and CRAM
X
= 0 for tone 2. The hex numbers in these RAM location are scaled as follows :
Frequency Number = 6.8267
×
F ( where F is the desired frequency in Hz )
Power Number = 18426
[ 10 ( PO / 20 ) ]
( where P
O
is the desired power level in dBm )
The hexadecimal numbers for DTMF generation are listed in Table 4. Power levels are selected to give each
tone the desired output power while compensating for modem filter characteristics.