Skip to main content
bhushan4520
Associate
January 1, 2018
Question

POWERSTEP01 in StepClock Mode

  • January 1, 2018
  • 1 reply
  • 1524 views
Posted on January 01, 2018 at 12:06

Stepper Motor Driver IC POWERSTEP01:

We implemented  POWERSTEP01 on our own PCB.

We are sending command to POWERSTEP01 through on board STM32F072 microcontroller through SPI.

When we send StepClock  command with direction that is 0x58 or 0x59 . The motor shaft gets HOLD but it change the position of the Shaft.

We are finding the reason behind the change of position of the motor shaft after applying stepclock command.

#powerstep01 #stepper-motor #stepclockmode
This topic has been closed for replies.

1 reply

estie
Associate III
February 4, 2018
Posted on February 04, 2018 at 08:26

Maybe you could specify better when is happening.  Is this just once off after power up, every time you send 0x59, if you change direction ?

What commands are you sending to set up the chip after power on ?

bhushan4520
Associate
February 5, 2018
Posted on February 05, 2018 at 11:37

Following is sequence of command after power on:

1.PowerStepReset();   by using reset pin

2. Set Powerstep01 in FULL step mode

3. PowerStepSetParam(GATECFG1,( (IGATE32mA<<IGATE_POSITION) | (TCC0875ns<<TCC_POSITION)));//TCC=875ns, Tgate=32mA,Tboost=0,Wden=0

4.  PowerStepSetParam(GATECFG2,((TBLANK0250ns<<TBLANK_POSITION)|(TDT0125ns<<TDT_POSITION)));//Tblank=250ns,Tdt=125ns  

5.PowerStepSetParam(CONFIG,0xB09E);//24 Mhz ext clk,OC_SD enable

6.PowerStepSetParam(MAX_SPEED,0xFFFF); 

7. PowerStepSetParam(ALARM_EN,0xFF);     //All alarm Enable

8. Set_TorK_VAL_OCD_TH(); // Tval Current and OCD threshold

current is set to 2.8 A at Full microstep

When we send StepClock  command with direction that is 0x58 or 0x59 . The motor shaft gets HOLD but it change the position of the Shaft. And it is happening every time as we send StepClock Command.

estie
Associate III
February 5, 2018
Posted on February 05, 2018 at 12:27

how much change? Always same direction?  Are you unsetting StepClock mode in between?  If you send a series of StepClock instructions does it advance , virbrate or what?  Try to give a better, more complete description of what is happening, rather than making me ask loads of questions.

Often if you describe a problem thoroughly to someone who is not in front of what you are doing, you will often see what you are missing ( if indeed you are missing something ) or may realise the answer. It's often our assumptions which prevent us from seeing the answer.