quic / sample-apps-for-robotics-platforms

Other
121 stars 50 forks source link

PWM Output issue #89

Open 7DoF opened 1 year ago

7DoF commented 1 year ago

Hi, I've been trying to setup PWM on RB5. even after following the sample PWM code, I get 0V output on pin 12 of LS2 (pwm0). I'm using thundercom's latest debug image. also, I'm not able to use PWM1, when I try to use it, I get the following error:

./qrb5165_platform -pwm 1 1000 500
Open File: /sys/class/pwm/pwmchip5/pwm1/period error!
-pwm: paramter error!
You can use like this:
./RB5_platform -pwm 1 1000 500

Any help would be appreciated. Regards,