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.

TMS320F28027F: F28027F + DRV8305

Part Number: TMS320F28027F
Other Parts Discussed in Thread: DRV8305


Greetings of the day!!!

I am using F28027F + DRV8305 for driving BLDC motor. I am using projlab05b.c. In projlab05b.c i have written follwing code

float A_RPM=5.0;count++;



But here i am setting A_RPM to fixed value 5000rpm and then motor oscillates.

But i want to set rpm in gui in the range 2000 to 20000rpm at SpeedRef_krpm veriable and depending on set speed motor should oscillate.

I tried to read gMotorVars.SpeedRef_krpm as A_RPM=gMotorVars.SpeedRef_krpm. But getting error.

Help me do this.