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.

F28069M project problem

Other Parts Discussed in Thread: MOTORWARE

Dear All

I'm studying the F28069M+DRV8301Kit, and  install the motorware.

Because I need to do version manager like Git, so I import the original proj_lab01 from

C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\src\proj_lab01

and do some modify with the link file, Path....etc.

After all file is ready, compile comes out some error below,

"D:/workdata/ccs_workspace_v52/F28069M_Lab_Test/include/sw/modules/clarke/src/32b/clarke.h", line 131: warning #225-D: function "lshft_1" declared implicitly
"D:/workdata/ccs_workspace_v52/F28069M_Lab_Test/include/sw/modules/clarke/src/32b/clarke.h", line 137: warning #225-D: function "lshft_1" declared implicitly
"D:/workdata/ccs_workspace_v52/F28069M_Lab_Test/include/sw/modules/clarke/src/32b/clarke.h", line 157: error #31: expression must have integral type
"D:/workdata/ccs_workspace_v52/F28069M_Lab_Test/include/sw/modules/svgen/src/32b/svgen.h", line 129: error #31: expression must have integral type

static inline void SVGEN_run(SVGEN_Handle handle,const MATH_vec2 *pVab,MATH_vec3 *pT)
{

_iq Vmax,Vmin,Vcom;
_iq Va,Vb,Vc;
_iq Va_tmp = -(pVab->value[0]>>1);  // Why this line got error?

Anyone knows why?

Hank

  • I understand the need to use GIT, but we recommend keeping the MotorWare directory in tact within your path. You can still do this in GIT. Everything in MotorWare is relative path based (so that we can quickly repurpose software across different MCU and Inverter combinations) and I would guess you have an error with your paths (or if you changed the linker files).