Hi, I am recently working on Beagle bone black, i need to use PWM module in the beagle bone black.
i followed the bellow steps for configuration : 1) cd /sys/class/pwm 2) ls -> here i found pwmchip0, pwmchip1, pwmchip2, pwmchip3....pwmchip7. 3) cd pwmchip0 4) ls -> here i found : device export npwm power subsystem uevent unexport. 5) echo 0 > export i added pwm0 6) ls -> i can see pwm is added. 7) cd ./pwm0 -> here i can see the duty cycle , period and other information. i want to add the pinmux for pwm debian@beaglebone:/sys/class/pwm$ config-pin -l P9.22 default gpio gpio_pu gpio_pd gpio_input spi_sclk uart i2c pwm pru_uart debian@beaglebone:/sys/class/pwm$ config-pin P9.22 pwm P9_22 pinmux file not found! sudo: no askpass program specified, try setting SUDO_ASKPASS Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_22_pinmux/state but it is showing error for adding P9.22 pin as pwm. please help me to resolve it -- 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/cc857743-5b13-48e4-b898-4f69e9911a46%40googlegroups.com.
