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

General • Writing READ_ADDR while DMA runs

$
0
0
Hi,
I understood from similar question viewtopic.php?t=326563 that we cannot change TRANS_COUNT for the current transfer sequence. But what about READ_ADDR and WRITE_ADDR?
The doc says "Software should generally program these registers with new start addresses each time a new transfer sequence starts."
but what about not-so-generally? What happens if I program them in progress?

Suppose my DMA is working through acceleration/speed/deceleration table for a stepper,
and then I got an abort command or homing sensor and should jump to the deceleration part of the table gracefully.
What would be the best way to do that?

Thank you

Statistics: Posted by jhnlmn — Sat May 18, 2024 2:44 am



Viewing all articles
Browse latest Browse all 4814

Trending Articles