English
Language : 

NSAM265SR Datasheet, PDF (26/58 Pages) National Semiconductor (TI) – CompactSPEECH Digital Speech Processors
3 0 Command Set (Continued)
GTD
Get Time and Day time day option
NSAM265SR
NSAM265SF
Returns the time and day as a 2-byte value time day op-
tion may be one of the following
0 Get the system time and day
1 Get the current message time stamp
Any other time day option returns the time stamp of the
current message
Time of day is encoded as follows
Bits 0 – 2 Day of the week (1 through 7)
Bits 3 – 7 Hour of the day (0 through 23)
Bits 8 – 13 Minute of the hour (0 through 59)
Bits 14 – 15 00 The time was not set before the current
message was recorded
11 The time was set i e the SETD (Set Time
of Day) command was executed
GTM
Get Tagged Message tag ref tag mask dir
NSAM265SR
NSAM265SF
Selects the current message according to instructions in
dir to be the first nth next or nth previous message which
complies with the equation
message tag and tag mask e tag ref and tag mask
where and is a bitwise AND operation
dir is one of the following
0 Selects the first (oldest) message
n Selects the nth next message starting from the current
message
bn Selects the nth previous message starting from the
current message
Note To select the nth message with a given tag to be the current message
you must first select the first message that complies with the above
equation and then issue another GTM command with n b 1 as a
parameter to skip to the nth message
If dir is 0 and a message is found it becomes the current
message and 1 (TRUE) is returned If no message is found
the current message remains unchanged and 0 (FALSE) is
returned
If dir is not 0 trying to go beyond the first (last) message
during skip-previous (skip-next) operation results with the
first (last) message selected as the current message and 0
(FALSE) is returned
INIT
Initialize System
NSAM265SR
NSAM265SF
This command should be executed after the Compact-
SPEECH is configured (see CFG and GCFG commands)
Performs a soft reset of the CompactSPEECH as follows
 lnitializes the message directory information
NSAM265SR all messages are deleted
NSAM265SF messages are not deleted To delete the
messages use the DM and DMS commands
 Sets the detectors mask to 0
 Sets the playback speed to normal (0)
 In the NSAM265SR marks the entire ARAM as good (no
defective rows)
 In the NSAM265SF completes a garbage collection op-
eration to ensure consistency of the FLASH memory
manager (required only if the command is executed after
power failure which happened during garbage collection)
This may take up to 4 seconds a single FLASH block era-
sure time
 Switches to the IDLE state
 Activates (sets to low) the MWDRY signal
The current message is undefined after INIT execution
The tunable parameters are not affected by this comand
They are set to their default values only during RESET
INJ
NSAM265SR
Inject IVS data n byte1
NSAM265SF
byte n
Injects vocabulary data of size n bytes to good consecutive
FLASH blocks
The purpose of the command is to enable to program
FLASH devices on the production line with IVS vocabulary
data The command is optimized for speed and therefore all
CompactSPEECH detectors are suspended during the com-
mand execution The CVOC command can be used to
check whether programming was successful
If there is not enough memory space for the vocabulary
data ERR PARAM is set in the error word and execution
stops
FLASH blocks that include IVS data cannot be used for re-
cording even if only one byte of the block contains IVS data
(e g if the vocabulary size is 64k a 100 bytes TWO blocks
of the FLASH will not be available for message recording)
MR
Memory Reset
NSAM265SR
NSAM265SF
Erases all good AFLASH blocks and initializes Compact-
SPEECH (i e does exactly what the INIT command does)
Bad blocks and blocks which are used for IVS vocabularies
are not erased
The execution time of the command is dependent on the
number of good AFLASH blocks and the block erasure time
of the AFLASH device
Note The command erases all messages and should be used with care
P
Playback
NSAM265SR
NSAM265SF
Begins playback of the current message The Compact-
SPEECH state changes to PLAY When playback is com-
plete the CompactSPEECH sets the EV NORMAL END
bit in the status word and activates (sets to low) the
MWRQST signal Playback can be paused with the PA com-
mand and can be resumed later with the RES command
PA
Pause
NSAM265SR
NSAM265SF
Suspends the execution of the current Say command R P
or GT command The PA command does not change the
state of the CompactSPEECH execution can be resumed
with the RES command The S command switches the
CompactSPEECH to the IDLE state
Note DTMF and tone detectors remain active during Pause
PDM
Go To Power-Down Mode
NSAM265SR
NSAM265SF
Switches the CompactSPEECH to power-down mode (see
Section 2 13 for details)
26