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: LAUNCHXL-F280025C + BOOSTXL-DRV8323RH : ESTIMATOR_MODE_HALL motor Locked

Part Number: BOOSTXL-DRV8323RH
Other Parts Discussed in Thread: LAUNCHXL-F280025C,

Hi,

BUILD LEVEL = DMC_LEVEL_4 

systemVars.estType = EST_TYPE_FAST_HALL

My motor can spin with motorVars_M1.estimatorMode = ESTIMATOR_MODE_FAST, when I change to ESTIMATOR_MODE_HALL on-the-fly, motor stop immediately and locked, when start with ESTIMATOR_MODE_HALL it's also locked.

The HALL port supply with LAUNCHXL-F280025C on-board 5v, confirmed A B C with HIGH ~3.3v LOW ~0v, tried different A B C wire combination.

This motor work well on other system with HALL Sensored FOC without issues.

Anyone know what's happening ? 

Tiger

  • hi,

    look like reading HALL GPIO value / state failed ? 

    hallHandle->hallIndex

    hallHandle->gpioHallU

    hallHandle->gpioHallV

    hallHandle->gpioHallW

    all 4 values are not updating !!!!

    Tiger

  • Hi Tiger, 

    I am looping this thread to C2000 team for assistance with Universal Motor Control labs. 

    Thanks,
    Aaron

  • Make sure that the connection sequence of Hall sensor and motor wires are correct, and set the right values in the angle buffer array as below.

    const float32_t hallAngleBuf[7] = { 1.64448488f, -1.54361129f, 0.548367858f, \
    -0.390248626f, 2.67842388f, -2.52673817f,
    1.64448488f };

    You may try to change the connection order of the motor wires or hall sensor lines first that could enable the motor to run without lock, and then get and set the values as above.

  • Thx Yanming,

    You may try to change the connection order of the motor wires or hall sensor lines first that could enable the motor to run without lock, and then get and set the values as above.

    I did.

    const float32_t hallAngleBuf[7] = { 1.64448488f, -1.54361129f, 0.548367858f, \
    -0.390248626f, 2.67842388f, -2.52673817f,
    1.64448488f };

    look like reading HALL GPIO value / state failed ? 

    hallHandle->hallIndex

    hallHandle->gpioHallU

    hallHandle->gpioHallV

    hallHandle->gpioHallW

    all 4 values are not updating in HALL_getInputState subroutine

    just look into both LAUNCHXL-F280025C and BOOSTXL-DRV8323RH schematic, the HALL A B C of LAUNCHXL-F280025C is connected to IO05, IO40 and IO23 respectively.

    on hall.h I found these 3 GPIO is declared below, which is mean mapped to PIN 74, 64 and 65, do I need to enable these PORT PINs somewhere ? 

    #define MTR1_HALL_U_GPIO        14 

    #define MTR1_HALL_V_GPIO        25 

    #define MTR1_HALL_W_GPIO       26 

    Tiger

  • Please follow the user guide of LaunchXL-F280025c ot the Universal Lab Guide to set the switch on LaunchXL-F280025c to enable these GPIO linked to the related connector, and install the Hall sensor header to the connector.

    What motor are you using?

  • Thx Yanming, sorry I missed the S5 switch and connected to LAUNCHXL-F280025C's hall port.

    it is working now.

    Tiger