2025-05-01 5:14 AM
Hello,
I am trying to enable electrical angle interpolation option in MC WB for the hall sensor, however, I am not seeing any changes in the generated code. I think this option is related to the REV_PARK_ANGLE_COMPENSATION_FACTOR since it is used to calculate the electrical angle based on the speed. is it correct? if no, which part of the code is changed?
Thank you
/****** Hall sensors ************/
#define HALL_AVERAGING_FIFO_DEPTH 16 /*!< depth of the FIFO used to average mechanical speed in 0.1Hz resolution */
#define HALL_MTPA false
/* USER CODE BEGIN angle reconstruction M1 */
#define PARK_ANGLE_COMPENSATION_FACTOR 0
#define REV_PARK_ANGLE_COMPENSATION_FACTOR 0
/* USER CODE END angle reconstruction M1 */