This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069M: How to change the turning direction in InstaSPIN lab01b

Part Number: TMS320F28069M

Greetings! I need to control 2 motors and I was adviced to use lab01b as reference. So I can spin the motor in the one direction and it is acting correctly. So I want to change the turning direction, but if I set SpeedRef_krpm to a negative value the motor doesn`t spin. What is the proper course of action here?


  • Hi Pavlin,

    "SpeedRef_krpm" in lab01b cannot set to a negative value. The main purpose for lab01b is to run the motor in open-loop control and verify the functionality of ADC so that it can run the closed-loop control in the following labs.