Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL 2 and VOXL 2 Mini
  3. Default GPIO state

Default GPIO state

Scheduled Pinned Locked Moved Unsolved VOXL 2 and VOXL 2 Mini
voxl-2
3 Posts 2 Posters 628 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Peter VWP Offline
    Peter VWP Offline
    Peter VW
    wrote on last edited by Peter VW
    #1

    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.

    1 Reply Last reply
    0
    • modaltbM Offline
      modaltbM Offline
      modaltb
      ModalAI Team
      wrote on last edited by
      #2

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

      https://gitlab.com/voxl-public/system-image-build/meta-voxl2-bsp/-/blob/master/recipes-kernel/linux-msm/files/dts/common/m0xxx-kona-pinctrl.dtsi#L125

      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.

      1 Reply Last reply
      0
      • Peter VWP Offline
        Peter VWP Offline
        Peter VW
        wrote on last edited by
        #3

        Thank you, then we will take a look into this.
        For now, a simple RC circuit works.

        1 Reply Last reply
        0

        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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups