Hi all, I've got pwm working both through echoing values directly to the device files from bash, and also via my C++ program. However I can't get two channels of a epwmss device to operate independently. e.g. If I export both /sys/devices/platform/ocp/48300000.epwmss/48300200.pwm/pwm/pwmchip1/pwm-1:0 and pwm-1:1 then set a value for period and duty on either one of the channels (pwm-1:0 or pwm-1:1), as soon as I enable that channel both channels start. Stopping the channel stops both channels. I've even tested starting one channel then stopping the other and both stop.
I had read elsewhere that both channels had to use the same frequency (period), which would work for my application, however I need to be able to set the duty cycle and enable/disable independently. Is that possible? I'm using the 4.14.20-ti-r36 kernel and have the following overlays enabled: uboot_overlay_addr6=/lib/firmware/am33xx_pwm-00A0.dtbo uboot_overlay_addr7=/lib/firmware/BB-PWM0-00A0.dtbo I'll go read the Technical Reference Manual now, but if someone can shed some light on this for me it would be much appreciated! Cheers, James Fitzsimons -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c769153a-74e9-4ff5-9fa4-de9ef116ccc7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.