4.2.4
Digital output gyroscopes: supported commands
Table 8. Digital output gyroscopes: supported commands list
below lists the commands supported by the devices/
demonstration boards including a digital output gyroscope.
Table 8.
Digital output gyroscopes: supported commands list
Command
Description
Returned value
*setdbXXXVY
Selects firmware according to the adapter connected
*start
Starts continuous data acquisition
Table 4. Returned values for *start command
*debug
Returns the output data in readable text format
Table 5. Returned values for *debug command
*stop
Stops data acquisition
*Zon
Forces 3-state
*Zoff
Exits from 3-state
*dev
Device name
e.g.: LIS3DH
*ver
Firmware version
e.g.: V1.0
*grAA
Gyroscope register read
e.g.: GRAAhDDh
*gwAADD
Gyroscope register write
*single
It gets a single X, Y, and Z data acquisition
Table 5. Returned values for *debug command
*list
Prints the list of MKIs supported
e.g.: MKI105V1
*listdev
Prints the list of devices supported
e.g.: LIS3DH
*echoon
Activates the write verbose mode
e.g.: RAAhDDh
*echooff
Deactivates the write verbose mode
*gfiforst
Gyroscope “Reset mode” enable
st 0 0 0 0 0 0 IR FC FS
*gfifomde
(1)
Gyroscope “FIFO mode” enable
st 0 0 0 0 0 0 IR FC FS
*gfifostr
(1)
Gyroscope “FIFO Stream” enable
st 0 0 0 0 0 0 IR FC FS
*gfifostf
(1)
Gyroscope “Stream-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS
*gfifobtf
(1)
Gyroscope “Bypass-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS
*gfifobts
(1)
Gyroscope “Bypass-to-Stream” enable
st 0 0 0 0 0 0 IR FC FS
*gfifodstr
(1)
Gyroscope “Dynamic Stream” enable
st 0 0 0 0 0 0 IR FC FS
1. Available only for devices with embedded FIFO.
Note: IR: interrupt byte; FC: FIFO control register; FS: FIFO source register.
UM0979
Supported commands
UM0979
-
Rev 6
page 25/39