cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-CTM010V1 PFC enable

David_212
Associate

Hi, I got a Steval-ctm010v1 board and using sdk 5.4.8. I have tried to enable its PFC section with eliminating the warning from xml file at the sdk file location. It enabled the PFC in the motor workbench and it shows that pins are assigned at the motor workbench. But After generating the code, the pins aren’t assigned in Stm32cube MX so the PFC isn’t enabled in practice and it just generates the PFC codes (pfc.c and etc…) to be used in the main code. How can I enable PFC the right way? any Help would be appreciated.

1 REPLY 1
GMA
ST Employee

Hello @David_212,

Following associated "readme.txt", I am able to obtain a PFC project with PFC i/o defined, important steps are:
* 1. Open the "PFC.stmcx" file with the STM32 Motor Control Workbench PC software tool and save
* it to another empty location.
* BEWARE: Do not change the name of the PFC.stmcx file, otherwise the
* example will not work properly
* 2. Click on the "update" button to create the demonstration source code, selecting the IDE
* to use: EWARM, MDK-ARM or cubeIDE;
Using "Generate" instead of "Update" on MCSDK generation will erase PFC settings.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA