On Tue, Sep 15, 2020 at 2:02 PM Pavel Yermolenko <[email protected]> wrote:
>
> Hello,
>
> I connected two pins on P9 header to EHRPWM0 peripheral (channels A and B).
> Channel A is visible whereas B not.
>
> debian@beaglebone:/sys/class/pwm/pwmchip1$ sudo show-pins | sort
> ......
> P9.21 / spi boot in               85 fast rx down 3 pwm 0 out B      
> ocp/P9_21_pinmux (pinmux_P9_21_pwm_pin)
> P9.22 / spi boot clk              84 fast rx down 3 pwm 0 out A      
> ocp/P9_22_pinmux (pinmux_P9_22_pwm_pin)
> ......
>
> debian@beaglebone:/sys/class/pwm/pwmchip1$ ls
> device  export  npwm  power  pwm-1:0  subsystem  uevent  unexport
> debian@beaglebone:/sys/class/pwm/pwmchip1$
>
> pwm-1:1 is missed. Why ?

Did you export channel 1?

debian@bbb-pwr01-ser09:/sys/class/pwm/pwmchip1$ echo 0 > export
debian@bbb-pwr01-ser09:/sys/class/pwm/pwmchip1$ echo 1 > export

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYj5UQUohD2rt_LXUpiUOOdPXg9x5gy5Hsn911jPEJn%2BpA%40mail.gmail.com.

Reply via email to