Dear All,
I wanted to use DMA for a long chunk of byte to be received on SPI RX. What i wanted to know is how can I use DMA with variable length ?
Is it possible to use DMA with variable length ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear All,
I wanted to use DMA for a long chunk of byte to be received on SPI RX. What i wanted to know is how can I use DMA with variable length ?
Is it possible to use DMA with variable length ?
QJ Wang said:Hello Vikram,
If you want to change the transfer size, you need to re-program the element count and frame count in ITCOUNT register.
Thank you for your reply. Does that lead to re-initializing of the DMA ? Or can i do it without re-initializing the DMA and only by changing the ITCOUNT register ?