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.

BOOST-DRV8711 Microstepping Problem

Other Parts Discussed in Thread: BOOST-DRV8711

I am having a very strange problem with the BOOST-DRV8711.

I have the system set up running perfectly for Full and Half steps but when I set it up for micro stepping the driver requires that I toggle the step pin the inverse amount of the step size chosen to take the step.

When I noticed this problem I wrote a simple program to set the step size to 1/16, and I told it to take a step every second (set the step pin high and then low over a 4ms period after a second had past). I then displayed the waveforms from the Booster pack to the motor on my oscilloscope an it  followed my suspicion. The waveforms hold their state and then change every 16 seconds. The code and waveforms are below.

  P2OUT CLR DIRECTION;      //set direction close
  P2OUT SET NSLEEP;         //make sure motor isnt asleep 
  
  while(1){ 

    for( int i = 0; i < 10; i++){       //delay 1 seconds between steps
      Delay_100ms();
    }
    
    P2OUT SET BIT6;         //take one step
    Delay_2ms();
    P2OUT CLR BIT6;
    Delay_2ms();      

  }

Neither the Stall or Fault LEDs come on while this program is running.

Thanks,

Luke