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 项奖励