2020-10-01 07:31 AM
Hi,
I am working on ASM330LH in Linux. After enabling ASM drivers, IIO drivers in kernel and adding asm node entry in device tree, the device is getting detected.
target:/sys/bus/iio/devices # ls
iio:device0 iio:device1 iio:device2 iio_sysfs_trigger
But scan_elements and some other entries are missing in the device.
target:/sys/bus/iio/devices/iio:device0 # ls
current_timestamp_clock hwfifo_watermark_max in_accel_y_scale power
dev in_accel_scale_available in_accel_z_raw sampling_frequency
events in_accel_x_raw in_accel_z_scale sampling_frequency_available
hwfifo_flush in_accel_x_scale name subsystem
hwfifo_watermark in_accel_y_raw of_node uevent
Can anyone support me in configuring the chip in Linux? Is interrupt configuration required for scan_elements?
Regards,
Naveen
Solved! Go to Solution.
2020-10-09 04:55 AM
Hi @Eleon BORLINI
Thank you for your support. I just got it working after configuring the interrupts in device tree file.
Thanks,
Naveen
2020-10-02 03:44 AM
Hi @NM S.1 ,
did you used the linux drivers on the Github repository for the ASM330LH sensor? You can find them in the folder STMems_Linux_IIO_drivers...
This just to be sure that there is device configuration missing.
-Eleon
2020-10-09 04:49 AM
Hi @NM S.1 ,
did you do some progress in your application?
-Eleon
2020-10-09 04:55 AM
Hi @Eleon BORLINI
Thank you for your support. I just got it working after configuring the interrupts in device tree file.
Thanks,
Naveen
2020-11-05 07:36 AM
@NM S.1 hello!
Would you be so kind as to show me how you set up the interruptions? Thank you anyway!