Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pwm pulse需要先失能再使能才能更改生效 #37

Closed
Ghazigq opened this issue Jun 16, 2024 · 2 comments
Closed

pwm pulse需要先失能再使能才能更改生效 #37

Ghazigq opened this issue Jun 16, 2024 · 2 comments
Assignees

Comments

@Ghazigq
Copy link

Ghazigq commented Jun 16, 2024

使用pinname_whitelist_pwm5 SD1_D2做为输出引脚
使用命令pwm控制

    pwm probe pwm1
    pwm set 5 10000000 5000000
    pwm enable 5

此时使用逻辑分析仪查看输出正常

    pwm set 5 10000000 1000000

更改后,逻辑分析仪上查看仍保持不变,使用disable enable重新开关一次后即可正生效

@unicornx
Copy link
Collaborator

每次重新 set 的话,是需要把上次的disable ,再 enable 才能使能新的的。这是目前 pwm controller 的要求,请问你提这个 issue 的问题是什么?

@Ghazigq
Copy link
Author

Ghazigq commented Jun 25, 2024

每次重新 set 的话,是需要把上次的disable ,再 enable 才能使能新的的。这是目前 pwm controller 的要求,请问你提这个 issue 的问题是什么?

我以为是个bug呢

@Ghazigq Ghazigq closed this as completed Jun 25, 2024
@unicornx unicornx closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants