If that much strict control of timing is required, I'd go with a micro controller instead. You can still use a pi to control it via serial or whatever other protocol. The pi runs a preemptive OS and its always going to run into one thing or another that the OS will delay here and there.
The RP2040 has 8 PIO state machines that was put in there exactly that kind of work, like your custom protocol.
https://www.raspberrypi.com/documentati ... 040-device
The RP2040 has 8 PIO state machines that was put in there exactly that kind of work, like your custom protocol.
https://www.raspberrypi.com/documentati ... 040-device
Statistics: Posted by memjr — Tue Jan 16, 2024 10:12 pm