DMA self-chaining #17790
-
I have a project where I want to do DMA self-chaining. The rp2 implementation doesn't allow for this, so I've used a second DMA channel to retrigger the first (CHx_AL3_READ_ADDR_TRIG). While this works it burns up a DMA channel. I've considered ring but the data I'm sending is an odd size so that doesn't work (514 words). Is there a good way to self-chain without the needing a second channel? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The 2040 hardware does not allow self chaining at all. |
Beta Was this translation helpful? Give feedback.
OK thanks, I thought this was just a limitation in rp2 not in the rp2040 itself. I'll try IRQs, my concern was the performance impact of having the CPU servicing IRQs for up to 8 PIOs but I'll give it a try and see if it's actually an issue or not.