Issue in Reading data from already created device under iio for st_lsm6dsox for step count
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-07-04 6:22 AM
Iam using Beaglebone Black here. 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 .in iio:device3 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 , how to check tap detection, significant motion,tilt .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
How to add node in i2c for interrupts lsm6dsox INT1 i connected to gpio0 7 pin
Also can you please mention whether i need to enable interrupts ,and how to configure events to get data ,whether any hardware connection changes required?
Any help is greatly appreciated ,Thanks in advance
- Labels:
-
Other boards
