Replies: 1 comment 5 replies
-
In the STM32 with GPDMA (U5, H5), there is a linkedlist feature, essentially allows you to reload DMA configuration from the memory. That means that you setup different configs in your memory, and then you start the DMA that will perform the transfer according to the config, once transfer is done, it will load new config and start the transfer according to the new config, and so on. In case of circular DMA, linked list points to itself, see below. From app note:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
stm32-usart-uart-dma-rx-tx/projects/usart_rx_idle_line_irq_ringbuff_tx_loopback_U5/Src/main.c
Line 337 in 8336144
I see the tx is set with
DMA_InitStruct.xxx
which I am familiar with. And then the rx portion usesNodeConfig.xxx
which I am not.I see that CubeMX does this as well. Although neither the default MX nor your code uses their Linked List generator. Rather it looks like the way to use this DMA to rx is to define a linked list of one unit?
Any idea how you would describe this to someone? It looks foreign to me.
It looks like you use the normal set/get size/data commands once it's running so not using the linked list values anymore?
Beta Was this translation helpful? Give feedback.
All reactions