2017-07-11 09:48 AM
When I had generated code with dual ADC on regular simultaneous mode from STM32CubeMX, the code after compiled couldn't get to work and rised error handler, so I traced the problem, found that there is a multiple mode configure function in ADC init function, but the configure function only works with ADC1, here is the reason. and I will illustarte it below:
So, this code in ADC2_Init is meaningless, and bolck the program, I have to delete it everytime after I regenerated the project.
Hopes It's usefull for your guys.
Best Regards,
Zheng.
2017-07-11 06:57 PM
And, the code generated in ADC2_Init function, lacking 'hadc2.Init.ExternalTrigConv = ADC_SOFTWARE_START;' as Ali said in
2017-07-12 12:44 AM
Hello
Liang.Zheng
,Thank you for your reported issue.I will raise this issue internally for checking and come back to you.
Thanks
Imen
2017-09-07 10:03 AM
Hi
Liang.Zheng
, Thanks for having reported the issue.The correction is going to be delivered in next CubeMx v4.1.
Regards.
Cyril