Skip to main content
MK.1
Associate III
January 23, 2022
Question

Compilation error in position control mode.

  • January 23, 2022
  • 2 replies
  • 1826 views

CubeMX 6.4.0

Cube IDE 1.8

MSDK 5.y.4

The new processor load calculation module conflicts in position control mode.

This topic has been closed for replies.

2 replies

MK.1
MK.1Author
Associate III
January 23, 2022

solution:

in file mc_perf.c needs to be changed

SPEED_LOOP_FREQUENCY_HZ  to

POSITION_LOOP_FREQUENCY_HZ 

cedric H
Technical Moderator
January 26, 2022

Hello @MK.1​ ,

Thanks a lot for reporting.

Regards

Cedric