Home/Support/Support Forum/How to export pwm class for duration, frequency, etc. settings
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to export pwm class for duration, frequency, etc. settings

0 votes
Hi,

I have ccimx6ulsbc development board. I want to access settings for pwm5, such as duration and frequency, etc. But I found that pwm5 settings only related to the clock under /sys/kernel/debug/clk/pwm5.
I cannot export /sys/class/pwm/pwmchip0/export for accessing settings (enable, duty_cycle, period). What so I have to do in order to export pwm5 control?

Thank you,
David
asked Jan 8 in Linux by dzhou New to the Community (6 points)
What hardware are you using?

Please log in or register to answer this question.

1 Answer

0 votes
Assuming you are using cc6ul (SBC? Starter?) have you followed this document?
https://www.digi.com/resources/documentation/digidocs/embedded/dey/2.6/cc6ul/bsp_r_pwm_6ul
What exactly did you do to enable pwm5 in device tree?
answered Jan 9 by LeonidM Veteran of the Digi Community (3,557 points)
...