ARM_Bruzzler Posted November 19, 2023 Share Posted November 19, 2023 Hello, I'm using a BPI M2 Zero (with H3 Chip) to control two relays on CON2-P05 / PA11 and CON2-P03 / PA12. During the boot process there is a high level present at the pins, which is driving the relays. Is there a way to create a DTB overlay to drive the pins to a low level during boot. My userspace application uses libgpiod to control the pins. I'm familiar with compiling and activating overlays, i would just need help to write the correct .dts file. Thank you very much in advance 0 Quote Link to comment Share on other sites More sharing options...
Solution ARM_Bruzzler Posted November 20, 2023 Author Solution Share Posted November 20, 2023 I solved the issue on hardware level. It turned out that those pins had external pull-ups. I switched to two other pins which worked just fine. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.