2019-02-26 11:50 AM
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.
Solved! Go to Solution.
2019-11-02 8:19 PM
Hi,
I'm using CubeMX 5.4.0 with FW package from Sept 2019, and I still have this issue: I set the DMA to work in circular mode using simultaneous ADC1&2, this doesn't translate into the code, it still generates this way:
hadc1.Init.DMAContinuousRequests = DISABLE;
So DMACFG is 0 and I just get one round of conversion, once I reach the end of the buffer in which the DMA stores the data, it stops.
I edited the CubeMX in a text editor, it shows correctly Dma.ADC1.0.Mode=DMA_CIRCULAR, I expect this is what enables hadc1.Init.DMAContinuousRequests. It doesn't.
If I set DMACFG in the debugger manually then the circular mode works.
Ben.
2020-07-14 3:56 PM
2020-07-17 7:27 AM
Hi @JWhit.7 , I'll check it.
Regards,
Khouloud
2020-07-17 7:37 AM
you're right, the 6.0.0 will be available for the next week, it's OK on 6.0.0.
We are deeply sorry for any inconvenience this may have caused.
Regards,
Khouloud
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.