
NO.:
W62410 API
VERSION:
A
PAGE
98
Initializations and setup:
Before using the CHIPSET, you have to initialize the chip. The recommended procedure is as follows:
1 After the first time you power-up the CHIPSET, you should send an
Idle
command to the CHIPSET
to be sure that the CHIPSET is working correctly.
2 The above test verifies that there is communication possible between the CHIPSET and your micro
controller. Now you will be able to continue the initialization procedure of the CHIPSET.
3 To start initialization, you have to send an
Init
command with the correct parameters for your system:
by choosing the correct memory type of (AFlash or DRAM) and select the type of start (cold or warm)
you want.
3.1
The “V” parameter specifies the compression of silence. If set to one then silence compression
is turned on. The average compression bitrate will then typically drop by 20%
3
instead of the
constant 4800 bps. By default, this parameter should be set to one.
3.2
The “A” parameter specifies if the compression/decompression algorithm has to perform its
own digital AGC. The advantage of the digital AGC is that during playback the output volume
will have the same level regardless if the caller spoke in the message loudly or softly. By
default this parameter should be set to one.
3.3
The “C” parameter defines if the CHIPSET has to perform a cold or warm start:
3.3.1 A cold start will completely reinitialize the external storage memory and therefore delete all
present messages.
Warning:
when the CHIPSET has returned the last status result the host
controller has to wait at least 30 milliseconds before it may send a new command. This time is
needed by the CHIPSET to completely reset itself. Any commands send during this period
will be lost and will not be executed.
3.3.2 A warm start will preserve all messages stored in the external storage memory. The CHIPSET
will check first the integrity of the messages (e.g., a power failure could have destroyed the
messages). If the CHIPSET found an error in the integrity of the external memory it will
perform a complete reinitialize of the external memory. All remaining stored messages will be
lost and the CHIPSET will report to the host controller that it has performed a complete
reinitialize of the external memory space.
3.4
The “mem” parameter specifies which type of external storage memory is connected to the
CHIPSET. One can choose between 4 or 16 Mbit Samsung Aflash and 4 or 16 Mbit DRAM.
3.5
The “SCLKDIV” parameter is very closely related to the system clock frequency. This
CHIPSET needs an system clock frequency of 24.576 MHz. The “SLCKDIV” parameter
should be set to 5 for a system clock frequency of 24.576 MHz.
3.6
The “REFDIV” parameter is very closely related to the system clock frequency and
determines the refresh rate for the external DRAM (if DRAM is chosen as the external
memory). The “REFDIV” parameter should be set to 383 for a system clock frequency of
24.576 MHz.
3.7
The “DTSDIV” parameter is very closely related to the system clock frequency. The
“DTSDIV” parameter should be set to 23 for a system clock frequency of 24.576 MHz.
3.8
The “DTS Watchdog” parameter is very closely related to the system clock frequency. The
“DTS Watchdog” parameter should be set to 23 for a system clock frequency of 24.576 MHz.
After this Init command, you can continue sending other setup commands like the
SetThresholdLevels
command, the
SetCurrentTime
command, the
SetMaxLengthRecording
command, the
SetMailbox
, etc.
The above information is the exclusive intellectual property of Winbond Electronics and shall not be
disclosed, or reproduced without permission from Winbond.
3
Depending on how much silence is present in the speech, this can typically vary between 15% and 25%.