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.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login