Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    飞凌OKT507C在安卓系统启动时如何设置GPIO口为高电平

    飞凌嵌入式专区
    1
    1
    940
    Loading More Posts
    • 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.
    • D
      ddrddr LV 5 last edited by

      使用PE20/21为新的GPIO口,设置GPIO148/149在init为高电平时不生效。
      例如在OKT507-C-Common.dtsi文件设置:GPIO148 = <&pio PE 20 1 2 0 1>;
      进入串口后使用cd /sys/class/gpio/gpio148后,用cat value读取电平值还是0,无法设置生效。

      1 Reply Last reply Reply Quote Share 1
      • Moved from 其它全志芯片讨论区 by  xiaowenge xiaowenge 
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策