Default GPIO state
-
Hello,
I'm currently working on a reset pin for our hardware. Currently it's connected to GPIO 53 (on J3 pin 9)
I would like this pin to be zero (instead of default HIGH). Currently i did it with a init script. But this runs after the initial value of input pullup.
Is there an easy way to make this happen? At default we would like this pin to be OUTPUT and LOW.
Thank you in advance.
-
Hi @Peter-VW ,
Yes correct, we have that defaulted HIGH for one of our modems, that's being set in the kernel here, which is the only way I know how to set a default value....
So, I don't know if this is 'easy' but a kernel rebuild to set default state is currently needed. We've not figured out a way to do DT changes 'run time' at this point.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login