Hi
I have just enabled the pwm with "dtoverlay=pwm-2chan" in the config.txt on raspbian with a 4.1.7-v7+ kernel.
It gives me a nice directory /sys/class/pwm/pwmchip0 after exporting channel 0 via a "echo 0 > export"
No i have set up the pwm:
cd pwm0
echo 20000000 > period
echo 1000000 > duty_cycle
echo 1 > enable
But unfortunatly i can not see anything on output gpio18 checked with an oszilloscope. I think i read somewhere
that i need to play sound once to get the clock enabled for pwm but also starting aplay does not change anything.
My question now is what am i missing to get working hw pwm output?
Thanks
Tim