Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7700

General • Re: Stepper control using Timers and PIO

$
0
0
Why don't you just use a PWM block for that?
But I need a control on the no of steps and the step delay pulse to be exact at 2.5uS so I need a periodic timer to just generate a one pulse on every timer interrupt.

So I want to create a simple PIO non blocking which takes a single data from FIFO and just toggles the step pin for once.

And how do I set the PIO frequency give an output of exact frequency??

Statistics: Posted by akash614 — Sun May 04, 2025 3:25 am



Viewing all articles
Browse latest Browse all 7700

Trending Articles