Hi all,
I managed to corrupt my Motor Ware Lab 01 project, rather not go in to "how". But somehow I managed to save it also.
So when I try to compile, of course I get an error. Real good way to learn, however. I thought perhaps someone could make available a good copy of it so I could get back at it. :)
If not, perhaps some help with the actual problem. Might as well just go ahead and put the info in place, If Chris gets this he will probably make me do the extra work and learn from it. :)
I managed some how to mis-configure my motor file.
#35 #error directive: No motor type specified hal.c /proj_lab01 line 600, external location: C:\ti\motorware\motorware_1_01_00_12\sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\src\user.h
Line 600 is just a fall through error. Below is "My_Motor" defined so I missed it somewhere.
#elif (USER_MOTOR == My_Motor)
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (2)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (0.3918252)
#define USER_MOTOR_Ls_d (0.00023495)
#define USER_MOTOR_Ls_q (0.00023495)
#define USER_MOTOR_RATED_FLUX (0.03955824)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (3.0)
#define USER_MOTOR_IND_EST_CURRENT (-0.5)
#define USER_MOTOR_MAX_CURRENT (20.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (20.0)
//#define USER_MOTOR hobby_4p5T
#define USER_MOTOR My_Motor // It is uncommented here for use
//#define USER_MOTOR small_hobby
//#define USER_MOTOR Belt_Drive_Washer
Anyone got a clue?
Thanks, in advance.
David