cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F767 DMA double buffer mode with differing buffer lengths

stmcoder
Associate II

I'd like to setup the DMA engine to use double buffer mode, but on different size buffers. It seems that there is only one NDTR register per stream, and the user manual says this can only be written to when the stream is disabled.

So combining this information, is it the case that both buffer lengths must always be the same size?

1 REPLY 1
TDK
Super User

Correct, the buffers must be the same length.

Newer chip families have GPDMA which can be used with linked lists to do things like this.

If you feel a post has answered your question, please click "Accept as Solution".