IMX6UL One nano second delay

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

IMX6UL One nano second delay

654件の閲覧回数
balasubram
Contributor I

Hi,

I have IMX6ul based custom board and i want to generate 1 nano second delay in kernel driver. I tried with ndelay(), hrtimer APIs  using gpio toggling but delay goes to microseconds? How can i proceed for this?  Is it possible use timer registers directly in my kernel driver? If so please provide samples.

ラベル(4)
0 件の賞賛
1 返信

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

Hi BALA

I am afraid it is not possible to use timer for such small delays, probably

one can try to add some nop operations in code.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛