how do I create a timer trigger for the i.MX LRADC iio driver?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how do I create a timer trigger for the i.MX LRADC iio driver?

571 Views
tylerarnold
Contributor II

hi there,

I want to create a timer to automatically trigger the iio driver ADC conversions, rather than having it triggered by sysfs reads. How does one go about that?

thanks!

Labels (1)
0 Kudos
1 Reply

400 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Looking at the module characteristics I believe this can be accomplished by using the DELAY feature to trigger the same or other channels periodically, The rate seems to be up to 2KHz.

But I believe this feature is not implemented in the Linux driver.

This discussion has a very good example of a community member LRADC with IMX28 That can be useful to implement your own driver.

Best Regards,

Alejandro

0 Kudos