2017-11-06 10:19 AM
I can select this configuration in STMCWB and generate all files, but the compiler complains in line 424 of MCTasks.c
oCurrSensor[M1] = (CPWMC)IF3XX_NewObject(&PWMnCurrFdbkParamsM1, &ICS_DDParamsM1);
Error[Pe167]: argument of type 'struct <unnamed> const *' is incompatible with parameter of type 'pICS_F30XParams_t' C:\...\MCTasks.c 423
I checked, 'ICS_DDParamsM1' is of type 'ICS_DDParams_t', whereas the function expects a pointer to a parameter of type 'ICS_F30XParams_t'.
2021-06-28 2:30 AM
The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards
2021-06-28 2:42 AM
The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.