1

Is there a way (over in STM32-land, I would use double-buffered DMA banks) to output waveforms (4 pins in my case, though I'd like to do more) on a Raspberry Pi 5 in a continuous mode that won't go jittery when I move my mouse on a remote connection?

I was going to try pigpio, but that doesn't run on a RasPi5... I don't really need high-speed precise timing (I'm driving STEP pins on motor drivers), but the jitter caused by remote desktop makes the inertia of the steppers go nuts and I lose control...

2
  • I'd normally suggest SMI and DMA, which can certainly deliver jitter-free I/O, see iosoft.blog/raspberry-pi-smi but this doesn't yet work on the Pi 5, with its RP1 I/O controller.
    – jayben
    CommentedMar 6 at 21:16
  • If you need "Realtime" don't use a Pi. Use a microcontroller e.g. Pico. Not only are they better at realtime they are an order of magnitude cheaper.
    – Milliways
    CommentedMar 6 at 23:39

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.