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: How to disconnect BOOSTXL_DRV832X from application code

Part Number: BOOSTXL-DRV8323RS
Other Parts Discussed in Thread: MSP430F5529, DRV8323,

Hello,

  I am using BOOSTXL_DRV8323RS with MSP430F5529 USB LaunchPad Evaluation Kit. We are happy with the results and would like to disconnect the GUI altogether, and control the motor parameters in the MSP430 application code. I have setup all the default values for motor operation, and at power on, all parameters are set. Also have mapped one of the switches on the CPU board, to interrupt, and is used to activate motor or stop the motor. However, Motor never runs. 

1- The switch S1 at P2.1 interrupt works -- this controls the drive on/off

2- All motor control parameters, motor speed %, PWM switching frequency, and Ramp Delay Rate are set to valid ranges

3- Power supply is set to 24 volts. 

4- power is on

At this point if I press the S1 switch interrupt happens and stepping through the code, all parameters are valid, and the motor control state machine is running, and going through MOTOR_RAMP_UP, MOTOR_RAMP_DOWN, MOTOR_RUN. but motor is not moving. 

What am I missing? 

Thanks for your help.

Best,

Mano

  • Hi Galan,

    What is the voltage on the ENABLE pin on the DRV8323? When this pin is logic low the device goes to a low-power sleep mode. There is an internal pull down on this pin so if you don't supply voltage to ENABLE the device will be in sleep mode. 

    If this doesn't resolve your issue I will further help you debug.

    Thanks,

    Michael

  • Hello Michael,

         Thank you for your help. Checked the ENABLE pin and it was low. I added a call to drive this pin high, and motor started to function. Didn't realize it was being put to sleep, when low.

    I had another question about the BOOSTXL-DRV8323RS GUI. Is there a document that describes the packet format and the payload exchanged between the GUI and the application? The parameters are converted to other units, and not clear how. For example, if I select 20 for PWM switching frequency, what value is sent to the application? 20, 0r 20000

    I could open a new ticket but wanted to ask just in case.

    Best Regards,

    Galan