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!