
3.0 Command Set
(Continued)
GTD
NSAM265SR
&
Get Time and DaytimeDdayDoption
NSAM265SF
&
Returns the time and day as a 2-byte value.timeDdayDop-
tion may be one of the following:
0 : Get the system time and day
1 : Get the current message time stamp.
Any other timeDdayDoption 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
NSAM265SR
&
Get Tagged MessagetagDref tagDmask dir
NSAM265SF
&
Selects the current message, according to instructions in
dir, to be the first, n
th
next or n
th
previous message which
complies with the equation:
message tag andtagDmask
e
tagDref andtagDmask
where and is a bitwise AND operation.
dir is one of the following:
0: Selects the first (oldest) message.
n: Selects the n
th
next message starting from the current
message.
b
n: Selects the n
th
previous message starting from the
current message.
Note:
To select the n
th
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 n
th
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
NSAM265SR
&
Initialize System
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
Inject IVS datan byte
1
. . .byte
n
NSAM265SF
&
NSAM265SR
Injects vocabulary data of sizen 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
NSAM265SR
&
Playback
NSAM265SF
&
Begins playback of the current message. The Compact-
SPEECH state changes to PLAY. When playback is com-
plete. the CompactSPEECH sets the EVDNORMALDEND
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
NSAM265SR
&
Pause
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
NSAM265SR
&
Go To Power-Down Mode
NSAM265SF
&
Switches the CompactSPEECH to power-down mode (see
Section 2.13 for details).
26