2019-05-12 06:10 PM
HI,
I'm trying to use ST Motor Control Workbench to make a project for control PMSM Motor,But when i click on generate code.I get this warring message "These IPs still have some not configured or wrong parameter values:[ADC1] Do you still want to generate code?". If i choose yes.it will generate a project but can't compile successfully.Where could this be unconfigured?
2019-05-13 08:42 AM
Hello,
Could you attach your stmcx file ?
Cedric
2019-05-13 06:52 PM
2019-05-13 10:37 PM
Actually.I create a new project and just change the pin assignment.The warring still exist.
2019-05-14 05:59 AM
Dear Mr Su,
thanks for reporting your issue.
I confirm that the ADC1 must have the "Scan conversion Mode" to Enable. And the IOC generated set it to Disable.
The good news is that from your stmcx, excepting this warning, the code generated is complete and compile without errors nor warnings.
I used cube MX 5.2 and HAL V1.7.0
Note that LL generation is not supported for F1 series.
Regards
Cedric
2021-06-22 01:35 AM
The question has been moved from the section "Motor Control Hardware" to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards