2020-07-22 02:03 AM
2020-07-23 08:06 AM
ok, I can advise you to test with a ST board first , the one closest to your configuration.
The rational is that all ST boards available in the MCWorkbench have been tested by the ST team.
2020-07-23 07:57 AM
Hello mscot.1,
Can you please describe a bit more your different steps?
Especially the custom board... did you use a known ST board to get started ?
Thanks,
Claire
2020-07-23 08:02 AM
Hi Claire,
No I didn't, but if I try builds for Hall Sensors or Encoders are OK, that is they spin the motor via the Monitor etc.
2020-07-23 08:06 AM
ok, I can advise you to test with a ST board first , the one closest to your configuration.
The rational is that all ST boards available in the MCWorkbench have been tested by the ST team.
2020-11-01 03:04 PM
Hello,
I do have the same error with a nucleo f401RE and Ihm08-3Sh
In function 'FOC_CurrControllerM1':
C:/XXXXXX/Src/mc_tasks.c:770:50: error: 'PARK_ANGLE_COMPENSATION_FACTOR' undeclared (first use in this function); did you mean 'REV_PARK_ANGLE_COMPENSATION_FACTOR'?
hElAngle += SPD_GetInstElSpeedDpp(speedHandle)*PARK_ANGLE_COMPENSATION_FACTOR;
It appears when unboxing hall sensors and quadrature encoder and activating Sensor-less (Observer+PLL) speed feedback.
STM32CubeMX 6.0.1
STM32 FW V1.25.1
STM32CubeIDE
DriveType : HAL
2023-10-11 01:42 AM
define PARK_ANGLE_COMPENSATION_FACTOR 0;