imx6ul gpio

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

imx6ul gpio

982件の閲覧回数
ninghongxie
Contributor I

If imx6ul uses gpio_set_value function to simulate a certain time sequence, it will cause CPU occupancy rate to be particularly high. If I operate the GPIO DR register myself, this will not happen.

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

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

Hi ninghong

you are right, also one can look at below link for suggestions how to increase speed

https://community.nxp.com/message/841330?commentID=841330#comment-841330

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

0 件の賞賛

649件の閲覧回数
ninghongxie
Contributor I

Hi igorpadykov

    Thank you for your advice, but I think this is a different case. Now I am driven by linux, frequently calling the interface gpio_set_value will cause the whole Linux system to become very slow, and even affect other functions.

0 件の賞賛

649件の閲覧回数
ninghongxie
Contributor I

Can imx6 GPIO set registers that specify a bit change? So I can use registers to control my driver directly. Not considering mutex

0 件の賞賛