2019-09-22 07:14 AM
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:
Have a look at this picture. DMA is available.
Solved! Go to Solution.
2019-09-22 05:58 PM
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.
2019-09-22 05:05 PM
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.
2019-09-22 05:23 PM
Sorry. I have done that. Should I enable it manually in C-code?
2019-09-22 05:58 PM
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.
2019-09-23 04:08 AM
Thank you. This will solve my issue. I hope that the engineers at STM will solve this bug ASAP.
2019-09-23 09:33 AM
Is there a way to report that issue to ST?