|
|
|
|
|
by kabdib
2277 days ago
|
|
> put all your bits into a good sized buffer and use DMA to push them out Sure, time-honored technique for audio. Very on the mark. But it doesn't really fix the "latency is forever" problem. Buffer too much and your control will lag. Too little and buffers can bottom-out. Best is to over-spec the metal and then be the only code on it so you don't need to buffer at all. (Worst is, you didn't get to spec the metal, and there's a whole OS full of someone else's Bright Ideas between you and that 200us-or-the-reactor-goes-blooie control loop. Good luck, you're gonna need it). |
|