This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PWM

I'm trying to use the ehrpwm.2: 0 and ehrpwm.2.1 that are assigned to P8.19 and P8.13 respectively Pines, I have sent to Mode 4 without problems.

The problem is that when I go to /sys/class/pwm only there are ehrpwm.0:0 ehrpwm.0:1 ehrpwm.1:0 ehrpwm.1:1 NOT EXIST ehrpwm.2:X , then there is no such set the parameters of the pwm like duy_percent, run, stop, etc.

 

Can you help me please????

 

What I have to do???

  • Hi Julio,

    Are you still facing the problem

    What processor are you using like am335x or any other?

    What is the SDK are you using?

    As you said you have set it to mode4 in pin mux, have you enable pwm in board file.

    Rajeev

    PS: If this answer helps mark it as verified.