IMX6ULL Linux 5.15 - EPIT

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

IMX6ULL Linux 5.15 - EPIT

跳至解决方案
3,887 次查看
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,872 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls check the mail I sent to you for reference

在原帖中查看解决方案

0 项奖励
回复
3 回复数
3,873 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls check the mail I sent to you for reference

0 项奖励
回复
3,803 次查看
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,772 次查看
Jeroen_H
Contributor III

Already succeeded using EPIT in userland.

Example not necessary anymore.

0 项奖励
回复