
NO.:
W62410 API
VERSION:
A
PAGE
13
0.1 The Init command:
Description:
The above information is the exclusive intellectual property of Winbond Electronics and shall not be
disclosed, or reproduced without permission from Winbond.
The
Init
command automatically checks first if the external memory has to be (re-) initialized.
This is done by searching for a unique signature stored at a specific place in external memory.
The very first time the CHIPSET will be used, this signature will not be found and the external
storage memory will always be initialized. If this signature is found however, then it is assumed
that no initialization for the external memory is needed. If the external memory is of the flash
type and a power failure occurred together with a battery backup failure, the messages stored in
this type of memory will be saved and no further action has to be undertaken. Counting and
assigning of ID numbers to the messages will automatically happen. In the case of DRAM and a
complete power and battery backup failure occurred, then all messages in the DRAM memory
are lost and a re-initialization will happen automatically. If needed the “C” flag can be set to “1”
to force the CHIPSET to perform a complete re-initialization of the external memory (and thus
destroying all present messages).
When the CHIPSET is first setup, using the
Init
command, all parameters (like volume, playback
speed, current mailbox, etc.) will be set to their default values.
Normally the
Init
command only has to be issued once during the whole lifetime of the CHIPSET.
However, it is allowed to send this command more than once if required. It’s perfectly feasible
e.g. to switch the silence compression on and off using this command without destroying the
contents of the external memory if wished.
If the “V” flag is set to “0” then the silence compression algorithm of the STREAMTALK
coder is disabled and the STREAMTALK
coder will produces always exactly 4800 bps.
However if this flag is set to “1”, silence compression is enabled and the data rate can drop to as
low as eight bits per voice frame of 30 mseconds (270 bps). On average, switching on the silence
compression algorithm will reduce the data rate with 25% to 30%.
If the “A” flag is set then a digital AGC algorithm is activated during recording to provide a
more constant speech signal level during playback which is more comfortable to listen to.
In the “mem” field one has to specify which type of external memory is used. Flash or DRAM.
The CHIPSET supports both flash and DRAM. For the flash memory type, one can choose
between the 4 Mbit chip (KM29N040) and the 16 Mbit chip from Samsung (KM29N1600T). A
maximum of 64 Mbit of flash memory storage space is supported (using four 16 Mbit flash
chips). For these chips, there is no limit on the number of bad blocks (however, there have to be
at least three good blocks within the first 16 blocks of the memory device). The only requirement
is that the first 4 Kbyte block is fully functional. For DRAM, one can choose between 4 Mbit and
16 MBit devices. However, in this case the maximum supported memory is in total 16 Mbit.
Meaning either four 4 Mbit devices or one 16 Mbit device. For the 16 Mbit devices one can
select between a 2K or 4K refresh type. Mixing of different memory types and sizes is not
possible.
Some other parameters have also to be specified which are closely related to the clock frequency
the CHIPSET is running on. The normal clock frequency is 24.576 MHz. From this clock are all
the other needed frequencies derived. These values are given below.