Other Parts Discussed in Thread: MOTORWARE, C2000WARE, DRV8316
Hi Team,
Working on Field oriented control of a BLDC Motor I had bought this LaunchXL F280049C Microcontroller and the DRV8316R Motor driver, I tried to find support for source code for this rig online but had very less luck only found the GUI composer studio support, for FOC using code I found TI E2E FAQ's regarding the use of Motorware SDK for source code implementation on DRV8316R (Link for the FAQ). But this did not solve the purpose for me and didn't understand much from the example codes as well. Had some questions regarding the codes in general and regarding CCS as well, will list those down below, I'll be grateful if I find some help regarding these...
- Whenever I run example codes with CCS they don't tend to print debug statements for one to know what is going on after you have flashed, to test the controller i had to add print statements on my own to know the state and had to modify the example codes a bit.
- This is what bothers me with c2000ware motor control SDK example codes, they tend to build flash and debug but am not able to find any debug statements on what the controller is actually doing.
- From using the GUI for sensorless control using DRV8316 i have found out what my motor parameters are so now do I have to add these parameters in user.h files so as to make the code work??
- And as I see in all the example codes including the Torque control example or the one with speed control or MTPA every code calculates the offset with the Offset_Calc function, so is it necessary to get the motor parameters and calculate offset every time I run a code? because this is a bit of a time consuming process.
Thanks,
Shlok Desai