
3.0 Command Set
(Continued)
The test takes up to 40 seconds.
If actionDnumber is not in the 0.3 range, ERRDPARAM is
set in the error word.
NSAM265SF
The return value is 0.
AMSG
Append to Current Message
NSAM265SF
&
NSAM265SR
V
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
EVDMEMFULL is set in the status word.
EVDMEMFULL is also set in the NSAM265SF if there is
only one AFLASH block available for recording, and the
MESSAGEDSAFE bit in the current message tag is set.
the
memory
becomes
full,
recording
stops
and
CFG
NSAM265SR
&
Configure CompactSPEECHconfigDvalue
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 configDvalue 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
(NSAM265SF only).
device
size
and
organization
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
ReservedDMust 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