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-DRV8323RS: Change turn around speed

Part Number: BOOSTXL-DRV8323RS

Tool/software: Code Composer Studio

How do I change the turn around speed of my motor using DRV8323RS evaluation board with MSP430 MCU?

  • Hi David,

    Thank you for your question. We will investigate and reply soon.
  • Hi David,

    Changing ramp rate delay is the recommended method to adjust the turnaround speed. The XXXX_setup.h parameters can be modified per the software user's guide.

    For more details, the response from the firmware development team is shown below:

    Ramp Rate indicates the rate of change of duty cycle or dictates the step change in duty cycle.

    Ramp Rate Delay indicates how often duty cycle is incremented/decremented by ramp rate.In the firmware acceleration count is updated at rate of PWM frequency. Once the acceleration count reaches Ramp rate delay, Duty cycle is incremented /decremented with amount of ramp rate and acceleration count is reset.

    For example: In a 25Mhz system to obtain 25Khz PWM switching frequency the timer counts required is 1000 counts/40 uS /100% duty . A ramp rate of 1 and a ramp rate delay of 25 implies: duty cycle is updated by 1 count every (25*40us) i.e 0.1 % change in duty cycle every 1ms. Hence to reach from 0 to 100% duty cycle it takes 1 second.

    Similarly for Ramp rate of 5 and ramp rate delay of 100 implies (5/1000) = 0.5% change in duty every 100*40us = 4ms. So for change in 0 to 100% it takes 0.8 seconds.

    It is recommended to change the ramp rate delay as ramp rate indicates the step change in duty cycle it can trigger current spikes for very high step change in duty cycle instantly.
  • Hi David,

    More details regarding the acceleration count from the firmware development team.

    Regarding the Acceleration count, It is a temporary variable which is incremented on every PWM interrupt. This value is reset whenever the count equals to ramp rate delay and duty cycle is updated.

    So for changing the acceleration/deceleration of motor, only Ramp rate/Ramp rate delay are modified and not Acceleration Count hence it is not defined in the document.