English
Language : 

NSAM266SA Datasheet, PDF (42/52 Pages) National Semiconductor (TI) – NSAM266SA CompactSPEECHTM Digital Speech Processor with Serial Flash Interface
2 0 Software (Continued)
SV
Set Vocabulary Type type id
Selects the vocabulary table to be used for voice synthesis
The vocabulary type is set according to the 1-byte type pa-
rameter
0 For compatibility only
1 External vocabulary in ROM
2 External vocabulary in Serial Flash
All others Reserved
The host is responsible to select the current vocabulary with
SV before using an SO SW SS or SAS command
Each external vocabulary table has a unique id which is part
of the vocabulary internal header (See the IVS User’s Manu-
al for more details) If type is 1 or 2 the CompactSPEECH
searches for the one byte id parameter in each vocabulary
table header until a match is found
If the id parameter does not point to a valid IVS vocabulary
ERR PARAM is set in the error word
Example
SV 02 03
Microcontroller 20 02 03
Byte sequence
CompactSPEECH 20 02 03
Description
Select the vocabulary with vocabulary-id
3 which resides on Serial Flash as the
current vocabulary
SW
Say Words n word1 wordn
Plays n words indexed by word1 to wordn On completion
the EV NORMAL END bit in the status word is set and
the MWRQST signal goes low
If one of the words is not defined in the current vocabulary
or if it is an IVS control or option code ERR PARAM is set
in the error word
If the current vocabulary is undefined ERR INVALID is re-
ported
Example
SW 02 00 00
Microcontroller 21 02 00 00
Byte sequence
CompactSPEECH 21 02 00 00
Description
Announce the first word in the word table
of the currently selected vocabulary
twice
TUNE
Tune index parameter value
Sets the value of the tunable parameter identified by index
(one byte) to the 2-byte value parameter value This com-
mand may be used to tune the DSP algorithms to a specific
Data Access Arrangement (DAA) interface or to change
other parameters If you do not use TUNE the Compact-
SPEECH uses default values
If index does not point to a valid tunable parameter
ERR PARAM is set in the error word
Note The tunable parameters are assigned with their default values on ap-
plication of power The INIT command does not affect these parame-
ters
Table 2-2 describes the tunable parameters their index
numbers and their default values
http www national com
42