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.

CCS/BOOSTXL-3PHGANINV: InstaSPIN labs for 5200 GaN EVM

Part Number: BOOSTXL-3PHGANINV
Other Parts Discussed in Thread: LAUNCHXL-F28069M

Tool/software: Code Composer Studio

Trying to run the InstaSPIN-FOC labs using the boostxl-3phganinv board with launchxl-f28069m, without a lot of success. Directions are given to run lab02a, which works fine. Following the same steps is enough to get other labs to compile, link, and launch a debug session, but they do not work correctly. Is guidance available on how to run the other labs with this EVM board?

  • Hello jvaler,

    I am sorry to see the lack of success. I am reaching out to the C2000 experts, but could you please elaborate on how the other labs are not working? Also, what kind of motor control are you looking for with other lab projects?

    Sincerely,
    Peter Iliya
    Current Sensing Applications
  • The labs are designed for 8301 and 8305 gate drivers. They interface to the MCU differently, including by SPI, compared to the GaN board. The same lab that spins a 8301-based board will not work with a GaN-based board.

    There are clear instructions, including .c and .h files, to adapt Lab02a to the GaN board by copying the entire 8301 lab tree, replacing five .c/.h files, and changing some path variables. Lab02a works when these instructions are followed. Motor resistance, inductance and flux are all measured correctly and the motor spins nicely.

    But there is no documentation I can find of how to do a similar adaptation of any of the other labs after Lab02a. I could list specific symptoms, but the bottom line is, those labs are designed for an 8301-based board and this is a different board so they don't work with this board.

    Clearly, TI has not yet finished the work to publish revised labs for this board, but equally clearly, someone went to the trouble to adapt Lab02a with that goal in mind. My hope is that this means there is some document, somewhere, or individual expertise, somewhere, that can shortcut the work needed to adapt the remaining labs on our own, by listing the general types of changes needed. Or perhaps a pre-release version we can kick the tires on?

    Thanks in advance for any guidance,
    Jeff
  • 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);
  • Thank you very much, this looks straightforward.

    Jeff