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.

Microstepping Setting of DRV8880

Other Parts Discussed in Thread: DRV8880, DRV8880EVM

Dear Motor Driver support team,

I control the driver on the DRV8880 Evaluation Module Board from the DSP on the C2000 Piccolo LaunchPad Evalution Kit Board.

The microstepping setting can be set by the two bits of M1 and M0 as shown in Table 1 on Page 15.

(I refer the manual: www.tij.co.jp/.../drv8880.pdf)

If I prefer to set the 1/8 or 1/16 step, I should set the MO bit to "Z". Is this "Z" mean high impedance?

I was wondering how can I assert "Z" from the DSP output?

I am looking forward your kind reply.

Yohjiro Kawai,

 

  • Hi Kawai-san,

    I do not have much experience with the C2000, but I can tell you conceptually what is required.

    To create a Z, change the DSP output to input. When doing so, do not use a pullup or pulldown resistor. Also remove any other source of leakage when setting the GPIO as an input.

    An example of controlling USM1 is the code from the DRV8880EVM:

    #define enable_USM1_output P2DIR |= USM1
    #define disable_USM1_output P2DIR &= ~USM1

    #define set_USM1_hi P2OUT |= USM1
    #define set_USM1_lo P2OUT &= ~USM1

    For Z, the following command is used:
    disable_USM1_output;

    For L, the following commands are used:
    enable_USM1_output;
    set_USM1_lo;

    For H, the following commands are used:
    enable_USM1_output;
    set_USM1_hi;
  • Hi Rick,

    Thanks! I confirmed each step mode from Full step to 1/16 Micro step by changing the DSP output.

    Yours,

    Yohjiro,