LinuxGuys
LinuxGuys

Reputation: 1

Issue in Reading data from already created device under iio for st_lsm6dsox for step count

I have already enabled driver for st_lsm6dsox embedded features which created 9 devices with accel and gyro , magnetometer raw data along with step count and tilt detection features .I can read raw data from accel and gyro raw data but couldnt read step count and detect tilt and step detection those features enter image description hereenter image description here. In events directory its empty , i tried sending 1 and 0 to hwfifo_flush but couldnt get any output I tried changing attributes but in veil can you please help me to get data from the sensor devices for step count code reference: Im using drivers provided by st link is this: https://github.com/STMicroelectronics/st-mems-android-linux-drivers-iio/tree/master/drivers/iio/stm/imu/st_lsm6dsox

Also can you please mention whether i need to enable interrupts ,and how to configure events to get data any hardware connection changes? Any help is greatly appreciated Thanks in advance

Upvotes: 0

Views: 110

Answers (0)

Related Questions