You may be easy to port all other projects to boostxl-3phganinv board based on boostxldrv8301 since the lab02a worked well. You may only need to follow the BOOSTXL-3PhGaNInv User's guide to setup other projects which is similar to lab02a. Keep hal.c, hal.h, user.h and user_j5.h in other lab project as lab02a, to find HAL_enablePwm(halHandle) and HAL_disablePwm(halHandle), and add several lines code as below in proj_labxx.c 1. Add HAL_setGateDriverEnableGPIO(halHandle) for HAL_enablePwm(halHandle) as below HAL_enablePwm(halHandle); HAL_setGateDriverEnableGPIO(halHandle); 2. Add HAL_setGateDriverDisableGPIO(halHandle) for HAL_disablePwm(halHandle) as below HAL_disablePwm(halHandle); HAL_setGateDriverDisableGPIO(halHandle);
↧