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-DRV8323RH: Can't spin BLDC Motor with InstaSpin: LAUNCHXL-F28069M and BOOSTXL-DRV8323RH

Part Number: BOOSTXL-DRV8323RH
Other Parts Discussed in Thread: LAUNCHXL-F28069M, , DRV8323, MOTORWARE, BOOSTXL-DRV8323RS

Hello,

I am trying to spin a BLDC Motor (Trinamic QBL 4208-61-04-013) with the LAUNCHXL-F28069M and the Booster Pack: BOOSTXL-DRV8323RH. I trying to do this for days now with Instaspin and Code Composer Studio 10.

I copied the drivers for the DRV8323 and updated everything accordig to the InstaSpin Quick Start User Guide and the drv8323 firmware.

I compiled the Proj Lab 05b and copied the appProgram.out in the Instaspin-Universal GUI, the motor gets identified, but won't run. Speed_error_RPM is 100%. Bus Voltage is visible.

Is the Combination even possible between the DRV8323RH and the F28069M ? I think DRV8323RH doesn't have the SPI but is Instaspin and the GUI possible to use, nevertheless? Is there some special code I still have to update to use Instaspin without SPI?

  • You might refer to the link below which has some example labs for DRV8323RS.

    [FAQ] BOOSTXL-DRV8323RS and BOOSTXL-DRV8323RH InstaSPIN and MotorWare support

    https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/635499

    You should configure the related GPIO for controlling the DRV8323RH and set correct parameters based on the hardware board in user.h

    #define USER_IQ_FULL_SCALE_VOLTAGE_V           (xx)

    #define USER_VOLTAGE_FILTER_POLE_Hz               (xx)

    #define USER_ADC_FULL_SCALE_VOLTAGE_V       (xx)

    #define USER_IQ_FULL_SCALE_CURRENT_A           (xx)

    #define USER_ADC_FULL_SCALE_CURRENT_A       (xx)

  • I configured your listed defines in user.h, but where do I need to configure

    Yanming Luo said:
    the related GPIO
    ?

    I am afraid, that this is not described. Not in MotorWare and also not in the other thread you are refering to. I have downloaded the supported proj labs, but how I can proceed to get the BOOSTXL-DRV8323RH to spin the motor? Which project files have to be modified if it's possible without the SPI interface to spin the motor ?

  • That should be not difficult to configure the GPIOs for supporting the DRV8323RH if you have a chance to take a look at the datasheet of the DRV8323. It's difficult to supports all EVM Kits in motorWare, the user may refer to the example to change the configuration codes for GPIO, PWM, ADC and SPI in the files of hal.c and hal.h to support any DRV EVM kits. 

    You can find a guide about how to change the configuration for these peripherals. 

    motorware_hal_tutorial.pdf at "\ti\motorware\motorware_1_01_00_18\docs\tutorials"

    The attached files are for the DRV8323RH that should be workable.

    boostxldrv8323rh_revA_hal.zipboostxldrv8323rh_revA_prj.zip

  • Case can be closed, I tested the other Gate Driver DRV8323RS which I am using from now on. Another post is already made regarding some new questions.