MEMS (sensors)

Ask questions and find answers on ST MEMS sensors, such as the LSM6DSV and the LSM6DSL. Learn how to use the SensorTile.Box, and STEVAL kits.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! lis2mdl driver computes the wrong hard iron offsets

lis2mdl_reg.c has an error in the function int32_t lis2mdl_mag_user_offset_set(stmdev_ctx_t *ctx, int16_t *val).The function incorrectly calculates the OFFSET_X_REG_H, OFFSET_Y_REG_H, and the OFFSET_Z_REG_H registers because it converts val[0] to an ...

How can I choose gyro for BLDC position control?

Hi, I am working on high precision position control with BLDC motors on my master thesis. I am trying to control the position with an encoder on the TI-C200 processors and It's ok for now. The control accuracy is 0.1 degree on the encoder but for my ...

KDoga.1 by Associate II
  • 1396 Views
  • 5 replies
  • 0 kudos

Resolved! Using STM32F446, ISM330DHCX and MotionFX, computed yaw angle is correct after a controlled 90-degree right rotation, but the yaw angle is off by ~3 degrees after each 90-degree left rotation. What could be causing this issue?

The MotionFX Library is initialized as follows: MotionFX_getKnobs(&iKnobs); /* Modify knobs settings */ // Configure knobs with non-default values iKnobs.output_type = MFX_ENGINE_OUTPUT_ENU; iKnobs.modx  = 1; // No decimation iKnobs.ATime = 10; // ka...

SLibe by Associate II
  • 2829 Views
  • 12 replies
  • 0 kudos

Resolved! STEVAL-MKI208V1K: Error caused by switching on the pulsed mode.

Hi! Since I am not a native speaker, I apologize in advance for my English.When switching on the pulsed mode strange things start to happen. Until yesterday I used int1 pad, everything worked fine, but at a certain moment it became necessary to count...

VSavenia by Associate III
  • 2655 Views
  • 15 replies
  • 1 kudos

Resolved! Error while inserting the STM Linux driver

hello,I am trying to get the LSMDSO32 to work with https://github.com/STMicroelectronics/STMems_Linux_IIO_drivers branch 4.19 built on 5.4 kernel.I am able to build the kernel image on 5.4But when i try to insmod the modules i get the following error...

SPrab.3 by Associate II
  • 1334 Views
  • 6 replies
  • 0 kudos