zgoda_j Posted July 14, 2016 Posted July 14, 2016 In my /boot/config for 3.4.112 I have CONFIG_SUNXI_PWM=y yet there is no /sys/class/pwm-sunxi directory. Do I need to do anythig special to control onboard PWM? This is stock Armbian 5.16 with legacy kernel.
zador.blood.stained Posted July 14, 2016 Posted July 14, 2016 You probably need to add pwm0_para section to your FEX file like this [pwm0_para] pwm_used = 1 pwm_period = 20 pwm_duty_percent = 50 Don't forget to recompile it to .bin afterwards.
Recommended Posts