Specifically, bit#0 of the "BT" data corresponds to the status of the SW1 button on the demonstration kit board: it
is set to 1 when the SW1 is pressed (otherwise 0). Bit#1 has the same behavior but is dedicated to the SW2.
Before sending the *start command, the device must be out from 3-state and some registers must be configured
according to user needs, therefore, *start must be preceded by a *zoff and some "Register Write" commands.
Table 4. Returned values for *start command
command is sent.
STEVAL-MKI009V1 (LIS3LV02DL)
STEVAL-MKI089V1 (LIS331DLH
STEVAL-MKI092V1 (LIS331HH)
STEVAL-MKI105V1 (LIS3DH)
STEVAL-MKI107V2 (L3GD20)
STEVAL-MKI110V1 (AIS328DQ)
STEVAL-MKI125V1 (A3G4250D)
STEVAL-MKI134V1 (LIS3DSH)
STEVAL-MKI135V1 (LIS2DH)
STEVAL-MKI136V1 (L3GD20H)
STEVAL-MKI151V1 (LIS2DH12)
STEVAL-MKI153V1 (H3LIS331DL)
STEVAL-MKI158V1 (AIS3624DQ)
STEVAL-MKI164V1 (LIS2HH12)
STEVAL-MKI166V1 (H3LIS100DL)
STEVAL-MKI167V1 (H3LIS200DL)
STEVAL-MKI168V1 (IIS2DH)
STEVAL-MKI169V1 (I3G4250D)
STEVAL-MKI170V1 (IIS328DQ)
STEVAL-MKI179V1 (LIS2DW12)
STEVAL-MKI180V1 (LIS3DHH)
STEVAL-MKI186V1 (IIS3DHHC)
STEVAL-MKI013V1 (LIS302DL)
STEVAL-MKI087V1 (LIS331DL)
STEVAL-MKI152V1 (LIS2DM)
STEVAL-MKI175V1 (LIS2DE12)
STEVAL-MKI176V1 (LSM6DS3H)
STEVAL-MKI178V1 (LSM6DSL)
STEVAL-MKI182V1 (ISM330DLC)
STEVAL-MKI015V1 (LIS344ALH)
STEVAL-MKI114V1 (MAG PROBE)
STEVAL-MKI137V1 (LIS3MDL)
STEVAL-MKI181V1 (LIS2MDL)
STEVAL-MKI185V1 (IIS2MDC)
UM0979 - Rev 6
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Table 4.
Returned values for *start command
STEVAL # (Device)
shows the format of the string returned for each device when a *start
s t XH XL YH YL ZH ZL int1 int2 sw1|sw2 \\r \\n
s t X Y Z int1 int2 sw1|sw2 \\r \\n
s t A_XH A_XL A_YH A_YL A_ZH A_ZL G_XH G_XL G_YH G_YL
G_ZH G_ZL STEP_L STEP_H int1_int2 sw1|sw2 \\r \\n
s t XH XL YH YL ZH ZL sw1|sw2 \\r \\n
s t XH XL YH YL ZH ZL int1 sw1|sw2 \\r \\n
Supported commands
Returned value
UM0979
page 15/39
Need help?
Do you have a question about the STM32F103RET6 and is the answer not in the manual?