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.

DRV8821/23 with MSP430 vs. DSP320C2000

Other Parts Discussed in Thread: DRV8821, DRV8823, CONTROLSUITE

 I need a dual stepper driver like the DRV8821/23. The DVM appear to be based on MSP430 but there is a “Control Suite” and Digital Motor Control (DMC) Libraries that is based on the DSP320C2000. The DMC appears to have significant software function to speed firmware development.

Questions:

Is the “Control Suite” or DMC applicable to the MSP430 based DVM? (C code that can be ported from 32-bit to a 16-bit MSP430?)

Is there a DRV8821 Dev Kit for the C2000 launch pad?

Are there examples of encoder used with the MSP430 and DRV8821/23?

Since I plan to use two Steppers but can not rule out a DC motor, is there a downside to starting with a DRV8823 rather than the Stepper only DRV8821?


 

LDT

  • HI LDT,

    The controlSUITE or DMC may be applicable, but there are many cautions. First the size of the code may not fit. Second the memory map of the C2000 probably does not match the MSP430. And finally, the code may use peripherals that do not exist in the MSP430. It is recommended to use the controlSUITE and DMC code as a guide if you are trying to port.

    There is no DRV8821 Dev KIT for the C2000 launch pad.

    I am not aware of any examples of encoder used with the MSP430 and DRV8821/23. You can also search the posts in the MSP430 forum.

    The DRV8823 is a good choice if you plan to use a DC motor or stepper. The main difference of the DRV8823 is the SPI interface, which requires fewer GPIOs versus the DRV8821.

  • Thanks for the quick reply.

    I see your point on the SPI interface with the 8823 but I could not tell from the spec if 8823 also had control of Microsteps or speed ramp up and down control. The DVM user guide primarily talks about the GUI. I will be programing the 430 for my particular application.

    LDT

  • Hi LDT,

    The DRV8823 can perform the same microstepping and ramp up and down as the DRV8821. It is up to the firmware to perform this through the SPI. The firmware will send commands through the SPI to control the current for up to 1/8 step. The ramp up and ramp down is controlled by the speed of the SPI commands.

    The GUI interfaces to the MSP430 microcontroller to demonstrate the device operation. The MSP430 firmware is available in the EVM product folder. Look below the User Guides for the Software. The zipped file contains the board information, schematic, layout, firmware, and the GUI. In the Board files folder, there is a second zipped file with MSP430 in the name. This zipped file contains the firmware that interfaces with both the GUI and the DRV8821/23.