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

General • Re: RP2350 DMA Ring Buffer?

$
0
0
Ah OK, so your issue is not with the new self-trigger facility but with the 32K limit on the original ring feature (that hasn’t changed).

But you still only need 2 channels- one for the actual transfer (as big as you like) which chains to another one that just transfers one word to the WRITE_ADDR_TRIG (or READ as applicable) to reload the buffer address and restart the transfer. Gives you infinite transfers with no interrupts (or int on wrap if you want but not timing critical). Or if you want multiple interrupts per cycle, again a pair of channels with the interrupt handler adjusting the address in the not-currently-active channel. Or one transfer channel and one reload channel as above, but now the reload channel has a list of buffer addresses (and you can then use ring mode on the list of buffer addresses).

Statistics: Posted by arg001 — Wed Aug 28, 2024 6:34 pm



Viewing all articles
Browse latest Browse all 5065

Trending Articles