imx6ul gpio

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6ul gpio

932 Views
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.

Labels (1)
0 Kudos
3 Replies

599 Views
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 Kudos

599 Views
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 Kudos

599 Views
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 Kudos