Programming Erorr
Dears
I'm using board "STEVAL SPIN3202" to drive a BLDC Motor. To program the microcontroller , I'm using STM32 Motor Control Workbench software. The mode of driving is sure FOC since I'm using this software. The problem, However, happens when I activate the "Hall sensors" for speed sensing. The problem doesn't happen when I'm generating the code in this software. The problem happens when I'm compiling the generated code in the IAR. When compiling, the next error message shows up:
Error[Pe020]: identifier "M1_HALL_H1_GPIO_Port" is undefined
Error[Pe020]: identifier "M1_HALL_H1_Pin" is undefined
Error[Pe020]: identifier "M1_HALL_H2_GPIO_Port" is undefined
Error[Pe020]: identifier "M1_HALL_H2_Pin" is undefined
Error[Pe020]: identifier "M1_HALL_H3_GPIO_Port" is undefined
Error[Pe020]: identifier "M1_HALL_H3_Pin" is undefined
I believe that the MC workbench doesn't define the values for theses "Variables".
Could you please provide a solution for this problem ? How could I define the value of these variables ?
Best regards
Amr
