![](http://datasheet.mmic.net.cn/Silicon-Laboratories-Inc/SI2400-BS_datasheet_102083/SI2400-BS_32.png)
Si2400
32
Rev. 1.3
must be disabled by setting S14[7] (MRCD) = 1b when
using this command to ensure the host does not
confuse a result code with data. w## and r# are not
required to be on separate lines (no <CR> between
them). Once a <CR> is encountered, AT is required to
begin the next AT command. For example, write the
value 58h to S34 and read it back using # commands
and ATSR commands.
The economy of the # commands is clearly evident from
this example. One caveat when using the # commands
is that the ASCII equivalents of the response can be
displayed as special or graphic characters when using a
terminal emulator program such as HyperTerminal.
However, in an embedded system, it is easy to send
non-ASCII characters.
6.4.5. m# Command Monitor S-Register
This command is similar to the r# command but is
repeated at the DTE rate until a new byte is transmitted
to the modem. The modem will echo the register
contents to the display as the ASCII equivalent of the
hexadecimal value of the contents. This command
executes immediately and does not require a carriage
return. Modem result codes must be disabled by setting
S14[7] (MRCD) = 1b when using this command to
ensure that the host does not confuse a result code with
data.
6.4.6. q# Command Read S-Register with 0x5500
Offset
This command is the same as the r# command except
that the response from the Si2400 is formatted as the
hexadecimal value 0x55aa where aa is the hexadecimal
value of the S-register contents. From a terminal, the #
following q is the ASCII equivalent of the hexadecimal
address of the S-register. This command executes
immediately and does not require a carriage return. The
0x5500 offset in the value of the register contents
prevents confusion between data and result codes and
permits the result codes to remain enabled.
Z
Software Reset (upper-case Z)
The “Z” command causes a software reset to occur in
the device whereby the registers will return to their
default power up value with the exception of E0, E2,
E4–E7, F8, and F9. These registers are not reset, so
the Si2400 will maintain its current DTE settings, GPIO
definitions, tone detect and transmit settings, and
overload and billing tone detection status. The hardware
reset pin, RESET (Si2400, pin 8), is used to reset the
Si2400 to factory default settings. If other commands
follow on the same line, another AT is needed after the
“Z” (e.g., ATZATS07=06<CR>).
z
Wakeup on Ring (lower-case z)
The Si2400 enters a low-power mode wherein the DSP
and microcontroller are powered down. The serial
interface also stops functioning. In this mode, only the
line-side chip (Si3015) and the communication link
function. An incoming ring signal or line transient
causes the Si2400 to power up and echo an “R”.
Without a ring signal, the host must perform a hardware
reset (Si2400, pin 8) to power up the Si2400. Return
from wake-on-ring can also be set to trigger the ALERT
pin by setting S62[4] (WOR) = 1b.
6.5. Alarm Industry AT Commands
The Si2400 supports a complete set of commands
necessary for making connections in security industry
systems. The Si2400 is configurable in three modes for
these applications. The first mode, DTMF send and
receive, is selected with the “!1” command. The second
mode uses FSK transmit with a tone acknowledgement
and is selected with “!2”. Finally, “!7” is selected for the
tone-on/tone-off mode.
The following are a few general comments about the
use of “!” commands. Specific details for each command
is given below. The first instance of the “!” must be on
the same line as the ATDT or ATDP command. DRT
must be set to data mode (SE4[5:4] (DRT) = 0b) before
attempting to send tones after a “!” command. The three
data-mode escape sequences (“+++”, “escape” pin and
“ninth-bit”) only function in “!2” mode. However, using
the “+++” or “ninth-bit” is not recommended because
characters could be sent to and misinterpreted by the
remote modem. Only the “escape pin” (Si2400, pin 14)
is recommended for use in the “!2” mode. The “!1” and
“!7” modes have special escape provisions described in
their respective sections below. The AT commands for
Alarm Industry applications are described in
Table 18.Terminal
Entry
Sent to
Modem (hex)
Response
(hex)
Display
ATw4Xr4
41 54 77 34 58
72 34
58
X
ATS34=58S34
?<CR>
41 54 53 33 34
3D 35 38 53 33
34 3F 0D
35 38
58