Open jadonk opened 6 years ago
I've confirmed that use of the PWM requires some specific period settings that the BoneScript library is violating. Here's the kernel log: [10262.983541] ehrpwm 48302200.ehrpwm: Period value conflicts with channel 0 [10262.990960] pwm_test pwm_test_P9_16.16: pwm_config() failed [10263.010070] pwm_test: probe of pwm_test_P9_16.16 failed with error -22 [10263.010171] bone-capemgr bone_capemgr.8: slot #10: Applied #2 overlays.
I believe that I'll need to autogenerate the .dts file to work around this limitation in the driver.
From @daguej on August 20, 2013 3:16
Thanks for looking in to this
Issue still exists in 0.2.4, but I know how to fix it.
From @tovwiv on June 30, 2015 7:6
any update on this? ran into this exact issue today
From @adityapatadia on June 30, 2015 7:7
May be you can try https://www.npmjs.com/package/octalbonescript
From @NikolaMorena on September 29, 2015 11:41
Workaround: use pins that are not connected with same EHRPWM module, e.g. P9_14 and P8_13
@jadonk was there any fix to this?
From @daguej on July 27, 2013 7:23
If I try to use EHRPWM1A and EHRPWM1B:
...whichever is initialized second doesn't work. If I look in /sys/devices/ocp.2,
Copied from original issue: jadonk/bonescript#49