Skip to main content
kurta999
Senior
February 26, 2019
Solved

STM32CubeMX5.1.0 ADC "DMA Continuous Requests" doesn't work

  • February 26, 2019
  • 13 replies
  • 9086 views

I opened an older project which was created with 5.0.1, and the newest CubeMX shows an error for this option in ADC. But this option is correct. I tried to create a new project, and I wasn't able to enable this option here.

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

​Hello @kurta999​ 

You are right , Issue will be fixed in the next CubeMX release.

Best regards,

Khouloud

13 replies

Khouloud ZEMMELI
ST Employee
February 28, 2019

​Hello @kurta999​ 

Thank you for the feedback, this reported internally for further check.

Best Regards,

Khouloud

Lead
September 23, 2019
STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-ComputerSTM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
Khouloud ZEMMELI
ST Employee
February 28, 2019

Can you please share your ioc file?

Best Regards,

Khouloud

kurta999
kurta999Author
Senior
February 28, 2019

Yes, here it is.

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
March 1, 2019

​Hello @kurta999​ 

You are right , Issue will be fixed in the next CubeMX release.

Best regards,

Khouloud

Rogers.Gary
Senior II
March 25, 2019

Hi,

I too am having the same issue. There is a red "x" for "DMA Continuous Requests", and hovering over it, the message is "DMA Continuous Requests parameter can only be set to enable if a DMA request is active in the DMA settings tab". Of course, I do have a DMA request set up.

Let me know if you need more information on this little annoying HAL bugster.

Jeff Gros
Associate II
April 24, 2019

I struggled with this issue for longer than I would like to admit. I was uninstalling and reinstalling different versions of CubeMX to no avail.

To my surprise, I found that if I created a new project, I was able to configure "DMA Continuous Requests" as enabled, but using my existing project, I was not. I did a diff between the two ioc files, and performed the tedious process of changing things one by one until the "Enable" option appeared.

The magic setting was the CubeMX Database version.

My faulty version was "MxDb.Version=DB.4.0.270".

My correct version was "MxDb.Version=DB.5.0.10".

I don't think users should be required to change low level files to configure critical settings like this. If it exists through the GUI, I've never seen it in obvious places (project manager, etc).

Jeff Gros
Associate II
April 24, 2019

Turns out "5.0.10" isn't the correct version, as you cannot use RefInt, Temp or VBat!

You need to use "MxDb.Version=DB.5.0.0".

What a nightmare!

Rogers.Gary
Senior II
April 24, 2019

ST Tech Support says: "...the temperature sensor doesn't allow you to do dma continuous request...it's bug of CubeMx."

Hopefully they will fix this annoying....bug. Soon.

Khouloud ZEMMELI
ST Employee
April 24, 2019

​Hello @Rogers.Gary​ 

This issue has been fixed in 5.2.0 CubeMX version.

Best Regards,

Khouloud.

Jeff Gros
Associate II
April 24, 2019

I can confirm that with new blank projects, and version 5.2.0, which uses MxDb.Version=DB.5.0.20, the issue is fixed.

However, 5.2.0 cannot seem to open my file (CubeMX spins forever on trying to load it). It was able to be opened with 5.1.0.

See attached.

kurta999
kurta999Author
Senior
April 24, 2019

https://community.st.com/s/question/0D50X0000AU4CvOSQV/stm32cubemx-lladcsetcommonpathinternalch-generation-bug-only-one-internal-ch-is-enabled

So it means, this issue is fixed too? It's mainly related to low layer driver, with HAL it worked before.

kurta999
kurta999Author
Senior
April 26, 2019

Yes, this is fixed. I can confirm it too!

But you can't measure temp sensor with vref with LL, because freshly generated code will only enable measuring vrefint. Tested with 5.2.0.

https://community.st.com/s/question/0D50X0000AU4CvOSQV/stm32cubemx-lladcsetcommonpathinternalch-generation-bug-only-one-internal-ch-is-enabled

mospi
Visitor II
August 6, 2019

Hello I was working in Mxcube 5.01 and I updated to 5.3.0 and I can not set the parameter DMA continues Request to ENABLE only Disable shows up.

I was using and project that I am working, but I created a new one from the scratch and I can no set this option. I ma using STM32F446ZEJx.

Is this bug not fixed for this MCU ?

Thank you

Khouloud ZEMMELI
ST Employee
August 6, 2019

hello @mospi​ , I will check it, please share your ioc file.

Best Regards,

Khouloud.

mospi
Visitor II
September 3, 2019

Hello the Ioc was shared like month ago.

can you tell us if this bug is fixed or how can we go around this.

Thank you

mospi
Visitor II
August 6, 2019

When I open my old Project I clicked in migrate project, I got my old Ioc file and I did not click Migrate I just clicked in Download package and this allow me to change this DAM setting, but if i do i new project I can not change it using STM32F446ZEJx

Thank you