cancel
Showing results for 
Search instead for 
Did you mean: 

DMA Continuous Requests - Not selectable option on STM32F446RE Nucleo Board

DMårt
Lead

Hi!

I have a question. I know that the question is similar to https://community.st.com/s/question/0D50X0000APcm2T/stm32cubemx510-adc-dma-continuous-requests-doesnt-work

But I have heard that this bug was fixed in CubeMX 5.2.0. I'm using CubeMX 5.3.0 with Nucleo STM32F446RE board and this I want I get when I start a new project.

As you see, "Disable" is only selectable option here. Why?

Here is the data sheet:

https://www.st.com/content/ccc/resource/technical/document/reference_manual/4d/ed/bc/89/b5/70/40/dc/DM00135183.pdf/files/DM00135183.pdf/jcr:content/translations/en.DM00135183.pdf

Have a look at this picture. DMA is available.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer
1 ACCEPTED SOLUTION

Accepted Solutions

Oh, sorry. I just tried with your model... Apparently this is an error with STM32F446 on CubeMX (works fine with my STM32F405VG).

If you want to enable manually, go to MX_ADC1_Init(void) function, and change "hadc1.Init.DMAContinuousRequests = DISABLE" to ENABLE and make sure your dma is configured in circular mode.

View solution in original post

5 REPLIES 5
denisjkasai
Associate II

You need to add a DMA request for ADC on "DMA Settings" tab. After selecting a DMA stream, you'll be able to enable continuous DMA requests.

Sorry. I have done that. Should I enable it manually in C-code?

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

Oh, sorry. I just tried with your model... Apparently this is an error with STM32F446 on CubeMX (works fine with my STM32F405VG).

If you want to enable manually, go to MX_ADC1_Init(void) function, and change "hadc1.Init.DMAContinuousRequests = DISABLE" to ENABLE and make sure your dma is configured in circular mode.

Thank you. This will solve my issue. I hope that the engineers at STM will solve this bug ASAP.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

Is there a way to report that issue to ST?

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer