imx6ul hrtimer problem

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

imx6ul hrtimer problem

632件の閲覧回数
wayneshih
Contributor I

 

Hi,

I'm using imx6ulevk YOCTO sumo linux kernel L4.14.98-2.3.1.

I'm testing the minimum timing of hrtimer in imx6ul. My testing is just enable the hrtimer for a period (e.g 5 ms) and each period we toggle the gpio result.

I found that the minimum timer is only 96 micro seconds even though I set the timing to 50 micro second. It's quite slow.

In my application, I want at least 10 micro seconds timer.

Anyone have the idea?

0 件の賞賛
返信
1 返信

627件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi wayneshih

 

reason for that may be large software overheads as linux is running many tasks

concurrently. One can try to achieve better resolution with M4 SDK (look at gpt_timer.c, epit.c)

SDK2.2_iMX6UL_WIN

 

Best regards
igor

0 件の賞賛
返信