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.

BOOSTXL-3PHGANINV: LAUNCHXL-F28069M

Part Number: BOOSTXL-3PHGANINV
Other Parts Discussed in Thread: DRV8301, , MOTORWARE

Hi, I am attempting to run lab10e from the InstaSPIN Projects and Labs User's Guide, Version 1.0.16.  In the lab, I have followed steps (from SLUUBP1A) as I did in lab2a to replace DRV8301 boards with the BOOSTXL-3PHGaNInv.  When I attempt to compile the lab10e project, I get the following error:  

"C:/ti/motorware/motorware_1_01_00_18/sw/solutions/instaspin_foc/src/proj_lab10e-BOOSTXL-3PhGaNInv.c", line 611: error #167: too few arguments in function call
1 error detected in the compilation of "C:/ti/motorware/motorware_1_01_00_18/sw/solutions/instaspin_foc/src/proj_lab10e-BOOSTXL-3PhGaNInv.c".

This is because the HAL_setTrigger call in my proj_lab10e.c file only has 3 parameters while the BOOSTXL-3PhGaNInv hal.h file defines the call with 4 parameters.,

static inline void HAL_setTrigger(HAL_Handle handle,const SVGENCURRENT_IgnoreShunt_e ignoreShunt,const int16_t minwidth, const int16_t cmpOffset)

instead of 3.

My question is, for the last two parameters, minwidth and cmpOffset, what would be good values for the parameters so that I can change my function call and put in parameters that would be appropriate?

Thanks!

  • Hi Peter,

    Thanks for the question and using the E2E forum.

    Today is a U.S. holiday but someone will respond to this as soon as we are back in the office tomorrow.

    Louis

  • Hi Peter,

    I’m not sure if the board and target device applies to the lab you’re trying to run. We only verified with the released software. I’ll research a bit more to see what I can find out.

    However you’re welcome to explore. Both the .h and .c files might have to be changed.

    Regards, Guang