MX93032 [Macronix]
APPLICATION NOTE [M1 VERSION]; 使用注意事项[ M1版本]型号: | MX93032 |
厂家: | MACRONIX INTERNATIONAL |
描述: | APPLICATION NOTE [M1 VERSION] |
文件: | 总69页 (文件大小:419K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
MX93032
APPLICATIONNOTE[M1VERSION]
1.0 GENERAL DESCRIPTIONS
echo cancellation and acoustical echo cancellation,
etc.
• MX93032-M1 is an engine chip on which digital an-
swering machine (DAM) with full duplex speaker phone
is implemented. Besides, CAS tone detection capa-
bility and FSK decoder for Caller-ID service has also
been implemented as well.
• It provides speech processing / management mod-
ules, including speech compression/decompression,
silence management, telephone line signal process-
ing, Macronix MX29F16A FLASH management, line
• The MX93032-M1 has built-in DSP mode and MCU
mode. In DSP mode, users do not need external mi-
croprocessors and can effectively reduce the overall
system cost in DAM with full-duplex speakerphone
system. In MCU mode, the MX93032-M1 is controlled
by an MCU (micro controller) via a 8 bit parallel or
serial interface.
2.0 FEATURES
• Switchable 4.8kbps/12.8kbps speech compression/
decompression algorithm for message recording/play-
back.
user can mask the system code into the MX93032-
M1. In MCU mode, user can control the MX93032-M1
via MCU (micro controller).
• Minimum 15 or 40 minutes of recording time for one
16M bits MX29F16A FLASH based on 12.8K or 4.8K
compression rate, respectively.
• Low (4.8kbps) or High (12.8kbps) compression rate
with silence management technique for voice prompt
making.Voice prompt can be stored in Flash memory.
• Support total 127 messages, maximum 7 OGMs and
maximum 8 personal mailboxes.
• DTMF generation and detection with near-end echo
cancellation.
• Provide single low crystal solution (FLL).
• Built-in DSP mode and MCU mode. In DSP mode,
• Provide standard sample program written by 8051
assemble for customer development.
• Full duplex speakerphone with both acoustical echo
canceller (AEC) and line echo canceller (LEC)
• Built-in CAS signal detector for monitoring the pres-
ence CPE alerting signal in Calling Identity Delivery
on CallWaiting.
• FSK decoder for Calling Identity Delivery on CIDType
I and CID Type II
• Caller IDType II can be turned on under speaker phone
mode
• Auto detecting MCU mode and DSP mode
P/N:PM0689
REV. 1.0.3,DEC. 13, 1999
1
MX93032
3.0 BLOCK DIAGRAM
DSP MODE
Display
Speaker
Microphone
MX93002
MX93032-M1
Commands
Keypad
DAA
Telephone Line
FLASH
MCU MODE
Display
Speaker
Microphone
MX93002
MCU
MX93032-M1
Commands
Commands
DAA
Telephone Line
Keypad
FLASH
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
2
MX93032
4.0 PIN CONFIGURATIONS
4.1 MCU MODE
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
ED11
ED12
ED13
VDD
EAD9
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
EAD10
EAD11
EAD12
EAD13
EAD14
GND
VDD
EAD15
NMI\
INT1\/SCKL
PHILO
CDR0
PHRD\
CMCK
CFS
GND
ED14
ED15
X1\VDD
X2\GND
A19
A18
A17
IPT8
FCE2\
FCE1\
RST\
EROM
SDEN\
SDATA
A16
MX93032-M1
CDX0
PHWR\
PHDB0
PHDB1
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
3
MX93032
4.2 DSP MODE
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
ED11
ED12
ED13
VDD
EAD9
EAD10
EAD11
EAD12
EAD13
EAD14
GND
VDD
FAD15
NMI\
INT1\
A16
CDR0
A15
CMCK
CFS
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
GND
ED14
ED15
X1\VDD
X2\GND
A19
A18
A17
IPT8
FCE2\
FCE1\
RST\
EROM
SDEN\
SDATA
OPT11
MX93032-M1
CDX0
OPT16PHDB0
PHDB1
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
4
MX93032
5.0 PIN DESCRIPTIONS
POWER/CLOCK/CONTROL PINS :
SYMBOL PIN TYPE PIN NUMBER
DESCRIPTION
VDD
23, 43, 69, 84
5V power source
GND
24, 44, 53, 70, 85 Ground
X1/VDD
X2/GND
RST\
88
89
96
14
32.256MHz crystal input/Connect to VDD in single low X'tal mode
32.256MHz crystal output/Connect to GND in single low X'tal mode
Power-on reset
IS
XF\
OA
External flag if UPMODX=1. This pin can be directly written by one
DSP instruction. Default inactive (5V output)
Hold DSP clock down and release bus
Disable internal ROM, use external ROM only
Non-maskable interrupt pin
HOLD\
EROM
NMI\
IS
IS
IS
IS
67
97
41
40
13
12
54
INT1\
X32O
X32I
Interrupt pin
32.768KHz crystal output
32.768KHz crystal input
FLLEN\
IS
IS
IS
1 : Dual X'tal mode
0 : Single low X'tal mode
P/S
20
16
1:Parallel interface in MCU mode
0:Seriall interface in MCU mode
0:POWER DOWN
PDN
CODEC INTERFACE PINS :
SYMBOL PIN TYPE PIN NUMBER
DESCRIPTION
CFS
OA
OA
OA
IS
35
36
34
38
66
15
98
99
Codec frame sync, 8KHz (9.6KHz). Output low in power down mode.
Codec master clock, 1.536MHz. Output low in power down mode.
Codec data transmit
CMCK
CDX0
CDR0
CDX1
CDR1
SDEN\
SDATA
Codec data receive
OA
IS
Codec data transmit
Codec data receive
OB
OB
Serial data enable(for MXIC codec family)
Serial data transmit(for MXIC codec family)
IPT : Input port
SYMBOL PIN TYPE PIN NUMBER
DESCRIPTION
IPT4-IPT5, IS
IPT8
18-17,93
Input port
IPT0-IPT3 ISH
22-19
Input port with internal pull high resistor (R=30KW)
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
5
MX93032
OPT : Output port
SYMBOL
PIN TYPE PIN NUMBER
DESCRIPTION
OPT0-OPT9 OB
2-11
Output to pin, all output values are registered and may be read back
when read by "IN" instruction.
OPT10-11
OB
1, 100
Output to pin, all output values are registered and may be read back
when read by "IN" instruction. Only available for DSP mode
MEMORY INTERFACE PINS :
SYMBOL
PIN TYPE PIN NUMBER
DESCRIPTION
EAD0-EAD15 OA/Z
61-55, 52-45, 42 External memory address bus.
ED0-ED15
IT/OA/ZR 68, 71-83, 86-87 External memory data bus. With soft latch feed back current is 250
uA
EDCE\
EPCE\
ERD\
EWR\
A15
OA/Z
OA/Z
OA/Z
OA/Z
0A
65
64
63
62
External data chip enable
External program chip enable
SRAM/ROM/IO external read
SRAM/ROM/IO external write
37 (DSP MODE) address bus for FLASH
1 (MCU MODE)
A16
OA
39 (DSP MODE) address bus for FLASH
100 (MCU MODE)
A17
A18
A19
OA
OA
OA
92
address bus for FLASH
Address bus for FLASH
Address bus for FLASH
FLASH chip enable
91
90
FCE1\, FCE2\ OB
95, 94
uP Parallel Interface (MCU MODE)
SYMBOL
PIN TYPE PIN NUMBER DESCRIPTION
PHDB0-PHDB7 IS/OA/Z
25-32
39
Parallel data bus
PHILO
PHRD\
PHWR\
PACK\
IS/OA/Z
IS/OA/Z
IS/OA/Z
OA
Select High or low byte. 1: high byte , 0: low byte
HOST read enable
37
33
HOST write enable
14
Response is ready
uP Serial Interface (MCU MODE)
SYMBOL
SCLK
SI
PIN TYPE PIN NUMBER DESCRIPTION
IS
40
25
26
Synchronous clock
HOST serial data in
HOST Serial data out
OA/Z
IS/Z
SO
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
6
MX93032
BIO: Bi-directional I/O (DSP MODE)
SYMBOL
PIN TYPE PIN NUMBER
IT/OA 25-32
DESCRIPTION
BIO7-BIO0
Input/output port when UPMODX = 1. Direction is controlled by
BIO15-BIO8 (see BIOR).
NOTE :
IT :TTL level input
IS :CMOS level Schmidt trigger input (hysteresis : 2V~3V)
ISH :CMOS level Schmidt trigger input with internal pull high resistor (~30KW)
OA :8mA drive level output
OB :16mA drive level output
Z
:high impedance state
ZR :high impedance state with soft latch
MULTIPLEX PINS:
PIN NUMBER
PIN NAME
BIO(7:0)
A16
DSP MODE
Input/output port
Flash address
Flash address
Output port
PIN NAME
PHDB(7:0)
PHILO
PHRB\
PHWR\
PACK\
A16
MCU MODE
25~32
39
Host data bus
High low data select
Host read
37
A15
33
OPT16
XF\
Host write
14
External flag
Output port
Acknowledge to host
Flash address
Flash address
100
1
OPT11
OPT10
Output port
A15
PIN NUMBER PIN NAME FLLEN\=1 (Dual X'tal)
PIN NAME
FLLEN\=0 (Single X'tal)
88
89
X1
X2
32.256MHz crystal input
32.256MHz crystal output
VDD
GND
PowerVDD
Power ground
NOTE FLLEN\:pin 54
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
7
MX93032
6.0 FUNCTIONAL DESCRIPTIONS
HOST INTERFACE (MCU MODE)
The command and response of the MX93032-M1 are made up by a 16-bit code.The protocol that one command sent
and one response received must strictly be obeyed by HOST ; otherwise, dead lock will occur. Meanwhile, both
parallel interface and serial interface are provided by the MX93032-M1.
8-bit parallel :
A 16-bit code can be accessed by HOST two times via setting PHILO pin. For writing operation, the HOST write the
low byte of the command into the register of DSP, when PHILO is pulled to low, DSP does nothing but latches data.
Following, PHILO is set to high and high byte of command is written into register, then DSP will perform the command
issued by HOST and send out the response. DSP will pull PACK\ to be low to indicate that response is ready. HOST
must read the low byte and then high byte sequentially. PACK\ will reset to high when the high byte is read by HOST.
All of the description given above will be illustrated by the following timing chart.
PHILO
PHDB 0 - 7
PHWR\
PACKB\
PHRD\
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
8
MX93032
Synchronous Serial :
The protocol of synchronous serial interface will be interpreted by the timing chart given below .
16 PULSES
SCLK
…
Tget
SI
…
0
R15
R14
R1
R0
16 PULSES
SCLK
…
Tput
SO
…
C14
START C15
0
C1
C0
Note: SCLK : synchronous clock sent by HOST,
SI :
SO :
HOST serial in,
HOST serial out,
Tget andTput should be larger than 200 uS
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
9
MX93032
Decision Rules between MCU mode and DSP Mode:
1. The contents located on 0xE000 and 0xE001 are 0x1234 and 0x5678, It will be considered as external DSP mode.
This configuration is used for developing customer’s control codes on MXIC’s MX93032-M1 IC with standard
code.
2. The contents located on 0x680E and 0x680F are 0x5678 and 0xA988, it will be considered as MCU mode.This is
the only one configuration for MCU mode under developing and mass production.
3. Either the content located on 0x680E and not 0x5678 or that located on 0x680F are not 0xA988, it will be consid-
ered as DSP mode.The configuration is used for mass production for DSP mode adopted.
4. The decision priority depends on the items order.That is, the item labeled with smaller number has higher priority.
CONTROL CODE CONFIGURATION (DSP MODE)
There are two 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.The MX93032-M1 pin 97 (EROM) must be set to high.
External high-speed EPROMs or SRAMs
0000H
BIOS+ALGORITHM c
(address 0000H - 67F
26K words
6800H
control code
(address 6800H - 7F
6K words
7FFFH
This configuration is mainly used in the development stage and the access time of high-speed EPROMs or SRAMs
must be less than 30ns.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
10
MX93032
Configuration 2 :
In this configuration, the BIOS+ALGORITHM code is running in the MX93032-M1 internal ROM and the control code
running in the external low-speed EPROMs.The MX93032-M1 pin 97 (EROM) must be set to low.
DSP internal ROM
0000H
BIOS+ALGORITHM c
(address 0000H - 67F
26K words
6800H
7FFFH
External low-speed EPROMs
0000H
1000H
external voice promp
data address 1000H
8000H
external voice promp
program address 800
E000H
FFFFH
control code
max. 8K words
(address E000H - FF
This configuration can be used at the development stage or for production.The control code must start with two words
1234H and 5678H.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
11
MX93032
Configuration 3 :
In this configuration, the BIOS+ALGORITHM and control codes are all running in the MX93032-M1 internal ROM.The
MX93032-M1 pin 97 (EROM) must be set to low.
DSP internal ROM
0000H
BIOS+ALGORITHM c
(address 0000H - 67F
26K words
6800H
control code
(address 6800H - 7F
6 K words
7FFFH
External low-speed EPROMs
0000H
1000H
external voice promp
data address 1000H
8000H
external voice promp
program address 800
FFFFH
This configuration is used for production.
To set the voice prompt configuration, see the MX93032-M1 Mode 7.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
12
MX93032
MX93032-M1
coming 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 re-
covery 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.
Each message can be recorded by either 4.8K or 12.8K
compression rate depending on system programmer’s
assignment.
The MX93032-M1 provides DSP embedded functional
modules, including speech compression/decompression,
telephone line signal processing, ROM voice prompt,
Macronix MX29F16A Flash management, time keeping
and full duplex speaker phone.
In MCU mode, the MX93032-M1 service is requested
via a command call with 16 bits parameter sent by Micro
controller, and answered 16 bits sent by DSP. In DSP
mode, user's system control program can be masked-in
the MX93032.
During recording, the MX93032-M1 also monitors the
telephone line signal to detect the presence of DTMF,
Call ProgressTone and ContinuousTone and responses
to the control program. The HOST can stop recording,
and delete the last n*400ms/200ms from the memory
using a Record command with assigned Tail Cut factor.
The MX93032-M1 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 MX93032-M1 supports 16 modes of service and
responses useful to operational information about tim-
ing, FLASH utilization, detected DTMF, etc.
Hereafter,HOST means "external micro-controller" for
MCU mode, and it means "system control program"
for DSP mode.
FLASH MANAGEMENT
The recording voice signal, received through the CODEC
input, is transmitted back to the CODEC output by the
MX93032-M1 service commands.
The MX93032-M1 uses MXIC's MX29F16A FLASH as
storage device for message and/or voice prompt data.
Up to two MX29F16A can be supported by the MX93032-
M1 service command.
OUTGOING MESSAGE (OGM) RECORD
The MX29F16A is a 16M-bit FLASH memory organized
as 1M word x 16. It includes 16 sectors (each sector is
64K words) and some of these sixteen sectors are bad.
To manage the MX29F16A, the MX93032-M1 will detect
and then give up bad sectors and only utilize the good
sectors.For the purpose of storage efficiency, each good
sector is further divided into 32 blocks (each block con-
tains 2K words). Each block can store speech data of
about 6.8 seconds for 4.8kbps compression algorithm
and 2.55 seconds for 12.8kbps compression algorithm.
The MX93032-M1 provides flexible recording ways for
outgoing message. The HOST 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 mes-
sages more handily, the MX93032-M1 keeps an internal
record of the ICM to identify the new/old status of mes-
sages.
MESSAGE RECORDING AND STORAGE
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
MX93032-M1 in the command set.
The MX93032-M1 provides high quality speech compres-
sion techniques for recording and playback functions. It
can permit over 15 minutes or 40 minutes of speech
storage in each 16M bit of MXIC's MX29F16A FLASH
device based on 12.8K or 4.8K compression rate, re-
spectively.
The MX93032-M1 supports up to 127 variable length in-
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
13
MX93032
MESSAGE PLAYBACK
sages, the HOST should set the corresponding mailbox
number first with Personal Mail command.
Random access for playback of any new message or
message with specified Msg ID is supported by the
MX93032-M1. During playback, the MX93032-M1 also
monitors the telephone line signals, and Play Pause func-
tion is provided.The MX93032-M1 is able to fast-forward
the playback of a recorded message, and the playing
speed will be up to 33 %.
TIME KEEPING
There is a timer clock in the MX93032-M1. The HOST
can issue SetTime and GetTime commands to get time
services.The clock also supports system to stamp time
to the recorded incoming message.
MESSAGE DELETION
DTMF DETECTION
The MX93032-M1 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 com-
mand.The two-step method enables the control program
to handle the deletion more flexibly, while the immediate
method deletes a specified message directly.
For remote control operation of the answering machine,
the MX93032-M1 monitors the incoming telephone line
signal to detect the presence of DTMF signal.
TONE GENERATION
Up to double tones can be generated by the MX93032-
M1. The levels and frequencies are programmable by
the HOST.
VOICE PROMPT
For high-quality voice prompt playback, the MX93032-
M1 utilizes the built-in speech decoder and external
EPROM/ROM or FLASH to store the vocabulary. The
MX93032-M1 also supports up to a 32K-word external
EPROM/ROM that allows minimum 1.8 minutes of voice
prompt storage. If voice prompt data is stored in FLASH,
space of maximum 60K words (minimum 3.4 minutes) is
permitted.The external (upper part) voice prompt is also
allowed. But if FLASH voice prompt is enabled, the ex-
ternal voice prompt will be disabled.The vocabulary sup-
ports up to 255 phrases. Given a phrase number in the
Voice Prompt command from the HOST, the MX93032-
M1 outputs the corresponding utterances to the Codec
interface.The starting address of external voice prompt
data could be located at data address 1000H, or pro-
gram address 8000H.
CALL PROGRESSTONE DETECTION
The MX93032-M1 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 MX93032-M1 implements a near end echo cancel-
ler in software to enhance the detection of DTMF and
Call Progress Tone during Playback and Voice Prompt
mode.
During playback of the voice prompt, the MX93032-M1
monitors the telephone line signals.
FSK Decoder
PERSONAL MAIL
All of the services, Calling Number Delivery (CND), Call-
ing Name Delivery (CNAM) and Calling Identity Delivery
on Call Waiting (CIDCW), exploit the Frequency Shift
Keying (FSK) method to transmit the desired data from
the SPCS to CPE. Depending on the specific service,
The MX93032-M1 supports up to 8 mailboxes that may
be used for personal mail application. Each mailbox has
its own ICM/MEMO Msg ID.The total Msg.ID is 127 for
all of mailbox. Before recording, playing or deleting mes-
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
14
MX93032
data transmission may occur with the CPE in an on-
hook state or in an off-hook state.The specifications for
data transmission are given on SR-TSV-002474 which
are classified into three layers, physical layer, data linker
layer and message assemble layer. The MX93032-M1
only takes the responsibility to decode physical layer.
For Data link layer (Check Sum) and Message Assemble
layer (the meaningful data), system should take care.
The performance test associated with physical layer
based on SR-3004 will be given on Appendix A.
on the both ends, but also prevent feedback instability
(singing) from occurring.Moreover, the MX93032-M1 pro-
vides automatic gain control (AGC) for microphone chan-
nel which helps the outgoing voice to keep at a desired
level especially for a moving talker, and speaker volume
control which allows the user to adjust the speaker vol-
ume for his need. In addition, DTMF/Tone generations
and call-progress tone detection are also provided.
Note: CPE: Custom Premises Equipment
SPCS: Stored Program Controlled Switching
System
CAS Detection
For Calling Identity Delivery on CallWaiting, the MX93032-
M1 will monitor the presence of CPE alerting signal ac-
cording to the specification given on Bellcore Special
Report SR-TSV-002476.
VOX DETECTION (DIGITAL VOICE ACTIVATED RE-
CORDING)
The speech detection is implemented on the MX93032-
M1 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 HOST
has to setVOX threshold by issuing command Mode 13.
Hexadecimal numbers forVOX threshold are listed inTable
6.
SPEAKERPHONE
The speaker system provided by the MX93032-M1 con-
tains two adaptive filters which are called as acoustical
echo canceller (AEC) and line echo canceller (LEC).The
purpose of AEC is used to cancel the acoustical echo
between microphone and speaker which is caused by
the sound reflection within space. A LEC cancels the
echo resulted by the 4 to 2 wire telephone line connec-
tion and impedance mismatches between customer pre-
mises and the central office.
When speakerphone is activated, the algorithms associ-
ated with AEC and LEC not only reduce the echo heard
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
15
MX93032
DAA CONSIDERATION FOR SPEAKER PHONE
It should be emphasized that DAA circuit plays an important role on improving the performance of speakerphone.This
sub section gives some guides on how the DAA circuit may be "tuned". A diagram of DAA circuit must be given for
simplifying the flowing interpretation.
SPK
DRV
LINE
GAIN
MX93032-M1
4 - 2 WIRE
COUPLING
CODEC1
CODEC2
MIC
GAIN
LINE
DRV
ACOUSTIC
COUPLING
LINE
COUPLING
Referring to figure given above, we have 4 analog amplifiers which are
1.Microphone Pre-Gain (MIC GAIN)
2.Line Out Gain (LINE DRV)
3.Line in Pre-Gain (LINE GAIN)
4.Speaker amplifier (SPK DRV)
Obviously, the 4 amplifiers together with the Line Out volume, Speaker Volume, receive attenuator, transmit attenu-
ator, two volume compensators, acoustical coupling function Hac(f) and line coupling function Hlin(f) compose a
closed loop system.The AEC and LEC will provide additional attenuation to the loop gain one they converge.
To have a better performance on speaker phone, we strongly recommend that analog gain of DAA must satisfy the
following two criteria:
1.As the near end (Microphone side) speaks only, the level at Codec 2 should fulfill that, "codec 2 input must
be less than Codec 2 output due to electrical echo". This meaning can be expressed as
LINE_DRV * Hlin(f) * LINE_GAIN < 1
2.As the far end (Line Side) speaks only, the level at Codec 1 should fulfill that, "Codec 1 output must be
greater than Codec 1 input resulting from acoustical echo".This meaning can be expressed as
SPK_DRV * Hac(f) * MIC_GAIN < 1
By considering the criterion 1, it should pay more attention that minimum echo should be reached by improving the
telephone line interface ( that is, reducing Hlin(f)) and not by reducing LINE_GAIN due to that the MX93032-M1 must
obtain the high enough signal to process. For the same reason for criterion 2, the low echo should be achieved by
good acoustical and mechanical decoupling rather than by decreasing MIC_GAIN.
The ultimate target for hardware design is to create one system which not only satisfies two criteria given above, but
also provides a desirable volume to both speaker and telephone.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
16
MX93032
QUERY AND REPORT
The MX93032-M1 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 FLASH, the time of recorded message, and the FLASH good/bad check.
POWER DOWN
With the power of backup batteries, the MX93032-M1 is capable of keeping messages and data stored in the FLASH
during power failure. In power down mode, the MX93032-M1 will run at a lower clock rate to reduce power consump-
tion.
CRYSTAL CONNECTION
The MX93032-M1 allows two ways of crystal connections :
1. Normal approach: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 DSP high clock is generated from the high crystal directly,
and the low crystal is mainly used in power down mode.
2. FLL (Frequency-Locked-Loop) approach: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 toVDD.In this mode, the low crystal is to generate
all the DSP system clocks and the high crystal can be saved to reduce the overall system cost.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
17
MX93032
7.0 OPERATIONAL DESCRIPTIONS
When the system is powered up, the RST\ pulse will make the MX93032-M1 to run programs from address 0. After
check sum of internal ROM codes checked and some essential initialization of DSP are finished. In MCU mode, the
MX93032-M1 is ready to poll the command issued by the HOST and indicate the HOST by setting PACK\ or SI\ to be
low.The HOST should poll the indication sent by the MX93032-M1 and read out the pseudo response first. Following
some necessary initialization given below must be set by HOST .
1. Set telephone data configuration
2. FLASH initialization depending on the FLASH good/bad check
3. Codec initialization if necessary
4. SettingVoice prompt configuration
5. Setting Silence threshold
6. Setting VOX level
8.0 MODES OF OPERATION
The MX93032-M1 supports 16 modes of operations, which are listed as follows :
Command Mode
Mode Name
0
Idle Mode
1
Record
2
Play
3
Message Status
DTMF Generator
Line Monitor
4
5
6
Delete Message
Set CurrentTime/Voice Prompt/SilenceThreshold
Get CurrentTime
Initial andTest Memory
Get Record Message Information
Voice Prompt
7
8
9
10
11
12
13
14
15
Speaker Phone
Personal Mail
Telephone Data
CAS Detection
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
18
MX93032
IDLE :
This command is allowable to be issued within any other operation which is processing. As soon as the MX93032-M1
receives Idle command, the original operation will be stopped automatically.
RECORD
When Record command is received from the HOST, the MX93032-M1 performs speech compression, stores the
message into FLASH, and monitors telephone line.If theVOX Record bit had been set to 1 on Initial andTest Memory
command, recording of the speech will start upon the voice activity detected, else the MX93032-M1 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 HOST 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 HOST 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 HOST 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 HOST 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, MX93032-M1 will stop message recording, show the status in response word (bit 7,
Mfull).
During Record mode, the HOST can instruct the MX93032-M1 to generate a tone by issuing the DTMF Generator
command. Setting Stop bit on DTMF Generator command will stop tone generating.
The MX93032-M1 will terminate Record mode when Stop bit on Record command is set to 1.
Note:The MX93032-M1 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 record-
ing. 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 HOST 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 user's specifica-
tion.)
PLAY
When Play command is received from the HOST, the MX93032-M1 performs message playback and line monitoring.
The Msg ID (bit 0-6) is set by the HOST to specify which message to play. To playback new message (non-played
one), set Play New (bit 10) to 1, then the MX93032-M1 will search to play the non-played message with specified Msg
ID. During playing, the HOST 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%.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
19
MX93032
To delete and stop the playing message, the HOST 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 HOST, it is used to issue the Real Del after the user terminates the manner of playback.
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 MX93032-M1 stops
playback.
The MX93032-M1 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 HOST 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 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 MX93032-M1.The tone levels and frequencies are program-
mable and controlled by the HOST.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. For DSP mode, the frequencies are defined in the variables BUF1 and BUF2. For MCU mode, three
steps of commands should be issued, first, DTMF sent and signal Gain should be set, following the corresponding
two frequencies should be specified.The frequency code and its frequency represented is according to the following
relationship :
frequency code = desired frequency (Hz) * 8.19
f(n) = 32767 * cos (2*pi*f_code*n/(8000*8.19))
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. The MX93032-M1 starts tone
generation only after receiving the start command.
The MX93032-M1 will terminate DTMF Generator when Stop bit is set to 1 on DTMF Generator command.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
20
MX93032
LINE MONITOR
In this mode the MX93032-M1 monitors the telephone line signal for the detection of DTMF, Call ProgressTone, VOX,
and/or Continuous Tone.The MX93032-M1 keeps monitoring the line until Stop bit is set to 1.
The MX93032-M1 returns to the HOST a response word that reflects the flag of Call ProgressTone,VOX, Continuous
Tone and the index of DTMF signal that has been detected :
INDEX
DTMF CODE
INDEX
CAS
DTMF CODE
CAS
0
DTMF
0000
0001
0010
0011
0100
0101
0110
0111
1000
DTMF
1001
1010
1011
1100
1101
1110
1111
1111
0000
NoTone
0
0
0
0
0
0
0
1
1
9
0
1
2
3
4
5
6
7
8
*
0
0
0
#
0
A
0
B
0
C
D
0
0
CASTONE
The MX93032-M1 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 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 CURRENTTIME/VOICE PROMPT/SILENCETHRESHOLD
In this mode the HOST can set the current time to the timer clock of the MX93032-M1.The time information includes
second, minute, hour and week.The timer in the MX93032-M1 will be used to stamp time and data to the recorded
message.
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 code (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.
7. To set output port OPT0-7, put data in bit0-7(Request Code=0100)
8. To set codec MX93002 registers in bit10-8 and put data in bit0-7(Request Code=1xxx)
9. To write link index and data in bit0-7(Request Code=0101), refer to mode10 to specify Msg. ID.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
21
MX93032
GET CURRENTTIME
In this mode the HOST can get the current time from the timer clock of the MX93032-M1. 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 ANDTEST MEMORY
In this mode there are 9 functions for the control program to define;
1. FLASH Re-Initialization
The HOST can re-initialize the FLASH by setting FLASH Re-Init (bit 0) to 1. After receiving this command, the
MX93032-M1 will erase all the messages and data stored in the FLASH and then re-format the FLASH to establish
the management structure.The response word reported to the control program contains the information of FLASH bit
size (bit 0-3) , FLASH address size (bit 4-7), FLASH good/bad status (bit 8) and FLASH good rate (bit 9-15). After re-
initialization, all messages and data in the FLASH are lost.
2. FLASH Initialization or Error Correction
The HOST can perform FLASH first-time initialization or error correction by setting FLASH Init (bit 1) to 1. First-time
initialization is to format a new FLASH and then establish the management structure, while error correction is to
correct the problems that may result from power loss during operation.This function is normally used after first power-
up of the system.The response word reported to the control program contains the information of FLASH bit size (bit
0-3) , FLASH address size (bit 4-7), FLASH good/bad status (bit 8) and FLASH good rate (bit 9-15).
3. FLASH Garbage Collection
Due to the characteristics of MX29F16A FLASH and the management structure, when messages are deleted, the
data regions occupied by them will not be released to be available immediately.To free out such regions, the MX93032-
M1 provides a two-step mechanism. First is to check the FLASH garbage collection recommendation status by
Message Status command and, if garbage collection is recommended, then to issue bit 2 (Garbage Collect) on this
command to perform the corresponding garbage collection actions.
4. Line On/Off
The HOST 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.
5.VOX On/Off Record
If the HOST turns on theVOX 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.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
22
MX93032
6. OGM Deletion
By setting bit 5 (Annc Del) to 1 on this command, the HOST 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.
7. New/Old Select
By setting New/Old Select (bit 6), the HOST 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.
8.Tail Cut Unit
By setting Tail Cut Unit (bit 7) to 1, the HOST can choose the tail cut unit length to be 200 ms. If this bit is cleared to
0, the unit length is 400 ms.
9. Old Mark Set
By setting Old Mark Set (bit 8) to 1, the HOST 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).
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 MX93032-M1 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 MX93032-M1 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.
11.To get link index data(Request Code=1001),refer to mode7
12.To set the Msg.ID for reading/writing Link-index-data.(Request Code=1010)
All the results are reported in the response word.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
23
MX93032
VOICE PROMPT
In this mode the MX93032-M1 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 or Flash memory, are provided
by the MX93032-M1 and pronounced using the speech decompression algorithm.The HOST 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.DuringVoice Prompt mode, the MX93032-M1 keeps monitoring the
line signal and sends the results in response word to the control program.
The MX93032-M1 will terminate Voice Prompt mode when Stop bit is set to 1 on Voice Prompt command.
SPEAKERPHONE
Regarding to speakerphone related function is comprised of three types which are parameter setting, DTMF/Tone
generation and free run.Two Codecs are necessary for speakerphone operation. One Codec labeled as Codec 1 is
used for microphone and speaker, and the other labeled as Codec 2 is used for telephone line input and output.In this
mode, there are seven functions whose detail will be given as follows:
1. Free run which performs both filtering operation and updating operation on LEC and AEC one time for each Codec
interrupt triggered (Request Code = 0x0000)
2. Setting the gain for DTMF/Tone generation (Request Code = 0x0001)
3. Generating DTMF/Tone according to pre-defined table (Request Code = 0x0010)
4. Setting both the echo return-loss on speaker side (ERL_AEC) and echo return loss on line side (ERL_LEC)
(Request Code = 0x0100)
5. The T/R and R/T ratio are used to decide which side is speaking by comparing the transmitting and receiving
energy.(Request Code=0x0110)
6. Set the volume gains to control the speaker out and line out signal levels(Request Code=0x1000)
7. The loop attenuation is to control the total receive and transmit attenuators (Request Code = 0x1001)
8. setting the tone table which require 3 steps : Index set, Freq_Lo set and Freq_Hi set.
PERSONAL MAIL
Five functions are provided in this command as follows :
1. Set the personal mailbox number
In this mode the HOST 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 its 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 HOST 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 HOST can enable or disable the DSP 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
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
24
MX93032
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 latter.
4. Set the output level
The HOST 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 latter.
5. Set the codec data format
The HOST can select one of two Codec data formats by setting the Codec Format bit.When Codec Format is cleared
to 0, 8-bit m-law data format is selected, and set to 1, 16-bit linear data format is enabled. At present, MXIC’s Codec
family provide both m-law and linear formats, and the latter is suggested because of the better speech quality. The
default format is 8-bit m-law.
6. Set Voice Activity
In this mode the HOST can set the VOX threshold in bit 0-11. The hexadecimal numbers for VOX level are listed in
Table 6.
7.SetTelephone Data Configuration
This command should be issued before Aflash initialization.
CAS Detection
The MX93032-M1 provides 2 output modes for CAS detection, which are continuous response and one time re-
sponse.
For continuous response, the MX93032-M1 will respond CAS detected after 45± 5ms since CAS occurs in CPE.
Regarding to response one time, the information of CAS detected will be responded after both the CAS is disappeared
on the line and the duration for CAS appearance between 45ms to 95 ms.
FSK Detection
The output of FSK detector can be divided into two mode which are Raw data mode and Cooked data buffer. The
buffer length for Raw data mode and Cooked Data mode are 8 bytes and 60 bytes long, respectively. For Raw data
mode, the data ready bit will be set on one bytes data ,in which start bit and stop bit are not included, received
correctly. If the host’s speed can not catch up the FSK baudrate, buffer overflow will occur.Therefore, when the serial
interface is adopted, we do not recommend to select Raw data mode to receive FSK data. Cooked data mode
concerned, the data ready bit will be set after all of the data, in which checksum is included, received. During the
operation for Cooked data mode, the second data byte following the mark data will be considered as the total data
length, the other data will not be recognized by MX93032-M1.
LINKAGE BETWEEN CID DATA ANDVOICE MESSAGE
1. Set the link index which can be also considered as CID data number (Request code = 0x7500 | link index)
2. Get the link index (Request code = 0xA900 | msg_no)
3. write the link index specified by 0x7500 into message (Request code = 0xAA00 | msg_no)
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
25
MX93032
TELEPHONE DATA
In this mode the HOST can write/read telephone or user-assigned data to/from the FLASH with the sequence of
telephone data command as follows :
1.WriteTelephone Data
The first command defines the telephone record ID (bit 0-7) and set bit 11, 10 to 0, 0.
Following command specifies the one-byte data to be stored under that ID.
While the current record ID is full, the MX93032-M1 BIOS will show the status in response word (bit 0, Full).
The MX93032-M1 BIOS will terminate Telephone Data mode when Stop (bit 9) is set to 1 on Telephone Data com-
mand.
2.ReadTelephone Data
The first command defines the telephone record ID (bit 0-7) and set bit 11, 10 to 0, 1.The telephone data will be put
on the response word. Following command puts the one-byte data on the response word to the control program.
The response word contains the byte-data (bit 0-7) and Read End (bit 8).When the Read End bit is 1, the byte-data is
invalid.
The MX93032-M1 BIOS will terminate Telephone Data mode when Stop (bit 9) is set to 1 on Telephone Data com-
mand.
If host want to write/read more than 2 Tel. Record IDs at the same time, Before writing/reading an new Tel. ID, host
should set STOP bit to 1 for the current Tel. ID.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
26
MX93032
9.0 COMMAND FORMAT AND PROTOCAL
Mode 0. IDLE MODE
0000000000000000
(11-1)
(15-12)
0
0000
STOP
00000000000
CONF
(11-1)
(15-12)
0
RESP
0000000000000000
Mode 1. RECORD MODE
(15-12)
0001
(11)
(10-8)
(7)
(6)
(5-0)
MARKED
RECORD
MARK
FAIL
PAUSE STOP
TAIL CUT
CONF
TAIL CUT
STOP
: 0 ~ 63 units. One unit length can be 400ms or 200ms (set by Mode 9).
= 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 Mode 9 ANNC
DEL=1, this bit will be ignored.
When MARKED RECORD = 000, do not set this bit.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
27
MX93032
(15-9)
(8)
(7)
(6)
(5)
(4)
(3-0)
CONT
TONE
VOX
RECORD TIME (sec)
CAS
MFULL
TONE
DTMF
RESP
DTMF
CONTTONE
TONE
: the detected DTMF value during recording.
= 1 : continuous tone is found.
= 1 : call progress tone is found.
VOX
MFULL
= 1 : the input speech power level is under the VOX LEVEL (set by Mode 12).
= 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.
RECORDTIME : recording time until now, 0 ~ 127 sec.
CAS
: CAS detection for CIDCW (detail see mode 15 )
If CAS tone and DTMF D are existed at the same system, the Host should Check if bit8(CAS) == 1
and bit3-0(DTMF) =0000, and then that's a real CAS Tone. Refer to the following table.
DTMF ReferenceTable:
INDEX
DTMF CODE
INDEX
CAS
DTMF CODE
CAS
0
DTMF
DTMF
1001
1010
1011
1100
1101
1110
1111
1111
0000
0000
0001
0010
0011
0100
0101
0110
0111
1000
NoTone
0
0
0
0
0
0
0
1
1
9
0
1
2
3
4
5
6
7
8
*
0
0
0
#
0
A
0
B
0
C
D
0
0
CASTONE
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
28
MX93032
Mode 2. PLAY MODE
(15-12)
0010
(11)
(10)
(9)
(8)
(7)
(6-0)
MSG ID
PLAY
NEW
FAST
PLAY
STOP PAUSE STOP
CONF
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 Mode 6 REAL DEL command is done.
= 0 : continue playing.
PAUSE
= 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.
= 0 : normal play speed.
FAST PLAY
= 1 : play speed will be up to 33%.
(15-9)
(8)
(7)
0
(6)
(5)
(4)
0
(3-0)
PLAY
END
PLAY TIME (sec)
CAS
TONE
DTMF
RESP
DTMF andTONE :see RECORD MODE.
PLAY END
PLAY TIME
CAS
= 1 : the current message is played end.
: playing time until now, 0 ~ 239 sec.
: CAS detection for CIDCW (detail see mode 15 and mode1)
Mode 3. MESSAGE STATUS MODE
(11-4)
(15-12)
(3-0)
REQUEST CODE
0011
00000000000
CONF
(15-0)
DATA
RESP
REQUEST CODE:
REQUEST CODE
STATUS
DATA
0000
0001
0010
0011
0101
1000
number of personal total messages
number of personal new messages
number of personal old messages
available time
0 ~ 127
0 ~ 127
0 ~ 127
0 ~ 65535
0 or 1
garbage collection recommendation
number of total messages
0 ~ 127
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
29
MX93032
Mode 4.DTMF GENERATOR MODE
For DSP mode:
(15-12)
0100
(11)
START
(10)
9
8
(7-4)
(3-0)
STOP
TO
0
GAIN2
GAIN1
CONF
GAIN1, GAIN2 : 0 ~ 14 denote 3dB ~ -25dB (2dB/one step), 15 denotes no related signal.
TO
=0 OUTPUT CHANNEL CODEC 0.
=1 OUTPUT CHANNEL CODEC1.
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.
(15-0)
0000000000000000
RESP
For MCU mode:
(15-12)
0100
(11)
(10)
9
8
(7-4)
(3-0)
START
STOP
TO
0
GAIN2
GAIN1
CONF
GAIN1, GAIN2 : 0 ~ 14 denote 3dB ~ -25dB (2dB/one step), 15 denotes no related signal.
TO
=0 OUTPUT CHANNEL CODEC 0.
=1 OUTPUT CHANNEL CODEC1.
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 and Frequency 2 is put in the following command.
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.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
30
MX93032
(15-0)
0000000000000000
RESP
(15-0)
Frequency 1
CONF
RESP
(15-0)
0000000000000000
(15-0)
Frequency 2
CONF
RESP
(15-0)
0000000000000000
Mode 5. LINE MONITOR MODE
(15-12)
(11-8)
0000
(7)
(6-1)
(0)
0101
PAUSE
000000
STOP
CONF
STOP = 0 : start and continue the line monitor mode.
= 1 : stop the line monitor mode.
(15-9)
(8)
(7)
0
(6)
(5)
(4)
(3-0)
CONT
TONE
0000000
CAS
VOX
DTMF
RESP
TONE
DTMF, CONTTONE, TONE, PAUSE, VOX and CAS:see RECORD MODE.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
31
MX93032
Mode 6. DELETE MESSAGE MODE
(15-12)
0110
(11)
(10)
(9)
0
(8)
(7)
(6-0)
MSG ID
DEL
MARK
CLR
DEL
NEW
MSG
DEL
ALL
OLD
REAL
DEL
CONF
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 Mode 2 DEL MARK=1).
(11-0)
(15-12)
0110
000000000000
RESP
Mode 7. SET CURRENTTIME/VOICE PROMPT/SILENCETHRESHOLD MODE
(11-8)
(7-0)
(15-12)
0110
REQUEST CODE
DATA
CONF
RESP
(11-0)
(15-12)
0111
000000000000
REQUEST CODE:
TIME
REQUEST CODE
0000
DATA
SECOND
MINUTE
HOUR
0 ~ 59
0001
0 ~ 59
0010
0 ~ 23
WEEK
0011
0 ~ 6
SET OUTPUT PORT
SET LINK INDEX
0100
00 ~ FF H
00 ~ FF H
0 ~ 7
0101
VOICE PROMPT CONFIG
SILENCETHRESHOLD
0110
0111
0 ~ F H
00 ~ FF H
SEND MX93002 CMD 93993000(A) CMD
1xxx
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
32
MX93032
Request Code = 0110 (set voice prompt configuration),
(11-8)
0110
(7-3)
(2)
(1)
EVOP
SELECT SELECT
(0)
(15-12)
0110
FVOP
IVOP
CONF
00000
SELECT
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.
FVOP SELECT (FLASH voice prompt setting),
= 0 : FLASH voice prompt not selected.
= 1 : FLASH voice prompt selected and test.
(4)
(3)
(2)
(1)
(0)
(15-5)
FVOP
EVOP EVOP
UNIT ADDR
EVOP
IVOP
00000000000
RESP
STATUS
STATUS STATUS
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.
FVOP STATUS (FLASH voice prompt test status),
= 0 : test fail.
= 1 : test ok.
(when EVOP STATUS = 1),
EVOP ADDR
= 0 : external voice prompt at data space 1000H.
= 1 : external voice prompt at program space 8000H.
= 0 : external voice prompt in byte unit.
EVOP UNIT
= 1 : external voice prompt in word unit.
Request Code = 0111 (set silence threshold level - used by the silence management algorithm),
(15-12)
0111
(11-8)
0111
(7-4)
0000
(3-0)
SILENCE LEVEL
CONF
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.
(15-0)
0000000000000000
RESP
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
33
MX93032
Mode 8. GET CURRENTTIME MODE
(15-12)
1000
(11-8)
REQUEST CODE
(7-0)
00000000
CONF
(15-0)
DATA
RESP
REQUEST CODE, 0000 ~ 0011 : see Mode 7.
Mode 9. INITIAL ANDTEST MEMORY MODE
(15-12)
1001
(11-9)
000
(8)
(7)
(6)
(5)
(4)
(3)
(2)
(1)
(0)
OLD
MARK
SET
TAIL
CUT
UNIT SELECT
NEW/
OLD
VOX
ON/OFF
RECORD OFF
LINE
ON/
FLASH
RE-INIT
ANNC
DEL
GARBAGE FLASH
COLLECT
CONF
INIT
FLASH RE-INIT = 1 :re-initialize the FLASH.The information of FLASH size and FLASH good rate will be responded
in RESP. (Before this command is issued, Tel. Data Config., BIOS Mode 13 Sub-mode 3, should be
set properly.)
FLASH INIT
= 1 :do FLASH first-time initialization or error correction after power loss.The information of FLASH
size and FLASH good rate will be responded in RESP. (Before this command is issued, Tel. Data
Config., BIOS Mode 13 Sub-mode 3, should be set properly.)
GARBAGE COLLECT
= 1 : perform FLASH garbage collection. After garbage collection, more deleted (but not released)
data regions will be free out for further use.
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 viewed as an old message.
= 1 : one message that has been played (even not played end) is viewed 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.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
34
MX93032
(15-9)
(8)
(7-4)
(3-0)
FLASH
G/B
FLASH GOOD RATE
FLASH ADDR SIZE
FLASH BIT SIZE
RESP
FLASH BIT SIZE : the detected FLASH data bit number in one address access.
FLASH ADDR SIZE : the detected FLASH address space.
FLASH G/B (a conclusion of FLASH initialization or error correction),
= 0 : FLASH is bad.
= 1 : FLASH is good.
FLASH GOOD RATE : 0 ~ 100 %. It is significant when FLASH G/B = 1.
CODE
0000
0101
0110
FLASH ADDR SIZE
CODE
0000
FLASH BIT SIZE
0 M
1 M
2 M
0
1111
16
Mode 10. GET RECORD MESSAGE INFORMATION MODE
(15-12)
1010
(11-8)
(6-0)
(7)
NEW
MSG
REQUEST CODE
MSG ID
CONF
MSG ID
NEW MSG
: 1 ~ 127.
= 0 : the MSG ID is related to total messages.
= 1 : the MSG ID is related to new messages.
INFORMATION
REQUEST CODE
DATA
SECOND
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1111
0000 ~ 003BH
0000 ~ 003BH
0000 ~ 0017H
0000 ~ 0006H
BIT 15 - BIT 0
MINUTE
HOUR
WEEK
RECORD LENGTH
TIMER STATUS
ICM/MEMO
0 = default timer ; 1 = timer has set
0 = ICM record ; 1 = MEMO record
0 = no del mark ; 1 = has del mark
0 = no old mark ; 1 = has old mark
00~FFH
DEL MARK STATUS
MSG NEW/OLD STATUS
GET LINK INDEX
WRITE LINK INDEX (specified by 75XX)
OGM EXISTING STATUS
MSG ID=1~127
0 = OGM not exist ; 1 = OGM exist
(15-0)
DATA
RESP
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
35
MX93032
Mode 11.VOICE PROMPT MODE
(15-12)
(11)
(10)
0
(9)
(8)
(7-0)
PHRASE NUMBER
FAST
PLAY
1011
PAUSE
STOP
CONF
PHRASE NUMBER : 1 ~ 255.
PAUSE, STOP and FAST PLAY : see PLAY MODE.
(8)
CAS
(7)
0
(6)
(5)
(4)
0
(3-0)
(15-9)
PLAY
END
DTMF
PLAY TIME(sec)
TONE
RESP
DTMF, TONE, PLAY END CAS and Play TIME : see PLAY MODE.
Mode 12. SPEAKERPHONE MODE
(15-12)
1100
(11-8)
(7-0)
PARAMETERS
REQUEST CODE
CONF
REQUEST CODE
0000
FUNCTION
Free Run
0001
Gain Setting ForTone
GenerateTone
0010
0011
Reserved
0100
Set ERL
0101
Reserved
0110
Set T/R & R/T ratios
SetToneTable *
0111
1000
Set Speaker volume & line out gain
Set Loop attenuation
Read Internal Parameter (Reserved)
Reserved
1001
1111
Others
* : Not available
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
36
MX93032
Request Code = 0000 (Free Run)
(15-12)
(11-8)
0000
(7)
(6)
(5)
(4-0)
LINE
SPK
1100
CONF
STOP
00000
MUTE
MUTE
STOP
= 0 : turn on speakerphone
= 1 : turn off speaker phone
= 1 : mute line out
= 0 : normal line out
= 1 : mute loudspeaker
= 0 : normal speaker out
LINE MUTE
SPK MUTE
(15-9)
(8)
(7-6)
00
(5)
(4-3)
00
(2-0)
LOOP
TONE
0000000
CAS
RESP
ATTENUATION
TONE
= 1 : Call Progress Tone is detected
Loop Attenuation : see Set Loop Attenuation
CAS : CAS detection (see mode 15)
Request Code = 0001 (Set Gain forTone)
(15-12)
(7-4)
(11-8)
0001
(3-0)
CONF
1100
GAIN-LO
GAIN-HI
GAIN-LO, GAIN-HI:0~14 denote 0dB~-14dB; 15 denotes mute
(15-3)
(2-0)
LOOP
RESP
0000000000000
ATTENUATION
GAINTABLE:
GAIN
dB
0
1
2
3
4
5
6
7
0dB
8
-1dB
9
-2dB
A
-3dB
B
-4dB
C
-5dB
D
-6dB
E
-7dB
F
GAIN
dB
-8dB
-9dB
-10dB
-11dB
-12dB
-13dB
-14dB
MUTE
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
37
MX93032
Request Code = 0010 (Send DTMF or SingleTone)
(7)
(6)
0
(5)
(4-0)
(15-12)
1100
(11-8)
0010
D
S
INDEX
CONF
START
START
D or S
= 1 : start to generate Tone according to the index assigned
= 0 : stop generating Tone
= 0 : generate Single Tone (This bit is valid under bit 4 set)
= 1 :generate DualTone
(15-9)
(8)
(7-3)
(2-0)
LOOP
RESP
0000000
CAS
00000
ATTENUATION
INDEXTABLE:
IndexValue
Tone
IndexValue
10000
10001
10010
10011
10100
10101
10110
10111
11000
11001
11010
11011
11100
11101
11110
11111
Tone
00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
01100
01101
01110
01111
DTMF_0
DTMF_1
DTMF_2
DTMF_3
DTMF_4
DTMF_5
DTMF_6
DTMF_7
DTMF_8
DTMF_9
DTMF_*
DTMF_#
DTMF_A
DTMF_B
DTMF_C
DTMF_D
Note :
1. The tone frequency whose index is specified form 10000 to 11111 can be stored into the ROM space with starting
address specified by the label "TONE_TAB". At the same time, the label "TONE_TAB" should be declared as
global.
2. The legal index values for dual tone are just from 10000 to 10111. For dual tone mode, it will catch the frequency
specified by both the index and index+8.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
38
MX93032
Request Code = 0100 (Set ERL)
(15-12)
(7-4)
(11-8)
0100
(3-0)
CONF
1100
ERL_AEC
ERL_LEC
ERL_ACE:echo return loss occurred on speaker side
ERL_LEC:echo return loss occurred on line side
(15-3)
(2-0)
LOOP
RESP
0000000000000
ATTENUATION
ERL_AEC & ERL_LEC : Range from 0 to 30 with 2 dB/step
0000
0 dB
1000
16 dB
00001
2 dB
0010
4 dB
1010
20 dB
0011
6 dB
1011
22 dB
0100
8 dB
1100
24 dB
0101
0110
0111
10 dB
1101
12 dB
1110
14 dB
1111
1001
18 dB
26 dB
28 dB
30 dB
Note:The default value of ERL_LEC and ERL_AEC are 0 dB.
Request Code = 0110 (Set T/R & R/T ratio)
(15-12)
1100
(7-6)
00
(5-3)
R/T
(11-8)
0110
(2-0)
T/R
CONF
RESP
RATIO
RATIO
(15-3)
(2-0)
LOOP
0000000000000
ATTENUATION
T/R & R/T RATIO
000
001
010
011
100
15 dB
101
Reserved
110
111
3 dB
6 dB
9 dB
12 dB
Reserved Reserved
Note : 12 dB is default value
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
39
MX93032
Request Code = 0111 (SetToneTable)
(15-12)
(7-4)
0000
(11-8)
0110
(3-0)
INDEX
CONF
RESP
1100
Index: Range is from 0 to 15 (see Request Code=0010)
(15-0)
0000000000000000
(15-12)
1100
(7-0)
(11-8)
0111
CONF
RESP
FREQ_LO
(15-0)
0000000000000000
(15-12)
1100
(7-0)
(11-8)
0111
CONF
RESP
FREQ_LO
FREQ_HI and FREQ_LO will compose a 16-bit frequency, which is equal to "target Frequency *8.192".
(15-0)
0000000000000000
Request Code = 1000 (Set SPK_GAIN & LINE _GAIN)
(15-12)
1100
(11-8)
1000
(7-4)
(3-0)
SPK_GAIN
CONF
RESP
LINE_GAIN
LINE_GAIN:line out volume gain
SPK_GAIN:speaker out volume gain
(15-3)
(2-0)
LOOP
0000000000000
ATTENUATION
SPK_GAIN & LINE_GAIN : Range from -20 to 20
0000
-20dB
1000
6 dB
00001
-16 dB
1001
0010
0011
-8 dB
1011
12 dB
0100
0101
0 dB
1101
16 dB
0110
0111
4 dB
1111
20 dB
-12 dB
1010
-4 dB
1100
2 dB
1110
18 dB
8 dB
10 dB
14 dB
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
40
MX93032
Request Code = 1001 (Set Loop Attenuation)
(15-12)
1100
(11-8)
1001
(7-3)
(2-0)
LOOP
CONF
00000
ATTENUATION
(2-0)
(15-3)
0000000000000
LOOP
RESP
ATTENUATION
Loop Attenuation (CONF) : Range from 0 to 28 with 4dB/Step
000
001
010
011
100
101
110
111
0.dB
4 dB
8 dB
12 dB
16 dB
20 dB
24 dB
28 dB
Full Duplex
Smooth
Note:8dB is default value
Half Duplex
Loop Attenuation (RESP) :
000
001
010
011
100
101
110
111
0.dB
4 dB
8 dB
12 dB
16 dB
20 dB
24 dB
>28 dB
Request Code = 1111 (Read Internal Parameters)
(15-12)
1100
(7-0)
Parameter Type
(11-8)
1111
CONF
RESP
(15-0)
Parameter
ParameterType Description
00000000
00000001
00000010
00000011
00000100
00000101
00000110
00000111
00001000
AEC_SNR1
LEC_SNR1
AEC_STATE
LEC_STATE
AEC_AERLE
LEC_AERLE
ACC_ATT
LEC_ATT
TR_MODE
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
41
MX93032
Read CODEC Register (Reference 93002)
(15-12)
1100
(6-0)
(11-8)
1111
(7)
1
CONF
RESP
Parameter Type
(15-0)
Parameter
CODEC Register Description
0000000
0000001
0000010
0000011
0000100
0000101
0000110
0000111
Register 0
Register 1
Register 2
Register 3
Register 4
Register 5
Register 6
Register 7
Mode 13. PERSONAL MAIL MODE
(15-12)
(2-0)
(11-8)
0000
(7-5)
000
(4)
(3)
MEMO
/ICM
LOOP
BACK
PERSONAL
MAIL
CONF
1101
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.
= 0 : set the attribute of the recorded message to be ICM.
= 1 : set the attribute of the recorded message to be MEMO.
= 0 : enable loop back.
MEMO/ICM
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.
(15-0)
000000000000000
RESP
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
42
MX93032
Set Some Status,
(15-12)
1101
(2)
(11-8)
0001
(7)
(6)
0
(5-3)
(3)
(0)
CAS
SPK
SILENCE
RATE
CODEC OUTPUT
FORMAT LEVEL
COMPRESS
FORMAT
CONF
OUTPUT LEVEL
(set the relation of the output speech level and the 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 m-law data format is selected.
= 1 : 16-bit linear data format is selected.
(Note: Macronix MX93000 Codec family provide this mode.)
SILENCE RATE
(set the silence storage rate, it is significant only when COMPRESS FORMAT = 000)
= 0 : silence storage rate is 0.8kbps. (default setting)
= 1 : silence storage rate is 4.8kbps.
COMPRESS FORMAT (select the speech compression algorithm for message recording)
= 000 : CELP 4.8kbps with silence compression.
= 001 : CELP 12.8kbps with silence suppression.
= 010 - 111 : reserved.
CAS SPK
= 0 : turn off detecting CAS within speaker phone
= 1 : turn on detecting CAS within speaker phone
(15-0)
000000000000000
RESP
SetTelephone Data Configuration,
(15-12)
(1)
0
(0)
1
(11-8)
0011
(7-5)
000
(4-2)
TEL RECORD
NUMBER
CONF
1101
TEL RECORD NUMBER : set the number of total telephone data records,
= 000 : 0 record (default setting).
= 001 : 63 records.
= 010 : 126 records.
= 011 : 189 records.
= 100 : 252 records.
(15-0)
000000000000000
RESP
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
43
MX93032
Voice Activity Mode,
(15-12)
1101
(11-8)
0111
(7-6)
00
(5-0)
VOX Level
CONF
VOX LEVEL : see Table 6.
(15-0)
000000000000000
RESP
Mode 14.TELEPHONE DATA MODE
WRITETELEPHONE DATA
(15-12)
(7-0)
(11-10)
00
(9)
(8)
0
CONF
(C1)
TEL RECORD ID
STOP
1110
TEL RECORD ID:1~255, each telephone record has maximum 60 bytes.
STOP
=1:stop telephone data writing.
(9-1)
(15-12)
1110
(11-10)
00
(0)
RESP
(R1)
000000000
FULL
FULL=1: no free telephone record is available.
(15-12)
(7-0)
(11-10)
00
(9)
(8)
0
CONF
(C2)
DATA
STOP
1110
DATA
: the telephone data to write.
=1:stop telephone data writing.
STOP
(9-1)
(15-12)
1110
(11-10)
00
(0)
RESP
(R2)
000000000
FULL
FULL
=1:current telephone record is full.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
44
MX93032
READTELEPHONE DATA
(15-12)
(7-0)
(11-10)
01
(9)
(8)
0
TEL RECORD ID
STOP
1110
CONF
TEL RECORD ID : 1 ~ 255.
STOP
= 1 : stop telephone data reading.
(15-12)
(7-0)
(11-10)
00
(9)
(8)
READ
END
DATA
0
1110
RESP
DATA
READ END
: the read out telephone data.
= 1 : end of the current telephone record and the followed DATA is invalid.
Mode 15. CALLER _ID MODE
(15-12)
(8-0)
(11-9)
REQUEST
CODE
PARAMETER
1111
CONF
REQUEST CODE
FUNCTION
000
100
101
001
010
Demodulate FSK
Set Response method of CAS detected
Set CAS sensitivity
ACK DTMF A
ACK DTMF D
Request Code = 000 (Demodulate FSKTo RAW DATA)
(15-12)
(1)
TYPE
(0)
(11-8)
000
(8)
0
(7-2)
000000
START\
CONF
1111
TYPE
= 0 : CID TYPE I 200 bits channel seizure & 10 bits mark signal
= 1 : CID TYPE II 10 bits mark signal
= 0 : Start / Continue to Demodulate
START\
= 1 : Stop Demodulating
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
45
MX93032
(15) (14) (13)
CD ERR DR
(7-0)
FSK DATA BYTE
(12-8)
00000
RESP
CD
= 0 : Carrier is not detected (FSK signal do not occur on line)
= 1 : Carrier is detected (FSK signal takes place on line)
= 0 : Data buffer is not overflow
= 1 : Data buffer is overflow
= 0 : FSK data byte is not ready
ERR
DR
= 1 : FSK data byte is ready
Note :The length for RAW Data buffer is 8 bytes long.
Request Code = 000 (Demodulate FSKTo COOKED DATA)
(15-12)
(1)
TYPE
(0)
(11-8)
000
(8)
1
(7-2)
START\
CONF
1111
000000
TYPE
= 0 : CID TYPE I 200 bits channel seizure & 10 bits mark signal
= 1 : CID TYPE II 10 bits mark signal
= 0 : Start / Continue to Demodulate
START\
= 1 : Stop Demodulating
(15) (14) (13)
CD ERR DR
(7-0)
FSK DATA BYTE
(12-8)
00000
RESP
CD
= 0 : Carrier is not detected (FSK signal do not occur on line)
= 1 : Carrier is detected (FSK signal takes place on line)
= 0 : Data buffer is not overflow
= 1 : Data buffer is overflow
= 0 : FSK data byte is not ready
ERR
DR
= 1 : FSK data byte is ready
Note: 1) The second byte data received by FSK decoder will be considered as the total data length.
2) The first byte sent out are the total length +1 in which the checksum is included.
3) The length for cooked data buffer is 60 bytes long.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
46
MX93032
Request Code = 100 (Set Response method of CAS detected)
(15-12)
(11-9)
(0)
(8-1)
CAS
000
CONF
1111
00000000
TYPE
CAS TYPE
= 0 : Continuous Response. Response CAS behavior fidelity (Delay about 55ms)
= 1 : Response One Time. Response CAS detected after CAS is off
CAS SIGNAL :
Continuous Resp
Resp OneTime
55 ms
15 ms
(15-0)
000000000000000
RESP
Request Code = 101 (Set CAS Sensitivity)
(15-12)
(8-3)
(2-0)
(11-9)
101
CAS_LVL
000000
CONF
RESP
1111
(15-0)
000000000000000
0
1
2
3
4
5
6
7
Sensitivity
-32
-34
-36
-38
-40
-42
-44
-46
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
47
MX93032
Request Code = 001 or 010 (ACK DTMF A or ACK DTMF D)
(15-12)
1111
(8)
(7-4)
(3-0)
(11-9)
ACK
GAIN1
GAIN2
TO
CONF
GAIN1, GAIN2 : 0~14 denote 3dB ~ -25dB (2dB/one step), 15 denotes no related signal.
TO
= 0 OUTPUT CHANNEL CODEC 0.
= 1 OUTPUT CHANNEL CODEC 1.
=001 ACK DTMF A.
ACK
=010 ACK DTMF D.
(15-0)
000000000000000
RESP
TABLE 1. PERFORMANCE TEST FOR TONE DETECTION
(noiseless)
Power (dB)
p2p (volt)
280 Hz
0
-3
-6
-10
-20
-30
-33
-36
-39
5
3.54
x
2.5
x
1.58
x
.5
.158
x
.112
x
.079
x
.056
x
x
x
300 Hz
ok
ok
ok
ok
ok
x
ok
ok
ok
ok
ok
x
ok
ok
ok
ok
ok
x
ok
ok
ok
ok
ok
x
ok
ok
ok
ok
ok
x
ok
ok
ok
ok
ok
x
ok
ok
ok
ok
ok
x
x
x
400 Hz
ok
ok
ok
x
x
500 Hz
x
600 Hz
x
640 Hz
x
670 Hz
x
x
480+620 Hz
350+440 Hz
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
x
x
x
x
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
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
48
MX93032
SNR (dB)
40
25
12
detect time delay / off time delay (ms)
300 Hz
50 / 40
40 / 40
40 / 40
45 / 40
40 / 40
45 / 40
55 / 40
40 / 40
40 / 40
45 / 40
45 / 40
45 / 40
65 / 40
45 / 45
45 / 45
60 / 35
50 / 40
55 / 40
400 Hz
500 Hz
640 Hz
480+620 Hz
350+440 Hz
* 0 dB is defined as the Vrms of maximum codec input
** the detect/off time delay is defined as follows
INPUT
RESPONSE
detect time delay
off time delay
TABLE 2. RESOLUTION TEST FOR DUAL TONE (FREQUENCY DETECTABLE RANGE)
RANGE / POWER
(300 + F2 Hz)
-4 dB
-25 dB
F2 > 320 Hz
F2 < 620 Hz
F2 > 320 Hz
F2 < 620 Hz
(640 + F2 Hz)
TABLE 3. THD DISTORTION TEST FOR DUAL TONE (DISTORTION TOLERANCE)
INPUT / POWER
(300 + 320 Hz)
(640 + 620 Hz)
-4 dB
-25 dB
> 10 dB
> 10 dB
> 10 dB
> 10 dB
* 0 dB is defined as the Vrms of maximum codec input
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
49
MX93032
TABLE 4. CALL PROGRESS TONE DETECTOR CHARACTERISTICS
PARAMETER
MIN
-30
TYP
MAX UNIT
dB
Detection level *
Rejection level
-37
640
-12
-10
dB
Hz
dB
dB
Frequency range
300
Noise tolerance
THD tolerance
Rejection frequency range
Minimum signal duration accept
Maximum response time
< 280 Hz or
50 ms
> 670 Hz
50 ms
* 0 dB is defined as the Vrms of maximum codec input
TABLE 5. DTMF CHARACTERISTICS
PARAMETER
MIN
-43
TYP
MAX
0
UNIT
dB
dB
dB
ms
ms
%
DTMF signal level for detection *
DTMF twist (high/low tone)
DTMF noise tolerance
±
±
9
-10
DTMF tone duration accept
DTMF interdigit pause accept
DTMF frequency deviation accept limit
DTMF frequency deviation reject limit
Tone generator level
50
50
±
1.5
3
%
-25
+3
dB
%
±
±
Tone generator frequency accuracy
Tone generator level accuracy
0.1
0.5
dB
* 0 dB is defined as the Vrms of maximum codec input
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
50
MX93032
TABLE 6. VOX THRESHOLD
dB
-9
VOX_LEVEL
0
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
0 dB is defined as the Vrms of maximum Codec input.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
51
MX93032
TABLE 7. SILENCE THRESHOLD LEVEL
SILENCE LEVEL
dB
1
-58
-55
-52
-49
-46
-43
-40
-37
-34
-31
-28
-25
-22
-19
-16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0 dB : maximum input of sinusoidal wave
TABLE 8. ECHO CANCELLER PERFORMANCE *
Test Description
Final Echo Return Loss Improvement (ERLI) (Singletalk mode)
Maximum tail length
> 28 dB
12 ms
Convergence Rate (Singletalk mode)
> 28 dB
500 ms after initialization with cleared register and with near-end signal
set to zero at initialization time
Infinite Return Loss Convergence
> 28 dB
Return Echo Loss Improvement 500 ms after echo path is interrupted
* test signal : band-limited white-noise (300-3400 Hz)
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
52
MX93032
TABLE 9. MAXIMUM COMMAND RESPONSE TIME
COMMAND
MAX RESP TIME (ms)
Record Mode :
1. start
32
6
2. normal
3. stop
104
Play Mode :
1. start
14
5
2. normal
3. stop
1
Message Status Mode :
1. get message number
2. get FLASH available time
3. get FLASH garbage collection recommendation status
DTMF Generator Mode
Line Monitor Mode
8
6
1
1
6
Delete Message Mode :
1. delete one message
2. delete all old messages
3. real delete
4300
5800
5500
1
Set CurrentTime/Voice Prompt/SilenceThreshold Mode
Get CurrentTime Mode
Initial and Test Memory Mode :
1. FLASH re-initialization
2. FLASH initialization/error correction
3. FLASH garbage collection
4. other misc. setting
Get Record Message Information Mode
Voice Prompt Mode :
1. start
1
2400
5800
150
1
10
6
5
1
1
1
2. normal
3. stop
Voice Activity Mode
Personal Mail Mode
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
53
MX93032
APPENDIX A : CID TEST REPORT BASED ON SR-3004
1.
Type 1Testing
Testing Items
1.1
A list of parameters to test based on SR-3004 are divided into two categories: Transmission tests and Message
Format tests.Transmission tests vary electrical properties of signals to identify when and where CPE fails to detect.
The Message Format tests vary the content and formatting of the data message.The following tests assumes that
Transmission testing is independent of Message Format testing.The FSK mode provided on the MX93032-M1 is just
responsible to decode the physical layer and data link layer. Therefore, Only transmission test associated with the
MX93032-M1 will be given. For message format tests, it should be tested by "system manufacturers" depending on
the their interesting region.
1.2
TransmissionTesting
Mark Frequency
Space Frequency
Twist Immunity
Noise Immunity
Baud Rate
1.2.1 Immunity to Frequency and Baud RateVariation
Item
Testing Range
Desired Range
SPACE
MARK
2100HZ ~ 2300HZ
1100HZ ~ 1300HZ
1150 baud ~ 1250 baud
2178HZ ~ 2222HZ
1188HZ ~ 1212HZ
1188 baud ~ 1212 baud
BAUD RATE
Testing Condition :
Signal amplitude at -20dBm for per frequency
SNR : 40 dB
Signal : For the signal which meets the following each conditions will be send 100 times, the times CPE receive
correctly will be recorded.
Baud Rate = 1188 baud
2100
95
2150
100
100
100
100
100
100
2178
100
100
100
100
100
100
2222
100
100
100
100
100
100
2250
100
100
100
100
100
100
2300
100
100
100
100
100
80
1100
1150
1188
1212
1250
1300
100
100
100
100
100
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
54
MX93032
Baud Rate = 1212 baud
2100
100
100
100
100
100
100
2150
100
100
100
100
100
100
2178
2222
100
100
100
100
100
100
2250
100
100
100
100
100
100
2300
100
100
100
100
100
100
1100
1150
1188
1212
1250
1300
100
100
100
100
100
100
1.2.2 Twist Immunity
Range +/- 10 dB
Fix Condition:
Space Frequency : 2200 HZ
Mark Frequency : 1200 HZ
Baud Rate
SNR
: 1200 Baud
: 40 dB
Signal : For the signal which meets the following each conditions will be send 100 times, the times CPE
receive correctly will be recorded.
Positive Twist : (Mark > Space)
Mark is fixed to -13 dBm and Space vary from -13 dBm to -48 dBm with step 5 dB
-13
-18
-23
-28
0
-33
0
-38
0
-43
0
-48
0
100
100
100
Negative Twist : (Mark < Space)
Space is Fixed to -13 dBm and Mark vary from -13dBm to -48 dBm with step 5 dB
-13
-18
-23
-28
0
-33
0
-38
0
-43
0
-48
0
100
100
100
1.3.4 Noise Immunity:
Fix Condition:
Space Frequency
Mark Frequency
Baud Rate
: 2200 HZ
: 1200 HZ
: 1200 Baud
: -20 dBm
Signal Level
Signal : For the signal which meets the following each conditions will be send 100 times, the times CPE
receive correctly will be recorded.
10
0
12
0
14
0
15
18
20
22
24
100
100
100
100
100
26
28
30
32
34
36
38
40
100
100
100
100
100
100
100
100
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
55
MX93032
TYPE II TESTING
TheType 2 CPE requires all of the same conformance test asType 1 CPE in addition to "CAS detector performance”
2.1
CAS Detector Performance
There are three types of tests to perform for CAS detector performance:
Signal RecognitionTolerance ( without speech )
Talk off ( false detection due to speech )
Talk Down (missed detection due to interference from speech )
2.1.1 Signal RecognitionTolerance
Parameter
Nominal
Minimum
2119 Hz
2736 Hz
-32 dBm
0 dB
Maximum
2141 Hz
2764 Hz
-14 dBm
6 dB
Lower Frequency
Upper Frequency
Power level
Twist
2130 +/- 2 Hz
2750 +/- 2 Hz
-22 +/- 1 dBm
0 ~ 2 dB
Duration
80 +/- 1 ms
75 ms
85 ms
Various combinations of the above parameter values will be tested by sending 1000 CAS tones to the CPE at a rate
not exceeding 2 per second.The various parameter combinations are broken into three groups described as follows.
Each test combination requires 34 minutes to complete with 1000 burst at a 2 second interval.
Group 1 consists of all the parameters at their nominal value.
Group 2 sets each parameter ( one at a time) to its extreme values, while the remaining parameters remain
at their nominal value.
Group 3 sets all parameters to 90% of its extreme value. All of the possible parameter combinations are
tested.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
56
MX93032
Group 1 :
Test No
1
Frequency ( Low , High)
(2130,2750)
Power Level (Low , High)
(-22,-22)
Duration
80
CorrectTimes
1000
Group 2 :
Test No
Frequency ( Low , High)
(2119,2750)
(2141,2750)
(2130,2736)
(2130,2764)
(2130,2750)
(2130,2750)
(2130,2750)
(2130,275)
Power Level (Low , High)
(-22,-22)
Duration
80
CorrectTimes
1000
1
2
(-22,-22)
80
1000
3
(-22,-22)
80
1000
4
(-22,-22)
80
1000
5
(-14,-14)
80
1000
6
(-32,-32)
80
1000
7
(-14,-20)
80
1000
8
(-32,-26)
80
1000
9
(2130,2750)
(2130,2750)
(2130,2750)
(2130,2750)
(-20,-14)
80
1000
10
11
12
(-26,-32)
80
1000
(-22,-22)
75
1000
(-22,-22)
85
1000
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
57
MX93032
Group 3 :
Test No
1
Frequency ( Low , High)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2120,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2140,2737)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2120,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
(2140,2763)
Power Level (Low , High)
(-31,-31)
(-31,-26)
(-26,-31)
(-15,-15)
(-15,-20)
(-20,-15)
(-31,-31)
(-31,-26)
(-26,-31)
(-15,-15)
(-15,-20)
(-20,-15)
(-31,-31)
(-31,-26)
(-26,-31)
(-15,-15)
(-15,-20)
(-20,-15)
(-31,-31)
(-31,-26)
(-26,-31)
(-15,-15)
(-15,-20)
(-20,-15)
(-31,-31)
(-31,-26)
(-26,-31)
(-15,-15)
(-15,-20)
(-20,-15)
(-31,-31)
(-31,-26)
(-26,-31)
(-15,-15)
(-15,-20)
(-20,-15)
(-31,-31)
(-31,-26)
(-26,-31)
(-15,-15)
(-15,-20)
(-20,-15)
(-31,-31)
(-31,-26)
(-26,-31)
(-15,-15)
(-15,-20)
(-20,-15)
Duration
76
76
76
76
76
76
84
84
84
84
84
84
76
76
76
76
76
76
84
84
84
84
84
84
76
76
76
76
76
76
84
84
84
84
84
84
76
76
76
76
76
76
84
84
84
84
84
84
CorrectTimes
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
58
MX93032
CAS Level Reject Limit
Test No
1
Frequency ( Low , High)
(2120,2750)
Power Level (Low , High)
(-46,-46)
Duration
80
CorrectTimes
0
2.1.1.2Talk-downTest
Row
Signal Level
Speech Level
SNR
CAS Pulses CAS Pulses
Derated Miss
Rate (%)
19.933
11.7833
9.6
(dBm/Tone)
(dBm)
-10
Received
3608
4586
909
Sent
6000
6000
1125
1125
1125
1125
1
2
3
4
5
6
-28
-28
-22
-26
-28
-22
-18
-15
-12
-10
-6
-13
-10
-16
1073
1112
1124
2.311
-22
0.5778
0.0444
-19
-3
CAS LEVEL
Speech
-7 dBm
-30 dBm -28 dBm
-26 dBm
-24 dBm
17.2166~
11.0555~
5.9556~
1.4445~
0.4~
-22 dBm
11.7833
9.60
-20 dBm
-18 dBm
-16 dBm
1.8778~
0.5778
0.0444
0*
33.5166^ 28.0833^ 22.6500^
10.3278~
2.3111
1.0111~
0.2222~
0*
5.9556~
-10 dBm 25.3666^ 19.933
-13 dBm 17.2166~ 11.7833
-16 dBm 11.0555~ 9.6
14.5000~
10.3278~
2.3111
1.0111~
0.2222~
0*
1.4445~
1.8778~
0.5778
0.0444
0*
0.4000~
0*
0*
0*
0*
0*
0*
-19 dBm 5.9556~
-22 dBm 1.4445~
-25 dBm 0.4~
-28 dBm 0*
1.8778~
0.5788
0.0444
0*
0*
0*
0*
0*
0*
0*
0*
0*
0*
0*
0*
0*
0*
-31 dBm 0*
0*
0*
0*
0
0*
0*
in which the symbols "~" , "^" and "*" represent interpolated, extrapolated and clamped to minimum or maximum,
respectively.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
59
MX93032
Weighted average detection rate for all 72 level combinations given above
-30 -28 -26 -24 -22 -20
-18
-16
Sum
-7
0.000129 0.000172 0.000344 0.000731 0.000731 0.000731 0.000731 0.000731 0.0043
0.000774 0.001032 0.002064 0.004386 0.004386 0.004386 0.004386 0.004386 0.0258
0.002973 0.003964 0.007928 0.016847 0.016847 0.016847 0.016847 0.016847 0.0991
0.006684 0.008912 0.017824 0.037876 0.037876 0.037876 0.037876 0.037876 0.2228
-10
-13
-16
-19
-22
-25
-28
-31
Sum
0.0088
0.01184
0.02368
0.05032
0.05032
0.05032
0.05032
0.05032
0.296
0.006684 0.008912 0.017824 0.037876 0.037876 0.037876 0.037876 0.037876 0.2228
0.002973 0.003964 0.007928 0.016847 0.016847 0.016847 0.016847 0.016847 0.0991
0.000774 0.001032 0.002064 0.004388 0.004386 0.004386 0.004386 0.004386 0.0258
0.000129 0.000172 0.000344 0.000731 0.000731 0.000731 0.000731 0.000731 0.0043
0.03
0.04
0.08
0.17
0.17
0.17
0.17
0.17
1
Talkdown Condition 1 -- the combination of average signal level (-22 dBm /tone) and average speech level (-19 dBm).
At least 99.5% of the signals sent should be received correctly using derated missed rate.
Talkdown Condition 2 -- the weight average of the worst one percent of the 72 combinations.At least 93% of the signal
sent should be received correctly using the derated missed rate.
Talkdown Condition 3 -- the weighted average of all of the 72 combinations. At least 99.5% of the signal should be
received correctly using derated missed rate.\
Statistical Talkdown Result:
Condition 1 (nominal)
Condition 2 (worst 1 %)
Condition 3 (global)
: 99.956 % ( Spec. >= 99.5% )
: 83.784 % ( Spec. >= 93 % )
: 99.005 % ( Spec. >= 99.5%)
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
60
MX93032
2.1.1.3Talk-offTest
TalkoffTest Raw Data:
Row
Near End
Hits No on Near TestingTime Far End Speech Hits No on Far Testing Time
Speech Level End Speech
(dBm)
Level (dBm)
End Speech
1
2
3
-10
-16
-22
8
5
3
96
96
96
-16
-22
5
3
96
96
FAR END SPEECH
-13 dBm^ -16 dBm -19 dBm~ -22 dBm
-25 dBm^ -28 dBm^ -31 dBm^
N
E
A
R
-7 dBm^
-10 dBm
0.0729
0.0729
0.0677
0.0677
0.0599
0.0521
0.0469
0.0417
0.0365
0.0313
0.0260
0.0625
0.0625
0.0547
0.0469
0.0417
0.0365
0.0313
0.0260
0.0208
0.0573
0.0573
0.0495
0.0417
0.0365
0.0313
0.0260
0.0208
0.0156
0.0521
0.0521
0.0443
0.0365
0.0313
0.0260
0.0208
0.0156
0.0104
0.0469
0.0469
0.0391
0.0313
0.0260
0.0208
0.0156
0.0104
0.0052
0.0417
0.0417
0.0339
0.0260
0.0208
0.0156
0.0104
0.0052
0
-13 dBm~ 0.0651
-16 dBm 0.0573
-19 dBm~ 0.0521
-22 dBm 0.0469
E
N
D
S
P
E
E
C
H
-25 dBm^ 0.0417
-28 dBm^ 0.0365
-31 dBm^ 0.0313
~ interpolated ^ extrapolated
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
61
MX93032
Weighted average of all 63 combinations
-13
-16
-19
-22
-25
-28
-31
Sum
-7
3.07E-5
9.013E-5
0.0002528 0.0005126 0.0008063 0.000915
0.0016925 0.0043
-10
-13
-16
-19
-22
-25
-28
-31
Sum
0.0001842 0.0005408 0.001517
0.0030754 0.0048375 0.0054902 0.0101549 0.0258
0.0007076 0.0020771 0.0058271 0.0118127 0.0185813 0.0210885 0.0390058 0.0991
0.0015908 0.0046699 0.0131006 0.0265578 0.041775
0.0021134 0.0062042 0.0174048 0.0352832 0.0555
0.0015908 0.0046699 0.0131006 0.0265578 0.041775
0.0474118 0.0876941 0.2228
0.0629888 0.1165056 0.296
0.0474118 0.0876941 0.2228
0.0007076 0.0020771 0.0058271 0.0118127 0.0185813 0.0210885 0.0390058 0.0991
0.0001842 0.0005408 0.001517 0.0030754 0.0048375 0.0054902 0.0101549 0.0258
0.0002528 0.0005126 0.0008063 0.000915 0.0016925 0.0043
0.0588 0.1192 0.1875 0.2128 0.3935
3.07E-5
0.00714
9.013E-5
0.02096
1
Talkoff Condition 1 : the combination of average near-end level (-19 dBm) and the average far end level (-28 dBm).
This talkoff rate should be less than 1 in 45 hours
Talkoff Condition 2 :the weighted average of the worst one percent of the 63 combinations.The talkoff rate should be
less than 1 in 10 hours.
Talkoff Condition 3 : the weighted average of all of the 63 combinations.The talk off rate should be less than 1 in 35
hours.
Tested Result :
Condition 1 (nominal ) : 1 hit per 38.4 hours
Condition 2 (worst 1 %) : 1 hit per 16.79 hours ( Spec. >= 10 hours)
Condition 3 (global) : 1 hit per 35.73 hours ( Spec. >= 35 hours)
( Spec. >= 45 hours)
3. Recommendation:
All of the test results corresponding to talkdown given above are obtained by configuring our demo board to "Adjunct
Model".That is, our demo board was connected directly to theTip and Ring on which the far end speech and far end
CAS has been mixed. Therefore, there is no way to tell speech signal from the CAS on that testing configuration
adopted by us. For practical application, Near end speech instead of far end speech should occur on talkdown test. If
the mixed signal captured from tip and ring can be subtracted from the source signal captured from the near end
speech with proper gain.Then the SNR of resultant signal will be highly improved on adjusting the impedance match
between CPE and SPCS adequately. According to our experience, if the quantity of the echo canceller can excess 6
dB, the performance of CAS detector embedded on 93032-M1 will meet the Bellcore specification for talkdown.The
feature of echo canceller will be inherently possessed by phone mode, there will be additional circuit to implement
echo canceller for adjunct model.
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
62
MX93032
APPENDIX B :OPERATION GUIDE FORTHE 93032-M1 DEMO BOARD
1.
INTRODUCTION:
The evaluation board (EVB) is provided by Macronix is to demonstrate both Digital speakerphone, Caller
ID and DAM functions.There are four parts in EVB:
1.
2.
3.
4.
Main Module with label "A001-BD-0038A"
DSP Module with label "A001-BD-0031B"
DAA Module with label "MSP-PCB-010A"
MCU Module with label "A001-BD-0040A"
The key pad is arranged into six kinds of definitions:
1. DAM mode keys:The power on default key function to demo DAM record/play/etc functions.
2. Speakerphone mode keys:Press "spk phone on" in DAM mode to enter speakerphone mode.
User can dial DTMF, set loudspeaker / lineout volume or mute line-out signal.
3. Speaker test mode keys : Press "test mode" key in speakerphone mode for 1 second to enter
this mode which allows user to set all the speakerphone BIOS parameters through key pad.
4. CPE Alerting Signal (CAS) test :Press "CASTest" and last for 1 second in DAM mode to enter
CAS test mode.During this mode , the number of CAS signal received fromTip and Ring will be
counted and represented on LCD display.
5. Caller IDTypeIITest mode:Press "CASTest" within 1 second in DAM mode to come into Caller
ID Type II Test mode. After coming into this mode, 93032-M1 will monitor line and detect the
CAS signal presented on line.The DTMF will be sent out as the CAS was found, following the
FSK will be decoded and showed on LCD.
6. Encoding mode selection : Press "Enc. Select" in DAM mode to switch the encoding mode
either 4.8 k or 12.8 k.
7. Flash Re-initialization : Press "Flash Re-Init." in DAM mode to perform FLAH Re-Initialization
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
63
MX93032
2.
MATRIX KEY DEFINITION:
Key Pad under DAM mode (Power on default mode)
Flash
Re-lnit.
ANN1
ON/OFF
1
2
3
6
A
CAS
TesT
ANN2
PLAY
4
5
B
Enc.
Select
ANN3
DEL
8
7
9
C
TIME/
STOP
MEMO/
REV
SPK.Phone
ON/OFF
CODE/FF
0
F
E
D
Key Pad in Speaker Phone mode :
Spk Vol
+
3
1
2
1
4
2
5
A
3
6
Spk Vol
-
4
7
5
6
9
B
Mute Lout/
Test Mode
8
7
8
0
9
C
Lout Vol
+
Lout Vol
-
SPK.Phone
OFF
0
F
E
D
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
64
MX93032
Key Pad in Speaker Phone Test mode :
Set
LINE_DRV
Current
Loop Att
Set T/R
Ratio
Target
Loop Att +
1
2
A
3
Set
AD2_PGA
Set R/T
Ratio
Target
Loop Att -
4
5
6
B
Set
Set
Set
Exit
ATT1
Test Mode
LEC_ERL
Pre_PGA
7
8
9
C
Set
Set
Set
AD1_PGA
SPK_DRV
AEC_ERL
0
F
E
D
Key Pad in CALLER ID Test mode :
R/C
DUMP CID
1
4
2
5
A
3
CALLER TYPE
II/CAS TEST
6
B
7
8
9
C
D
Backward
Caller ID Data
Forward Caller
ID Data
STOP
0
F
E
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
65
MX93032
Key Pad Definitions under DAM/Caller ID mode:
NO FUNCTION
PRESS METHOD
1
OGM1 PLAY
Press within 2 sec
Press over 2 sec
Press
OGM1 RECORD AND PLAY
Turn on DAM
2
3
Raw/Cook Data Select
Dump Caller ID Data
OGM2 PLAY
Press within 2 sec
Press over 2 sec
Press within 2 sec
Press over 2 sec
Press within 2 sec
Press over 2 sec
4
5
OGM2 RECORD AND PLAY
PLAY ALL MESSAGE
PLAY NEW MESSAGE
6
7
8
9
0
Delete Current Message played
Press
Show And Announce Password
Press within 2 sec
Press over 2 sec
Press
Set Password
Forward (for playing message and setting password)
A
B
C
E
Flash Re-initialization
Press
CAS Test
Press
Enc. Selection
Press
Record Memo
Press over 2 sec
Press
Rewind (for playing message and setting password)
F
AnnounceTime Stamp
Stop
Press
Press
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
66
MX93032
Key Pad Definitions under Speaker Phone Mode :
NO
1
FUNCTION
PRESS METHOD
Press
GENERATE DTMF "1"
GENERATE DTMF "2"
GENERATE DTMF "3"
GENERATE DTMF "4"
GENERATE DTMF "5"
GENERATE DTMF "6"
GENERATE DTMF "7"
GENERATE DTMF "8"
GENERATE DTMF "9"
Increase Line OutVolume
Increase SpeakerVolume
Decrease SpeakerVolume
Mute Line Out
2
Press
3
Press
4
Press
5
Press
6
Press
7
Press
8
Press
9
Press
0
Press
A
B
C
Press
Press
Press within 2 sec
Press over 2 sec
Press
EnterTest Mode
D
E
F
Turn Off Speaker Phone
Decrease Line OutVolume
GENERATE DTMF "0"
Press
Press
Key Pad Definitions under Speaker Phone Mode (Test Mode) :
NO
1
FUNCTION
PRESS METHOD
Press
Show Current Loop Attenuation
SET LINE_DRV (MX93002 CODEC)
SET T/R RATIO
2
Press
3
Press
4
5
SET AD2_PGA (MX93002 CODEC)
SET R/T RATIO
Press
Press
Press
Press
Press
Press
Press
Press
Press
6
7
SET PRG_PGA (MX93002 CODEC)
SET_ATT1(MX93002 CODEC)
SEL LEC_ERL
8
9
0
SET AD1_PGA
A
B
C
D
E
F
TARGET LOOP ATTENUATION UP
TARGET LOOP ATTENUATION DOWN
EXIT TEST MODE
SET AEC_ERL
Press
Press
SET SPK_DRV(MX93002 CODEC)
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
67
MX93032
Speaker Phone related BIOS parameters
ERL_AEC & ERL_LEC
: Range from 0 to 30 with 2 dB/step
0000
0 dB
00001
2 dB
0010
4 dB
0011
6 dB
0100
8 dB
0101
0110
0111
10 dB
12 dB
14 dB
1000
1001
1010
1011
1100
1101
1110
1111
16 dB
18 dB
20 dB
22 dB
24 dB
26 dB
28 dB
30 dB
Note:The default value of ERL_LEC and ERL_AEC are 0 dB.
T/R & R/T Ratio
000
001
010
011
100
101
110
111
3 dB
6 dB
9 dB
12 dB
15 dB
Reserved
Reserved
Reserved
Note : 12 dB is default value
SPK_GAIN & LINE_GAIN : Range from -20 to 20
0000
00001
-16 dB
0010
0011
0100
0101
0 dB
0110
2 dB
0111
4 dB
-20dB
-12 dB
-8 dB
-4 dB
1000
6 dB
1001
8 dB
1010
1011
1100
1101
1110
1111
10 dB
12 dB
14 dB
16 dB
18 dB
20 dB
Loop Attenuation (CONF) : Range from 0 to 28 with 4dB/Step
000
001
010
011
100
101
110
111
0.dB
4 dB
8 dB
12 dB
16 dB
20 dB
24 dB
28 dB
P/N:PM0689
REV. 1.0.3, DEC. 13, 1999
68
MX93032
MACRONIX INTERNATIONAL CO., LTD.
HEADQUARTERS:
TEL:+886-3-578-8888
FAX:+886-3-578-8887
EUROPE OFFICE:
TEL:+32-2-456-8020
FAX:+32-2-456-8021
JAPAN OFFICE:
TEL:+81-44-246-9100
FAX:+81-44-246-9105
SINGAPORE OFFICE:
TEL:+65-747-2309
FAX:+65-748-4090
TAIPEI OFFICE:
TEL:+886-3-509-3300
FAX:+886-3-509-2200
MACRONIX AMERICA, INC.
TEL:+1-408-453-8088
FAX:+1-408-453-8488
CHICAGO OFFICE:
TEL:+1-847-963-1900
FAX:+1-847-963-1909
http : //www.macronix.com
MACRONIX INTERNATIONAL CO., LTD. reserves the rignt to change product and specifications without notice.
相关型号:
©2020 ICPDF网 联系我们和版权申明