English
Language : 

NSAM266SA Datasheet, PDF (36/52 Pages) National Semiconductor (TI) – NSAM266SA CompactSPEECHTM Digital Speech Processor with Serial Flash Interface
2 0 Software (Continued)
GSW
Returns the 2-byte status word
Get Status Word
THE STATUS WORD
The CompactSPEECH processor has a 16-bit status word
to indicate events that occur during normal operation The
CompactSPEECH asserts the MWRQST signal (clears to 0)
to indicate a change in the status word This signal remains
active until the CompactSPEECH receives a GSW com-
mand
The status word is cleared during reset and by the GSW
command
15 14 13 1211 10 9 8 7 6 5 4 30
The bits in the status word are used as follows
EV DTMF DIGIT
DTMF digit A value indicating a detected DTMF digit (See
the description of DTMF code in the GT command )
EV DTMF END
1 e Ended detection of a DTMF tone The detected digit is
held in EV DTMF DIGIT
EV NORMAL END
1 e Normal completion of operation e g end of message
playback
EV MEMFULL
1 e Memory is full
EV ERROR
1 e Error detected in the last command You must issue
the GEW command to return the error code and clear
the error condition
EV BUSY
1 e Busy tone detected Use this indicator for call progress
and line disconnection
EV DIALTONE
1 e Dial tone detected Use this indicator for call progress
and line disconnection
EV VOX
1 e a period of silence (no energy) was detected on the
telephone line during recording (See VOX TIME
COUNT in Table 2-2 )
EV RESET
When the CompactSPEECH completes its power-up se-
quence and enters the RESET state this bit is set to 1 and
the MWRQST signal is activated (cleared to 0)
Normally this bit changes to 0 after performing the INIT
command If this bit is set during normal operation of the
CompactSPEECH it indicates an internal CompactSPEECH
error The microcontroIler can recover from such an error by
re-initializing the system
EV DTMF
1 e Started detection of a DTMF tone
Example
GSW
Microcontroller 14 AA AA
Byte sequence
CompactSPEECH 14 00 40
Description
Get the CompactSPEECH Status Word
(typically sent after the MMRQST signal
is asserted by the CompactSPEECH
which indicates a change in the status
word)
The CompactSPEECH responds that the
memory is full
GT
Generate Tone tone
Generates the tone specified by the 1-byte tone parameter
until an S command is received
Specify the tone by setting the bits of tone as follows
Bit 0
1
Bits 1 – 4 DTMF code
Where the DTMF code is encoded as follows
Value (Hex)
0 to 9
A
B
C
D
E
F
DTMF Digit
0 to 9
A
B
C
D
http www national com
36