2020-02-06 02:05 AM
Hi
I'm trying to configure my project with STM32CubeIde 1.2.1
I want to use ADC1 to perform temperature and vrefint measurement.
So I configure my adc & dma :
But I'm not enable in cube to enable the DMA option, only disable is possible.
If I enable the flag manually in the code generated, I don't have any problem and the code is running as expected (continuous acquisition of both channel with an interrupt each time the acquisition is complete)
Is there a reason this option isn't possible in cube ?
Solved! Go to Solution.
2020-02-08 06:32 AM
If it wasn't for the forums I wouldn't have ADC DMA working on the H7 at all. I didn't realize how dumb I was until I faced the new bus matrix. It was needed, OK, and it's documented but I'm having trouble grokking it and can't afford to spend a couple of days doing what really needs to be done when there are no good tutorials, i.e. doing my own tutorial.
2020-03-02 06:14 AM
Hi @Community member , to abtain the fix you need to to migrate your project in a CubeMX version greater or equal than 5.4 , so please follow those steps:
1 – Update the CubeMX version in the CubeIDE with a version greater or equal than 5.4
2 - Modify in the IOC following parameter value from false by true , ProjectManager.AskForMigrate=false
3 - Load the IOC and answer « Migrate » to update the project with the ability to enable the DMAContinuousRequest
Best Regards,
Khouloud
2020-03-04 03:05 AM
It's working (update to 5.5)
Thanks