2026-01-15 2:47 AM
Hello,
I have bought an ISM330BX | Product - STMicroelectronics and a STEVAL-MKI109D | Product - STMicroelectronics. I can get it to stream data by using:
*setdb245ka
*zoff
*gw1009
*gw1109
*start
OR
*debug
For debug this streams something like:
AX = -7303 AY = -4734 AZ =-13823
GX = -429 GY = +271 GZ = +358
QVAR = +0 QVAR_FILTERED = +0
For start, it is binary and i can convert it.
According to page 21 of this manual, STEVAL-MKI109D Professional MEMS Tool motherboard for MEMS adapter boards - User manual , this is the returned value of *start:
UIstring: 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 QH QL Q_FH Q_FL A_Int1 A_Int2 FSMLC_INT FSM1 StpL StpH DT1 DT2 DT3 DT4 TL TH sw1|sw2 \r \n
TDMstring: t d A_XH A_XL A_YH A_YL A_ZH A_ZL 'T' \r \n
SFLPstring: 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 Q0_L Q0_H Q1_L Q1_H Q2_L Q2_H gbiasX_H gbiasX_L gbiasY_H gbiasY_L gbiasZ_H gbiasZ_L gravX_H gravX_L gravY_H gravY_L gravZ_L gravZ_H \r \n
UIstring + time: 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 QH QL Q_FH Q_FL A_Int1 A_Int2FSMLC_INT FSM1 StpL StpH DT1 DT2 DT3 DT4 TL TH sw1|sw2 TS_XL TS_L TS_H TS_XH \r \n
TDMstring+time: t d A_XH A_XL A_YH A_YL A_ZH A_ZL 'T' TS_XL TS_L TS_H TS_XH \r \n
SFLPstring+time: 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 Q0_L Q0_H Q1_L Q1_H Q2_L Q2_H gbiasX_H gbiasX_L gbiasY_H gbiasY_L gbiasZ_H gbiasZ_L gravX_H gravX_L gravY_H gravY_L gravZ_L gravZ_H TS_XL TS_L TS_H TS_XH \r \n
The initial part of the top one matches with my *start output when I run it and convert it from binary.
My question now is: Which commands should I write for changing the returned values to the SFLPstring as written in the manual? I am interested in the different bias, the gravity vector and the quaternions.
Thank you, Jeppe