4.2.6
Digital output magnetometers: supported commands
Table 10. Digital output magnetometers: supported commands list
below lists the commands supported by the
devices/demonstration boards including a digital output magnetometer.
Table 10.
Digital output magnetometers: 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
*mrAA
Magnetometer register read
e.g.: MRAAhDDh
*mwAADD
Magnetometer 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.: MRAAhDDh
*echooff
Deactivates the write verbose mode
*mfiforst
Magnetometer “Reset mode” enable
st 0 0 0 0 0 0 IR FC FS
*mfifomde
(1)
Magnetometer “FIFO mode” enable
st 0 0 0 0 0 0 IR FC FS
*mfifostr
(1)
Magnetometer “FIFO Stream” enable
st 0 0 0 0 0 0 IR FC FS
*mfifostf
(1)
Magnetometer “Stream-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS
*mfifobtf
(1)
Magnetometer “Bypass-to-FIFO” enable
st 0 0 0 0 0 0 IR FC FS
*mfifobts
(1)
Magnetometer “Bypass-to-Stream” enable
st 0 0 0 0 0 0 IR FC FS
*mfifodstr
(1)
Magnetometer “Dynamic Stream” enable
st 0 0 0 0 0 0 IR FC FS
1. Available only for devices with embedded FIFO.
UM0979
Supported commands
UM0979
-
Rev 6
page 27/39