4.2.2
Digital output accelerometers: supported commands
Table 6. Digital output accelerometers: supported commands list
below lists the commands supported by the
devices/demonstration boards including a digital output accelerometer.
Table 6.
Digital output accelerometers: 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
*rAA
Accelerometer register read
e.g.: RAAhDDh
*wAADD
Accelerometer 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
*fiforst
Accelerometer “Reset mode” enable
st 0 0 0 0 0 0 IR FC FS
*fifomde
(1)
Accelerometer “FIFO mode” enable
st 0 0 0 0 0 0 IR FC FS
*fifostr
(1)
Accelerometer “FIFO Stream” enable
st 0 0 0 0 0 0 IR FC FS
*fifostf
(1)
Accelerometer “Stream-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS
*fifobtf
(1)
Accelerometer “Bypass-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS
*fifobts
(1)
Accelerometer “Bypass-to-Stream” enable
st 0 0 0 0 0 0 IR FC FS
*fifodstr
(1)
Accelerometer “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 23/39