English
Language : 

NSAM265SR Datasheet, PDF (22/58 Pages) National Semiconductor (TI) – CompactSPEECH Digital Speech Processors
3 0 Command Set (Continued)
The test takes up to 40 seconds
If action number is not in the 0 3 range ERR
set in the error word
NSAM265SF
The return value is 0
PARAM is
AMSG
Append to Current Message
NSAM265SRV
NSAM265SF
Skips to the end of the current message and starts record-
ing The CompactSPEECH state changes to RECORD The
AMSG command continues execution until stopped by the S
command Recording can be paused with the PA command
and can be resumed later with the RES command
If the memory becomes full recording stops and
EV MEMFULL is set in the status word
EV MEMFULL is also set in the NSAM265SF if there is
only one AFLASH block available for recording and the
MESSAGE SAFE bit in the current message tag is set
CFG
Configure CompactSPEECH config value
NSAM265SR
NSAM265SF
This command is used to configure the CompactSPEECH in
various hardware environments The command should be
used to change the default CompactSPEECH configuration
The config value parameter is encoded as follows
Bit 0 Codec configuration
0 short frame format (default)
1 long frame format (Guaranteed by design but not
tested )
Bit 1 Reserved
Bit 2 Echo cancellation control
0 Echo cancellation off (default)
1 Echo cancellation is on during playback
Echo cancellation improves the performance of DTMF
detection during playback Echo cancellation can be
turned on only with a system that can disable AGC
during playback A system with AGC that can not be
controlled (i e enabled disabled) by the microcontrol-
ler must not turn on this bit
Bit 3
Memory utilization mode (NSAM265SF only)
0 Normal (default)
1 Intensive
For more details about memory operating
modes see Section 1 7 3 The NSAM265SR ig-
nores this bit
Bits 4 – 5 FLASH device protocol (NSAM265SF only)
00 AMD Am29040 and compatibles (default)
01 INTEL 28F008SA and compatibles
10 Reserved
11 Reserved
Bits 6 – 7 FLASH device size and organization
(NSAM265SF only)
00 4-Mbit byte wide (default)
01 8-Mbit byte wide
10 Reserved
11 Reserved
Bits 8 – 10 Number of installed FLASH devices
(NSAM265SF only)
Valid range 1 4 AMD
1 2 INTEL
Default is 1
Bits 11 – 15 Reserved Must be set to 0
The following pseudo C code demonstrates the
initialization sequence to be executed by a mi-
crocontroller that supports the NSAM265SF
with two Intel 8-Mbit devices IVS and a long
format codec in a system with AGC that can’t
be disabled Memory utilization mode is normal
TL EE 12378 – 16
22