isd-t360sb ETC-unknow, isd-t360sb Datasheet - Page 38

no-image

isd-t360sb

Manufacturer Part Number
isd-t360sb
Description
Manufacturer
ETC-unknow
Datasheet
ISD-T360SB
2.1.2
A VoiceDSP processor command is represented
by an 8-bit opcode. Some commands require
parameters. Some commands have return val-
ues. Commands are either synchronous or asyn-
chronous.
SYNCHRONOUS COMMANDS
A synchronous command must complete execu-
tion before the microcontroller can send a new
command (e.g. GMS, GEW). A command se-
quence begins when the microcontroller sends
an 8-bit opcode to the processor, followed by the
command’s parameters (if any). The VoiceDSP
processor then executes the command and, if re-
quired, transmits a return value to the microcon-
troller. Upon completion, the processor notifies the
microcontroller that it is ready to accept a new
command.
ASYNCHRONOUS COMMANDS
An asynchronous command starts execution in
the background and notifies the microcontroller,
which can send more commands while the cur-
rent command is still running (e.g. R, P). After re-
ceiving an asynchronous command, such as P
(Playback), R (Record), SW (Say Words) or GT (Gen-
erate Tone), the VoiceDSP processor switches to
the appropriate state and executes the com-
mand until finished or a S (Stop) or PA (Pause)
command is received from the microcontroller.
When completed, the EV_NORMAL _END event is
set and the processor switches to the IDLE state.
“VoiceDSP PROCESSOR COMMANDS—QUICK REF-
ERENCE TABLE” on page 2–22 displays all the pro-
cessor commands, the valid source states in
which these commands are valid, and the states
resulting from the command.
2-2
COMMAND EXECUTION
2.1.3
STATUS WORD
The 16-bit status word indicates events that occur
during normal operation. The VoiceDSP processor
activates the MWRQST signal, to indicate a
change in the status word. This signal remains ac-
tive until the processor receives a GSW (Get Status
Word) command.
For detailed description of the Status Word and
the meaning of each bit, see “GSW Get Status
Word” on page 2-34.
ERROR WORD
The 16-bit error word indicates errors that occurred
during execution of the last command. If an error
is detected, the command is not processed; the
EV_ERROR bit in the status word is set to 1, and the
MWRQST signal is activated.
ERROR HANDLING
When the microcontroller detects the active
MWRQST signal, it issues the GSW command, de-
activating the MWRQST signal. Then, the micro-
controller tests the EV_ERROR bit in the status word,
and, if set, sends the GEW (Get Error Word) com-
mand to read the error word for details.
For detailed description of the Error Word and the
meaning of each bit, see “GEW Get Error Word” on
page 2-31.
EVENT HANDLING
Voice Solutions in Silicon
2—SOFTWARE

Related parts for isd-t360sb