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
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.