Navigation

    全志在线开发者论坛

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

    朋友送我的D1s开发板

    MR Series
    3
    5
    2579
    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
      dreamer LV 4 last edited by

      450bb55a-48a8-4a3f-b6f2-7f74101f4dec-image.png

      d29c00b2-e6f0-4acc-a465-96c7ff74d3b9-image.png

      3db7a1b0-6ff1-40ed-aa07-c31663ed0cf2-image.png

      1 Reply Last reply Reply Quote Share 0
      • J
        Juggernaut LV 5 last edited by

        朋友不错的哦 。

        1 Reply Last reply Reply Quote Share 0
        • J
          jmhh247 LV 6 last edited by

          不来张板子图片看看么

          1 Reply Last reply Reply Quote Share 0
          • D
            dreamer LV 4 last edited by

            dfb04c47-a084-4ace-8314-694180323c7d-36000849936B2ED62AA7145189A336FE.jpg

            改了一下 芒果派麻雀到手试玩的dts,终于跑起来了。

            1 Reply Last reply Reply Quote Share 0
            • D
              dreamer LV 4 last edited by

              &pio {
                      twi0_pins_c: twi0@0 {
                              pins = "PG12", "PG13";  /*sck sda*/
                              function = "twi0";
                              muxsel = <3>;
                              drive-strength = <10>;
                      };
              
                      twi0_pins_d: twi0@1 {
                              pins = "PG12", "PG13";
                              function = "gpio_in";
                      };
              }
              
              &twi0 {
                      clock-frequency = <400000>;
                      pinctrl-0 = <&twi0_pins_c>;
                      pinctrl-1 = <&twi0_pins_d>;
                      pinctrl-names = "default", "sleep";
                      status = "okay";
              
                      tsc2007@48 {
                              compatible = "ti,tsc2007";
                              reg = <0x48>;
                              interrupt-parent = <&pio>;
                              interrupts = <PB 2 IRQ_TYPE_EDGE_FALLING>;
                              ti,x-plate-ohms = <400>;
                      };
              };
              

              kernel 配置勾选 tsc2007,然后用 evtest 测试电阻触摸屏,一切OK了。

              1 Reply Last reply Reply Quote Share 0
              • 1 / 1
              • First post
                Last post

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

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