English
Language : 

NSAM266SA Datasheet, PDF (33/52 Pages) National Semiconductor (TI) – NSAM266SA CompactSPEECHTM Digital Speech Processor with Serial Flash Interface
2 0 Software (Continued)
CVOC
Check Vocabulary
Checks (checksum) if the IVS data was correctly pro-
grammed to the ROM or flash device
If the vocabulary data is correct the return value is 1 Other-
wise the return value is 0
If the current vocabulary is undefined ERR INVALID is re-
ported
Example
CVOC
Microcontroller 2B AA
Byte sequence
CompactSPEECH 2B 01
Description
Check the current vocabulary
The CompactSPEECH responds that the
vocabulary is OK
DM
Delete Message
Deletes the current message Deleting a message clears its
message tag
Deleting the current message does not cause a different
message to become current The current message is unde-
fined If for example you issue the GTM command to skip
to the next message the first message that is newer than
the just deleted message is selected as the current mes-
sage
The memory space released by the deleted message is im-
mediately available for recording new messages
Example
DM
Microcontroller 0A
Byte sequence
CompactSPEECH 0A
Description Delete current message
DMS
Delete Messages tag ref tag mask
Deletes all messages whose message tags match the tag
ref parameter Only bits set in tag mask are compared i e
a match is considered successful if
message tag and tag task e tag ref and tag mask
where and is a bitwise AND operation
After the command completes execution the current mes-
sage is undefined Use the GTM command to select a mes-
sage to be the current message
The memory space released by the deleted message is im-
mediately available for recording new messages
Example
DMS FFC2 003F
Microcontroller 0B FF C2 00 3F
Byte sequence
CompactSPEECH 0B FF C2 00 3F
Description
Delete all old incoming messages from
mailbox Number 2 in a system where the
message tag is encoded as follows
Bits 0 – 2 mailbox ID
8 mailboxes indexed 0 to 7
Bit 3 new old message indicator
0 Message is old
1 Message is new
Bits 4 – 5 message type
00 ICM memo
01 OGM
10 Call transfer message
Bits 6 – 15 not used
Note The description of the tag is an example
only All bits of the tag are user-definable
GCFG
Get Configuration Value
Returns a sequence of two bytes with the following informa-
tion
Bits 0 – 7 Magic number which specifies the Compact-
SPEECH firmware version
Bits 8 – 9 Memory type
00 Reserved
01 Reserved
10 Serial Flash
11 Reserved
The command should be used together with the CFG and
INIT commands during CompactSPEECH initialization See
the CFG command for more details and an example of a
typical initialization sequence
Example
GCFG
Microcontroller 02 AA AA
Byte sequence
CompactSPEECH 02 02 01
Description
Get the CompactSPEECH magic number
The CompactSPEECH responds that it is
Version 1 with Serial Flash
33
http www national com