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.

CCS/BOOSTXL-DRV8305EVM: Digital control of 3 Phase BLDC Motor with permanent magnet rotor

Part Number: BOOSTXL-DRV8305EVM
Other Parts Discussed in Thread: DRV8305, CONTROLSUITE

Tool/software: Code Composer Studio

I am currently writing my bachelor thesis on a digital control of a BLDC motor with a permanent magnet rotor.

Motor control:

The launchpad C2000 (TMS320F2802X)
BoosterPack DRV8305

Motor:
Synchronous RS Pro Brushless DC Motor
3 phases
4 poles
Hall Effect Angle 120 degrees
Is operated with a voltage of 24V.

Optical encoder:
Up to 1024 counts per revolution / Two or three channel



Now I want to control the speed of the motor with a potentiometer and change the direction of rotation with a switch. If this is only solved in the software this is also ok.

For testing purposes I would like to control the motor without sensors, with Hall-effect sensors and with the optical encoder.

Unfortunately it is not clear to me from the online tutorial how I should realize all this.

Could someone help me with this, or maybe send me a sample code.

Thanks a lot in advance
Philip