IMX6ULL Linux 5.15 - EPIT

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6ULL Linux 5.15 - EPIT

ソリューションへジャンプ
3,433件の閲覧回数
Jeroen_H
Contributor III

Hi,

I'm using an iMX6ULL and trying to use the EPIT timer as a timersource for my application.

All I can find in the NXP Linux manuals is this:

Jeroen_H_1-1711700627567.png

But, this file doesn't exist in the kernel source tree, so I'm not sure how to use this.

 

So, basically I'm looking for some hints, examples or starting points to use the EPIT timer in Linux 5.15.

Thanks!

Jeroen.

 

 

ラベル(2)
タグ(1)
0 件の賞賛
返信
1 解決策
3,418件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

pls check the mail I sent to you for reference

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
3,419件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

pls check the mail I sent to you for reference

0 件の賞賛
返信
3,349件の閲覧回数
Jeroen_H
Contributor III

Hi Joanxie,

Thank you!
I've updated the patch for 5.15.x, and can confirm the timer is running and generates interrupts.

It’s still a bit unclear how proceed from that point on to use the timer from a userspace application, like setting the timeout interval and receiving an interrupt with e.g. a select()-call.

Do you perhaps also have a small example of that?

Thanks again,

Jeroen.

0 件の賞賛
返信
3,318件の閲覧回数
Jeroen_H
Contributor III

Already succeeded using EPIT in userland.

Example not necessary anymore.

0 件の賞賛
返信