cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to setup chained DMA to/from a peripheral?

BCoch
Senior

For example, to have the first few bytes of a single SPI transaction come from / go to a particular location, with subsequent bytes coming from / going to another location.

1 ACCEPTED SOLUTION

Accepted Solutions

No.

You could set up several DMAs triggered suitably by timers, though.

JW

View solution in original post

5 REPLIES 5

No.

You could set up several DMAs triggered suitably by timers, though.

JW

BCoch
Senior

Thanks for the prompt answer!

Piranha
Chief II

There is one exception, thought - ETH has it's own DMA with descriptors, which can have attached buffers of different size and chained in any order.

Yes, but ETH's scatter-gather DMA can't be used as general-purpose DMA, as its "peripheral-end" is hardwired to ETH's internals...

JW

Piranha
Chief II

Of course. I only added it as an additional information just in case someone interested in Ethernet is reading this. 🙂