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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,005 次查看
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!

标签 (1)
0 项奖励
回复
1 回复

834 次查看
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 项奖励
回复