Serial Console
The available commands are listed in
. In this table, values in brackets indicate a range or list of
possible characters. A dash (
–
) indicates a range, and commas (,) indicate a list.
Table 6. Console Mode Commands
COMMAND
FORMAT
OPERATION
Prints the current gain
P
—
setting
R
Set data rate
R [F,S]
V
Show firmware version
V
S
Start streaming
S
D
Read data once
D
Q
Query parameters
Q
Console mode does not interrupt standalone operation. It is always available, even when the standalone
mode is in use. However, if parameters are changed using both the console and standalone modes,
parameters may become out of sync.
5.2
Command Reference
5.2.1
P
—
Set PGA
This command has no effect on the ADS1131 or ADS1231 because the device gain is fixed.
•
P
—
(with no argument) prints the current gain setting
5.2.2
R
—
Set Data Rate
This command sets the speed of the installed ADS device according to these parameters:
•
RF
—
sets rate to fast
•
RS
—
sets rate to slow
•
R
—
(with no argument) prints the current data rate setting
Note that the actual data rate depends on the frequency of the device clock.
5.2.3
V
—
Show Version
Displays a message containing the firmware version and copyright notice.
19
SBAU175A
–
July 2010
–
Revised August 2011
ADS1131REF and ADS1231REF
Copyright
©
2010
–
2011, Texas Instruments Incorporated