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-DRV8323RS: Transition from Boostxl-DRV8305

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

Hello,

I work with the launchpad LAUNCHXL-F28069M and successfully started with the InstaSPIN labs using the BOOSTXL-DRV8305 board. I can spin the connected motor and change the rotation speed (like in lab5b).

Now I want to move on to the BOOSTXL-DRV8323RS, since this driver is the chosen one for our project. I followed the instructions (using the drv8323.c, hal.c and hal.h files from slvc705.zip).

I can run the labs 1b and 1c, but when I try lab2a my power source (24V; max 20A) enters its over-current protection mode.
Trying lab5b lets the motor spin, but very slowly (I cant increase the speed) and according to the watch window is the current I_q at the maximum value specified in user_j1.h by #define USER_MOTOR_MAX_CURRENT .
I changed the value there and indeed the value of I_q always goes to its maximum.

What could cause this problem?
Did I do something wrong in the transition from BOOSTXL-DRV8305 to BOOSTXL-DRV8323RS?
Did someone else make similar experience?

Kind regards.

  • Hello Michael,

    Forwarding to the C2000 team for further support. 

    For the DRV832x, we recommend the LAUNCHXL-F280049C + BOOSTXL-DRV8320RS for the most up to date version of sensorless-FOC using MotorControl SDK.

    For MotorWare using the BOOSTXL-DRV8323RS, can you make sure USER_IQ_FULL_SCALE_CURRENT_A is set correctly according to the application and gain setting of the CSAs of the DRV8323? Hitting overcurrent protection mode usually occurs from software due to using too high of a CSA gain setting in the DRV8323. Make sure you set the gain setting so that when the SOx voltage from the DRV8323 is outputted, it does not saturate the CSA outputs and cause false overcurrent issues. Settings are 5V/V, 10V/V, 20V/V, and 40V/V. 

    Thanks,
    Aaron 

  • Hello Aaron,

    USER_IQ_FULL_SCALE_CURRENT_A should be fine. It is set to 20. The rated current of the motor is 6.43 A.

    CSA gain was 20V/V. I tried 10 and 5V/V and changed USER_ADC_FULL_SCALE_CURRENT_A accordingly, but I still have the same issues...

    I measured the SOx outputs from the DRV8323 with 20V/V and 5V/V amplification (see pictures below) and you can see that neither of them exceeds the 3.3V reference voltage. So the CSAs should be fine, right?

    20 V/V amp:

    5 V/V amp:

    Thanks,
    Michael

  • You might try to use the example from the link below that has been validated on the LAUNCHXL-F28069M and BOOSTXL-DRV8323RS within CCS.

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

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

    If you want to run the lab01b, you need to set the following parameters according to your motor. Since the board and software have been tested, you might run the lab02b/c to identify the motor parameters, and run the subsequent labs with identified parameters.

    #define USER_MOTOR_FREQ_LOW                                (10.0)                        // Hz - suggested to set to 10% of rated motor frequency

    #define USER_MOTOR_FREQ_HIGH                                      (100.0)                        // Hz - suggested to set to 100% of rated motor frequency

    #define USER_MOTOR_FREQ_MAX                                (120.0)                        // Hz - suggested to set to 120% of rated motor frequency

    #define USER_MOTOR_VOLT_MIN                                (3.0)                        // Volt - suggested to set to 15% of rated motor voltage

    #define USER_MOTOR_VOLT_MAX                                (18.0)                        // Volt - suggested to set to 100% of rated motor voltage

  • Hello Yanming,

    this is exactly what I have done. Lab01b (and lab01c) is working and spins the motor. But the subsequent labs won't run. It seems like there is something wrong with the current shunt feedback. But the CSAs are apparently fine (see my previous post). And the HAL_readAdcData function and transformation to a valid current value (in "hal.h") are the same as for the BOOSTXL-DRV8305EVM examples.

    So I can't imagine, where the bug is to find...

  • Please check if the control registers of the RV8323RS are configured correctly.

    As mentioned above, please try to use the reference examples.