2.4
Commands
2 – 11
Baud Rate
BAUD(?)
{
i
}
Set (query) the baud rate
{
to
i
}
.
At power-on, the baud rate defaults to 9600.
Actual baud rate settings depend on implementation details of the
SIM928, based on modulo prescalars of the 10 MHz system clock. As
a result, queries of
BAUD?
will in general be slightly di
ff
erent from the
set values. For example, after setting
BAUD
9600
, the query
BAUD?
will respond
9470
. The functional requirement for successful asyn-
chronous serial communication is no greater than
∼
5 % mismatch in
baud rates.
BAUD 9600
Example:
Flow Control
FLOW(?)
{
z
}
Set (query) flow control
{
to
z
=
(
NONE 0
,
RTS 1
,
XON 2
)
}
.
At power-on, the SIM928 defaults to
FLOW
RTS
flow control.
FLOW 0
Example:
Parity
PARI(?)
{
z
}
Set (query) parity
{
to
z
=
(
NONE 0
,
ODD 1
,
EVEN 2
,
MARK 3
,
SPACE 4
)
}
.
At power-on, the SIM928 defaults to
PARI
NONE
.
PARI EVEN
Example:
2.4.7
Status commands
The Status commands query and configure registers associated with
status reporting of the SIM928. See Section 2.5 for more details.
Clear Status
*CLS
*CLS
immediately clears the ESR, CESR, and the OVSR.
*CLS
Example:
SIM928
Isolated Voltage Source