I am running Linux beaglebone 4.9.82-ti-r102. When I try to launch some PWM I tried to do the following:
- config-pin P9.14 pwm
- Navigate to /sys/class/pwm
- echo 0 > pwmchip3/export
- pwm-3:0 emerges
- echo 20000000 > pwm-3:0/period
- echo 10000000 > pwm-3:0/duty_cycle
- echo 1 > pwm-3:0/enable
I can't find anything on the net that helps me. I tried setting up the PWM using node and the corresponing bonescript. Worked just fine. If I try setting it up myself I can't.
Questions:
- How can I check whether clk is enabled for ehrpwm1a?
- If it is disabled: Where can I enable it?
- Is there something else I am missing?