Here is an example of testing PWM7:
cd /sys/class/pwm/pwmchip0/ sudo chmod 666 export echo 0 > export cd pwm0 sudo chmod 666 * echo 10000 > period echo 5000 > duty_cycle echo 1 > enable