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.

DRV8711 over current shut down on channel A

Other Parts Discussed in Thread: MSP430F5529, DRV8711

I am using MSP430F5529 and the DRV8711 booster pack trying to drive a stepper motor.

At first, I was using a large 2A/phase stepper motor and I kept getting over current shutdown on channel A (checked the STATUS register).

So, I shifted to a smaller stepper motor for testing whats wrong, and even with a lower current motor I keep getting over current shut down.

It seems like motor moves one step and then immediately shuts down.

here are my register settings:

  //CTRL Register defaults
  unsigned char CTRLdataHi, CTRLdataLo;
  CTRLdataHi = 0x0C;
  CTRLdataLo = 0x07;
  WriteSPI(CTRLdataHi, CTRLdataLo);
 
 
  //TORQUE defaults
  unsigned char TORQUEHi, TORQUELo;
  TORQUEHi = 0x17;
  TORQUELo = 0xFF;
  WriteSPI(TORQUEHi, TORQUELo);
 
  //OFF defaults
  unsigned char OFFHi, OFFLo;
  OFFHi = 0x21;
  OFFLo = 0x30;
  WriteSPI(OFFHi, OFFLo);

  //BLANK defaults
  unsigned char BLNKHi, BLNKLo;
  BLNKHi = 0x31;
  BLNKLo = 0xFF;
  WriteSPI(BLNKHi, BLNKLo);
 
  //DECAY defaults
  unsigned char DECAYHi, DECAYLo;
  DECAYHi = 0x41;
  DECAYLo = 0x10;
  WriteSPI(DECAYHi, DECAYLo);

  //STALL defaults
  unsigned char STALLHi, STALLLo;
  STALLHi = 0x53;
  STALLLo = 0x40;
  WriteSPI(STALLHi, STALLLo);
   
  //DRIVE defaults
  unsigned char DRIVEHi, DRIVELo;
  DRIVEHi = 0x60;
  DRIVELo = 0x0F;
  WriteSPI(DRIVEHi, DRIVELo);
 
  //STATUS defaults
  unsigned char STATUSHi, STATUSLo;
  STATUSHi = 0x70;
  STATUSLo = 0x00;
  WriteSPI(STATUSHi, STATUSLo);

What am I doing wrong? I have tried changing a lot of register settings, trying combinations and stuff, but still no luck. HELP!!!


EDIT: I have kept the nSLEEP pin high and RESET pin low. I toggle the STP pin on the booster pack to step through the sequence.