English
Language : 

NSAM266SA Datasheet, PDF (40/52 Pages) National Semiconductor (TI) – NSAM266SA CompactSPEECHTM Digital Speech Processor with Serial Flash Interface
2 0 Software (Continued)
Example
S
Microcontroller 00
Byte sequence
CompactSPEECH 00
Description
Stop current activity (e g playback
recording) and put the CompactSPEECH
in IDLE state
SAS
Say Argumented Sentence sentence n arg
Announces sentence number sentence n of the currently
selected vocabulary and passes arg to it sentence n and
arg are each 1-byte long
When playing is complete the CompactSPEECH sets the
EV NORMAL END bit in the status word and activates
the MWRQST signal
If the current vocabulary is undetermined ERR INVALID is
reported
Example
SAS 00 03
Microcontroller 1E 00 03
Byte sequence
CompactSPEECH 1E 00 03
Description
Announce the first sentence in the
sentence table of the currently selected
vocabulary with ‘‘3’’ as the actual
parameter
SB
Skip Backward time length
Skips backward in the current message time length units
each of 0 2s duration and causes message playback to
pause time length is a 2-byte parameter that can have
any value up to 320 i e 64s The skip accuracy is 5% This
command is meaningful only in the PLAY state The RES
command must be issued to continue playback
If the beginning of the message is detected during execu-
tion of the SB command execution is terminated the EV
NORMAL END bit in the status register is set the
MWRQST signal is activated and the CompactSPEECH
switches to the IDLE state
If time length is greater than 320 ERR PARAM is set in
the error word
Playback speed does not affect the behavior of this com-
mand
Example
SB 19
Microcontroller 23 00 19
Byte sequence
CompactSPEECH 23 00 19
Description
Skip back five seconds from the current
position in the message being played
SDET
Set Detectors Mask detectors mask
Controls the reporting of detection for tones and VOX ac-
cording to the value of the detectors mask parameter A
bit set to 1 in the mask enables the reporting of the corre-
sponding detector A bit cleared to 0 disables the reporting
Disabling reporting of a detector does not stop or reset the
detector
The 1-byte detectors mask is encoded as follows
Bit 0 Report detection of a busy tone
Bit 1 Report detection of a dial tone
Bits 2 – 4 Reserved Must be cleared to 0
Bit 5 Report detection of no energy (VOX) on the line
(The VOX attributes are specified with the tunable
parameters VOX TIME COUNT and VOX
ENERGY LEVEL )
Bit 6 Report the ending of a detected DTMF
Bit 7
Report the start of a detected DTMF (up to 40 ms
after detection start)
Example
SDET A3
Microcontroller 10 A3
Byte sequence
CompactSPEECH 10 A3
Description
Set reporting of all CompactSPEECH
detectors except for end-of-DTMF
SE
Skip to End of Message
This command is valid only in the PLAY state When in-
voked playback is suspended (as for the PA command)
and a jump to the end of the message is performed Play-
back remains suspended after the jump
Example
SE
Microcontroller 24
Byte sequence
CompactSPEECH 24
Description Skip to end of current message
SETD
Set Time and Day time and day
Sets the system time and day as specified by bits 0 – 13 in
the 2-byte time and day parameter The time and day
parameter 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 These bits must be set to 1
If time and day value is not valid ERR
PARAM is set in the error word
Example
SETD 0E09
Microcontroller 0F 0E 09
Byte sequence
CompactSPEECH 0F 0E 09
Description Set time and day to Monday 1 30 AM
http www national com
40