Encoder "reverse counting direction" checkbox not working in ST MC Workbench 5.4.3. What am I missing?
Hi all,
I have been pulling my hair out trying different ways to reverse my encoder counting direction.
The checkbox "reverse counting direction" in Speed Sensing section does not seem to make any difference. I am using Attolic TrueSTUDIO IDE, and the Monitor in WB to check my speed.
The corresponding code "#define ENC_INVERT_SPEED DISABLE" in drive_parameters.h stays "DISABLE" no matter what I set in WB, but if I change measurement errors or FIFO depth settings, they will be changed in the very same source file.
I also tried to manually change the code to ENABLE, with no change. Also tried to edit the TIM2 Initialization code and tried downcounting mode (instead of upcounting) with no success.
Has anyone had similar issues? Any help and feedback would be greatly appreciated!
