Skip to main content
Mr.SU
Associate
May 13, 2019
Question

I am getting this warring message "These IPs still have some not configured or wrong parameter values:[ADC1]" when trying to generate code on ST Motor Control Workbench

  • May 13, 2019
  • 5 replies
  • 1204 views

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?

This topic has been closed for replies.

5 replies

cedric H
ST Technical Moderator
May 13, 2019

Hello,

Could you attach your stmcx file ?

Cedric

Mr.SU
Mr.SUAuthor
Associate
May 14, 2019

This is my stmcx file.I made the control board and the driver board myself.The ST MCWB version is 5.3.3

cedric H
ST Technical Moderator
May 14, 2019

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

Laurent Ca...
Senior III
June 22, 2021

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