You are not logged in.

#1 2017-09-19 14:51:00

Ada
Member
Registered: 2017-08-29
Posts: 3

Using PWM 0 with Direct Control

Hello,
In order to eliminate Jitter, can I use hardware PWM with step pins using WiringPi?

Offline

#2 2017-09-20 04:46:25

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Using PWM 0 with Direct Control

I am not experienced in these fields hopefully somebody could correct me. For stepper motor you need acceleration and deacceleration so PWM would not work well. Another short come is, it very difficult to measure movements with PWM and when to stop movements.
Only available solution which use PWM to move stepper is linuxCNC which is very complex piece of software.

Offline

#3 2017-09-20 06:48:14

Ada
Member
Registered: 2017-08-29
Posts: 3

Re: Using PWM 0 with Direct Control

Thank you for your reply.

Jitter occurs under the influence of process behavior. Therefore, we thought that jitter did not occur if pulse generation could be controlled by hardware.

I think that it would be good if I allocate the PWM 0 register and use the duty ratio at 100%.

Forget it. It’s just a hypothetical situation. smile

Offline

Board footer

Powered by FluxBB