Skip to main content
Senior
February 18, 2024
Solved

I cant set up DMA

  • February 18, 2024
  • 2 replies
  • 1884 views

Hi,

I am trying to replicate this example by ST to understand DMA but I come up with below issue when I click on Add. Could you please help me resolve it ?

 

demir_0-1708246299218.png

 

This topic has been closed for replies.
Best answer by AScha.3

So try the memTomem ->

AScha3_0-1708256284790.png

 

2 replies

AScha.3
Super User
February 18, 2024

Hi,

This is just the info/error : DMA impossible, because you didnt activate any peripherals to work with the DMA.

ie:

Select anything you want to work with DMA : SPI , ADC, I2S ... , set it to the mode you want, then you can add a DMA channel there.

ADC example:

AScha3_0-1708248355110.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
demirAuthor
Senior
February 18, 2024

I understand, however I would like to set up DMA for memory-to-memory mode, not from peripheral to memory or vice versa. 

AScha.3
AScha.3Best answer
Super User
February 18, 2024

So try the memTomem ->

AScha3_0-1708256284790.png

 

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