Skip to main content
Associate
August 28, 2025
Solved

CubeIDE MX ADC "no available dma requests for this peripheral"

  • August 28, 2025
  • 3 replies
  • 340 views

STM32G474RET – When I try to set up a DMA, I get this message: “No available DMA request for this peripheral.”
I haven’t configured any other DMA.

With a different MCU, it worked fine before.

I’m using CubeIDE version 1.16.0. Any ideas would be really helpful, as I’m new to STM32.

 

Screenshot 2025-08-28 100840.png

Best answer by Ghofrane GSOURI

Hello @alexqp 

First let me thank you for posting.

As mentioned by @AScha.3 When using DMA with ADC1 on the STM32G474RET, you only need a single DMA request and channel, even if you are sampling multiple ADC input channels. The ADC can be configured to scan several inputs in sequence, and the DMA will automatically transfer all conversion results to a memory buffer in the order they are sampled. There is no need for multiple DMA requests—one DMA channel is sufficient to handle all the data transfers for your ADC1 sequence.

THX

Ghofrane

3 replies

AScha.3
Super User
August 28, 2025

>When I try to set up a DMA,

But from pic : you already have set a DMA for ADC1 - so what you cannot set ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Ghofrane GSOURI
Ghofrane GSOURIBest answer
Technical Moderator
August 28, 2025

Hello @alexqp 

First let me thank you for posting.

As mentioned by @AScha.3 When using DMA with ADC1 on the STM32G474RET, you only need a single DMA request and channel, even if you are sampling multiple ADC input channels. The ADC can be configured to scan several inputs in sequence, and the DMA will automatically transfer all conversion results to a memory buffer in the order they are sampled. There is no need for multiple DMA requests—one DMA channel is sufficient to handle all the data transfers for your ADC1 sequence.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
alexqpAuthor
Associate
August 29, 2025

Thank you for the reply. I hadn’t realized that, but now it’s working.