Other Parts Discussed in Thread: MOTORWARE
Tool/software: Code Composer Studio
Hi,
I'm working with the DRV8312-C2-KIT that comes with InstaSPIN and a GUI. I've got the kit working with the GUI, but the GUI is pretty limited in the way you can control the motor (only ramp up to a speed and vary the speed imprecisely). Is there a way to enter a custom motion (or velocity) profile to the control card so that I can create some more controlled paths? I have some code already that will output the desired position/velocity of the motor at a certain time stamp, but I can't seem to figure out how to program the board to use these inputs.
The only labs that I've seen to do this use the MotorWare software, but since the C2-KIT comes with a F28035 control card, I don't think I can use MotorWare. Using the InstaSPIN_BLDC project, I have found some code that looks like it sets the speed of the motor, but I'm having some difficulty understanding how to modify this or if this is the place that I should be modifying (BLDC_Int.c - in the MainISR function lines 632 to 651).
If there are any resources anywhere that will help me do what I'm looking to do, that would be very helpful. Everything I've seen is for higher level control cards (F2806x) which I don't have.
Thanks,
Matt