cancel
Showing results for 
Search instead for 
Did you mean: 

I cant set up DMA

demir
Senior II

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

So try the memTomem ->

AScha3_0-1708256284790.png

 

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

View solution in original post

3 REPLIES 3
AScha.3
Chief III

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".
demir
Senior II

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

So try the memTomem ->

AScha3_0-1708256284790.png

 

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