cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to extend a linux driver to support software triggers over their existing hardware interrupt ?

TCull.1
Associate

Hi all,

I am currently attempting to extended support to the lsm6ds linux driver(https://github.com/raspberrypi/linux/tree/rpi-5.10.y/drivers/iio/imu/st_lsm6dsx) which supports the ISM330DHCX. It currently supports interrupt based buffering. I'd like to use a software driven trigger to control buffering of this device? Is this possible?

The source seems fairly generic in terms of buffer setup, however when viewing /sys/bus/iio/device/iio\:device1 the trigger folder is not found, but scan_elements and buffer are. If someone could educate me briefly on what I have missed Id be greatly appreciative.

Kind regards.

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @TCull.1​ ,

I suggest you to post this question (and, in general, the ones related to Linux drivers) on the Github page of the Issues (at this link:( this will help ST experts to receive a notification of the requests and to track them.

Let me please know if you receive any feedback from there.

-Eleon