![ST STEVAL-MKI132V1 Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/st/steval-mki132v1/steval-mki132v1_user-manual_1356013015.webp)
Supported commands
UM1579
14/26
Doc ID 023744 Rev 1
4.2.1
Commands list and description
Note:
IR: interrupt byte; FC: FIFO control register; FS: FIFO source register.
Table 2.
Supported commands list
Command
Description
Returned value
*setdbXXXVY
Selects firmware according to the adapter
connected
*start
Starts continuous data acquisition
(see
*debug
Returns the output data in readable text format
*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
*grAA
Gyroscope register read
e.g.: GRAAhDDh
*gwAADD
Gyroscope register write
*mrAA
Magnetometer register read
e.g.: MRAAhDDh
*mwAADD
Magnetometer register write
*single
It gets a single X, Y, and Z data acquisition
(see
*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
*fifostr
Accelerometer “FIFO Stream” mode enable
st 0 0 0 0 0 0 IR FC FS
*fifomde
Accelerometer “FIFO mode” mode enable
st 0 0 0 0 0 0 IR FC FS
*fifotrg
Accelerometer “Stream-to-FIFO” mode enable
st 0 0 0 0 0 0 IR FC FS
*fiforst
Accelerometer “Reset” mode enable
st 0 0 0 0 0 0 IR FC FS
*gfifostr
Gyroscope “FIFO Stream” mode enable
st 0 0 0 0 0 0 IR FC FS
*gfifomde
Gyroscope “FIFO mode” mode enable
st 0 0 0 0 0 0 IR FC FS
*gfifotrg
Gyroscope “Stream-to-FIFO” mode enable
st 0 0 0 0 0 0 IR FC FS
*gfiforst
Gyroscope “Reset” mode enable
st 0 0 0 0 0 0 IR FC FS
*gfifobts
Gyroscope “Bypass-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS