We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found a bug in the ISM330DLC driver. st_ism330dlc_core.c
When I try to read the accelerometer in Linux with sudo cat /sys/bus/iio/devices/iio:device1/in_accel_x_raw it always return 0. With y and z too.
sudo cat /sys/bus/iio/devices/iio:device1/in_accel_x_raw
y
z
When I perform a selftest, it pass and then I have new value in in_accel_x-y-z_raw.
I found that with the default frequency (13Hz), the delay at line 1653 is too short. 1/13 = 76ms and it's 40ms in the driver.
I change this delay to 120ms and it's working well.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I found a bug in the ISM330DLC driver. st_ism330dlc_core.c
Current Behavior
When I try to read the accelerometer in Linux with
sudo cat /sys/bus/iio/devices/iio:device1/in_accel_x_raw
it always return 0. Withy
andz
too.When I perform a selftest, it pass and then I have new value in in_accel_x-y-z_raw.
I found that with the default frequency (13Hz), the delay at line 1653 is too short. 1/13 = 76ms and it's 40ms in the driver.
Possible Solution
I change this delay to 120ms and it's working well.
The text was updated successfully, but these errors were encountered: