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
P
R
V
S
D
Q
—
R [F,S]
V
S
D
Q
FORMAT
OPERATION
Prints the current gain
setting
Set data rate
Show firmware version
Start streaming
Read data once
Query parameters
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
5.2.1
Command Reference
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.
SBAU175A
–
July 2010
–
Revised August 2011
ADS1131REF and ADS1231REF
19
Copyright
©
2010–2011, Texas Instruments Incorporated