Navigation

    全志在线开发者论坛

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

    T113 PWM只能同时输出一路

    其它全志芯片讨论区
    2
    4
    2376
    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.
    • C
      captain LV 5 last edited by

      主控:t113
      sdk:longan_sdk
      单独使用时,每一路pwm都能够正常输出,但是同时开启多路PWM时,只有第一个被开启的有输出,后面开启的都没有输出。

      platform/2000c00.pwm, 8 PWM devices
       pwm-0   ((null)              ): period: 0 ns duty: 0 ns polarity: inverse
       pwm-1   ((null)              ): period: 0 ns duty: 0 ns polarity: inverse
       pwm-2   (sysfs               ): requested enabled period: 1000000 ns duty: 500000 ns polarity: inverse
       pwm-3   (sysfs               ): requested enabled period: 10000000 ns duty: 6000000 ns polarity: inverse
       pwm-4   (sysfs               ): requested enabled period: 1000000 ns duty: 300000 ns polarity: inverse
       pwm-5   ((null)              ): period: 0 ns duty: 0 ns polarity: inverse
       pwm-6   ((null)              ): period: 0 ns duty: 0 ns polarity: inverse
       pwm-7   ((null)              ): period: 0 ns duty: 0 ns polarity: inverse
      
      YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 @captain last edited by

        @captain 下载最新的tina-d1-h的sdk,打上这个补丁
        https://bbs.aw-ol.com/topic/2027/share/1 然后吧lichee/kernel-5.4 替换longan-sdk的kernel-5.4,longan-sdk里的代码太老了是测试版有bug

        C 2 Replies Last reply Reply Quote Share 0
        • C
          captain LV 5 @YuzukiTsuru last edited by

          @yuzukitsuru
          非常感谢,我先去试一下看。

          1 Reply Last reply Reply Quote Share 0
          • C
            captain LV 5 @YuzukiTsuru last edited by

            @yuzukitsuru
            感谢大佬,果然是longan-sdk 的BUG,换上tina 就好了。

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

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

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