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?

749件の閲覧回数
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 返信

578件の閲覧回数
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 件の賞賛
返信