MX93011A
APPLICATION NOTE [K1 VERSION]
1
1.0 GENERAL DESCRIPTIONS
l MX93011A is an engine chip for digital answering machine (DAM).
l It provides functional modules, including speech compression/decompression, silence management,
telephone line signal processing, internal-ROM voice prompt, ARAM management, etc.
l By using this chip, users do not need external microprocessors and can effectively reduce the overall system
cost.
2.0 FEATURES
l High-quality (12.8kbps) speech compression/decompression algorithm for message recording/playback.
Recording time can be about 21.7 minutes in one 16M bits DRAM.
l Low (4.8kbps) compression rate with silence management technique for voice prompt making.
l Support total 127 messages, maximum 7 OGMs and maximum 8 personal mailboxes.
l Support internal/external voice prompt. On-chip maskable ROM space for voice prompt can store data of
about 50 seconds.
l DTMF generation and detection with near-end echo cancellation.
l DAM BIOS modes provide speech, timer and telephone signal service.
l Control code can be masked in, external µP is not required.
l Provide single low crystal solution (FLL).
l
Provide standard sample program for customer development.
Ver. 1.01 July 28, 1998
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
2
3.0 BLOCK DIAGRAM
3.1 FIRMWARE FUNCTIONAL BLOCK DIAGRAM
CALL DAM_BIOS
Control of :
- Keypad
- LED
- Security
- Telephone
- Timer
- Power
ARAM management
(message data)
Timer maintenance
Speech processing
Line signal processing
(remote control)
System Control CodeDAM BIOS and Algorithm
CONF
RESP
Program Code
Display
8.8.8.8
Key PadMX93011A
BIOS and Control
Codec
DAA
ARAM
Speaker
Microphone
Telephone Line
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
3
4.0 PIN CONFIGURATIONS
E
A
D
9
E
A
D
1
0
E
A
D
1
1
E
A
D
1
3
E
A
D
1
2
E
A
D
1
4
G
N
D
V
D
D
N
M
I
\
E
A
D
1
5
I
T
1
\
O
P
T
1
8
C
D
R
0
C
M
C
K
O
P
T
1
7
C
F
S
C
D
X
0
O
P
T
1
6
B
I
O
1
B
I
O
0
80
79
77
78
75
76
74
72
73
70
71
68
67
69
54
63
66
65
64
61
62
58
59
60
57
55
56
51
52
53
1
2
4
3
6
5
7
9
8
11
10
13
14
12
27
18
15
16
17
20
19
23
22
21
24
26
25
30
29
28
81
100
82
83
84
85
86
88
87
89
90
91
92
93
95
94
96
97
98
99
50
31
49
48
47
46
45
43
44
42
41
40
39
38
36
37
35
34
33
32
ED
10
ED
9
ED
8
ED
7
ED
4
ED
3
ED
6
ED
5
ED
2
ED
1
GN
D
VD
D
ED
0
HO
LD\
EP
CE\
ER
D\
HO
LDA\
ED
CE\
EW
R\
EA
D0
EA
D1
EA
D2
EA
D3
EA
D4
FL
LEN\
GN
D
EA
D5
EA
D6
EA
D7
EA
D8
OPT10
OPT9
OPT8
OPT7
OPT4
OPT3
OPT6
OPT5
OPT2
OPT1
OPT0
X32I
X32O
XF\
IPT5
IPT4
IPT7
IPT6
IPT3
IPT2
IPT1
IPT0
VDD
GND
BIO5
BIO4
BIO7
BIO6
BIO3
BIO2
E
D
1
1
E
D
1
2
E
D
1
3
G
N
D
V
D
D
E
D
1
4
E
D
1
5
X
1
/
V
D
D
C
A
S
\
X
2
/
G
N
D
D
R
D
\
D
W
R
\
R
A
S
\
O
P
T
1
4
O
P
T
1
5
R
S
T
\
E
R
O
M
O
P
T
1
3
O
P
T
1
1
O
P
T
1
2
M
X
9
3
0
1
1
A
-
K
1
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
4
5.0 PIN DESCRIPTIONS
POWER/CLOCK/CONTROL PINS :
SYMBOLPIN TYPE PIN NUMBER DESCRIPTION
VDD 23, 43, 69, 84 5V power source
GND 24, 44, 53, 70, 85 Ground
X1/VDD 88 32.256MHz crystal input/Connect to VDD in single low Xtal
mode
X2/GND 89 32.256MHz crystal output/Connect to GND in single low Xtal
mode
RST\ IS96 Power-on reset
XF\ OA14 External flag if UPMODX=1. This pin can be directly written
by one DSP instruction. Default inactive (5V output)
HOLD\ IS67 Hold DSP clock down and release bus
HOLDA\ OA/Z66 Ack to HOLD\ signal
EROMIS97 Disable internal ROM, use external ROM only
NMI\ IS41 Non-maskable interrupt pin
INT1\ IS40 Interrupt pin
X32O13 32.768KHz crystal output
X32I12 32.768KHz crystal input
FLLEN\ IS54 1 : Dual Xtal mode
0 : Single low Xtal mode
MEMORY INTERFACE PINS :
SYMBOLPIN TYPE PIN NUMBER DESCRIPTION
EAD0-EAD15 OA/Z61-55, 52-45, 42 DSP RAM/ROM external address bus. EAD0-EAD14 are also
for DRAM address.
ED0-ED15 IT/OA/ZR68, 71-83, 86-87 DSP RAM/ROM/DRAM external data bus. With soft latch
feed back current is 250 µA
EDCE\ OA/Z65 External data chip enable
EPCE\ OA/Z64 External program chip enable
ERD\ OA/Z63 SRAM/ROM external read
EWR\ OA/Z62 SRAM/ROM external write
CAS\ OA90 DRAM column address select
RAS\ OA93 DRAM row address select
DRD\ OA91 DRAM read
DWR\ OA92 DRAM write
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
5
CODEC INTERFACE PINS :
SYMBOLPIN TYPE PIN NUMBER DESCRIPTION
CFSOA35 Codec frame sync, 8KHz (9.6KHz). Output low in power down
mode.
CMCKOA36 Codec master clock, 1.536MHz. Output low in power down
CDX0OA34 Codec data transmit
CDR0IS38 Codec data receive
OPT : Output port
SYMBOLPIN TYPE PIN NUMBER DESCRIPTION
OPT0-OPT15 OB11-1, 100-98, 95,
94 Output to pin, all output values are registered and may be
read back when read by IN instruction.
OPT16-OA33, 37, 39 Output to pin, when UPMODX=1
NOTE UPMODX : µP mode select bit in CTLR register, 0 is its power on reset value.
BIO : Bi-direction port
SYMBOLPIN TYPE PIN NUMBER DESCRIPTION
BIO0-BIO7IT/OA32-25 Input/output port when UPMODX=1. Direction is controlled by
BIO8-BIO15 (see BIOR).
IPT : Input port
SYMBOLPIN TYPE PIN NUMBER DESCRIPTION
IPT4-IPT7IS18-15 Input port
IPT0-IPT3ISH22-19 Input port with internal pull high resistor (R=30K)
NOTE :
IT TTL level input
ISCMOS level schmidt trigger input (hysteresis : 2V3V)
ISHCMOS level schmidt trigger input with internal pull high resistor (30K)
OA8mA drive level output
OB16mA drive level output
Zhigh impedance state
ZRhigh impedance state with soft latch
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
6
PIN TYPE SUMMARY :
INPUT :CMOS level schmidt trigger input :
IPT7IPT4, CDR0, INT1\, NMI\, FLLEN\, HOLD\, RST\, EROM
CMOS level schmidt trigger input with internal pull high resistor :
IPT3IPT0
OUTPUT :8mA drive level output :
XF\, CDX0, CFS, CMCK, RAS\, CAS\, DRD\, DWR\, OPT18OPT16
8mA drive level output/high impedance state :
EAD15EAD0, HOLDA\, EPCE\, EDCE\, ERD\, EWR\
16mA drive level output :
OPT15OPT0
BI-DIRECTION :
CMOS level schmidt trigger input/8mA output :
BIO7BIO0
TTL level input/8mA output/high impedance state with soft latch :
ED15ED0
MULTIPLEX PINS :
PIN NUMBERPIN NAMEFLLEN\=1 (Dual xtal)PIN NAMEFLLEN\=0 (Single xtal)
88 X1 32.256MHz crystal inputVDD Power VDD
89 X2 32.256MHz crystal output GND Power ground
NOTE: FLLEN\ : pin 54
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
7
6.0 FUNCTIONAL DESCRIPTIONS
DAM BIOS
The MX93011A-K1 DAM BIOS provides DSP embedded functional modules, including speech compression and
decompression, telephone line signal processing, ROM voice prompt, ARAM management and time keeping.
DAM BIOS service is requested via a DAM_BIOS call with CONF (16 bits) parameter, and answered in RESP (16
bits) word.
DAM BIOS supports 13 modes of service and responds useful information about timing, ARAM utilization,
detected DTMF, etc. (see DAM BIOS format)
ARAM MANAGEMENT
The MX93011A-K1 BIOS uses ARAM as the storage device for message data. ARAM types supported by the
MX93011A-K1 BIOS are as follows :
1. 64K x 16
2. 128K x 8, 128K x 16
3. 256K x 4, 256K x 8, 256K x 16
4. 512K x 2, 512K x 4, 512K x 8, 512K x 16
5. 1M x 1, 1M x 2, 1M x 4, 1M x 8, 1M x 16
6. 2M x 1, 2M x 2, 2M x 4, 2M x 8, 2M x 16
7. 4M x 1, 4M x 2, 4M x 4, 4M x 8, 4M x 16
8. 8M x 1, 8M x 2, 8M x 4, 8M x 8, 8M x 16
ARAM specifications are :
1. ARAM access time is less than 120 ns.
2. ARAM refresh uses CAS-BEFORE-RAS mode.
3. ARAM is separated to 16384 clusters, clusters with failed bits will be regarded as bad clusters.
4. DC/AC characteristics are the same as those of standard DRAM.
5. Maximum input/output leakage current is 2 µA.
6. Maximum stand-by current is 2 mA.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
8
CONTROL CODE AND VOICE PROMPT CONFIGURATION
There are three configurations for customer development or production.
Configuration 1 :
In this configuration, the BIOS+ALGORITHM and control codes are all running in the external high-speed
EPROMs or SRAMs. MX93011A pin 97 (EROM) must set to high.
This configuration is mainly used in the development stage and the access time of high-speed EPROMs or SRAMs
must be less than 30 ns.
14K words
18K words
0000H
3800H
7FFFH
External high-speed EPROMs or SRAMs
BIOS+ALGORITHM code
(address 0000H - 37FFH)
control code and internal voice prompt
(address 3800H - 7FFFH)
0000H
8000H
FFFFH
External low-speed EPROMs
external voice prompt
data address 0800H - FFFFH
external voice prompt
program address 8000H - FFFFH
0800H
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
9
Configuration 2 :
In this configuration, the BIOS+ALGORITHM code is running in the MX93011A internal ROM and the control code
running in the external low-speed EPROMs. The MX93011A pin 97 (EROM) must be set to low.
This configuration can be used in the development stage or for production. The control code must start with two
words 1234H and 5678H.
14K words
0000H
3800H
7FFFH
DSP internal ROM
BIOS+ALGORITHM code
(address 0000H - 37FFH)
External low-speed EPROMs
0000H
E000H
FFFFH
external voice prompt
data address 0800H - FFFFH
external voice prompt
program address 8000H - DFFFH
0800H
max. 8K words
8000H
control code
(address E000H - FFFFH)
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
10
Configuration 3 :
In this configuration, the BIOS+ALGORITHM and control codes are all running in the MX93011A internal ROM.
The MX93011A pin 97 (EROM) must be set to low.
This configuration is used for production.
To set the voice prompt configuration, see DAM BIOS Mode 7.
14K words
18K words
0000H
3800H
7FFFH
DSP internal ROM
BIOS+ALGORITHM code
(address 0000H - 37FFH)
control code and internal voice prompt
(address 3800H - 7FFFH)
0000H
8000H
FFFFH
External low-speed EPROMs
external voice prompt
data address 0800H - FFFFH
external voice prompt
program address 8000H - FFFFH
0800H
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
11
MESSAGE RECORDING AND STORAGE
The MX93011A-K1 BIOS provides a high quality speech compression technique to permit over 20 minutes of
speech storage in each 16M bit of DRAM device.
The BIOS supports up to 127 variable length incoming and outgoing messages that are labeled as Msg ID 1 to 127.
Although ICM could range from Msg 1 to 127, Msg IDs 127 to 121 are the only places for outgoing messages
(OGM) storage so that the deletion and recovery of old OGM are easier to maintain. The Msg IDs of incoming
messages are labeled chronologically and rearranged automatically after recording or deleting. ICM with Msg ID 1
is the oldest recorded incoming message.
During recording, the MX93011A-K1 BIOS also monitors the telephone line signal to detect the presence of DTMF,
Call Progress Tone and Continuous Tone and responses to the control program. The control program can stop
recording, and delete the last n*400ms/200ms from the memory using a Record command with assigned Tail Cut
factor.
The MX93011A-K1 BIOS can generate a desired tone during recording voice message, which allows the
application such as two-way recording. During recording, Record Pause function is provided.
The recording voice signal, received through the CODEC input, is transmitted back to the CODEC output by the
MX93011A-K1 BIOS.
OUTGOING MESSAGE (OGM) RECORD
The MX93011A-K1 BIOS provides flexible recording ways for outgoing message. The control program can select
to delete the old OGM before a new one is recorded or to abort the new OGM record without losing the old OGM.
NEW/OLD MESSAGE
For the control program to manipulate incoming messages more handily, the MX93011A-K1 BIOS keeps an
internal record of the ICM to identify the new/old status of messages.
Before playback, the status of ICM is considered as new. All incoming messages that have been played could
change their status to old by issuing Real Del bit on Delete command. After Real Del is issued, all new/old ICM
Msg IDs will be rearranged. The functions, Play New or Delete All Old messages, are provided by the
MX93011A-K1 BIOS in the command set.
MESSAGE PLAYBACK
Random access for playback of any new message or message with specified Msg ID is supported by the
MX93011A-K1 BIOS. During playback, the MX93011A-K1 BIOS also monitors the telephone line signals, and Play
Pause function is provided. The MX93011A-K1 BIOS is able to fast-forward the playback of a recorded message,
and the playing speed will be up to 33 %.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
12
MESSAGE DELETION
The MX93011A-K1 BIOS provides two ways to delete recorded ICMs. One is the two-step method - the
combination of Del Mark and Real Del on Play and Delete command, and the other is the immediate method -
Delete command. The two-step method enables the control program to handle the deletion more flexibly, while the
immediate method deletes a specified message directly.
VOICE PROMPT
For high-quality voice prompt playback, the MX93011A-K1 BIOS utilizes the built-in speech decoder and an
internal ROM or/and external EPROM/ROM to store the vocabulary. The storage size of internal voice prompt is
about 13K words (minimum 44 seconds). The BIOS also supports up to a 62K-word external EPROM/ROM that
allows minimum 3.44 minutes of voice prompt storage. The combination of internal (lower part) and external
(upper part) voice prompt is allowed. The vocabulary supports up to 255 phrases. Given a phrase number in the
Voice Prompt command from the control program, the MX93011A-K1 BIOS outputs the corresponding utterances
to the Codec interface. The starting address of external voice prompt data could be located at data address 0800H,
or program address 8000H.
During playback of the voice prompt, the MX93011A-K1 BIOS monitors the telephone line signals.
TIME KEEPING
There is a timer clock in the MX93011A. The control program can issue Set Time and Get Time commands to get
time services. The clock also supports system to stamp time to the recorded incoming message.
PERSONAL MAIL
The MX93011A-K1 BIOS supports up to 8 mailboxes that may be used for personal mail application. Each mailbox
has its own ICM/MEMO Msg ID. Before recording, playing or deleting messages, the control program should set
the corresponding mailbox number first with Personal Mail command.
ENHANCED ARAM TEST
To overcome the ARAM data loss problem, the MX93011A-K1 BIOS provides a mechanism that allows the control
program to perform enhanced ARAM testing at its idle state. By using this mechanism, the un-used ARAM bits will
obtain the additional testing and thus more ARAM data loss bits can be detected and avoided to store data onto
them. In general, from our experimental data, it is suggested that the control program performs enhanced ARAM
testing every 30 60 seconds and stops this testing after total 5000 times.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
13
DTMF DETECTION
For remote control operation of the answering machine, the MX93011A-K1 BIOS monitors the incoming telephone
line signal to detect the presence of DTMF signal.
TONE GENERATION
Up to double tones can be generated by the MX93011A-K1 BIOS. The levels and frequencies are programmable
by the control program.
CALL PROGRESS TONE DETECTION
The MX93011A-K1 BIOS supports the detection of call progress tone within the band of 300 - 640 Hz for the
incoming telephone line signal. The tone detector is implemented with a bandpass filter. Indication of the presence
of call progress tone is responded to the control program, and could be used to terminate recording.
NEAR END ECHO CANCELLATION
The MX93011A-K1 BIOS implements a near end echo canceller in software to enhance the detection of DTMF and
Call Progress Tone during Playback and Voice Prompt mode.
VOX DETECTION (DIGITAL VOICE ACTIVATED RECORDING)
The speech detection is implemented in the DAM BIOS to indicate whether the recording signal level is above the
Vox threshold. If the control program sets the Vox Record bit on Initial command, the recording of the speech
would start when the voice activity is detected. The control program has to set Vox threshold by issuing command
mode 12. Hexadecimal numbers for Vox threshold are listed in Table 6.
QUERY AND REPORT
The MX93011A-K1 BIOS is capable of reporting to the control program about the query of the current status, such
as the number of recorded messages, the number of new messages, the number of old messages, the available
recording time of ARAM, the time of recorded message, and the ARAM good/bad check.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
14
POWER DOWN
With the power of backup batteries, the MX93011A is capable of keeping messages and data stored in the ARAM
during power failure. In power down mode, the MX93011A will run at a lower clock rate to reduce power
consumption and keep refreshing the ARAM.
CRYSTAL CONNECTION
The MX93011A allows two ways of crystal connections :
1. Dual-crystal solution : use both high crystal (32.256 MHz) and low crystal (32768 Hz). To enable this mode, the
FLLEN\ (54) pin must be connected to VDD. In this mode, the MX93011A high clock is generated from the high
crystal directly and the low crystal is mainly used in power down mode.
2. Single-crystal (FLL, Frequency-Locked-Loop) solution : use only low crystal (32768 Hz). To enable this mode,
the FLLEN\ (54) pin and X2 (89) pin must be connected to ground and the X1 (88) pin to VDD. In this mode, the
low crystal is to generate all the MX93011A system clocks and the high crystal can be saved to reduce the
overall system cost.
7.0 OPERATIONAL DESCRIPTIONS
INITIAL PROCEDURE
When the system is powered up, the RST\ pulse will make the MX93011A to run programs from address 0. After
doing check sum of internal ROM codes and setting some initial values, control will be transferred to the customer
program.
INTERNAL RAM
The MX93011A has internal RAM 2048 words. But only address 0 to 127 (in data page 0, total 128 locations) are
allocated for customer program usage. Other locations are reserved for the DAM BIOS and algorithm programs.
ROM
The MX93011A can support ROM space up to 64K words and there are 32K words in the internal ROM. The first
14K words of internal ROM are used by the DAM BIOS and algorithm programs. The other 18K words are reserved
for the customer program and voice prompt.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
15
INTERRUPT
The MX93011A supports interrupts such as NMI, Single Step, Interrupt 1, Codec Interrupt, System Timer Interrupt
and Trap Vector. All interrupts have entry points in the customer program and end up with RET instructions. In
general cases, only System Timer Interrupt and Interrupt 1 require the customer maintenance.
POWER LOW
There are two solutions to save power consumption when power low happens :
Software hold mode :
The control program can enter Software Hold Mode by setting bit 10 of CTLR register (I/O register 7) to 1. When
enabling Software Hold Mode, the MX93011A will halt until it is awaked by an interrupt.
Power down mode :
In this mode, the high crystal (32.256 MHz, if existed) will be disabled and the low crystal (32768 Hz) is used as the
chip clock source. The control program can enter Power Down Mode by setting bit 11 of CTLR register to 1. At the
same time, bit 3 of CTLR register must also be cleared to use the low crystal as the system timer source. When
enabling Power Down Mode, the system timer tick will be 1/32 second. To leave Power Down Mode, the steps are,
1. Clear bit 11 of CTLR register to 0, then
2. Wait until bit 5 of CTLR register changes to 0. (the high clock re-oscillates completely)
3. Finally, if using dual-crystal solution, set bit 3 of CTLR register to 1 to use the high crystal as the system timer
source.
8.0 MODES OF OPERATION
The MX93011A-K1 BIOS supports 13 modes of operation, that are listed as follows :
B
I
O
S
M
o
d
e
M
o
d
e
N
a
m
e
1
R
e
c
o
r
d
2Play
3Message Status
4DTMF Generator
5 Line Monitor
6Delete Message
7Set Current Time/Voice Prompt/Silence
8Get Current Time
9Initial and Test Memory
10 Get Record Message Information
11 Voice Prompt
12 Voice Activity
13 Personal Mail
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
16
RECORD
When Record command is received from the control program, the MX93011A-K1 BIOS performs speech
compression, stores the message into ARAM, and monitors telephone line. If the Vox Record bit had been set to 1
on Initial and Test Memory command, recording of the speech will start upon the voice activity detected, else the
MX93011A-K1 BIOS starts recording immediately after Record command is received.
Clearing Marked Record (bit 8-10) to 0, if it is recording ICM. When recording OGM, the control program should set
Marked Record (bit 8-10) to desired number other than 0 as OGM ID.
Setting bit 5 (Annc Del) to 1 on Initial and Test Memory command, the control program can choose to delete the old
OGM before a new one is recorded. If that bit is cleared to 0, the new OGM recording can be aborted without losing
the old OGM by issuing Mark Fail (bit 11) on Record command.
During recording, the control program can pause the recording by setting Pause (bit 7) to 1 and resume recording
by clearing that bit. Line monitoring will continue during pause.
The control program can stop recording by setting Stop (bit 6) to 1, and delete the last n*400ms/200ms from the
memory by using a Record command with assigned Tail Cut factor (bit 0-5).
While system memory is full, MX93011A-K1 BIOS will stop message recording, show the status in response word
(bit 7, Mfull).
During Record mode, the control program can instruct the MX93011A-K1 BIOS to generate a tone by issuing the
DTMF Generator command. Setting Stop bit on DTMF Generator command will stop tone generating.
The MX93011A-K1 BIOS will terminate Record mode when Stop bit on Record command is set to 1.
Note : The MX93011A-K1 BIOS supports up to 127 incoming and outgoing messages recording which are labeled
as Msg ID 1-127. The Msg IDs of incoming message are labeled chronologically and rearranged automatically
after recording. Although ICM could range from Msg ID 1 to 127, Msg IDs 127 to 121 are the only places for
outgoing message storage. So, it is strongly suggested that the control program should keep an upper bound of the
number of ICM. (For example, upper bound of ICM = 127 - maximum OGM number that will be applied in users
specification.)
PLAY
When Play command is received from the control program, the MX93011A-K1 BIOS performs message playback
and line monitoring. The Msg ID (bit 0-6) is set by the control program to specify which message to play. To
playback new message (non-played one), set Play New (bit 10) to 1, then the MX93011A-K1 BIOS will search to
play the non-played message with specified Msg ID. During playing, the control program can pause playback by
setting Pause (bit 8) to 1 and resume playing from the same point by clearing that bit. Line monitoring will continue
during pause. To fast playback a recorded message, set Fast Play (bit 11) to 1 and the playing speed will be up to
33%.
To delete and stop the playing message, the control program can set Del Mark (bit 7) on Play command. After
being tagged a Del Mark, the marked message is not really deleted until a Real Del (Delete Message mode bit 8)
is set. The Real Del command not only deletes the messages that have been tagged a Del Mark but also changes
the status of those ICMs that have been played to old. The ICMs that have not been played before are regarded as
new. After Real Del is issued, all new/old ICM Msg IDs will be rearranged.
For the control program, it is used to issue the Real Del after the user terminates the manner of playback.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
17
The response word contains the information of tones detected from the line, playing time spent (bit 8-15) and End
of play flag (bit 6), which indicates the end of the current message. When the Play End bit is 1, the MX93011A-K1
BIOS stops playback.
The MX93011A-K1 BIOS will terminate Play mode when Stop bit or Del Mark bit is set to 1 on Play command.
MESSAGE STATUS
In this mode, there are 6 request codes for the control program to get message information :
1. Get the number of personal recorded messages (request code=0)
2. Get the number of personal new messages (request code=1)
3. Get the number of personal old messages (request code=2)
4. Get the available recording time with unit of second (request code=3)
5. Get the DAM BIOS version (request code=4)
6. Get the number of total recorded messages (request code=8)
The result will be reported in the response word.
DTMF GENERATOR
In this mode, up to double tones can be generated by the MX93011A-K1 BIOS. The tone levels and frequencies
are programmable and controlled by the control program. The DTMF Generator command defines the output gains
in bit 0-3 for the 1st tone, and bit 4-7 for the 2nd tone. Each tone can be programmed from 3 dB (gain code 0000)
to -25 dB (gain code 1110) with 2 dB resolution. The frequencies are defined in the variables BUF1 and BUF2 with
the following relationship :
frequency code = desired frequency (Hz) * 8.192
f(n) = 32767 * cos (2*pi*f_code*n/(8000*8.192))
where f_code is the input frequency code, n is sequence index and 8000 is the sampling rate
For single tone, Codec outputs the signal s(n) :
s(n) = gain * f(n)
For dual tone, Codec outputs the signal s(n) :
s(n) = 0.5 * (gain1*f1(n) + gain2*f2(n))
To generate a single tone, the gain code of the other tone should be set to 1111. MX93011A-K1 BIOS starts tone
generation only after receiving the start command.
The MX93011A-K1 BIOS will terminate DTMF Generator when Stop bit is set to 1 on DTMF Generator command.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
18
LINE MONITOR
In this mode the MX93011A-K1 BIOS monitors the telephone line signal for the detection of DTMF, Call Progress
Tone, Vox, and/or Continuous Tone. The MX93011A-K1 BIOS keeps monitoring the line until Stop bit is set to 1.
The MX93011A-K1 BIOS returns to the control program a response word that reflects the flag of Call Progress
Tone, Vox, Continuous Tone and the index of DTMF signal that has been detected :
I
N
D
E
X
D
T
M
F
C
O
D
E
0
0
0
0
N
o
T
o
n
e
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 *
1011 0
1100 #
The MX93011A-K1 BIOS will terminate Line Monitor mode when Stop bit is set to 1 on Line Monitor command.
DELETE MESSAGE
This mode provides an immediate way to delete or un-delete messages as follows :
1. To delete a specified message, set its Msg ID in bit 0-6 and clear bit 11, 10 and 7 to zero.
2. To delete a specified new ICM, set Del New Msg (bit 10) to 1, give the New Msg ID in bit 0-6, clear bit 11, 7 to
zero.
3. To delete all old ICM, set Del All Old (bit 7) to 1 and clear bit 11, 10 to zero. (Bit 0-6 is ignored)
4. To erase the Del Mark from a specified ICM (“Del Mark is a tag set on Play command for deletion), set Del
Mark Clr (bit 11) to 1, give the Msg ID in bit 0-6 and clear bit 7 to zero.
SET CURRENT TIME/VOICE PROMPT/SILENCE THRESHOLD
In this mode the control program can set the current time to the timer clock of the MX93011A. The time information
includes second, minute, hour and week. The timer in the MX93011A will be used to stamp time and data to the
recorded message.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
19
1. To set second, put the data in bit 0-7 and use request code (bit 8-11) 0000.
2. To set minute, put the data in bit 0-7 and use request code (bit 8-11) 0001.
3. To set hour, put the data in bit 0-7 and use request code (bit 8-11) 0010.
4. To set week, put the data in bit 0-7 and use request Codec (bit 8-11) 0011.
5. To set voice prompt configuration, put the selection data in bit 0-1 and use request code (bit 8-11) 0110.
6. To set silence threshold level, put the data in bit 0-3 and use request code (bit 8-11) 0111.
GET CURRENT TIME
In this mode the control program can get the current time from the timer clock of the MX93011A. The time
information includes second, minute, hour and week.
1. To get second, use request code (bit 8-11) 0000.
2. To get minute, use request code (bit 8-11) 0001.
3. To get hour, use request code (bit 8-11) 0010.
4. To get week, use request code (bit 8-11) 0011.
The requested data will be reported in the response word.
INITIAL AND TEST MEMORY
In this mode there are 9 functions for the control program to define :
1. ARAM Initialization
The control program can initialize the ARAM by setting Init ARAM (bit 0) to 1. At the same time, the initialization
procedure can be set to normal (around 89 sec. for 1Mx16 ARAM) or fast (around 17 sec. for 1Mx16 ARAM) by
setting Fast ARAM Test (bit 2) to 0 or 1. This function is normally used after first power-up of the system. The
control program must send this command to the MX93011A-K1 BIOS in order to format ARAM. The MX93011A-
K1 BIOS performs ARAM formatting to determine the ARAM size (address space and bit width) and detect the
good/bad memory unit of ARAM. The response word reported to the control program contains the information of
ARAM bit size (bit 0-3), ARAM address size (bit 4-7), ARAM good/bad status (bit 8) and ARAM good rate (bit 9-15).
If the examination in the initialization shows that the ARAM quality meets the pre-defined specification, the
MX93011A-K1 BIOS responses 1 in ARAM good/bad status bit. After initialization, all messages in the ARAM are
lost.
2. ARAM Good/Bad Check
The MX93011A-K1 BIOS allows the control program to check the status of ARAM by setting the ARAM Check (bit
1) on this command. By checking the sum of ARAM management table, the MX93011A-K1 BIOS can identify the
current ARAM status to be good or bad.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
20
3. Line On/Off
The control program should set Line On/Off (bit 3) to 1 if the system is logged in from telephone line, and clear that
bit to 0 if in local keypad operation. Failing to set this bit properly will degrade the performance of echo
cancellation.
4. Vox On/Off Record
If the control program turns on the Vox Record function (by setting bit 4 to 1) on this command, speech recording
will start upon the voice activity detected, else recording will start immediately after Record command is issued.
5. OGM Deletion
By setting bit 5 (Annc Del) to 1 on this command, the control program can choose to delete the old OGM before
recording a new one. If that bit is cleared to 0, the old OGM is not deleted until the new OGM recording is
completed. With this option, the new OGM recording can be aborted without losing the old OGM by issuing Mark
Fail (bit 11) on Record command.
6. New/Old Select
By setting New/Old Select (bit 6), the control program can decide which condition a new message will be changed
to an old one. There are two options. When this bit is set to 1, the new message that has been played (even not
played end) is regarded as an old message. If this bit is cleared to 0, the new message that has been played end is
regarded as an old one.
7. Tail Cut Unit
By setting Tail Cut Unit (bit 7) to 1, the control program can choose the tail cut unit length to be 200 ms. If this bit is
cleared to 0, the unit length is 400 ms.
8. Old Mark Set
By setting Old Mark Set (bit 8) to 1, the control program can disable that new messages change to be old ones
even though they have been played (end). If this bit is cleared to 0, new to old change will be enabled and the
change criterion is according to the setting of New/Old Select bit (bit 6).
9. Enhanced ARAM Test
By setting Enhan ARAM Test (bit 11) to 1, the control program can perform extra testing on the ARAM un-used
region. With doing this, more ARAM data loss bits can be detected and avoided to store data onto them.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
21
GET RECORD MESSAGE INFORMATION
In this mode, there are 10 request codes for the control program to get the related information about a specified
message.
Given the Msg ID (bit 0-6) and New Msg flag (bit 7), the MX93011A-K1 BIOS can provide message recording time,
recording length, attribute and Del Mark status according to the Request Code (bit 8-11) as follows :
1. Get the recording time - second. (Request Code = 0000)
2. Get the recording time - minute. (Request Code = 0001)
3. Get the recording time - hour. (Request Code = 0010)
4. Get the recording time - week. (Request Code = 0011)
5. Get the recording length (sec.). (Request Code = 0100)
6. Get the timer status. (Request Code = 0101). The response word is 1 if the MX93011A timer has been set
before with Set Current Time command. Otherwise, the response word is 0.
7. Get the message ICM/MEMO attribute. (Request code = 0110). To show the specified message is of MEMO
type (response word=1) or ICM type (response word=0).
8. Get the Del Mark status (Request Code = 0111). To check if the specified message has been tagged a Del
Mark (response word=1) or not (response word=0).
9. Get the message new/old status. (Request Code = 1000). To check if the specified message has been tagged
an Old Mark (response word=1) or not (response word=0). A new message will be tagged an Old Mark when it
has been played/played end and changes to old messages as Real Del command is issued.
10. Get the OGM existing status (Request Code = 1111). To check if the specified OGM exists (response word=1)
or not (response word=0). Msg ID could only range from 127 to 121.
All the results are reported in the response word.
VOICE PROMPT
In this mode the MX93011A-K1 BIOS plays back a speech segment that the corresponding phrase number is given
in command bit 0-7. Up to 255 speech segments, previously stored in voice prompt ROM, are provided by the
MX93011A-K1 BIOS and pronounced using the speech decompression algorithm. The control program can pause
the playback by setting Pause (bit 8) to 1 or resume from pause by clearing Pause bit to 0. Fast forward playback of
voice prompt is also provided by setting Fast Play (bit 11) to 1. During Voice Prompt mode, the MX93011A-K1
BIOS keeps monitoring the line signal and sends the results in response word to the control program.
The MX93011A-K1 BIOS will terminate Voice Prompt mode when Stop bit is set to 1 on Voice Prompt command.
VOICE ACTIVITY
In this mode the control program can set the VOX threshold in bit 0-11. The hexadecimal numbers for VOX level
are listed in Table 6.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
22
PERSONAL MAIL
Five functions are provided in this command as follows :
1. Set the personal mailbox number
In this mode the control program can select one out of eight mailboxes (setting in bit 0-2) for recording messages,
playing recorded messages and retrieving message time. Each mailbox manages it own messages and Msg IDs.
Make sure to set the desired mailbox before issuing the message related commands such as Record, Play, Delete
Message and Get Record Message Information.
2. Set the recording message attribute
Before recording a message, the control program can set the attribute of that message to be MEMO or ICM. Clear
bit 3 to zero for recording a message as an ICM or set bit 3 to one for recording a message as a MEMO.
3. Set the digital loop back control
The control program can enable or disable the MX93011A digital loop back path in Record or Line Monitor
operation. By setting Loop Back bit to 1, the loop back path is disabled and the signal received from the Codec
input will not be transmitted back to the Codec output. When this bit is cleared to 0, loop back is enabled and the
received signal will be transmitted back to the Codec output. The default status is the later.
4. Set the output level
The control program can set the level difference between the output (playback) speech and the corresponding
input (recorded-in) speech. By setting the Output Level bit to 1, the output speech level is equal to the input speech
level, and clearing this bit to 0, the output speech level is about 5dB less than the input speech level. The default
status is the later.
5. Set the Codec data format
The control program can select one of two Codec data formats by setting the Codec Format bit. When Codec
Format is cleared to 0, 8-bit µ-law data format is selected, and set to 1, 16-bit linear data format is enabled. At
present, the MX93000 Codec family provide both µ-law and linear formats, and the later is suggested because of
the better speech quality. The default format is 8-bit µ-law.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
23
9.0 DAM BIOS SERVICE FORMAT AND PROTOCAL
Mode 1. RECORD MODE
(
1
5
-
1
2
)
(
1
1
)
(
1
0
-
8
)
(
7
)
(
6
)
(
5
-
0
)
C
O
N
F
0
0
0
1
M
A
R
K
F
A
I
L
M
A
R
K
E
D
R
E
C
O
R
D
P
A
U
S
E
S
T
O
P
T
A
I
L
C
U
T
TAIL CUT : 0 63 units. One unit length can be 400ms or 200ms (set by BIOS Mode 9).
STOP = 1 : stop recording.
PAUSE = 0 : continue recording.
= 1 : pause recording.
MARKED RECORD = 000 : record a general message.
= 001 : record OGM1 and store it in message 127.
= 010 : record OGM2 and store it in message 126.
= 011 : record OGM3 and store it in message 125.
= 100 : record OGM4 and store it in message 124.
= 101 : record OGM5 and store it in message 123.
= 110 : record OGM6 and store it in message 122.
= 111 : record OGM7 and store it in message 121.
MARK FAIL =1 : give up and stop recording of the new OGMx and recover the original OGMx.
If BIOS Mode 9 ANNC DEL=1, this bit will be ignored.
When MARKED RECORD=000, do not set this bit.
(
1
5
-
8
)
(
7
)
(
6
)
(
5
)
(
4
)
(
3
-
0
)
R
E
S
P
R
E
C
O
R
D
T
I
M
E
(
s
e
c
)
M
F
U
L
L
V
O
X
T
O
N
E
C
O
N
T
T
O
N
E
D
T
M
F
DTMF : the detected DTMF value during recording.
CONT TONE = 1 : continuous tone is found.
TONE = 1 : call progress tone is found.
VOX = 1 : the input speech power level is under the VOX LEVEL (set by BIOS Mode
12).
MFULL = 1 : ARAM is full and no further recording is possible. In this case, one more
STOP command is needed to completely stop the recording action.
RECORD TIME : recording time until now, 0 239 sec.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
24
DTMF Reference Table
i
n
d
e
x
D
T
M
F
C
O
D
E
0
0
0
0
N
O
T
O
N
E
0
0
0
1
1
0
0
1
0
2
0
0
1
1
3
1
0
0
0
4
0
1
0
1
5
0
1
1
0
6
0
1
1
1
7
1
0
0
0
8
1
0
0
1
9
1
0
1
0
*
1
0
1
1
0
1
1
0
0
#
Mode 2. PLAY MODE
(
1
5
-
1
2
)
(
1
1
)
(
1
0
)
(
9
)
(
8
)
(
7
)
(
6
-
0
)
C
O
N
F
0
0
1
0
F
A
S
T
P
L
A
Y
P
L
A
Y
N
E
W
S
T
O
P
P
A
U
S
E
D
E
L
M
A
R
K
M
S
G
I
D
MSG ID : 1 127 can be assigned for playing.
DEL MARK = 1 : stop playing and mark the current message with a Del Mark. This message
will not be deleted until the BIOS Mode 6 (REAL DEL) command is done.
PAUSE = 0 : continue playing.
= 1 : pause playing.
STOP = 1 : stop playing.
PLAY NEW= 0 : the MSG ID is related to total messages.
= 1 : the MSG ID is related to new messages.
FAST PLAY = 0 : normal play speed.
= 1 : play speed will be up to 33%.
(
1
5
-
8
)
(
7
)
(
6
)
(
5
)
(
4
)
(
3
-
0
)
R
E
S
P
P
L
A
Y
T
I
M
E
(
s
e
c
)
0
P
L
A
Y
E
N
D
T
O
N
E
0
D
T
M
F
DTMF and TONE : see RECORD MODE.
PLAY END = 1 : the current message is played end.
PLAY TIME : playing time until now, 0 239 sec.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
25
Mode 3. MESSAGE STATUS MODE
(
1
5
-
1
2
)
(
1
1
-
4
)
(
3
-
0
)
C
O
N
F
0
0
1
1
0
0
0
0
0
0
0
0
R
E
Q
U
E
S
T
C
O
D
E
(
1
5
-
0
)
R
E
S
P
D
A
T
A
REQUEST CODE:
R
E
Q
U
E
S
T
C
O
D
E
S
T
A
T
U
S
D
A
T
A
0
0
0
0
n
u
m
b
e
r
o
f
p
e
r
s
o
n
a
l
t
o
t
a
l
m
e
s
s
a
g
e
s
0
1
2
7
0001 number of personal new messages0 127
0010 number of personal old messages0 127
0011 available time 0 65535
0100 BIOS version 1A07H
1000 number of total messages0 127
Mode 4. DTMF GENERATOR MODE
(
1
5
-
1
2
)
(
1
1
)
(
1
0
)
(
9
-
8
)
(
7
-
4
)
(
3
-
0
)
C
O
N
F
0
1
0
0
S
T
A
R
T
S
T
O
P
0
0
G
A
I
N
2
G
A
I
N
1
GAIN1, GAIN2 : 0 14 denote 3dB -25dB (2dB/one step), 15 denotes no related signal.
STOP = 1 : stop the DTMF generation.
START = 1 : start the DTMF generation. When this bit is set, GAIN1 and GAIN2 must be
also set and Frequency 1 is put in BUF1 (data address 7) and Frequency 2
in BUF2 (data address 8). 16-bit Frequency = target frequency * 8.192
Note : For single-tone signals (GAIN1=15 or GAIN2=15), the output level is according to GAIN1 or
GAIN2. But for dual-tone signals, the output level is equal to half of sum of two individual signals.
Doing this can avoid saturation of output signals.
(
1
5
-
0
)
R
E
S
P
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
26
Mode 5. LINE MONITOR MODE
(
1
5
-
1
2
)
(
1
1
-
1
)
(
0
)
C
O
N
F
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
S
T
O
P
STOP= 0 : start and continue the line monitor mode.
= 1 : stop the line monitor mode.
(
1
5
-
7
)
(
6
)
(
5
)
(
4
)
(
3
-
0
)
R
E
S
P
0
0
0
0
0
0
0
0
0
V
O
X
T
O
N
E
C
O
N
T
T
O
N
E
D
T
M
F
DTMF, CONT TONE, TONE and VOX : see RECORD MODE.
Mode 6. DELETE MESSAGE MODE
(
1
5
-
1
2
)
(
1
1
)
(
1
0
)
(
9
)
(
8
)
(
7
)
(
6
-
0
)
C
O
N
F
0
1
1
0
D
E
L
M
A
R
K
C
L
R
D
E
L
N
E
W
M
S
G
0
R
E
A
L
D
E
L
D
E
L
A
L
L
O
L
D
M
S
G
I
D
MSG ID : 1 127.
DEL ALL OLD = 1 : delete all old messages. (in this case, the MSG ID field is ignored)
REAL DEL = 1 : delete the messages that have Del Mark and change the new messages
that have been played to be old messages. (in this case, the MSG ID filed is
ignored)
DEL NEW MSG= 0 : the MSG ID is related to total messages.
= 1 : the MSG ID is related to new messages.
DEL MARK CLR = 1 : clear the message Del Mark (set by BIOS Mode 2 DEL MARK = 1).
(
1
5
-
1
2
)
(
1
1
-
0
)
R
E
S
P
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
27
Mode 7. SET CURRENT TIME/VOICE PROMPT/SILENCE THRESHOLD MODE
(
1
5
-
1
2
)
(
1
1
-
8
)
(
7
-
0
)
C
O
N
F
0
1
1
1
R
E
Q
U
E
S
T
C
O
D
E
D
A
T
A
(
1
5
-
1
2
)
(
1
1
-
0
)
R
E
S
P
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
REQUEST CODE:
T
I
M
E
R
E
Q
U
E
S
T
C
O
D
E
D
A
T
A
S
E
C
O
N
D
0
0
0
0
0
5
9
MINUTE0001 0 59
HOUR 0010 0 23
WEEK 0011 0 6
Request Code=0110 (set voice prompt configuration),
(
1
5
-
1
2
)
(
1
1
-
8
)
(
7
-
2
)
(
1
)
(
0
)
C
O
N
F
0
1
1
1
0
1
1
0
0
0
0
0
0
0
E
V
O
P
S
E
L
E
C
T
I
V
O
P
S
E
L
E
C
T
IVOP SELECT (internal voice prompt setting),
= 0 : internal voice prompt not selected.
= 1 : internal voice prompt selected and test.
EVOP SELECT (external voice prompt setting),
= 0 : external voice prompt not selected.
= 1 : external voice prompt selected and test.
(
1
5
-
4
)
(
3
)
(
2
)
(
1
)
(
0
)
R
E
S
P
0
0
0
0
0
0
0
0
0
0
0
0
E
V
O
P
U
N
I
T
E
V
O
P
A
D
D
R
E
V
O
P
S
T
A
T
U
S
I
V
O
P
S
T
A
T
U
S
IVOP STATUS (internal voice prompt test status),= 0 : test fail;= 1 : test OK.
EVOP STATUS (external voice prompt test status),= 0 : test fail;= 1 : test OK.
(when EVOP STATUS = 1),
EVOP ADDR = 0 : external voice prompt at data space 0800H.
= 1 : external voice prompt at program space 8000H.
EVOP UNIT= 0 : external voice prompt in byte unit.
= 1 : external voice prompt in word unit.
Request Code=0111 (set silence threshold level - used by the silence management algorithm),
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
28
(
1
5
-
1
2
)
(
1
1
-
8
)
(
7
-
4
)
(
3
-
0
)
C
O
N
F
0
1
1
1
0
1
1
1
0
0
0
0
S
I
L
E
N
C
E
L
E
V
E
L
SILENCE LEVEL : 0 15, the larger the level is, the more speech will be recognized as silence.
0 denotes no silence management.
Please refer to Table 7 for Silence Threshold Level.
(
1
5
-
0
)
R
E
S
P
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Mode 8. GET CURRENT TIME MODE
(
1
5
-
1
2
)
(
1
1
-
8
)
(
7
-
0
)
C
O
N
F
1
0
0
0
R
E
Q
U
E
S
T
C
O
D
E
0
0
0
0
0
0
0
0
(
1
5
-
0
)
R
E
S
P
D
A
T
A
REQUEST CODE, 0000 0011 : see BIOS Mode 7.
Mode 9. INITIAL AND TEST MEMORY MODE
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
29
(
1
5
-
1
2
)
(
1
1
)
(
1
0
-
9
)
(
8
)
(7
)
(
6
)
(
5
)
(
4
)
(3
)
(
2
)
(
1
)
(
0
)
C
O
N
F
1
0
0
1
ENHAN
ARAM
TEST
0
0
OLD
MARK
SET
TAIL
CUT
UNIT
NEW/
OLD
SELECT
ANNC
DEL
VOX
ON/OFF
RECORD
LINE
ON/
OFF
FAST
ARAM
TEST
ARAM
CHECK
INIT
ARAM
INIT ARAM = 1 : initialize the ARAM. The information of ARAM type and ARAM good rate
will be responded in RESP.
ARAM CHECK = 1 : check the ARAM good/bad. The check result is put on bit 8 of RESP.
FAST ARAM TEST (must be used with INIT ARAM),
= 0 : normal ARAM initialization.
= 1 : fast ARAM initialization.
LINE ON/OFF = 0 : not in remote line operation.
= 1 : in remote line operation.
VOX ON/OFF RECORD,
= 0 : record the starting silence.
= 1 : not record the starting silence which power level is under VOX LEVEL.
ANNC DEL= 0 : delete the old OGMx after the new OGMx is recorded.
= 1 : delete the old OGMx before the new OGMx is recorded.
NEW/OLD SELECT (set the judgment point of message new/old attributes),
= 0 : one message that had been played end is taken as an old message.
= 1 : one message that has been played (even not played end) is taken as an old
message.
TAIL CUT UNIT (set the tail cut unit),
= 0 : the tail cut unit is 400 ms.
= 1 : the tail cut unit is 200 ms.
OLD MARK SET,= 0 : enable setting old mark.
= 1 : disable setting old mark. New messages will not change to be old even they
have been played (end). In this case, NEW/OLD SELECT will be ignored.
ENHAN ARAM TEST = 1 : do enhanced ARAM good/bad testing.
(
1
5
-
9
)
(
8
)
(
7
-
4
)
(
3
-
0
)
R
E
S
P
A
R
A
M
G
O
O
D
R
A
T
E
A
R
A
M
G
/
B
A
R
A
M
A
D
D
R
S
I
Z
E
A
R
A
M
B
I
T
S
I
Z
E
ARAM BIT SIZE : the detected ARAM data bit number in one address access.
ARAM ADDR SIZE : the detected ARAM address space.
ARAM G/B (a conclusion of ARAM initialization or checking),
= 0 : ARAM is bad.
= 1 : ARAM is good.
ARAM GOOD RATE : 0 100 %. It is significant when ARAM G/B = 1.
C
O
D
E
A
R
A
M
A
D
D
R
S
I
Z
E
C
O
D
E
A
R
A
M
B
I
T
S
I
Z
E
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
30
0000 00 M0000 00
0001 64 K0001 1
0010 128 K0010 2
0011 256 K0100 4
0100 512 K1000 8
0101 1M1111 16
0110 2M
0111 4 M
1000 8 M
1001 16 M
Mode 10. GET RECORD MESSAGE INFORMATION MODE
(
1
5
-
1
2
)
(
1
1
-
8
)
(
7
)
(
6
-
0
)
C
O
N
F
1
0
1
0
R
E
Q
U
E
S
T
C
O
D
E
N
E
W
M
S
G
M
S
G
I
D
MSG ID : 1 127.
NEW MSG := 0 : the MSG ID is related to total messages.
= 1 : the MSG ID is related to new messages.
I
N
F
O
R
M
A
T
I
O
N
R
E
Q
U
E
S
T
C
O
D
E
D
A
T
A
S
E
C
O
N
D
0
0
0
0
0
0
3
B
H
MINUTE0001 00 3BH
HOUR 0010 00 17H
WEEK 0011 00 06H
RECORD LENGTH0100 00 EFH
TIMER STATUS0101 0 = default timer
1 = timer has set
ICM/MEMO0110 0 = ICM record
1 = MEMO record
DEL MARK
STATUS0111 0 = no del mark
1 = has del mark
MSG NEW/OLD
STATUS1000 0 = no old mark
1 = has old mark
OGM EXISTING
STATUS1111 0 = OGM not exist
1 = OGM exist
(
1
5
-
0
)
R
E
S
P
D
A
T
A
Mode 11. VOICE PROMPT MODE
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
31
(
1
5
-
1
2
)
(
1
1
)
(
1
0
)
(
9
)
(
8
)
(
7
-
0
)
C
O
N
F
1
0
1
1
F
A
S
T
P
L
A
Y
0
S
T
O
P
P
A
U
S
E
P
H
R
A
S
E
N
U
M
B
E
R
PHRASE NUMBER : 1 255.
PAUSE, STOP and FAST PLAY : see PLAY MODE.
(
1
5
-
8
)
(
7
)
(
6
)
(
5
)
(
4
)
(
3
-
0
)
R
E
S
P
P
L
A
Y
T
I
M
E
(
s
e
c
)
0
P
L
A
Y
E
N
D
T
O
N
E
0
D
T
M
F
DTMF, TONE, PLAY END and PLAY TIME : see PLAY MODE.
Mode 12. VOICE ACTIVITY MODE
(
1
5
-
1
2
)
(
1
1
-
0
)
C
O
N
F
1
1
0
0
V
O
X
L
E
V
E
L
VOX LEVEL : see Table 6.
(
1
5
-
0
)
R
E
S
P
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
32
Mode 13. PERSONAL MAIL MODE
(
1
5
-
1
2
)
(
1
1
-
8
)
(
7
-
5
)
(
4
)
(
3
)
(
2
-
0
)
C
O
N
F
1
1
0
1
0
0
0
0
0
0
0
L
O
O
P
B
A
C
K
M
E
M
O
/
I
C
M
P
E
R
S
O
N
A
L
M
A
I
L
PERSONAL MAIL : 0 7, total 8 personal mailboxes. The MSG IDs of PLAY MODE,
DELETE MESSAGE MODE and GET RECORD MESSAGE
INFORMATION MODE are all limited to the personal mailbox
specified by this command.
MEMO/ICM= 0 : set the attribute of the recorded message to be ICM.
= 1 : set the attribute of the recorded message to be MEMO.
LOOP BACK= 0 : enable loop back.
= 1 : disable loop back. Then in RECORD and LINE MONITOR modes,
the Codec-in data will not be put on the Codec-out path.
(
1
5
-
0
)
R
E
S
P
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Set Some Status,
(
1
5
-
1
2
)
(
1
1
-
8
)
(
7
-
2
)
(
1
)
(
0
)
C
O
N
F
1
1
0
1
0
0
0
1
0
0
0
0
0
0
C
O
D
E
C
F
O
R
M
A
T
O
U
T
P
U
T
L
E
V
E
L
OUTPUT LEVEL (set the relation of the output speech level and corresponding input
speech level),= 0 : the output level is 5dB less than the input level (default setting).
= 1 : the output level (playback) is equal to the input level (recording).
CODEC FORMAT (set the Codec data format),
= 0 : 8-bit µ-law data format is selected.
= 1 : 16-bit linear data format is selected.
The MX93000 Codec family provide this mode.
(
1
5
-
0
)
R
E
S
P
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
33
TABLE 1. PERFORMANCE TEST FOR TONE DETECTION
(noiseless)
Power (dB)0-3-6-10 -20 -30 -33 -36 -39
p2p (volt)5 3.54 2.5 1.58 .5.158 .112 .079 .056
280 Hzx x x x x x x x x
300 Hzokokokokokokokx x
400 Hzokokokokokokokokx
500 Hzokokokokokokokokx
600 Hzokokokokokokokokx
640 Hzokokokokokokokx x
670 Hzx x x x x x x x x
480+620 Hzokokokokokokx x x
350+440 Hzokokokokokokx x x
* 0 dB is defined as the Vrms of maximum Codec input
** The maximum peak-to-peak voltage (P2P) of Codec input is assumed to be 5V
SNR (dB)40 25 12
detect time delay / off time delay (ms)
300 Hz50 / 40 55 / 40 65 / 40
400 Hz40 / 40 40 / 40 45 / 45
500 Hz40 / 40 40 / 40 45 / 45
640 Hz45 / 40 45 / 40 60 / 35
480+620 Hz40 / 40 45 / 40 50 / 40
350+440 Hz45 / 40 45 / 40 55 / 40
* 0 dB is defined as the Vrms of maximum Codec input
** the detect/off time delay is defined as follows
detect time delayoff time delay
INPUT
RESPONSE
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
34
TABLE 2. RESOLUTION TEST FOR DUAL TONE (FREQUENCY DETECTABLE RANGE)
RANGE / POWER-4 dB-25 dB
(300 + F2 Hz)F2 > 320 HzF2 > 320 Hz
(640 + F2 Hz)F2 < 620 HzF2 < 620 Hz
TABLE 3. THD DISTORTION TEST FOR DUAL TONE (DISTORTION TOLERANCE)
INPUT / POWER-4 dB-25 dB
(300 + 320 Hz)> 10 dB> 10 dB
(640 + 620 Hz)> 10 dB> 10 dB
* 0 dB is defined as the Vrms of maximum Codec input
TABLE 4. CALL PROGRESS TONE DETECTOR CHARACTERISTICS
PARAMETERMINTYP MAXUNIT
Detection level *-30 dB
Rejection level-37 dB
Frequency range 300 640 Hz
Noise tolerance-12 dB
THD tolerance-10 dB
Rejection frequency range < 280 Hzor> 670 Hz
Minimum signal duration accept50 ms
Maximum response time 50 ms
* 0 dB is defined as the Vrms of maximum Codec input
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
35
TABLE 5. DTMF CHARACTERISTICS
PARAMETERMINTYP MAXUNIT
DTMF signal level for detection *-43 0 dB
DTMF twist (high/low tone)± 9 dB
DTMF noise tolerance-10 dB
DTMF tone duration accept50 ms
DTMF interdigit pause accept50 ms
DTMF frequency deviation accept limit± 1.5%
DTMF frequency deviation reject limit± 3%
Tone generator level-25 +3 dB
Tone generator frequency accuracy ± 0.1%
Tone generator level accuracy ± 0.5 dB
* 0 dB is defined as the Vrms of maximum Codec input
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
36
TABLE 6. VOX THRESHOLD
d
B
V
O
X
L
E
V
E
L
-
9
0
e
f
5
-
1
0
0
d
5
5
-
1
1
0
b
e
5
-
1
2
0
a
9
5
-
1
3
0
9
7
5
-
1
4
0
8
7
5
-
1
5
0
e
f
4
-
1
6
0
d
5
4
-
1
7
0
b
e
4
-
1
8
0
a
9
4
-
1
9
0
9
7
4
-
2
0
0
8
7
4
-
2
1
0
e
f
3
-
2
2
0
d
5
3
-
2
3
0
b
e
3
-
2
4
0
a
9
3
-
2
5
0
9
7
3
-
2
6
0
8
7
3
-
2
7
0
7
8
3
-
2
8
0
6
b
3
-
2
9
0
5
f
3
-
3
0
0
5
5
3
-
3
1
0
4
c
3
-
3
2
0
4
3
3
-
3
3
0
3
c
3
-
3
4
0
3
6
3
-
3
5
0
3
0
3
-
3
6
0
2
b
3
-
3
7
0
2
6
3
-
3
8
0
2
2
3
-
3
9
0
1
e
3
-
4
0
0
1
b
3
-
4
1
0
4
c
2
-
4
2
0
4
4
2
-
4
3
0
3
c
2
-
4
4
0
3
6
2
-
4
5
0
3
0
2
-
4
6
0
2
b
2
-
4
7
0
2
6
2
-
4
8
0
2
2
2
-
4
9
0
1
e
2
-
5
0
0
1
b
2
-
5
1
0
3
0
1
-
5
2
0
2
b
1
-
5
3
0
2
6
1
-
5
4
0
2
2
1
-
5
5
0
1
e
1
-
5
6
0
1
b
1
-
5
7
0
3
0
0
-
5
8
0
2
b
0
-
5
9
0
2
6
0
-
6
0
0
2
2
0
-
6
1
0
1
e
0
-
6
2
0
1
b
0
0 dB is defined as the Vrms of maximum Codec input.
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
37
TABLE 7. SILENCE THRESHOLD LEVEL
S
I
L
E
N
C
E
L
E
V
E
L
d
B
1-58
2-55
3-52
4-49
5-46
6-43
7-40
8-37
9-34
10 -31
11 -28
12 -25
13 -22
14 -19
15 -16
0 dB : maximum input of sinusoidal wave
TABLE 8. ECHO CANCELLER PERFORMANCE *
Test Description
Final Echo Return Loss Improvement (ERLI) (Singletalk mode)> 28 dB
Maximum tail length 12 ms
Convergence Rate (Singletalk mode)
500 ms after initialization with cleared register and with near-end signal
set to zero at initialization time
> 28 dB
Infinite Return Loss Convergence
Return Echo Loss Improvement 500 ms after echo path is interrupted > 28 dB
* test signal : band-limited white-noise (300-3400 Hz)
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
38
TABLE 9. MAXIMUM COMMAND RESPONSE TIME, 4Mx4 ARAM
COMMAND MAX RESP TIME (ms)
Record Mode :
1. start
2. normal
3. stop
1
7
50
Play Mode :
1. start
2. normal
3. stop
25
5
1
Message Status Mode :
1. get message number
2. get ARAM available time48
52
DTMF Generator Mode 1
Line Monitor Mode 7
Delete Message Mode :
1. delete one message
2. delete all old messages
3. real delete
4. clear one message Del Mark
1090
2530
2540
27
Set Current Time/Voice Prompt/Silence Threshold Mode 1
Get Current Time Mode 1
Initial and Test Memory Mode :
1. normal ARAM initialization
2. fast ARAM initialization
3. ARAM good/bad check
4. enhanced ARAM test
5. other misc. setting
103300
17500
3
138
1
Get Record Message Information Mode 24
Voice Prompt Mode :
1. start
2. normal
3. stop
1
5
1
Voice Activity Mode 1
Personal Mail Mode 1
INDEX
MX93011A
APPLICATION NOTE [K1 VERSION]
39
M
ACRONIX
I
NTERNATIONAL
C
O.,
L
TD.
HEADQUARTERS:
No. 3, Creation Road III, Science-Based Industrial Park, Hsin Chu, Taiwan, R.O.C.
TEL:+886-3-578-8888
FAX:+886-3-578-8887
TAIPEI OFFICE:
12F, No. 4, Min-Chuan E.Rd., Sec 3, Taipei, Taiwan, R.O.C.
TEL:+886-3-509-3300
FAX:+886-3-509-2200
EUROPE OFFICE:
Grote Winkellaan 95, Bus 1 1853 Strombeek, Belgium
TEL:+32-2-267-7050
FAX:+32-2-267-9700
SINGAPORE OFFICE:
5 Jalan Masjid Kembangan Court #01-12 Singapore 418924
TEL:+65-747-2309
FAX:+65-748-4090
MACRONIX AMERICA, INC.
1338 Ridder Park Drive, San Jose, CA95131 U.S.A.
TEL:+1-408-453-8088
FAX:+1-408-453-8488
JAPAN OFFICE:
NKF Bld. 8F, 1-2 Higashida-cho, Kawasaki-ku
Kawasaki-shi, Kanagawa 210, Japan.
TEL:+81-44-246-9100
FAX:+81-44-246-9105
INDEX